/* INFOPRODUCTO */

.infoproducto.container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1% 2%;
}

.infoproducto div.div.div.figure.visor.imgCuota img {
  position: absolute;
  top: 48%;
  right: 3%;
  width: 23%;
  background-color: transparent;
}

.infoproducto div.div.div figure.visor img.imgAvisoStock {
  position: absolute;
  top: 48%;
  left: 3%;
  width: 30%;
  background-color: transparent;
}

.infoproducto div.div.div figure.visor img.imgEnvioGratis {
  position: absolute;
  top: 1.5%;
  left: 2%;
  width: 23%;
  z-index: 999;
  background-color: transparent;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.infoproducto div.div.div figure.visor:hover img.imgEnvioGratis {
  left: auto;
  right: 2%;
}

.infoproducto span.cadenaDescuento {
  font-family: 'Courier New', Courier, monospace;
}

.infoproducto img.imgCamion {
  display: inline;
  height: 1.1em;
  width: auto;
  background-color: transparent;
  margin-right: 8px;
  vertical-align: middle;
}

.infoproducto img.imgSucursal {
  display: inline;
  height: 1.1em;
  width: auto;
  background-color: transparent;
  margin-right: 8px;
  margin-left: 0px;
  vertical-align: middle;
}

.contenedor-imagenes {
  display: flex;
}

.imagenesFinanzas {
  width: 6%;
  margin-right: 10px;
}

.infoproducto figure.visor img {
  display: none;
  cursor: crosshair;
  margin-top: 17px;
  ;
}

.infoproducto figure.visor img:first-child {
  display: block;
}

.infoproducto figure.visor {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.flexslider {
  cursor: pointer;
}

.lupa {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;

  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 7px 1px #344488;
  border-radius: 7px;

}

.lupa img {
  position: relative;
  margin-top: -100%;
  margin-left: -50%;
  width: 160%;
}

.btnFacebook {
  background: #46639f;
}

.compartirRedes {
  border: 0px;
  box-shadow: none;
  margin: 0px;
  background-color: #777;
  background-color: #f0f0f0;
  background-color: transparent;
}

.compartirRedes li p {
  color: white;
  text-align: center;
  line-height: 30px;
  padding: 8px;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

div.cartillaInfoProducto {

  cursor: default;

  /* agregado */
  border: 2px solid #e2e2e2;
  border-radius: 10px;
  padding: 25px;

}

div.cartillaInfoProducto div.cadenaDescripcion h1 {
  color: #3b3b3b;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  font-weight: 700;
  font-size: xx-large;
  margin-top: 10%;


}

/* div.cartillaInfoProducto p{
  text-align: center;
  color: black;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: xx-large;
  margin-top: 15%;
} */

/* div.cartillaInfoProducto div.ultimoParrafo p.cadenaCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 400;
  margin-top: 16px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  bottom: 0;
  line-height: 110%;
} */



div.cartillaInfoProducto .labelPrecioRegular {
  text-align: left;
  color: #3b3b3b;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: large;
  margin-top: 5%;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

div.cartillaInfoProducto .montoUnSoloPago {
  text-align: left;
  color: #3b3b3b;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: xx-large;
  margin-top: 0px;
  padding-top: 0px;
}

div.cartillaInfoProducto .cadenaCuotas {
  text-align: left;
  color: #3B8C57;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: large;
  margin-top: 0px;
  padding-top: 0px;
}

div.cartillaInfoProducto .letrasVedesPequenias {
  text-align: left;
  color: #3B8C57;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: medium;
  margin-top: 0px;
  padding-top: 0px;
  line-height: 5px;
}

div.cartillaInfoProducto .cadenaFinanzas {
  text-align: left;
  color: #3B8C57;
  color: #3b3b3b;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: large;
  margin-top: 5px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

div.cartillaInfoProducto hr.separadores {
  border: 1px solid #3b3b3b;
  border: 1px solid #e2e2e2;
  margin-top: 10px;
}

div.cartillaInfoProducto div.ultimoParrafo p.montoCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 700;
  font-size: xx-large;
  margin-top: 0px;
  padding-top: 0px;
  top: 0;
}





.contenedor-cuotas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  width: 60%;
}

.contenedor-imagen img {
  display: flex;
  align-items: flex-end;
  width: 50px;
  margin-left: 2px;
}

.custom-badge {
  background-color: #344488;
  color: white;
  border-radius: 5px;
  padding: 5px;
  font-weight: bold;
}

.custom-badge-infoProducto {
  background-color: #344488;
  color: white;
  border-radius: 5px;
  padding: 5px;
  font-weight: 700;
  font-family: sans-serif;
  font-size: 20px;
  margin-right: 5px;
  ;
}

div.cartillaInfoProducto .areaDelivery {
  padding: 10px 0px;
  margin: 10px 0px;
  line-height: normal;
}

.lineaDelivery {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.lineaDelivery span,
.lineaDelivery a {
  margin-right: 5px;
}




div.cartillaInfoProducto div.cadenaPrecioAlFinal {
  position: absolute;
  top: 120%;
  bottom: 2%;
  left: 0%;
  right: 3%;
  margin: auto;
  text-align: center;
  height: 12%;
}

div.cartillaInfoProducto div.cadenaPrecioAlFinal span strong {
  vertical-align: middle;
  color: black;
  margin-left: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: x-large;
}

.infoproducto figure.visor img.imgEnvioGratis:first-child {
  position: absolute;
  top: 1.5%;
  left: 5%;
  width: 23%;
  z-index: 999;
  background-color: transparent;
  display: block;
}






/*=============================================
ESCRITORIO GRANDE (LG revisamos en 1366px en adelante)
=============================================*/

@media (min-width:1200px) {

  .videoPresentacion {

    height: 415px;

  }







}

/*=============================================
ESCRITORIO MEDIANO O TABLET HORIZONTAL (MD revisamos en 1024px)
=============================================*/

@media (max-width:1199px) and (min-width:992px) {

  .videoPresentacion {

    height: 350px;

  }



}

/*=============================================
ESCRITORIO PEQUEÑO O TABLET VERTICAL (SM revisamos en 768px)
=============================================*/

@media (max-width:991px) and (min-width:768px) {

  .videoPresentacion {

    height: 300px;

  }




}

/*=============================================
MOVIL (XS revisamos en 320px)
=============================================*/

@media (max-width:767px) {


  .videoPresentacion {

    height: 200px;

  }

  div.cartillaInfoProducto div.cadenaDescripcion h1 {
    font-size: 20px;
    /* background-color: red; */

  }

  div.cartillaInfoProducto div.ultimoParrafo p.cadenaCuotas {
    font-size: 18px;
    /* background-color: blue; */
  }

  div.cartillaInfoProducto div.ultimoParrafo p.montoCuotas {
    font-size: 18px;
    /* background-color: yellow; */
  }

  div.cartillaInfoProducto p {

    font-size: 14px;
    /* background-color: green; */

  }

  .visorInformacion table {
    /* background-color: #344488; */
    width: 100%;
    ;

  }

  /* Ocultar flechas de carrusel en móvil */
  .flexslider .flex-direction-nav {
    display: none !important;
  }

  /* Optimización Táctil y Logos Finanzas */
  .imagenesFinanzas {
    width: 35px !important;
    margin-right: 5px;
  }

  div.cartillaInfoProducto {
    padding: 15px !important;
  }

  /* Stack vertical de Atributos en Móvil */
  .caracteristica-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 15px;
  }

  .caracteristica-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
  }

  .caracteristica-value {
    text-align: left;
    font-size: 14px;
    color: #353535;
  }

}

/* =============================================
DISEÑO HÍBRIDO DE CARACTERÍSTICAS
============================================= */

/* Por defecto (Desktop): Tabla Clásica visible, Grid de tarjetas oculto */
.tabla-caracteristicas-desktop {
  display: block;
  padding: 20px 0;
}

.caracteristicas-cards-mobile {
  display: none !important;
}

/* Estilos de la Tabla Clásica */
.classic-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  margin-top: 15px;
}

.classic-table tr {
  border-bottom: 1px solid #e9ecef;
}

.classic-table tr:last-child {
  border-bottom: none;
}

.classic-table td {
  padding: 12px 18px;
  font-size: 14px;
}

.ct-nombre {
  color: #666;
  font-weight: 500;
  width: 45%;
}

.ct-valor {
  color: #353535;
  font-weight: 600;
}

/* Estilos del Grid de Tarjetas (Cards) para móvil */
.icon-grid-style {
  padding: 15px 0;
}

.icon-grid-style h3 {
  font-family: 'Poppins', sans-serif;
  color: #1a1a2e;
  margin-bottom: 20px;
  font-weight: 600;
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.icon-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(52, 68, 136, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.icon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #344488 0%, #46639f 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.icon-card:hover::before {
  transform: scaleY(1);
}

.icon-card:hover {
  background: #f8faff;
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(52, 68, 136, 0.25);
  border-color: rgba(52, 68, 136, 0.2);
}

.icon-badge {
  position: absolute;
  top: 8px;
  left: 20px;
  right: auto;
  transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.icon-badge i {
  font-size: 24px;
  color: #344488;
  transition: color 0.3s ease;
}

.icon-card:hover .icon-badge {
  left: calc(100% - 44px);
}

.icon-card:hover .icon-badge i {
  color: #46639f;
}

.icon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 50px;
}

.icon-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #adb5bd;
  font-weight: 500;
  transition: color 0.3s ease;
}

.icon-card:hover .icon-label {
  color: #344488;
}

.icon-value {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #1a1a2e;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.icon-card:hover .icon-value {
  color: #0d1b4d;
  transform: scale(1.03);
}

/* =============================================
MINIATURA ACTIVA RESALTADA EN EL VISOR
============================================= */
.flexslider ul.slides li img {
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.flexslider ul.slides li.flex-active-slide img,
.flexslider ul.slides li img.active-thumbnail {
  border-color: #344488 !important;
  box-shadow: 0 4px 8px rgba(52, 68, 136, 0.3);
  transform: scale(1.02);
}

/* =============================================
 WHATSAPP SHOP SECTION
 ============================================= */
.whatsapp-shop-section {
  margin: 25px 0 15px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
  border-radius: 12px;
  border: 1px solid #d4edda;
}

.quantity-selector-container {
  margin-bottom: 18px;
}

.quantity-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #3b3b3b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  border: 2px solid #e2e2e2;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.quantity-controls.deshabilitado {
  opacity: 0.55;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  pointer-events: none;
  cursor: not-allowed !important;
  box-shadow: none;
}

.quantity-controls.deshabilitado .qty-btn,
.quantity-controls.deshabilitado .qty-input {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: #f8f8f8;
  font-size: 20px;
  font-weight: 600;
  color: #344488;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
  background: #344488;
  color: #fff;
}

.qty-btn:disabled,
.qty-btn.disabled {
  opacity: 0.35;
  background: #f8f8f8 !important;
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

.qty-minus {
  border-right: 1px solid #e2e2e2;
}

.qty-plus {
  border-left: 1px solid #e2e2e2;
}

.qty-input {
  width: 55px;
  height: 42px;
  border: none;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #3b3b3b;
  background: #fff;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-whatsapp-comprar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-whatsapp-comprar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
  color: #fff;
}

.btn-whatsapp-comprar:active {
  transform: translateY(0);
}

.whatsapp-icon-btn {
  width: 24px;
  height: 24px;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .quantity-selector-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-shop-section {
    padding: 15px;
    margin: 20px 0 10px 0;
  }

  .btn-whatsapp-comprar {
    padding: 12px 20px;
    font-size: 14px;
  }

  .whatsapp-icon-btn {
    width: 20px;
    height: 20px;
  }
}

/* =============================================
 MEDIA QUERIES MÓVILES (SOPORTE TÁCTIL Y VISIBILIDAD)
 ============================================= */
@media (max-width: 767px) {

  /* Ocultar tabla en móvil y mostrar cards */
  .tabla-caracteristicas-desktop {
    display: none !important;
  }

  .caracteristicas-cards-mobile {
    display: block !important;
  }
}

/* PRODUCTOS SUGERIDOS (CARRUSEL) */
.productos-sugeridos-container {
  padding: 20px 0;
}

#productos-sugeridos-carrusel {
  position: relative;
  width: 100%;
}

.carrusel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  display: flex;
  scrollbar-width: none;
}

