/*=============================
        MAYORISTA
==============================*/
body {
  background: #0d0d0d;
  font-family: var(--font-normal);
}
.mayorista-section {
  padding: 20px 20px;
}

.mayorista-info {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.mayorista-info h2 {
  font-family: var(--font-extrabold);
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

.mayorista-info p {
  font-family: var(--font-normal);
  color: #e6e6e6;
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 22px;
  text-align: left;
}

.mayorista-info strong {
  color: #ffffff;
}

.telefono {
  color: #2f4132;
  font-weight: bold;
  font-size: 1.2rem;
}

.acordeon h1 {
  color: #e6e6e6;
}

.cubo-inferior h1 {
  color: #e6e6e6;
}

@media (max-width: 768px) {
  .mayorista-slider {
    height: 280px;
  }

  .mayorista-info h2 {
    font-size: 2rem;
  }

  .mayorista-info p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/*===========================
    GALERIA INFO MAYORISTA
===========================*/

.galeria-info-mayorista {
  max-width: 1500px;
  margin: auto;
}

.fila-mayorista {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.fila-mayorista img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s;
}

.fila-mayorista img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1100px) {
  .fila-mayorista {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .fila-mayorista {
    gap: 15px;
  }

  .fila-mayorista img {
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/*=========================
    LIGHTBOX MAYORISTA
==========================*/

.lightbox-mayorista {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;

  z-index: 9999;
}

.lightbox-mayorista.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-mayorista img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 15px;

  animation: zoom-mayorista 0.3s ease;
}

.cerrar-mayorista {
  position: absolute;
  top: 20px;
  right: 35px;

  color: #fff;
  font-size: 50px;

  cursor: pointer;
  user-select: none;
}

@keyframes zoom-mayorista {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}
