
/* ═══════════════════════════════════════════════════
   CONTENEDOR PRINCIPAL — Fondo blanco para toda la sección
   Elemento: .product-section-white-bg (envoltura breadcrumb + producto + features + marketplace)
═══════════════════════════════════════════════════ */
.product-section-white-bg {
  background-color: #ffffff;
  padding-top: 0;
  padding-bottom: 2rem;
  display: block;
  width: 100%;
}

.product-section-white-bg .product-breadcrumb-section {
  background-color: #ffffff;
}

.product-section-white-bg .section.section-padding {
  background-color: #ffffff;
}

.product-section-white-bg .features-band {
  background-color: #ffffff;
}

/* ═══════════════════════════════════════════════════
   BREADCRUMB — Rediseño (fase 1: migas/título/descripción)
   Elemento: .product-breadcrumb-section (contenedor) + .gbg-breadcrumb internos
═══════════════════════════════════════════════════ */
.product-breadcrumb-section {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

.product-breadcrumb-section .gbg-breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.product-breadcrumb-section .gbg-breadcrumb__container {
  padding: 0 1.5rem;
  max-width: 100%;
}

.product-breadcrumb-section .gbg-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-breadcrumb-section .gbg-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .product-breadcrumb-section .gbg-breadcrumb__container {
    padding: 0 2rem;
  }
}

.product-breadcrumb-section .gbg-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: color 0.2s ease;
  text-decoration: none;
}

.product-breadcrumb-section .gbg-breadcrumb__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #6EABA5;
}

.product-breadcrumb-section .gbg-breadcrumb__link:hover {
  color: #374151;
  background: transparent;
  text-decoration: underline;
}

.product-breadcrumb-section .gbg-breadcrumb__item--active .gbg-breadcrumb__link {
  color: #6EABA5;
  font-weight: 600;
  background: transparent;
}

.product-breadcrumb-section .gbg-breadcrumb__separator {
  color: #d1d5db;
}

.product-breadcrumb-section .gbg-breadcrumb__separator svg {
  width: 12px;
  height: 12px;
}

/* ═══════════════════════════════════════════════════
   CARRUSEL DUPLICADO — Mostrar en móvil
   Elemento: .lav-product-images--mobile (carrusel solo para móvil)
═══════════════════════════════════════════════════ */
.lav-product-images--mobile {
  display: none !important;
}

@media (max-width: 640px) {
  .lav-gallery {
    display: none !important;
  }

  .lav-product-images--mobile {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    padding: 0 1rem;
  }

  .lav-product-images--mobile .product-gallery-slider,
  .lav-product-images--mobile .product-thumb-slider {
    width: 100% !important;
    height: auto !important;
  }

  .lav-product-images--mobile .product-zoom img {
    border-radius: 12px;
  }
}

/* ═══════════════════════════════════════════════════
   TÍTULO H1 — Producto (rediseño)
   Elemento: .product-h1 dentro de .info-web (columna derecha)
═══════════════════════════════════════════════════ */
.product-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: #0f2422;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .product-h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.4rem;
  }
}

/* ═══════════════════════════════════════════════════
   SECCIÓN DE PRODUCTO — reduce padding-top heredado
   Elemento: .section.section-padding (galería + info)
═══════════════════════════════════════════════════ */
.product-section-white-bg .section.section-padding {
  padding-top: 1.5rem;
  border-bottom: none;
}