.carrusel-viewport::-webkit-scrollbar {
  display: none;
}

.carrusel-slide {
  display: none;
  width: 100%;
}

.carrusel-slide.active {
  display: flex;
  flex-wrap: wrap;
}

.card-sugerido {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 5px 8px;
}

.link-card-sugerido {
  text-decoration: none !important;
  display: block;
}

.card-sugerido .thumbnail.productos {
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 15px;
  margin: 0;
  transition: all 0.3s ease;
  height: 100%;
}

.card-sugerido:hover .thumbnail {
  transform: translateY(-3px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.contiene-img {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
  margin-bottom: 10px;
}

.badge-origen {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 600;
  color: #344488;
  background-color: rgba(52, 68, 136, 0.08);
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 5;
  backdrop-filter: blur(2px);
}

.contiene-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.caption.text-center {
  padding: 0;
}

.producto-basado-titulo {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
  height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.precio-box h4 {
  color: #344488;
  font-size: 18px;
  font-weight: 700;
  margin: 5px 0;
}

.producto-meta {
  font-size: 11px;
  color: #999;
  margin: 0;
}

.carrusel-controls {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
  z-index: 10;
}

.carrusel-btn-prev,
.carrusel-btn-next {
  background: #344488;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  flex-shrink: 0;
}

.carrusel-btn-prev:hover,
.carrusel-btn-next:hover {
  background: #2a3570;
}

.carrusel-indicators {
  display: flex;
  gap: 8px;
}

.carrusel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carrusel-indicators .indicator.active {
  background: #344488;
}

.loading-sugeridos,
.sin-sugeridos,
.error-sugeridos {
  padding: 30px;
  color: #888;
}

@media (max-width: 767px) {
  .card-sugerido {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 5px;
  }

  .contiene-img {
    height: 140px;
  }

  .precio-box h4 {
    font-size: 16px;
  }
}

.thumbnail.productos.borde-relacionado {
  border-top: 3px solid #344488 !important;
}

.thumbnail.productos.borde-familia {
  border-top: 3px solid #20c997 !important;
}

.thumbnail.productos.borde-destacado {
  border-top: 3px solid #f5a623 !important;
}

.thumbnail.productos.borde-marca {
  border-top: 3px solid #6f42c1 !important;
}

.marca-agua-icono {
  position: absolute;
  bottom: 5px;
  right: 8px;
  opacity: 0.15;
  font-size: 24px;
  color: #344488;
  pointer-events: none;
  z-index: 4;
}

/* ==========================================================================
   SELECTOR DE VARIANTES (PDP) - MODELO ORIGINAL DEFINITIVO
   ========================================================================== */

.pdp-variantes-wrapper {
  background: #ffffff;
  border: 1.5px solid #dce4f0;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
  box-shadow: 0 2px 8px rgba(52, 68, 136, 0.06);
  font-family: "Nunito Sans", "Rubik", sans-serif;
  transition: all 0.25s ease;
}

.pdp-variante-grupo {
  margin-bottom: 16px;
}
.pdp-variante-grupo:last-of-type {
  margin-bottom: 12px;
}

.pdp-variante-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.pdp-header-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pdp-variante-label {
  font-family: "Rubik", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #1e3a5f;
}

.pdp-variante-seleccionada {
  font-family: "Rubik", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #344488;
  transition: color 0.2s ease;
}

/* ── 1. SELECTOR DE COLOR (SWATCHES CIRCULARES Y CON IMAGEN) ── */
.pdp-swatches-lista {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pdp-swatch-color {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  cursor: pointer;
  padding: 0;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.pdp-swatch-color:hover:not(.deshabilitado) {
  border-color: #344488;
}

.pdp-swatch-color.activo {
  border-color: #344488;
  box-shadow: none;
}

.pdp-swatch-color.swatch-claro {
  border-color: #94a3b8;
}

.pdp-swatch-color.swatch-con-imagen {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1.5px solid #cbd5e1;
}

.pdp-swatch-color.swatch-con-imagen:hover:not(.deshabilitado) {
  border-color: #344488;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(52, 68, 136, 0.15);
}

.pdp-swatch-color.swatch-con-imagen.activo {
  border: 2.5px solid #344488;
  box-shadow: none;
  transform: translateY(-1px);
}

.pdp-swatch-color .pdp-swatch-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 9px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pdp-swatch-color.activo .pdp-swatch-check {
  opacity: 1;
  transform: scale(1);
}

/* ── 2. SELECTOR DE TALLE (PASTILLAS ERGONÓMICAS) ── */
.pdp-pills-talles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-pill-talle {
  min-width: 44px;
  min-height: 42px;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-family: "Rubik", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}

.pdp-pill-talle:hover:not(.deshabilitado) {
  border-color: #344488;
  background: #ffffff;
  color: #344488;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(52, 68, 136, 0.1);
}

.pdp-pill-talle.activo {
  background: #344488;
  border-color: #344488;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(52, 68, 136, 0.25);
}

/* ── 3. CHIPS DE ATRIBUTO / OPCIÓN ── */
.pdp-chips-atributos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-chip-atributo {
  min-height: 38px;
  padding: 6px 15px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
}

.pdp-chip-atributo:hover:not(.deshabilitado) {
  border-color: #344488;
  background: #ffffff;
  color: #344488;
}

.pdp-chip-atributo.activo {
  background: #344488;
  border-color: #344488;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(52, 68, 136, 0.2);
}

/* ── ESTADOS DESHABILITADOS CON LÍNEA TACHADA UNIVERSAL ── */
.pdp-swatch-color.deshabilitado {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.85) !important;
  pointer-events: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.pdp-swatch-color.deshabilitado::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -25%;
  right: -25%;
  height: 2.5px;
  background: #ef4444;
  transform: rotate(-45deg);
  z-index: 5;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.pdp-pill-talle.deshabilitado {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  border-style: dashed !important;
  text-decoration: line-through !important;
  pointer-events: none !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.pdp-pill-talle.deshabilitado::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  right: -20%;
  height: 2px;
  background: #ef4444;
  transform: rotate(-28deg);
  z-index: 5;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.pdp-chip-atributo.deshabilitado {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  border-style: dashed !important;
  text-decoration: line-through !important;
  pointer-events: none !important;
}

/* ── BOTON Y MODAL GUÍA DE TALLES ── */
.pdp-link-guia-talles {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #344488;
  cursor: pointer;
  text-decoration: underline;
  outline: none;
  transition: color 0.18s ease;
}

.pdp-link-guia-talles:hover {
  color: #1e3a5f;
}

.pdp-modal-guia-talles {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.pdp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.pdp-modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: pdpModalFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pdpModalFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.pdp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.pdp-modal-header h5 {
  margin: 0;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1e3a5f;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pdp-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
}

.pdp-modal-close:hover {
  color: #0f172a;
}

.pdp-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
}

.pdp-tabla-guia {
  width: 100%;
  border-collapse: collapse;
  font-family: "Rubik", sans-serif;
  font-size: 13px;
}

.pdp-tabla-guia th,
.pdp-tabla-guia td {
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.pdp-tabla-guia th {
  background: #f1f5f9;
  font-weight: 700;
  color: #1e3a5f;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.pdp-tabla-guia tr:nth-child(even) {
  background: #f8fafc;
}

.pdp-guia-consejo {
  margin-top: 14px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* ── INDICADOR DE STOCK EN TIEMPO REAL ── */
.pdp-stock-container {
  margin-top: 14px;
}

.pdp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: "Rubik", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.22s ease;
}

.pdp-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.pdp-stock-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.pdp-stock-info .pdp-stock-dot {
  background-color: #94a3b8;
}

.pdp-stock-in {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.pdp-stock-in .pdp-stock-dot {
  background-color: #10b981;
}

.pdp-stock-low {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.pdp-stock-low .pdp-stock-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: pdpPulse 1.6s infinite;
}

.pdp-stock-out {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.pdp-stock-out .pdp-stock-dot {
  background-color: #ef4444;
}

@keyframes pdpPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* ── ALERTA DE SELECCIÓN REQUERIDA ── */
.pdp-variante-alerta {
  margin-top: 10px;
  padding: 8px 12px;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  color: #92400e;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pdpShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes pdpShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Transición suave para precios */
#valorPrecioRegular, #valorCuotaTope, .valorPrecioDescuento {
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.pdp-precio-actualizando {
  opacity: 0.35;
  transform: translateY(-2px);
}