.features-band,
.marketplace-section {
  margin-top: 0;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   DESCRIPCIÓN CORTA — debajo del H1
   Elemento: .product-short-description dentro de .info-web (columna derecha)
═══════════════════════════════════════════════════ */
.product-short-description {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

@media (max-width: 640px) {
  .product-short-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════
   RATING/COMENTARIOS — fila de estrellas + calificación + reseñas
   Elemento: .product-rating-row (estrellas + número + conteo)
═══════════════════════════════════════════════════ */
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.product-rating-row .gbg-stars {
  display: flex;
  gap: 0.2rem;
}

.product-rating-row .gbg-star {
  font-size: 1.3rem;
  color: #FFC107;
}

.product-rating-number {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #42ADA5;
}

.product-rating-count {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #6b7280;
}

/* ═══════════════════════════════════════════════════
   PRECIO — precio principal + precio por pieza
   Elemento: .product-price-block (debajo del rating, arriba de badges)
═══════════════════════════════════════════════════ */
.product-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.product-price-main {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #42ADA5;
  line-height: 1.2;
}

.product-price-unit {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
}

.product-price-unit strong {
  font-weight: 700;
  color: #42ADA5;
  font-size: 1.25rem;
}

/* ═══════════════════════════════════════════════════
   TRUST BADGES — Compra segura / Facturamos / Envío
   Elemento: .product-trust-badges (tres badges horizontales)
═══════════════════════════════════════════════════ */
.product-trust-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
}

.trust-badge-icon {
  width: 28px;
  height: 28px;
  color: #42ADA5;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-badge-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2422;
  line-height: 1.2;
  white-space: nowrap;
}

.trust-badge-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .product-trust-badges {
    gap: 1rem;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .trust-badge {
    min-width: auto;
  }
}

/* ═══════════════════════════════════════════════════
   CARRUSEL DE FOTOS — esquinas redondeadas + sin flechas (SOLO PARA SECCIÓN MANTA MAYOREO)
   Elemento: .product-gallery-slider, .product-zoom, .product-thumb-slider
═══════════════════════════════════════════════════ */
.product-section-white-bg .product-gallery-slider .product-zoom:first-child img {
  border-radius: 20px !important;
}

.product-section-white-bg .product-gallery-slider .slick-arrow {
  display: none !important;
}

.product-section-white-bg .product-thumb-slider .item img {
  border-radius: 12px !important;
}

.product-section-white-bg .product-thumb-slider {
  position: relative !important;
  overflow: visible !important;
}

.product-section-white-bg .product-thumb-slider .slick-arrow {
  display: block !important;
  position: absolute !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 16px !important;
  line-height: 28px !important;
  background-color: transparent !important;
  border: none !important;
  color: #42ADA5 !important;
  opacity: 1 !important;
  visibility: visible !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  padding: 0 !important;
  z-index: 10 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.product-section-white-bg .product-thumb-slider .slick-prev {
  left: 8px !important;
}

.product-section-white-bg .product-thumb-slider .slick-next {
  right: 8px !important;
}

.product-section-white-bg .product-thumb-slider .slick-arrow:hover {
  color: #3a9a8f !important;
  font-weight: bold !important;
}

/* ═══════════════════════════════════════════════════
   MARKETPLACES — Mercado Libre / TikTok Shop
   Elemento: .marketplace-section (fila horizontal)
═══════════════════════════════════════════════════ */
.marketplace-section {
  padding: 1.75rem 1.5rem;
  background-color: #f0f9f8;
  margin: 2.5rem auto;
  border-radius: 12px;
  width: 95%;
  max-width: 1200px;
}

.marketplace-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marketplace-main {
  display: contents;
}

.marketplace-icon-main {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  background-color: #42ADA5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marketplace-icon-main svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.marketplace-info {
  flex: 0 0 auto;
}

.marketplace-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2422;
  margin: 0 0 0.25rem 0;
}

.marketplace-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 400;
  margin: 0;
}

.marketplace-cards {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  flex-wrap: nowrap;
}

.marketplace-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  flex: 0 0 auto;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}

.marketplace-card:hover {
  border-color: #42ADA5;
  box-shadow: 0 2px 8px rgba(66, 173, 165, 0.1);
}

.marketplace-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}

.marketplace-name strong {
  display: block;
  color: #0f2422;
  font-weight: 600;
  font-size: 0.85rem;
}

.marketplace-link {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
  margin-left: 0.5rem;
}

.marketplace-link svg {
  width: 14px;
  height: 14px;
  color: #42ADA5;
}

.marketplace-link:hover svg {
  color: #3a9a8f;
}

.marketplace-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .marketplace-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .marketplace-cards {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .marketplace-card {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 150px;
    white-space: normal;
  }

  .marketplace-title {
    font-size: 0.95rem;
  }

  .marketplace-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .marketplace-section {
    width: 98%;
    padding: 1.25rem 1rem;
  }

  .marketplace-icon-main {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .marketplace-icon-main svg {
    width: 28px;
    height: 28px;
  }

  .marketplace-title {
    font-size: 0.85rem;
  }

  .marketplace-subtitle {
    font-size: 0.75rem;
  }

  .marketplace-card {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .marketplace-name {
    font-size: 0.7rem;
  }

  .marketplace-name strong {
    font-size: 0.75rem;
  }

  .marketplace-link {
    width: 20px;
    height: 20px;
  }

  .marketplace-link svg {
    width: 12px;
    height: 12px;
  }
}

/* ═══════════════════════════════════════════════════
   DIVISOR — línea sutil entre trust badges y widget nuevo
   Elemento: .new-pkg-divider
═══════════════════════════════════════════════════ */
.new-pkg-divider {
  height: 2px;
  background-color: #d1d5db;
  margin: 2rem 0;
}

/* ═══════════════════════════════════════════════════
   WIDGET NUEVO — Selección de paquete + cantidad + CTA (prueba)
   Elemento: .new-package-widget (cards de paquete + stepper + botón WhatsApp)
═══════════════════════════════════════════════════ */
.new-package-widget {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.new-pkg-label {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f2422;
  text-transform: none;
}

.new-pkg-cards {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  margin-bottom: 1.5rem;
}

.new-pkg-card {
  flex: 0 0 auto;
  min-width: 100px;
  padding: 1rem 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.new-pkg-card:hover {
  border-color: #42ADA5;
}

.new-pkg-card--selected {
  border-color: #42ADA5;
  background: #f0faf9;
}

.new-pkg-qty {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f2422;
  margin-bottom: 0.4rem;
}

.new-pkg-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #42ADA5;
  margin-bottom: 0.2rem;
}

.new-pkg-unit {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 400;
}

.new-pkg-check {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #42ADA5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.new-pkg-card--selected .new-pkg-check {
  opacity: 1;
}

.new-pkg-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .new-pkg-row {
    gap: 0.5rem;
    align-items: center;
  }

  .new-pkg-wa-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.75rem !important;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .new-pkg-row .new-pkg-wa-btn {
    flex: 1;
  }
}

.new-pkg-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.new-pkg-stepper-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f2422;
  min-width: 60px;
}

.new-pkg-stepper-controls {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 auto;
}

.new-pkg-stepper-btn {
  width: 30px;
  height: 36px;
  border: none;
  background: #f9fafb;
  color: #42ADA5;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.new-pkg-stepper-btn:hover {
  background: #f3f4f6;
}

.new-pkg-stepper-input {
  width: 50px !important;
  height: 36px;
  border: none;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f2422;
}

.new-pkg-stepper-input:focus {
  outline: none;
  background: #f9fafb;
}

.new-pkg-wa-btn {
  padding: 1rem 1.5rem;
  background: #42ADA5;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.new-pkg-row .new-pkg-wa-btn {
  flex: 1;
  width: 100%;
}

.new-pkg-widget > .new-pkg-wa-btn {
  width: 100%;
  margin-bottom: 10px;
}

.new-pkg-wa-btn:hover {
  background: #3a9a8f;
}

.new-pkg-wa-btn i {
  font-size: 1.2rem;
}

.new-pkg-wa-btn--outline {
  background: transparent;
  color: #42ADA5;
  border: 1.5px solid #42ADA5;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-pkg-wa-btn--outline:hover {
  background: #f0faf9;
  border-color: #3a9a8f;
  color: #3a9a8f;
}

.new-pkg-footer {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  align-items: center;
  flex-wrap: wrap;
}

.new-pkg-stock {
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.new-pkg-shipping {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
  margin-left: auto;
}

@media (max-width: 640px) {
  .new-pkg-stock {
    justify-content: flex-start;
  }

  .new-pkg-shipping {
    margin-left: 0;
  }

  .new-pkg-cards {
    gap: 0.5rem;
  }

  .new-pkg-card {
    min-width: 85px;
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
  }

  .new-pkg-stepper {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════
   SECCIÓN CARACTERÍSTICAS — Card tipo nota
═══════════════════════════════════════════════════ */
.features-band {
  padding: 1.5rem 0 0.75rem 0;
}

.features-band__container {
  padding: 2rem;
  background-color: #ffffff;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 95%;
  max-width: 1200px;
}

@media (max-width: 1023px) {
  .features-band__container {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .features-band__container {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .features-band__container {
    gap: 0.75rem;
    padding: 1.25rem;
  }
}

.features-band__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 150px;
}

@media (max-width: 768px) {
  .features-band__item {
    flex: 0 1 calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  .features-band__item {
    flex: 1 1 100%;
  }
}

.features-band__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d4e8e5;
  border-radius: 10px;
  flex-shrink: 0;
}

.features-band__icon i {
  font-size: 1.3rem;
  color: #42ADA5;
}

.features-band__content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.features-band__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin: 0;
}

.features-band__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f2422;
  margin: 0;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .features-band__label {
    font-size: 0.65rem;
  }

  .features-band__text {
    font-size: 0.8rem;
  }

  .features-band__icon {
    width: 38px;
    height: 38px;
  }

  .features-band__icon i {
    font-size: 1.1rem;
  }
}
