/* ==========================================================================
   SISTEMA DE DISEÑO GLOBAL - UFYD WEB PÚBLICA (VERSIÓN BENTO)
   Archivo maestro limpio, organizado y optimizado para móvil/PC.
   ========================================================================== */

/* ==========================================================================
   ÍNDICE DEL ARCHIVO
   --------------------------------------------------------------------------
   1.  Variables globales
   2.  Reset y base
   3.  Tipografías y utilidades
   4.  Header universal (PC + móvil)
   5.  Franja de confianza Bento (PC + móvil)
   6.  Franja de materiales Bento (PC + móvil)
   7.  Franja de descuento Bento (PC + móvil)
   8.  Sección: Diseños Exclusivos (PC + móvil)
   9.  Sección: Colecciones (PC + móvil)
   10. Sección: Línea Masculina (PC + móvil)
   11. Landing de categorías + grid (PC + móvil)
   12. Tarjeta Bento de producto (PC + móvil)
   13. Modal de Variaciones (PC + móvil)
   14. Modal de Video / Texto (PC + móvil)
   15. Formulario Libro de Reclamaciones (PC + móvil)
   16. Menú lateral (PC + móvil)
   17. Píldora flotante (PC + móvil)
   18. Modal Resumen de Pedido (PC + móvil)
   19. Barra motivadora de escalas (PC + móvil)
   20. Footer Monumental (PC + móvil)
   21. Animaciones de apertura y cierre — Modales
   22. Checkout Maestro — Modal de 3 pasos (PC + móvil)
   23. Autocompletado de distrito / provincia (PC + móvil)
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES GLOBALES
   ========================================================================== */
:root {
  --color-negro-monumental: #000000;
  --color-blanco-puro: #ffffff;
  --color-gris-marca-agua: #e5e5e5;
  --color-gris-oscuro: #1a1a1a;
  --color-dorado-ufyd: #9e7b54;

  /* Variables Bento */
  --bento-bg: #fcfbf8;
  --bento-white: #ffffff;
  --bento-black: #111111;
  --bento-border: #eee9e3;
  --bento-border-alt: #ede7df;
  --bento-border-dark: #e8e0d8;
  --bento-text-primary: #111111;
  --bento-text-secondary: #4a4a4a;
  --bento-text-muted: #555555;
  --bento-text-light: #666666;
  --bento-text-lighter: #757575;
  --bento-text-gold: #6b5e52;
  --bento-bg-soft: #f5f0eb;
  --bento-bg-card: #f6f3ef;
  --bento-accent-green: #7a8b6f;
  --bento-accent-gold: #c9b99a;

  --bento-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.02);
  --bento-shadow-md: 0 4px 24px rgba(0, 0, 0, 0.04);
  --bento-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --bento-shadow-btn: 0 8px 24px rgba(0, 0, 0, 0.14);
  --bento-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.06);

  --bento-radius-lg: 20px;
  --bento-radius-md: 14px;
  --bento-radius-sm: 10px;
}

/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bento-bg) !important;
  font-family: "Inter", "Arial", sans-serif !important;
  scroll-behavior: smooth;
}

/* ==========================================================================
   3. TIPOGRAFÍAS Y UTILIDADES
   ========================================================================== */
.serif {
  font-family: "Instrument Serif", serif;
}

.texto-impact-estirado {
  font-family: "Anton", "Impact", sans-serif;
  text-transform: uppercase;
  display: inline-block;
  transform: scaleY(1.3);
  transform-origin: bottom;
}

/* ==========================================================================
   4. HEADER UNIVERSAL
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.header-principal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #000000 !important;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-oscuro {
  background-color: rgba(0, 0, 0, 0.85) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.header-contenedor {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
}
.header-izq {
  display: flex;
  justify-content: flex-start;
}
.header-centro {
  display: flex;
  justify-content: center;
}
.header-der {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-menu-hamburguesa {
  background: none;
  border: none;
  color: #ffffff !important;
  font-size: 25px;
  cursor: pointer;
}
.logo-header {
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.icono-red img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s;
}
.icono-red img:hover {
  transform: scale(1.1);
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .header-der .icono-red:not(:first-child) {
    display: none;
  }
}

/* ==========================================================================
   5. FRANJA DE CONFIANZA BENTO
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.franja-confianza-bento {
  background: var(--bento-white);
  border-radius: var(--bento-radius-lg);
  border: 1px solid var(--bento-border);
  box-shadow: var(--bento-shadow-sm);
  padding: 0.625rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem auto;
  width: 90%;
  max-width: 1400px;
}
.trust-item-bento {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--bento-radius-md);
  transition: background 0.2s;
  justify-content: center;
}
.trust-item-bento:hover {
  background: #fbf8f5;
}
.trust-icon-bento {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bento-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bento-black);
  flex-shrink: 0;
}
.trust-icon-bento svg {
  width: 1rem;
  height: 1rem;
}
.trust-title-bento {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bento-text-primary);
}
.trust-desc-bento {
  font-size: 12px;
  color: var(--bento-text-light);
  margin-top: -0.125rem;
}
.trust-divider {
  display: none;
  width: 1px;
  background: var(--bento-border);
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .franja-confianza-bento {
    flex-direction: row;
    padding: 0.625rem 1.5rem;
  }
  .trust-divider {
    display: block;
  }
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .franja-confianza-bento {
    width: 95%;
    padding: 0.5rem 0.5rem;
  }
  .trust-item-bento {
    padding: 0.5rem;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   6. FRANJA DE MATERIALES BENTO
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.materials-block-bento {
  background: var(--bento-bg-soft);
  border-radius: var(--bento-radius-lg);
  border: 1px solid var(--bento-border-alt);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem auto;
  width: 90%;
  max-width: 1400px;
}
.materials-text-bento {
  flex: 1;
}
.materials-label-bento {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bento-text-gold);
  font-weight: 500;
}
.materials-heading-bento {
  font-family: "Inter", "Arial", sans-serif;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  max-width: 260px;
  color: var(--bento-text-primary);
}
.materials-grid-bento {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.material-card-bento {
  background: var(--bento-white);
  border-radius: var(--bento-radius-md);
  padding: 1rem;
  border: 1px solid var(--bento-border);
  box-shadow: var(--bento-shadow-sm);
}
.material-icon-bento {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bento-bg);
  border: 1px solid var(--bento-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--bento-black);
}
.material-title-bento {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bento-text-primary);
}
.material-desc-bento {
  font-size: 12px;
  color: var(--bento-text-light);
  line-height: 1.4;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .materials-block-bento {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }
  .materials-heading-bento {
    font-size: 28px;
  }
  .materials-grid-bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .materials-block-bento {
    width: 95%;
    padding: 1rem;
  }
  .materials-grid-bento {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. FRANJA DE DESCUENTO BENTO
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.offer-block-bento {
  background: var(--bento-white);
  border-radius: var(--bento-radius-lg);
  border: 1px solid var(--bento-border);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 2rem auto;
  width: 90%;
  max-width: 1400px;
}
.offer-dark-bento {
  flex: 1;
  background: var(--bento-black);
  color: var(--bento-white);
  border-radius: var(--bento-radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.offer-light-bento {
  flex: 1;
  background: var(--bento-bg-soft);
  border-radius: var(--bento-radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.offer-label-bento {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.offer-dark-bento .offer-label-bento {
  color: rgba(255, 255, 255, 0.6);
}
.offer-light-bento .offer-label-bento {
  color: var(--bento-text-gold);
}
.offer-title-bento {
  font-family: "Inter", "Arial", sans-serif;
  font-size: 26px;
  line-height: 1.1;
  margin-top: 0.75rem;
  max-width: 280px;
}
.offer-dark-bento .offer-title-bento {
  color: var(--bento-white);
}
.offer-light-bento .offer-title-bento {
  color: var(--bento-text-primary);
}
.offer-desc-bento {
  font-size: 13px;
  color: var(--bento-text-muted);
  margin-top: 0.5rem;
}
.offer-btn-dark-bento {
  margin-top: 1.5rem;
  background: var(--bento-white);
  color: var(--bento-black);
  border: none;
  border-radius: 9999px;
  padding: 0 1.25rem;
  height: 36px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  transition: box-shadow 0.3s;
  box-shadow: var(--bento-shadow-btn);
}
.offer-btn-dark-bento:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.offer-form-bento {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.offer-input-bento {
  flex: 1;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--bento-border-dark);
  background: var(--bento-white);
  padding: 0 1.25rem;
  font-size: 13px;
  outline: none;
}
.offer-input-bento:focus {
  border-color: var(--bento-black);
}
.offer-btn-submit-bento {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 9999px;
  background: var(--bento-black);
  color: var(--bento-white);
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.offer-btn-submit-bento:hover {
  background: #333;
}

@media (min-width: 768px) {
  .offer-block-bento {
    flex-direction: row;
  }
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .offer-block-bento {
    width: 95%;
    padding: 1rem;
    flex-direction: column;
  }
}

/* ==========================================================================
   8. SECCIÓN: DISEÑOS EXCLUSIVOS
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.seccion-exclusivos {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10vw 0;
  background-color: var(--bento-bg);
  overflow: hidden;
}
.contenedor-caos {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}
.exclusivos-imagen-caja {
  width: 45%;
  position: relative;
  cursor: pointer;
  margin-top: -1vw;
}
.img-fluida {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bento-radius-md);
  box-shadow: var(--bento-shadow-md);
  /* CLS FIX: reservar espacio sin cambiar el tamaño original */
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.boton-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  pointer-events: none;
}
.exclusivos-imagen-caja:hover .boton-play,
.masculino-imagen-caja:hover .boton-play {
  transform: translate(-50%, -50%) scale(1.1);
}
.boton-play img {
  width: 60px;
  height: auto;
}
.exclusivos-texto-arriba {
  position: absolute;
  top: -15%;
  left: 19%;
  z-index: 2;
}
.exclusivos-texto-arriba .linea-1 {
  margin-left: -15px;
  display: block;
  margin-bottom: 30px;
}
.exclusivos-texto-arriba .linea-2 {
  margin-left: 12%;
  display: block;
  margin-bottom: 30px;
}
.exclusivos-texto-arriba .linea-3 {
  margin-left: 1%;
  display: block;
}
.exclusivos-texto-arriba h2 {
  font-size: clamp(0.7rem, 3.5vw, 5rem);
  color: var(--color-negro-monumental);
  line-height: 0.9;
}
.exclusivos-texto-abajo {
  position: absolute;
  bottom: 15%;
  left: 25%;
  z-index: 2;
  text-align: right;
}
.exclusivos-texto-abajo p {
  font-size: clamp(0.7rem, 2vw, 1.2rem);
  color: var(--color-negro-monumental);
  font-weight: bold;
  line-height: 1.2;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .seccion-exclusivos {
    padding: 15vw 5%;
  }
  .contenedor-caos {
    justify-content: flex-end;
  }
  .exclusivos-imagen-caja {
    width: 55%;
    margin-top: 17vw;
  }
  .exclusivos-texto-arriba {
    top: -8%;
    left: 5%;
  }
  .exclusivos-texto-arriba h2 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    line-height: 1;
  }
  .exclusivos-texto-arriba .linea-1,
  .exclusivos-texto-arriba .linea-2,
  .exclusivos-texto-arriba .linea-3 {
    margin-bottom: 10px;
    margin-left: 0;
  }
  .exclusivos-texto-arriba .linea-2 {
    margin-left: 5%;
  }
  .exclusivos-texto-arriba .linea-3 {
    margin-left: 0;
  }
  .exclusivos-texto-abajo {
    bottom: 17%;
    left: auto;
    right: 57%; /* Lo movemos a la derecha */
    text-align: right;
  }
  .exclusivos-texto-abajo p {
    font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    line-height: 1.3;
  }
}

/* ==========================================================================
   9. SECCIÓN: COLECCIONES
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.seccion-colecciones {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2vw 0;
  overflow: hidden;
  background-color: var(--bento-bg);
}
.marca-agua-colecciones {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, 0) scaleY(1.3);
  width: 100%;
  text-align: center;
  font-size: 18vw;
  color: var(--color-gris-marca-agua);
  z-index: 0;
  opacity: 1;
  white-space: nowrap;
  pointer-events: none;
}
.contenedor-colecciones {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.colecciones-cabecera {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20vw;
}
.colecciones-titulos {
  position: absolute;
  top: 15%;
  width: 100%;
  text-align: center;
  z-index: 3;
}
.titulo-gris-oscuro {
  color: var(--color-gris-oscuro);
  font-size: clamp(1.2rem, 3.5vw, 3.5rem);
  line-height: 1;
}
.colecciones-imagen-peq {
  width: 20%;
  max-width: 180px;
  align-self: flex-end;
  margin-right: 1%;
}
.colecciones-imagen-peq img {
  width: 100%;
  height: auto;
  border-radius: var(--bento-radius-sm);
  box-shadow: var(--bento-shadow-md);
}
.subtitulo-izq,
.subtitulo-der {
  color: var(--color-negro-monumental);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}
.subtitulo-izq {
  display: block;
  text-align: left;
  margin-bottom: 15px;
}
.subtitulo-der {
  display: block;
  width: 100%;
  text-align: right;
  padding-right: 2%;
  margin-top: 20px;
}
.cuadricula-categorias {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.item-categoria {
  position: relative;
  width: 23%;
  text-decoration: none;
  display: block;
  border-radius: var(--bento-radius-md);
  overflow: hidden;
  box-shadow: var(--bento-shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.item-categoria:hover {
  transform: scale(1.02);
  box-shadow: var(--bento-shadow-lg);
}
.item-categoria img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.item-categoria.img-inclinada img {
  transform: rotate(5deg) scale(0.85);
}
.item-categoria:hover img {
  transform: scale(1.08);
}
.item-categoria.img-inclinada:hover img {
  transform: rotate(5deg) scale(0.95);
}
.nombre-cat {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  color: var(--color-blanco-puro);
  text-align: center;
  padding: 8px 3px;
  font-family: "Anton", "Impact", sans-serif;
  letter-spacing: 1px;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}
.item-categoria:hover .nombre-cat {
  opacity: 1;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .cuadricula-categorias {
    flex-wrap: wrap;
    gap: 10px;
  }
  .item-categoria {
    width: 47%;
    margin-bottom: 20px;
  }
  .nombre-cat {
    opacity: 1;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    height: 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    font-family: "Anton", "Impact", sans-serif;
    letter-spacing: 1px;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-blanco-puro);
  }
  .marca-agua-colecciones {
    top: 10%;
    font-size: 19vw;
  }
  .subtitulo-der {
    padding-right: 0%;
    margin-top: 10px;
  }
}

/* ==========================================================================
   10. SECCIÓN: LÍNEA MASCULINA
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.seccion-masculina {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10vw 0;
  background-color: var(--bento-bg);
  overflow: hidden;
}
.contenedor-caos-masculino {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.masculino-imagen-caja {
  width: 45%;
  position: relative;
  cursor: pointer;
  margin-top: 5vw;
  margin-right: 30%;
}
.masculino-imagen-caja .img-fluida {
  border-radius: var(--bento-radius-md);
  box-shadow: var(--bento-shadow-md);
  /* CLS FIX: reservar espacio sin cambiar el tamaño original */
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.masculino-texto-arriba {
  position: absolute;
  top: -10%;
  right: 10%;
  z-index: 2;
  text-align: right;
}
.titulo-dorado {
  color: var(--color-dorado-ufyd);
  font-size: clamp(2rem, 5.5vw, 5.5rem);
  display: block;
  margin-bottom: -5px;
}
.titulo-negro-desfasado {
  color: var(--color-negro-monumental);
  font-size: clamp(2.5rem, 6.5vw, 6.5rem);
  display: block;
  margin-right: -10%;
  margin-bottom: -2px;
}
.masculino-texto-abajo {
  position: absolute;
  bottom: 20%;
  right: 17%;
  z-index: 2;
  text-align: left;
}
.masculino-texto-abajo p {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  color: var(--color-negro-monumental);
  font-weight: bold;
  line-height: 1.3;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .masculino-imagen-caja {
    width: 55%;
    margin-top: 15vw;
    margin-right: 40%;
  }
  .masculino-texto-abajo {
    bottom: 20%;
    right: auto;
    left: 60%; /* Lo movemos a la izquierda (de izquierda a derecha) */
    text-align: left;
  }
}

/* ==========================================================================
   11. LANDING DE CATEGORÍAS + GRID DE PRODUCTOS
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.hero-principal,
.hero-categoria {
  width: 90%;
  max-width: 1400px;
  margin: 80px auto 20px auto;
  padding: 0;
  border-radius: var(--bento-radius-lg);
  overflow: hidden;
  box-shadow: var(--bento-shadow-md);
}
.hero-principal img,
.hero-categoria img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bento-radius-lg);
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.landing-categoria {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
}
.franja-confianza-bento.catalogo {
  margin: 1.5rem auto 0.5rem auto;
  width: 90%;
  max-width: 1400px;
}
.contenedor-grid-revista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Grid de 4 columnas en desktop grande */
@media (min-width: 1024px) {
  .contenedor-grid-revista {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .hero-principal,
  .hero-categoria {
    width: 95%;
    margin: 70px auto 10px auto;
  }
  /* Márgenes laterales uniformes en móvil */
  .seccion-exclusivos,
  .seccion-colecciones,
  .seccion-masculina,
  .landing-categoria,
  .franja-confianza-bento.catalogo {
    width: 95%;
    max-width: 100%;
  }
}

/* ==========================================================================
   12. TARJETA BENTO DE PRODUCTO (con rotación de colores)
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.tarjeta-bento {
  display: flex;
  flex-direction: column;
  background: var(--bento-white);
  border: 1px solid var(--bento-border);
  border-radius: var(--bento-radius-lg);
  padding: 12px;
  gap: 12px;
  /* Sombra más profunda para dar efecto de flotación */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 100%;
  position: relative;
}
.tarjeta-bento:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   IMAGEN PRINCIPAL 1:1 (con overlay de acciones)
   =========================================================
   ACTUALIZACION 2026-10: efecto CARD FLIP al cambiar de color.
   Ya no se usa fade+blur. La imagen rota sobre su eje Y (moneda).
   ========================================================= */
.bento-top {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--bento-radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--bento-bg-card);
  cursor: pointer;
  /* Habilita el efecto 3D para la imagen hija (card flip) */
  perspective: 900px;
  perspective-origin: center center;
}
.bento-img-principal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  will-change: transform;
  backface-visibility: hidden;
  /* Sin transition de opacity/filter: los manejan las animaciones */
}

/* Hover: solo hace zoom si la imagen NO esta rotando */
.tarjeta-bento:hover .bento-img-principal:not(.rotando-out):not(.rotando-in) {
  transform: scale(1.05);
}

/* --- EFECTO CARD FLIP --- */
/* Fase 1: sale rotando 0° -> 90° (se achica horizontalmente hasta desaparecer) */
.bento-img-principal.rotando-out {
  animation: bentoFlipOut 0.28s cubic-bezier(0.5, 0, 0.75, 0.4) forwards;
}

/* Fase 2: entra rotando -90° -> 0° (aparece desde el canto) */
.bento-img-principal.rotando-in {
  animation: bentoFlipIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes bentoFlipOut {
  0% {
    transform: rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: rotateY(90deg);
    opacity: 0.35;
  }
}

@keyframes bentoFlipIn {
  0% {
    transform: rotateY(-90deg);
    opacity: 0.35;
  }
  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

/* --- NUEVO: FLECHAS DE NAVEGACIÓN --- */
.bento-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); /* Semi-transparente */
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.bento-flecha-izq { left: 8px; }
.bento-flecha-der { right: 8px; }

.tarjeta-bento.tarjeta-activa .bento-flecha {
  opacity: 1;
  pointer-events: auto;
}

.tarjeta-bento.tarjeta-activa .bento-flecha:hover {
  background: rgba(0, 0, 0, 0.75); /* Se oscurece al pasar el mouse */
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .bento-flecha {
    width: 28px;
    height: 28px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.45);
  }
  .bento-flecha-izq { left: 6px; }
  .bento-flecha-der { right: 6px; }
}

/* Overlay de acciones (botón + dots) dentro de la imagen */
.bento-overlay-acciones {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    transparent 100%
  );
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
}
.tarjeta-bento.tarjeta-activa .bento-overlay-acciones {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================================
   DOTS INDICADORES DE COLOR
   ========================================================= */
.bento-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 100%;
}
.bento-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.bento-dot:hover {
  transform: scale(1.25);
  background: rgba(255, 255, 255, 0.7);
}
.bento-dot.activo {
  background: #ffffff;
  width: 22px;
  border-radius: 999px;
  border-color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}
.bento-dot-mas {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* =========================================================
   BOTÓN DE ACCIÓN (Ver más colores / Agregar)
   ========================================================= */
.bento-btn-accion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111111;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px 6px 6px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-family: "Inter", "Arial", sans-serif;
  white-space: nowrap;
  line-height: 1;
}
.bento-btn-accion:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.4);
}
.bento-btn-icono {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.bento-btn-accion:hover .bento-btn-icono {
  background: #111111;
  color: #ffffff;
}
.bento-btn-accion:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   SHINE BLANCO SOBRE EL BOTÓN (siempre visible)
   ========================================================= */
.bento-btn-accion::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.9) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: bentoShine 4s ease-in-out infinite;
  animation-delay: 1.2s;
  pointer-events: none;
  z-index: 1;
}
@keyframes bentoShine {
  0% {
    left: -80%;
  }
  32% {
    left: 140%;
  }
  100% {
    left: 140%;
  }
}
/* El texto e ícono quedan por encima del shine */
.bento-btn-accion > * {
  position: relative;
  z-index: 2;
}

/* =========================================================
   BLOQUE MEDIO (columna izquierda textos + derecha aspiracional)
   ========================================================= */
.bento-middle {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.bento-col-izq {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 0;
}
.bento-titulo-contenedor {
  height: 2.6em;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.bento-titulo {
  font-family: "Inter", "Arial", sans-serif;
  font-size: clamp(1.2rem, 0.9vw, 1.5rem);
  font-weight: 500;
  color: var(--bento-text-primary);
  line-height: 1.3;
  letter-spacing: 0.2px;
  margin: 0;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.bento-precio-contenedor {
  height: 1.8em;
  display: flex;
  align-items: center;
}
.bento-precio {
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 700;
  color: var(--bento-text-secondary);
  margin: 0;
  line-height: 1.2;
}
.bento-sellos-contenedor {
  height: calc(3 * (1.2em + 4px));
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
}
.bento-sellos {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pildora-confianza {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d3d3d3;
  border-radius: 20px;
  padding: 2px 10px;
  width: fit-content;
  background: var(--bento-bg);
  height: 1.2em;
  line-height: 1.2;
}
.pildora-confianza span {
  font-size: clamp(0.15rem, 0.6vw, 0.4rem);
  font-weight: 600;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  white-space: normal;
}
.icono-pildora {
  width: clamp(14px, 1vw, 20px);
  height: clamp(14px, 1vw, 20px);
  object-fit: contain;
  flex-shrink: 0;
}

/* =========================================================
   IMAGEN ASPIRACIONAL (con zoom)
   ========================================================= */
.bento-col-der {
  flex: 0 0 55%;
  max-width: 55%;
  aspect-ratio: 3 / 4;
  border-radius: var(--bento-radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--bento-bg-card);
  cursor: zoom-in;
}
.bento-img-modelo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.8s ease,
    opacity 0.3s ease;
}
.tarjeta-bento:hover .bento-img-modelo {
  transform: scale(1.05);
}

/* Rotación de la aspiracional (efecto bokeh deslizante hacia la derecha) */
.bento-img-modelo.rotando-out {
  transform: translateX(14%) scale(1.03);
  filter: blur(4px) brightness(1.05);
  opacity: 0.4;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.7, 1),
    filter 0.45s ease,
    opacity 0.45s ease;
  will-change: transform, filter, opacity;
  backface-visibility: hidden;
  transform: translateX(14%) scale(1.03) translateZ(0);
}
.bento-img-modelo.rotando-in {
  animation: aspiracionalBokeh 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, filter, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}
@keyframes aspiracionalBokeh {
  0% {
    transform: translateX(-10%) scale(1.04) translateZ(0);
    filter: blur(6px) brightness(1.1);
    opacity: 0.4;
  }
  60% {
    transform: translateX(-3%) scale(1.015) translateZ(0);
    filter: blur(2px) brightness(1.03);
    opacity: 0.9;
  }
  100% {
    transform: translateX(0) scale(1) translateZ(0);
    filter: blur(0px) brightness(1);
    opacity: 1;
  }
}

/* Ícono de zoom en la esquina (aparece al activar tarjeta) */
.bento-col-der::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.92)
    url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3e%3c/svg%3e")
    center/16px 16px no-repeat;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}
.tarjeta-bento.tarjeta-activa .bento-col-der::after {
  opacity: 1;
  transform: scale(1);
}

/* Variaciones del layout */
.bento-var-2 .bento-middle {
  flex-direction: row-reverse;
}
.bento-var-2 .bento-col-izq {
  order: 2;
}
.bento-var-2 .bento-col-der {
  order: 1;
}

.bento-var-3 .bento-top {
  order: 3;
}
.bento-var-3 .bento-middle {
  order: 1;
}

.bento-var-4 .bento-top {
  order: 3;
}
.bento-var-4 .bento-middle {
  order: 1;
  flex-direction: row-reverse;
}
.bento-var-4 .bento-col-izq {
  order: 2;
}
.bento-var-4 .bento-col-der {
  order: 1;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .tarjeta-bento {
    padding: 10px;
    gap: 10px;
  }
  .bento-col-der {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .bento-titulo-contenedor {
    height: 2.4em;
  }
  .bento-titulo {
    font-size: clamp(2rem, 3vw, 1.5rem);
    -webkit-line-clamp: 2;
  }
  .bento-precio-contenedor {
    height: 1.6em;
  }
  .bento-precio {
    font-size: clamp(1.3rem, 3vw, 1rem);
  }
  .bento-sellos-contenedor {
    height: calc(3 * (1.1em + 20px));
  }
  .bento-sellos {
    gap: 6px;
  }
  .pildora-confianza {
    padding: 5px 13px;
  }
  .pildora-confianza span {
    font-size: clamp(0.6rem, 2.5vw, 0.95rem);
    white-space: normal;
    line-height: 1.3;
  }

  /* Overlay de acciones en móvil */
  .bento-overlay-acciones {
    padding: 36px 10px 10px 10px;
    gap: 8px;
  }
  .bento-btn-accion {
    font-size: 10.5px;
    padding: 7px 14px 7px 7px;
    letter-spacing: 0.6px;
    gap: 8px;
  }
  .bento-btn-icono {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .bento-dot {
    width: 8px;
    height: 8px;
  }
  .bento-dot.activo {
    width: 18px;
  }
  .bento-dot-mas {
    font-size: 10px;
    padding: 2px 6px;
  }

  /* Zoom icon más chico */
  .bento-col-der::after {
    width: 28px;
    height: 28px;
    background-size: 14px 14px;
  }
}

/* ==========================================================================
   13. MODAL DE VARIACIONES (ESTILO BENTO UFYD)
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.modal-variaciones-contenedor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 92%;
  max-width: 760px;
  height: fit-content;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bento-white);
  border: 1px solid var(--bento-border);
  border-radius: var(--bento-radius-lg);
  padding: 20px 32px 0 32px;
  z-index: 9999;
  box-shadow:
    0 0 0 10000px rgba(0, 0, 0, 0.65),
    0 20px 60px rgba(0, 0, 0, 0.25);
  font-family: "Inter", "Arial", sans-serif;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  scrollbar-width: thin;
}

/* Clase que JS añade para abrir el modal con transición */
.modal-variaciones-contenedor.abierto {
  opacity: 1;
  transform: scale(1);
}

.modal-variaciones-contenedor::-webkit-scrollbar {
  width: 6px;
}
.modal-variaciones-contenedor::-webkit-scrollbar-thumb {
  background: #d9d2c9;
  border-radius: 99px;
}

/* Botón X de cierre */
.btn-cerrar-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  background: var(--bento-bg-soft);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--bento-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 20;
}
.btn-cerrar-modal:hover {
  background: var(--bento-black);
  color: var(--bento-white);
  transform: rotate(90deg);
}

/* --- Cabecera del modal --- */
.modal-header-info {
  text-align: center;
  margin-bottom: 10px;
  padding-top: 0px;
}
.modal-titulo-producto {
  font-family: "Anton", "Impact", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bento-text-primary);
  margin-bottom: 8px;
  line-height: 1.15;
  padding: 0 40px;
}

/* =========================================================
   ACORDEÓN "Materiales y medidas"
   ========================================================= */
.acordeon-detalles {
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  text-align: left;
}
.btn-acordeon {
  width: 100%;
  padding: 10px 18px;
  background-color: var(--bento-bg-soft);
  border: 1px solid var(--bento-border);
  border-radius: var(--bento-radius-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--bento-text-primary);
  transition:
    background 0.25s ease,
    border-radius 0.3s ease;
  font-family: "Inter", "Arial", sans-serif;
}
.btn-acordeon:hover {
  background: #efe9e2;
}
.btn-acordeon.abierto {
  border-radius: var(--bento-radius-sm) var(--bento-radius-sm) 0 0;
  background: #efe9e2;
}
.acordeon-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.acordeon-label i {
  font-size: 15px;
}
.acordeon-arrow {
  font-size: 14px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-acordeon.abierto .acordeon-arrow {
  transform: rotate(180deg);
}

.contenido-acordeon {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.contenido-acordeon.abierto {
  max-height: 2000px;
}
.contenido-acordeon-inner {
  padding: 12px 18px;
  border: 1px solid var(--bento-border);
  border-top: none;
  background-color: #faf7f3;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bento-text-secondary);
  border-radius: 0 0 var(--bento-radius-sm) var(--bento-radius-sm);
  font-family: "Inter", "Arial", sans-serif;
}

/* =========================================================
   CARRUSEL DE VARIANTES
   ========================================================= */
.modal-carrusel-seccion {
  margin-bottom: 8px;
  text-align: center;
  border-top: 1px dashed var(--bento-border);
  padding-top: 12px;
  position: relative;
}
.instruccion-colores {
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--bento-text-gold);
  margin-bottom: 10px;
}

.carrusel-variantes-wrapper {
  position: relative;
  padding: 0 6px;
}

.carrusel-variantes-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 14px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carrusel-variantes-track::-webkit-scrollbar {
  display: none;
}

/* Todos los modos comparten el mismo tamaño de tarjeta */
.carrusel-cantidad-1 .tarjeta-variante,
.carrusel-cantidad-2 .tarjeta-variante,
.carrusel-cantidad-muchos .tarjeta-variante {
  flex: 0 0 260px;
  width: 260px;
  scroll-snap-align: start;
}

/* Modo con 1 o 2 colores: centrado, sin scroll, sin flechas */
.carrusel-cantidad-1 .carrusel-variantes-track,
.carrusel-cantidad-2 .carrusel-variantes-track {
  justify-content: center;
  overflow-x: visible;
  scroll-snap-type: none;
  gap: 18px;
}

/* Tarjeta de variante */
.tarjeta-variante {
  border: 2px solid transparent;
  border-radius: var(--bento-radius-md);
  cursor: pointer;
  padding: 6px;
  transition: all 0.28s ease;
  background: var(--bento-white);
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tarjeta-variante:hover {
  border-color: var(--bento-accent-gold);
  transform: translateY(-2px);
}
.tarjeta-variante.variante-activa {
  border-color: var(--bento-black);
  background-color: var(--bento-bg-soft);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.variante-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--bento-radius-sm);
  overflow: hidden;
}
.img-variante-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Check verde en variante activa */
.variante-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.5);
  z-index: 3;
}
.tarjeta-variante.variante-activa .variante-check {
  opacity: 1;
  transform: scale(1);
}

/* Botón de zoom */
.btn-zoom-variante {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  color: var(--bento-text-primary);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  z-index: 2;
}
.btn-zoom-variante:hover {
  transform: scale(1.12);
  background: #ffffff;
}

/* Nombre del color */
.nombre-color-modal {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--bento-text-secondary);
  text-align: center;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  transition:
    font-size 0.25s ease,
    font-weight 0.25s ease,
    color 0.25s ease;
  width: 100%;
}
.tarjeta-variante.variante-activa .nombre-color-modal {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--bento-text-primary);
}

/* =========================================================
   SELECTOR DE CANTIDAD INLINE (aparece debajo de la variante activa)
   ========================================================= */
.selector-cantidad-inline {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid var(--bento-border-dark);
  border-radius: 9999px;
  padding: 3px;
  width: fit-content;
  animation: cantidadInlineIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cantidadInlineIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.tarjeta-variante.variante-activa .selector-cantidad-inline {
  display: flex;
}
.btn-cantidad-inline {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: var(--bento-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.btn-cantidad-inline:hover {
  background: var(--bento-bg-soft);
}
.cantidad-display {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--bento-text-primary);
  font-family: "Inter", sans-serif;
}

/* =========================================================
   FLECHAS DEL CARRUSEL
   ========================================================= */
.carrusel-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--bento-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-size: 16px;
  color: var(--bento-text-primary);
  z-index: 3;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.carrusel-flecha:hover {
  background: var(--bento-black);
  color: var(--bento-white);
}
.carrusel-flecha-izq {
  left: -8px;
}
.carrusel-flecha-der {
  right: -8px;
}

/* Animación de "vibración" (solo flecha derecha) */
@keyframes flechaBounce {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(4px);
  }
}
.carrusel-flecha-der {
  animation: flechaBounce 1.8s ease-in-out infinite;
}
.carrusel-flecha-der:hover {
  animation: none;
}

/* Indicador "1 de 5" */
.carrusel-indicador {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--bento-text-light);
  margin-top: 10px;
  letter-spacing: 0.5px;
}
.carrusel-indicador .indicador-actual {
  color: var(--bento-text-primary);
  font-weight: 800;
}

/* =========================================================
   FORMULARIO DE COMPRA (STICKY AL FONDO)
   ========================================================= */
.modal-form-compra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  padding: 14px 20px 18px 20px;
  position: sticky;
  bottom: 0;
  margin: 20px -32px 0 -32px;
  border-top: 1px solid var(--bento-border);
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 var(--bento-radius-lg) var(--bento-radius-lg);
  z-index: 15;
}
.modal-precio-box {
  font-size: 15px;
  color: var(--bento-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", "Arial", sans-serif;
}
.etiqueta-precio {
  font-weight: 500;
  letter-spacing: 0.3px;
}
.precio-dinamico {
  font-family: "Anton", "Impact", sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--bento-text-primary);
}
.btn-agregar-pedido {
  background-color: var(--bento-black);
  color: var(--bento-white);
  border: none;
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: var(--bento-shadow-btn);
  font-family: "Inter", "Arial", sans-serif;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  justify-content: center;
}
.btn-agregar-pedido:hover {
  background-color: #333;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.btn-agregar-pedido:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   ZOOM / LIGHTBOX
   ========================================================= */
.lightbox-ufyd {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.94);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.28s ease;
  padding: 20px;
}
.lightbox-ufyd.activo {
  opacity: 1;
}

.lightbox-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
  max-height: 92vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox-ufyd.activo .lightbox-img {
  transform: scale(1);
}

.lightbox-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: "Inter", sans-serif;
}
.lightbox-color {
  font-size: 15px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.lightbox-contador {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-cerrar {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}
.lightbox-cerrar:hover {
  background: #fff;
  color: #000;
  transform: rotate(90deg);
}

.lightbox-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}
.lightbox-flecha:hover {
  background: #fff;
  color: #000;
  transform: translateY(-50%) scale(1.08);
}
.lightbox-flecha-izq {
  left: 24px;
}
.lightbox-flecha-der {
  right: 24px;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .modal-variaciones-contenedor {
    width: 94%;
    max-height: 92vh;
    padding: 28px 18px 0 18px;
    border-radius: var(--bento-radius-md);
  }
  .modal-titulo-producto {
    font-size: 1.15rem;
    padding: 0 36px;
  }
  .btn-cerrar-modal {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .modal-carrusel-seccion {
    padding-top: 18px;
  }

  /* Carrusel móvil: mismo tamaño para todos los modos */
  .carrusel-cantidad-1 .tarjeta-variante,
  .carrusel-cantidad-2 .tarjeta-variante,
  .carrusel-cantidad-muchos .tarjeta-variante {
    flex: 0 0 78%;
    width: 78%;
  }

  /* En móvil: 2 colores ya NO se centra, se ve 1 + peek */
  .carrusel-cantidad-2 .carrusel-variantes-track {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
  }
  .carrusel-variantes-track {
    gap: 10px;
    padding: 4px 2px 12px 2px;
  }
  .carrusel-flecha {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .carrusel-flecha-izq {
    left: -4px;
  }
  .carrusel-flecha-der {
    right: -4px;
  }

  /* Formulario móvil: ajustar márgenes al padding reducido del modal */
  .modal-form-compra {
    margin: 18px -18px 0 -18px;
    padding: 14px 18px 18px 18px;
    border-radius: 0 0 var(--bento-radius-md) var(--bento-radius-md);
  }
  .modal-precio-box {
    font-size: 14px;
  }
  .precio-dinamico {
    font-size: 20px;
  }
  .btn-agregar-pedido {
    max-width: 100%;
    font-size: 12px;
    padding: 12px 20px;
    height: 44px;
  }

  /* Zoom en móvil */
  .lightbox-img {
    max-width: 96vw;
    max-height: 70vh;
  }
  .lightbox-flecha {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .lightbox-flecha-izq {
    left: 10px;
  }
  .lightbox-flecha-der {
    right: 10px;
  }
  .lightbox-cerrar {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ==========================================================================
   14. MODAL DE VIDEO / MODAL DE TEXTO (Historia)
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.modal-oculto {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.24s ease-in,
    visibility 0.24s ease-in;
  pointer-events: none;
}
.modal-activo {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.85);
  pointer-events: auto;
}
.modal-contenido-video {
  position: relative;
  width: 90%;
  max-width: 75vh;
  background: #000;
  border-radius: var(--bento-radius-md);
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-activo .modal-contenido-video {
  opacity: 1;
  transform: scale(1);
}

.modal-contenido-texto {
  position: relative;
  width: 90%;
  max-width: 650px;
  background-color: var(--bento-white);
  border-radius: var(--bento-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-activo .modal-contenido-texto {
  opacity: 1;
  transform: scale(1);
}
.cerrar-modal,
.cerrar-modal-texto {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.3s;
}
.modal-activo .cerrar-modal,
.modal-activo .cerrar-modal-texto {
  opacity: 1;
}
.cerrar-modal:hover,
.cerrar-modal-texto:hover {
  transform: rotate(90deg) scale(1.2);
}
.cerrar-modal {
  color: #fff;
}
.cerrar-modal-texto {
  color: var(--color-negro-monumental);
}
.modal-scroll-interno {
  padding: 50px 40px 40px 40px;
  overflow-y: auto;
}
#reproductor-video {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
}
.titulo-modal {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-negro-monumental);
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}
.subtitulo-modal {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  font-weight: bold;
}
.cuadricula-confianza {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: var(--bento-radius-sm);
  margin-bottom: 30px;
}
.item-confianza {
  font-size: 0.95rem;
  color: var(--color-negro-monumental);
  font-weight: bold;
}
.texto-historia p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .modal-scroll-interno {
    padding: 40px 20px 20px 20px;
  }
  .cuadricula-confianza {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   15. FORMULARIO LIBRO DE RECLAMACIONES
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.formulario-indecopi {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-titulo-seccion {
  font-family: "Anton", sans-serif;
  font-size: 1.2rem;
  color: var(--color-negro-monumental);
  margin-top: 20px;
  margin-bottom: 5px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
.form-grupo {
  display: flex;
  flex-direction: column;
}
.form-grupo label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
}
.form-grupo input,
.form-grupo select,
.form-grupo textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
  border-color: var(--color-negro-monumental);
  outline: none;
}
.form-textos-legales {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
  border-left: 4px solid #c10000;
  margin-top: 20px;
}
.form-textos-legales p {
  font-size: 0.8rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 8px;
}
.btn-enviar-reclamo {
  background-color: var(--color-negro-monumental);
  color: var(--color-blanco-puro);
  font-family: "Anton", sans-serif;
  font-size: 1.2rem;
  padding: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s;
  letter-spacing: 1px;
}
.btn-enviar-reclamo:hover {
  background-color: #333;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================================================
   16. MENÚ LATERAL
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.fondo-oscuro-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.fondo-oscuro-menu.activo {
  opacity: 1;
  visibility: visible;
}
.menu-lateral {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-blanco-puro);
  z-index: 1600;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
}
.menu-lateral.activo {
  transform: translateX(0);
}
.menu-lateral-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--color-gris-marca-agua);
}
.logo-menu {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1);
}
.cerrar-menu {
  font-size: 35px;
  color: var(--color-negro-monumental);
  cursor: pointer;
  line-height: 1;
}
.cerrar-menu i {
  font-size: 1.5rem;
  line-height: 1;
}
.cerrar-menu:hover {
  color: var(--color-dorado-ufyd);
}
.menu-lateral-contenido {
  padding: 20px;
  overflow-y: auto;
}
.acordeon-btn {
  background-color: transparent;
  color: var(--color-negro-monumental);
  cursor: pointer;
  padding: 15px 0;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--color-gris-marca-agua);
  outline: none;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.4s;
}
.icono-acordeon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.acordeon-btn.activo .icono-acordeon {
  transform: rotate(45deg);
}
.acordeon-contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fafafa;
}
.acordeon-contenido a {
  display: block;
  padding: 12px 15px;
  color: var(--color-gris-oscuro);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
}
.acordeon-contenido a:hover {
  color: var(--color-dorado-ufyd);
  padding-left: 20px;
  transition: all 0.3s ease;
}
.menu-lateral-redes {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}
.menu-lateral-redes img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
  filter: invert(1);
}
.menu-lateral-redes img:hover {
  transform: scale(1.2);
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
/* (El menú lateral es igual en móvil y PC, no necesita overrides) */

/* ==========================================================================
   17. PÍLDORA FLOTANTE DEL CARRITO (SIDE CART) - PREMIUM
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
#pildora-flotante {
  position: fixed;
  bottom: 3vw;
  right: 3vw;
  background-color: #111111;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  z-index: 999;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.4s ease,
    box-shadow 0.4s ease;
  overflow: visible;
  user-select: none;
}
#pildora-flotante:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
}

/* Efecto PULSE (respiración) - dorado, visible en fondo blanco y oscuro */
@keyframes pildoraPulse {
  0%,
  100% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(158, 123, 84, 0.55);
  }
  50% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.28),
      0 0 0 12px rgba(201, 185, 154, 0);
  }
}
#pildora-flotante.pildora-pulsando {
  animation: pildoraPulse 2.6s ease-in-out infinite;
}

.pildora-contenido {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Ícono en círculo blanco (premium) */
.pildora-icono {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.pildora-icono i {
  font-size: 20px;
  color: #111111;
  line-height: 1;
}
#pildora-flotante:hover .pildora-icono {
  transform: scale(1.05);
}

/* Bloque de información (título + monto) */
.pildora-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding-right: 8px;
  min-width: 0;
}
.pildora-titulo {
  font-family: "Inter", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}
.pildora-monto {
  font-family: "Inter", "Arial", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2px;
  line-height: 1.1;
}
.pildora-monto-oculto {
  display: none;
}

/* Contador rojo */
.pildora-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  background-color: #ff3b30;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.45);
  font-family: "Inter", sans-serif;
  border: 2px solid #111111;
}
/* Pop al cambiar el número */
@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
.pildora-badge.badge-pop {
  animation: badgePop 0.4s ease-out;
}

/* Modo circular (index sin productos) */
.pildora-oculta-total {
  display: none !important;
}
.pildora-solo-icono {
  width: 60px !important;
  height: 60px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  justify-content: center;
}
.pildora-solo-icono .pildora-contenido {
  gap: 0;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pildora-solo-icono .pildora-info,
.pildora-solo-icono .pildora-badge {
  display: none !important;
}
.pildora-solo-icono .pildora-icono {
  width: 36px;
  height: 36px;
}
.pildora-solo-icono .pildora-icono i {
  font-size: 18px;
}

/* Animación de "latido" al agregar producto (ya existía) */
@keyframes latidoCarrito {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
  100% {
    transform: scale(1);
  }
}
.animacion-latido {
  animation: latidoCarrito 0.4s ease-out;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  #pildora-flotante {
    bottom: 16px;
    right: 16px;
    padding: 6px 14px 6px 6px;
  }
  .pildora-icono {
    width: 38px;
    height: 38px;
  }
  .pildora-icono i {
    font-size: 18px;
  }
  .pildora-titulo {
    font-size: 12px;
  }
  .pildora-monto {
    font-size: 11px;
  }
  .pildora-info {
    padding-right: 6px;
  }
  .pildora-badge {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .pildora-solo-icono {
    width: 54px !important;
    height: 54px !important;
  }
  .pildora-solo-icono .pildora-icono {
    width: 34px;
    height: 34px;
  }
  .pildora-solo-icono .pildora-icono i {
    font-size: 16px;
  }
}

/* ==========================================================================
   18. MODAL RESUMEN DE PEDIDO (VERSIÓN PREMIUM)
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.modal-resumen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-resumen-caja {
  background-color: #ffffff;
  width: 90%;
  max-width: 500px;
  border-radius: var(--bento-radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Clase que el JS añade para mostrar la caja */
.modal-resumen-caja.abierto {
  opacity: 1;
  transform: scale(1);
}

/* Cabecera sticky */
.modal-resumen-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  padding: 18px 22px 12px 22px;
  border-bottom: 1px solid #eee9e3;
  border-radius: var(--bento-radius-lg) var(--bento-radius-lg) 0 0;
  flex-shrink: 0;
  max-height: 48vh;
  overflow-y: auto;
}
.modal-resumen-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.resumen-titulo {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-weight: normal;
  font-size: 1.25rem;
  letter-spacing: 1.2px;
  color: var(--bento-text-primary);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.resumen-cabecera-contador {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--bento-text-light);
  letter-spacing: 0.3px;
}
.cerrar-resumen {
  background: var(--bento-bg-soft);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--bento-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.cerrar-resumen:hover {
  background: #111111;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Cuerpo del modal */
.modal-resumen-cuerpo {
  padding: 14px 18px;
  overflow-y: auto;
  flex-grow: 1;
  background: linear-gradient(
    to bottom,
    #fcfbf8 0%,
    #ffffff 15%,
    #ffffff 85%,
    #fcfbf8 100%
  );
  position: relative;
  scrollbar-width: thin;
}
.modal-resumen-cuerpo::-webkit-scrollbar {
  width: 6px;
}
.modal-resumen-cuerpo::-webkit-scrollbar-thumb {
  background: #d9d2c9;
  border-radius: 99px;
}
.resumen-vacio {
  text-align: center;
  color: #999;
  font-family: "Inter", sans-serif;
  padding: 20px;
  font-size: 14px;
}

/* =========================================================
   CONTENEDOR DE CADA PRODUCTO
   ========================================================= */
.resumen-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 14px 14px 14px 14px;
  background: #ffffff;
  border: 1px solid #eee9e3;
  border-radius: 14px;
  margin-bottom: 10px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Animación de salida al eliminar */
.resumen-item.eliminando {
  opacity: 0;
  transform: translateX(-30px) scale(0.95);
  pointer-events: none;
}

/* Botón X en esquina superior derecha */
.resumen-item-eliminar {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f0eb;
  border: none;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.25s ease;
  padding: 0;
}
.resumen-item-eliminar:hover {
  background: #cc0000;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Foto del producto */
.resumen-item-foto {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bento-bg-card);
  flex-shrink: 0;
}
.resumen-item-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info del producto */
.resumen-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 20px;
  min-width: 0;
}
.resumen-item-nombre {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 2px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.resumen-item-detalle {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #777;
  letter-spacing: 0.2px;
}

/* Control de cantidad con botones +/- */
.resumen-item-cantidad {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  background: #f5f0eb;
  border: 1px solid #ede7df;
  border-radius: 999px;
  padding: 2px;
  width: fit-content;
}

.btn-cantidad-resumen {
  background: #ffffff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.btn-cantidad-resumen:hover:not(:disabled) {
  background: #111111;
  color: #ffffff;
}

.btn-cantidad-resumen:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cantidad-resumen-valor {
  min-width: 22px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #111111;
  padding: 0 4px;
}

/* ---------- MÓVIL ---------- */
@media (max-width: 768px) {
  .resumen-item-cantidad {
    margin-top: 4px;
  }
  .btn-cantidad-resumen {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .cantidad-resumen-valor {
    font-size: 12px;
    min-width: 20px;
  }
}

/* Columna de precios */
.resumen-item-precios {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-right: 4px;
  margin-top: 22px;
  min-width: 88px;
  text-align: right;
}

.precio-item {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  line-height: 1.2;
  white-space: nowrap;
  font-weight: 500;
}

/* Precio tachado (tramos anteriores superados) */
.precio-item-tachado {
  text-decoration: line-through;
  color: #b5b5b5;
  font-size: 10.5px;
  font-weight: 400;
}

/* Precio final (activo) */
.precio-item-activo {
  color: #111111;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* Subtotal por producto (solo si cantidad ≥ 2) */
.resumen-item-subtotal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #e5e0da;
  width: 100%;
}
.resumen-item-subtotal-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.resumen-item-subtotal-monto {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.2px;
}

/* =========================================================
   PIE DEL MODAL
   ========================================================= */
.modal-resumen-pie {
  padding: 14px 22px 18px 22px;
  border-top: 1px solid #eee9e3;
  background: #ffffff;
  border-radius: 0 0 var(--bento-radius-lg) var(--bento-radius-lg);
  flex-shrink: 0;
}

.resumen-ahorro {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 8px;
}
.resumen-ahorro i {
  font-size: 14px;
}

.resumen-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
}
.resumen-total-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.4px;
}
.resumen-total-monto {
  font-size: 22px;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.3px;
}

.resumen-btn-pagar {
  width: 100%;
  padding: 14px;
  background-color: #111111;
  color: #ffffff;
  border: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.resumen-btn-pagar-deshabilitado {
  opacity: 0.4;
  cursor: not-allowed;
}
.resumen-btn-pagar:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .modal-resumen-caja {
    width: 94%;
    max-height: 92vh;
    border-radius: var(--bento-radius-md);
  }
  .modal-resumen-sticky {
    padding: 14px 16px 10px 16px;
    max-height: 52vh;
    border-radius: var(--bento-radius-md) var(--bento-radius-md) 0 0;
  }
  .resumen-titulo {
    font-size: 1.1rem;
  }
  .resumen-cabecera-contador {
    font-size: 10.5px;
  }
  .cerrar-resumen {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .modal-resumen-cuerpo {
    padding: 12px 12px;
  }
  .resumen-item {
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
  }
  .resumen-item-foto {
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }
  .resumen-item-nombre {
    font-size: 12.5px;
  }
  .resumen-item-detalle {
    font-size: 11px;
  }
  .resumen-item-precios {
    margin-top: 18px;
    min-width: 78px;
  }
  .precio-item-tachado {
    font-size: 10px;
  }
  .precio-item-activo {
    font-size: 12px;
  }
  .resumen-item-subtotal-monto {
    font-size: 13px;
  }
  .modal-resumen-pie {
    padding: 12px 16px 14px 16px;
    border-radius: 0 0 var(--bento-radius-md) var(--bento-radius-md);
  }
  .resumen-total-monto {
    font-size: 20px;
  }
  .resumen-btn-pagar {
    padding: 13px;
    font-size: 12px;
  }
}

/* ==========================================================================
   19. BARRA MOTIVADORA DE ESCALAS (INTERACTIVA)
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.ufyd-motivator-wrap {
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ufyd-motivator-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--bento-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.5s ease;
}
.ufyd-motivator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* Colores por avance y categoría */
.ufyd-motivator-card--carteras,
.ufyd-motivator-card--morrales {
  background: linear-gradient(135deg, #fff7ed 0%, #ffe7c7 100%);
  border-color: #f3c38c;
}
.ufyd-motivator-card--sets,
.ufyd-motivator-card--mochilas {
  background: linear-gradient(135deg, #fef3f2 0%, #ffd8d2 100%);
  border-color: #f0b2a8;
}
.ufyd-motivator-card.is-mid {
  background: linear-gradient(135deg, #fff4d6 0%, #ffdf8a 100%);
  border-color: #f0c14b;
}
.ufyd-motivator-card.is-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
  border-color: #4ade80;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.22);
}

/* Efecto SHINE que recorre la tarjeta */
.ufyd-motivator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  transform: skewX(-20deg);
  animation: ufydShine 4.5s infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes ufydShine {
  0% {
    left: -100%;
  }
  35% {
    left: 160%;
  }
  100% {
    left: 160%;
  }
}

/* Modo éxito: brillo dorado pulsante */
.ufyd-motivator-card.is-success::before {
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  transform: none;
  animation: ufydSuccessGlow 2.8s ease-in-out infinite;
}
@keyframes ufydSuccessGlow {
  0%,
  100% {
    box-shadow: inset 0 0 12px rgba(34, 197, 94, 0.15);
  }
  50% {
    box-shadow: inset 0 0 32px rgba(34, 197, 94, 0.38);
  }
}

/* Botón-cabecera clickeable */
.ufyd-motivator-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 8px 14px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  position: relative;
  z-index: 2;
}

.ufyd-motivator-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #111;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  animation: ufydPulse 2.2s ease-in-out infinite;
}
@keyframes ufydPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
}
.ufyd-motivator-card.is-success .ufyd-motivator-icon {
  animation: none;
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
}

.ufyd-motivator-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ufyd-motivator-cat {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 2px;
}

.ufyd-motivator-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.ufyd-motivator-card.is-success .ufyd-motivator-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
}

.ufyd-motivator-title {
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 800;
  color: #111;
  font-family: "Inter", sans-serif;
}

.ufyd-motivator-text {
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 500;
  color: #555;
  font-family: "Inter", sans-serif;
}

.ufyd-motivator-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  flex-shrink: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}
.ufyd-motivator-card.abierto .ufyd-motivator-arrow {
  transform: rotate(135deg);
  background: rgba(0, 0, 0, 0.08);
}

/* ===== BARRA DE PROGRESO CON BRILLO MUY VISIBLE ===== */
.ufyd-motivator-progress {
  position: relative;
  width: calc(100% - 28px);
  margin: 0 14px 12px 14px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  z-index: 2;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}
.ufyd-motivator-progress-fill {
  position: relative;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #111 0%, #ff5500 45%, #ffb000 100%);
  transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.5);
}
/* Brillo grande y muy visible que viaja por dentro del relleno */
.ufyd-motivator-progress-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 45%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.85) 55%,
    transparent 100%
  );
  animation: ufydProgressShine 1.6s linear infinite;
  pointer-events: none;
}
@keyframes ufydProgressShine {
  0% {
    left: -80%;
  }
  100% {
    left: 160%;
  }
}
.ufyd-motivator-progress-fill.fill-success {
  background: linear-gradient(90deg, #15803d 0%, #22c55e 60%, #4ade80 100%);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.7);
}
.ufyd-motivator-progress-fill.fill-success .ufyd-motivator-progress-shine {
  animation-duration: 1.2s;
}

/* ===== DETALLE EXPANDIBLE (MENSAJE PERSONAL) ===== */
.ufyd-motivator-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
}
.ufyd-motivator-card.abierto .ufyd-motivator-detail {
  max-height: 400px;
}
.ufyd-motivator-detail-inner {
  margin: 6px 14px 14px 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  border-left: 3px solid #ff8c00;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.ufyd-motivator-card.is-success .ufyd-motivator-detail-inner {
  border-left-color: #16a34a;
}
.ufyd-motivator-detail-icon {
  flex-shrink: 0;
  font-size: 20px;
  color: #ff8c00;
  line-height: 1;
  padding-top: 2px;
}
.ufyd-motivator-card.is-success .ufyd-motivator-detail-icon {
  color: #16a34a;
}
.ufyd-motivator-detail-msg {
  font-size: 12.5px;
  line-height: 1.5;
  color: #333;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  margin: 0 0 8px 0;
}
.ufyd-motivator-goal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Confeti */
.ufyd-confetti-piece {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: 0.95;
  animation: ufydConfettiFall 2s ease-in forwards;
  pointer-events: none;
  z-index: 5;
}
@keyframes ufydConfettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(240px) rotate(720deg);
    opacity: 0;
  }
}

/* Precios con descuento en la lista de productos del modal */
.precio-tachado {
  text-decoration: line-through;
  color: #999;
  font-size: 0.85em;
  margin-right: 4px;
}
.precio-rebajado {
  color: #16a34a;
  font-weight: bold;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .ufyd-motivator-wrap {
    gap: 8px;
  }
  .ufyd-motivator-card {
    border-radius: 12px;
  }
  .ufyd-motivator-toggle {
    padding: 12px 12px 6px 12px;
    gap: 10px;
  }
  .ufyd-motivator-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .ufyd-motivator-cat {
    font-size: 9px;
  }
  .ufyd-motivator-title {
    font-size: 12.5px;
  }
  .ufyd-motivator-text {
    font-size: 11px;
  }
  .ufyd-motivator-progress {
    width: calc(100% - 24px);
    margin: 0 12px 10px 12px;
    height: 10px;
  }
  .ufyd-motivator-detail-inner {
    margin: 6px 12px 12px 12px;
    padding: 12px;
  }
  .ufyd-motivator-detail-msg {
    font-size: 12px;
  }
}

/* ==========================================================================
   20. FOOTER MONUMENTAL
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.footer-monumental {
  background-color: var(--color-negro-monumental);
  color: var(--color-blanco-puro);
  padding: 8vw 5% 2vw 5%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.footer-bloque-principal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 3vw;
}
.texto-gigante-footer {
  font-family: "Anton", "Impact", sans-serif;
  font-size: 15vw;
  line-height: 0.8;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -2px;
}
.footer-logo-caja {
  width: 15%;
  max-width: 180px;
  text-align: right;
}
.logo-footer {
  width: 100%;
  height: auto;
}
.footer-enlaces-contenedor {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 4vw;
}
.columna-footer {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}
.columna-footer h4 {
  font-family: "Anton", "Impact", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: var(--color-blanco-puro);
}
.columna-footer a {
  color: var(--color-blanco-puro);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.columna-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #b0b0b0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .footer-bloque-principal {
    flex-direction: column;
    align-items: center;
    gap: 5vw;
  }
  .texto-gigante-footer {
    font-size: 24vw;
  }
  .footer-logo-caja {
    width: 35%;
    margin: 0 auto;
  }
  .footer-enlaces-contenedor {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* ==========================================================================
   ANIMACIONES DE APERTURA Y CIERRE — MODALES
   ========================================================================== */

/* --- Modal Resumen: apertura (SIN translate, porque usa flex centering) --- */

/* --- Modal Resumen: cierre --- */

/* Cierre del modal resumen (usa transición) */
.modal-resumen-caja.cerrando {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.24s ease-in,
    transform 0.24s ease-in;
}

/* --- Modal Variaciones: cierre --- */
.modal-variaciones-contenedor.cerrando {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.24s ease-in,
    transform 0.24s ease-in;
}

/* ==========================================================================
   21. CHECKOUT MAESTRO — MODAL DE 3 PASOS
   ========================================================================== */

/* ---------- PC / ESCRITORIO ---------- */
.checkout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.checkout-caja {
  background-color: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: var(--bento-radius-lg);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  overflow: hidden;
  animation: modalResumenFadeIn 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- CABECERA CON BARRA DE PROGRESO ---------- */
.checkout-cabecera {
  position: relative;
  background: #ffffff;
  padding: 24px 22px 18px 22px;
  border-bottom: 1px solid #eee9e3;
  flex-shrink: 0;
}

.checkout-cerrar {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bento-bg-soft);
  border: none;
  cursor: pointer;
  color: var(--bento-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.25s ease;
  z-index: 2;
}
.checkout-cerrar:hover {
  background: #111111;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Barra de progreso */
.checkout-progreso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 8px;
  margin-top: 6px;
}

.checkout-paso-circulo {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0ebe5;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
}
.checkout-paso-circulo.activo {
  background: #111111;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.checkout-paso-circulo.completado {
  background: #16a34a;
  color: #ffffff;
}
.checkout-paso-numero {
  line-height: 1;
}
.checkout-paso-check {
  display: none;
  font-size: 18px;
}
.checkout-paso-circulo.completado .checkout-paso-numero {
  display: none;
}
.checkout-paso-circulo.completado .checkout-paso-check {
  display: block;
}
.checkout-paso-label {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.checkout-paso-circulo.activo .checkout-paso-label {
  color: #111111;
}
.checkout-paso-circulo.completado .checkout-paso-label {
  color: #16a34a;
}

.checkout-paso-linea {
  width: 60px;
  height: 3px;
  background: #f0ebe5;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  margin: 0 4px;
}
.checkout-paso-linea::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #16a34a;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.checkout-paso-linea.completada::after {
  width: 100%;
}

/* ---------- CUERPO DEL CHECKOUT ---------- */
.checkout-cuerpo {
  flex-grow: 1;
  overflow-y: auto;
  padding: 26px 22px 22px 22px;
  background: #ffffff;
  scrollbar-width: thin;
  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}
.checkout-cuerpo::-webkit-scrollbar {
  width: 6px;
}
.checkout-cuerpo::-webkit-scrollbar-thumb {
  background: #d9d2c9;
  border-radius: 99px;
}
.checkout-cuerpo.checkout-cuerpo-saliendo {
  opacity: 0;
  transform: translateX(-12px);
}
.checkout-cuerpo.checkout-cuerpo-entrando {
  animation: checkoutCuerpoEntra 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes checkoutCuerpoEntra {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.checkout-paso-contenido {
  display: flex;
  flex-direction: column;
}

/* ---------- TÍTULOS ---------- */
.checkout-titulo {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: normal;
  font-size: 1.35rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bento-text-primary);
  margin: 0 0 8px 0;
  text-align: center;
}
.checkout-subtitulo {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--bento-text-light);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 22px;
}

/* ---------- TABS (Lima / Provincia) ---------- */
.checkout-tabs-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #8a7f72;
  text-align: center;
  margin: 0 0 12px 0;
  animation: pulsoHint 2s ease-in-out infinite;
}
.checkout-tabs-hint i {
  color: var(--bento-accent-gold);
  font-size: 14px;
}
@keyframes pulsoHint {
  0%,
  100% {
    opacity: 0.85;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.checkout-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.checkout-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px 14px 10px;
  border: 2px dashed #d9d2c9;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  animation: pulsoTab 2.4s ease-in-out infinite;
}
.checkout-tab:nth-child(2) {
  animation-delay: 0.3s;
}
@keyframes pulsoTab {
  0%,
  100% {
    border-color: #d9d2c9;
    transform: scale(1);
  }
  50% {
    border-color: #9e8b72;
    transform: scale(1.015);
  }
}
.checkout-tab i {
  font-size: 24px;
  color: #999;
  transition: color 0.28s ease;
}
.checkout-tab span {
  font-size: 13px;
  font-weight: 800;
  color: #666;
  letter-spacing: 0.3px;
  transition: color 0.28s ease;
}
.checkout-tab-hint {
  font-size: 10px;
  font-weight: 500;
  color: #b3a596;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 2px;
}
.checkout-tab:hover {
  border-color: var(--bento-accent-gold);
  border-style: solid;
  background: #fdfbf8;
}
.checkout-tab:hover i {
  color: #8a7f72;
}
.checkout-tab:hover span {
  color: #111;
}

.checkout-tab.activo {
  border-color: #111111;
  border-style: solid;
  background: #111111;
  animation: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.checkout-tab.activo i,
.checkout-tab.activo span {
  color: #ffffff;
}
.checkout-tab.activo .checkout-tab-hint {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- TARJETAS DE ENVÍO ---------- */
.checkout-zona {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.checkout-tarjeta {
  position: relative;
  display: block;
  border: 2px dashed #d9d2c9;
  border-radius: 14px;
  padding: 14px 14px 14px 68px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.28s ease;
  animation: pulsoTarjeta 2.8s ease-in-out infinite;
}
.checkout-tarjeta:nth-child(2) {
  animation-delay: 0.4s;
}
@keyframes pulsoTarjeta {
  0%,
  100% {
    border-color: #d9d2c9;
  }
  50% {
    border-color: #9e8b72;
  }
}
.checkout-tarjeta:hover {
  border-color: var(--bento-accent-gold);
  background: #fdfbf8;
}
.checkout-tarjeta.activa {
  border-color: #111111;
  border-style: solid;
  background: #faf7f3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  animation: none;
}
.checkout-tarjeta-icono {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f0eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #111111;
  transition: all 0.28s ease;
}
.checkout-tarjeta.activa .checkout-tarjeta-icono {
  background: #111111;
  color: #ffffff;
}
.checkout-tarjeta-cuerpo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.checkout-tarjeta-titulo {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #111111;
  margin: 0;
}
.checkout-tarjeta-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 4px;
}
.checkout-tarjeta-detalles {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.checkout-tarjeta-detalles li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}
.checkout-tarjeta-detalles li i {
  color: #16a34a;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}
.checkout-tarjeta-aviso {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: #8a7f72;
  line-height: 1.4;
  margin: 8px 0 0 0;
  padding-top: 8px;
  border-top: 1px dashed #e5dfd7;
  display: flex;
  gap: 5px;
}
.checkout-tarjeta-aviso i {
  color: var(--bento-accent-gold);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.checkout-tarjeta-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.checkout-tarjeta.activa .checkout-tarjeta-check {
  opacity: 1;
  transform: scale(1);
}

/* =========================================================
   MANITO TUTORIAL — GUÍA VISUAL PARA EL CHECKOUT
   ========================================================= */
.checkout-guia-cursor {
  position: absolute;
  z-index: 100;
  pointer-events: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: #111111;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    left 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-guia-cursor.visible {
  opacity: 1;
  transform: translateY(0);
}

.checkout-guia-cursor i {
  font-size: 34px;
  line-height: 1;
  color: #111111;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 1),
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 255, 255, 0.7);
}

/* Animación de "toque" (una vez por objetivo) */
.checkout-guia-cursor.tap {
  animation: guiaTap 0.85s ease-in-out;
}
@keyframes guiaTap {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(5px) scale(0.78);
  }
  50% {
    transform: translateY(5px) scale(0.78);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Onda que se expande al "tocar" */
.checkout-guia-onda {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.25);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 99;
}
.checkout-guia-onda.activa {
  animation: guiaOnda 1.1s ease-out infinite;
}
@keyframes guiaOnda {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }
  35% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  40% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

/* Animación de salida */
.checkout-guia-cursor.saliendo {
  opacity: 0;
  transform: translateY(20px) scale(0.6);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* ---------- CAMPOS DEL FORMULARIO ---------- */
.checkout-campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.checkout-campo label {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkout-campo label .req {
  color: #e11d48;
}
.checkout-opcional {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  font-style: italic;
}
.checkout-campo input[type="text"],
.checkout-campo input[type="tel"],
.checkout-campo input[type="email"],
.checkout-campo select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5dfd7;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #111;
  background: #ffffff;
  transition: all 0.25s ease;
  outline: none;
}
.checkout-campo input:focus,
.checkout-campo select:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.checkout-campo input::placeholder {
  color: #bbb;
}
.checkout-ayuda {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 5px;
}
.checkout-ayuda i {
  color: var(--bento-accent-gold);
  font-size: 12px;
}

/* Prefijo +51 */
.checkout-input-prefijo {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5dfd7;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
}
.checkout-input-prefijo:focus-within {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.checkout-prefijo {
  padding: 12px 12px;
  background: #f5f0eb;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  border-right: 1.5px solid #e5dfd7;
}
.checkout-input-prefijo input {
  flex: 1;
  border: none !important;
  padding: 12px 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Bloque de campos dinámicos */
.checkout-bloque-campos {
  animation: checkoutBloqueEntra 0.35s ease-out;
}
@keyframes checkoutBloqueEntra {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- AVISO DE CONFIANZA ---------- */
.checkout-aviso-confianza {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 18px 0;
}

/* Aviso de confianza dentro del Paso 3 (con margen inferior extra) */
#checkout-fase-revision .checkout-aviso-confianza {
  margin-bottom: 4px;
}
.checkout-aviso-confianza i {
  color: #16a34a;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.checkout-aviso-confianza p {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: #166534;
  line-height: 1.5;
  margin: 0;
}
.checkout-aviso-confianza strong {
  color: #14532d;
}

/* ---------- BOTONES ---------- */
.checkout-acciones {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.checkout-acciones-dobles {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  margin-top: 10px;
}
.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 9999px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.checkout-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.checkout-btn-continuar {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.checkout-btn-continuar:not(:disabled):hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.checkout-btn-volver {
  background: #f5f0eb;
  color: #555;
}
.checkout-btn-volver:hover {
  background: #e8e0d8;
  color: #111;
}
.checkout-btn-aceptar {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.checkout-btn-aceptar:not(:disabled):hover {
  background: #333;
  transform: translateY(-1px);
}
.checkout-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  width: 100%;
  padding: 15px 20px;
  font-size: 13.5px;
  margin-top: 8px;
}
.checkout-btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}
.checkout-btn-whatsapp i {
  font-size: 18px;
}

/* ---------- RESUMEN FINAL (PASO 3 - FASE A) ---------- */
.checkout-resumen-final {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.checkout-resumen-bloque {
  background: #faf7f3;
  border: 1px solid #ede7df;
  border-radius: 12px;
  padding: 14px 16px;
}
.checkout-resumen-titulo {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkout-resumen-titulo i {
  color: var(--bento-accent-gold);
  font-size: 14px;
}
.checkout-resumen-linea {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 5px 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  border-bottom: 1px dashed #ede7df;
}
.checkout-resumen-linea:last-child {
  border-bottom: none;
}
.checkout-resumen-linea span {
  color: #888;
  flex-shrink: 0;
}
.checkout-resumen-linea strong {
  color: #111;
  text-align: right;
  word-break: break-word;
}

/* ---------- ÉXITO (PASO 3 - FASE B) ---------- */
#checkout-fase-exito {
  text-align: center;
  padding: 12px 0;
}
.checkout-exito-icono {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 0 auto 18px auto;
  animation: checkoutExitoPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes checkoutExitoPop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.checkout-titulo-exito {
  color: #16a34a;
  margin-bottom: 10px;
}
.checkout-exito-numero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
}
.checkout-exito-label {
  color: #888;
}
.checkout-exito-id {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: #111;
}
.checkout-exito-mensaje {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 18px 0;
}
.checkout-exito-mensaje strong {
  color: #111;
}
.checkout-aviso-exito {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
}
.checkout-aviso-exito i {
  color: #25d366;
  font-size: 20px;
}
.checkout-link-cerrar {
  display: block;
  margin: 14px auto 0 auto;
  background: transparent;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #999;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 12px;
}
.checkout-link-cerrar:hover {
  color: #111;
}

/* =========================================================
   PASO 3 — LISTA DE PRODUCTOS EN EL RESUMEN
   ========================================================= */
.checkout-resumen-productos {
  padding: 14px 12px 12px 12px;
}
.checkout-resumen-vacio {
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 8px;
}
.checkout-resumen-producto {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 6px 10px 6px;
  border-bottom: 1px dashed #ede7df;
}
.checkout-resumen-producto:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}
.checkout-resumen-producto-foto {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bento-bg-card);
}
.checkout-resumen-producto-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.checkout-resumen-producto-nombre {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}
.checkout-resumen-producto-detalle {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  color: #888;
  letter-spacing: 0.2px;
}
.checkout-resumen-producto-precios {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.checkout-resumen-producto-subtotal {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #111;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #e5e0da;
  width: 100%;
  text-align: right;
}
.checkout-resumen-totales {
  background: #faf7f3;
  border: 1px solid #ede7df;
}
.checkout-resumen-ahorro {
  color: #16a34a;
}
.checkout-resumen-ahorro span {
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.checkout-resumen-ahorro i {
  font-size: 14px;
}
.checkout-resumen-ahorro strong {
  color: #16a34a;
  font-weight: 800;
}
.checkout-resumen-subtotal {
  padding-top: 8px;
}
.checkout-resumen-subtotal span {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.checkout-resumen-subtotal strong {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .checkout-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .checkout-caja {
    max-width: 100%;
    width: 100%;
    max-height: 96vh;
    border-radius: var(--bento-radius-md) var(--bento-radius-md) 0 0;
  }
  .checkout-cabecera {
    padding: 18px 16px 14px 16px;
  }
  .checkout-paso-circulo {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .checkout-paso-linea {
    width: 40px;
  }
  .checkout-paso-label {
    font-size: 9px;
    top: 42px;
  }
  .checkout-cuerpo {
    padding: 20px 16px 18px 16px;
  }
  .checkout-titulo {
    font-size: 1.15rem;
  }
  .checkout-subtitulo {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .checkout-tarjeta {
    padding: 12px 40px 12px 60px;
  }
  .checkout-tarjeta-icono {
    width: 34px;
    height: 34px;
    font-size: 16px;
    left: 14px;
    top: 12px;
  }
  .checkout-tarjeta-titulo {
    font-size: 13px;
  }
  .checkout-tarjeta-detalles li {
    font-size: 11.5px;
  }
  .checkout-btn {
    padding: 13px 18px;
    font-size: 12px;
  }
  .checkout-acciones-dobles {
    grid-template-columns: 1fr;
  }
  .checkout-exito-icono {
    width: 68px;
    height: 68px;
    font-size: 38px;
  }
  .checkout-exito-id {
    font-size: 20px;
  }
  /* Móvil: botones sticky más compactos */
  #checkout-fase-revision .checkout-acciones-dobles {
    padding: 12px 0 4px 0;
    margin-top: 14px;
  }
}

/* =========================================================
   AUTOCOMPLETADO INTELIGENTE (Distrito / Provincia)
   ========================================================= */
.checkout-autocomplete {
  margin-top: 12px;
  padding: 14px;
  background: #faf7f3;
  border: 1px solid #ede7df;
  border-radius: 14px;
  animation: autoCompleteEntra 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes autoCompleteEntra {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-autocomplete-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.checkout-autocomplete-label i {
  color: var(--bento-accent-gold);
  font-size: 14px;
}

.checkout-autocomplete-wrap {
  position: relative;
}

.checkout-autocomplete-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5dfd7;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #111;
  background: #ffffff;
  transition: all 0.25s ease;
  outline: none;
}
.checkout-autocomplete-input:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.checkout-autocomplete-input::placeholder {
  color: #bbb;
}

/* Lista de sugerencias */
.checkout-sugerencias {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5dfd7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 50;
  animation: sugerenciasEntra 0.2s ease-out;
  scrollbar-width: thin;
}
.checkout-sugerencias::-webkit-scrollbar {
  width: 5px;
}
.checkout-sugerencias::-webkit-scrollbar-thumb {
  background: #d9d2c9;
  border-radius: 99px;
}
@keyframes sugerenciasEntra {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-sugerencias li {
  padding: 10px 14px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: #333;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-sugerencias li:hover,
.checkout-sugerencias li.resaltada {
  background: #faf7f3;
  color: #111;
}
.checkout-sugerencias li i {
  color: #b3a596;
  font-size: 14px;
  flex-shrink: 0;
}
.checkout-sugerencias li.es-nueva {
  border-top: 1px dashed #ede7df;
  color: #16a34a;
  font-weight: 600;
}
.checkout-sugerencias li.es-nueva i {
  color: #16a34a;
}

.checkout-sugerencias-vacia {
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: #999;
  text-align: center;
  font-style: italic;
}

/* ---------- 📱 MÓVIL (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .checkout-autocomplete {
    padding: 12px;
  }
  .checkout-sugerencias {
    max-height: 180px;
  }
  .checkout-sugerencias li {
    padding: 9px 12px;
    font-size: 13px;
  }
}

/* =========================================================
   PASO 3 — BOTONES STICKY AL FONDO
   ========================================================= */
/* Los botones "Volver" y "Estoy de acuerdo" quedan pegados al
   fondo del modal y siempre visibles al hacer scroll. */
#checkout-fase-revision .checkout-acciones-dobles {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: #ffffff;
  padding: 14px 0 4px 0;
  margin-top: 18px;
  border-top: 1px solid #eee9e3;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   24. ROMPEDORES DE PATRÓN LINEAL (Landings)
   ==========================================================================
   Bloques de ancho completo que interrumpen la grilla de productos.
   En desktop ocupan grid-column: 1 / -1. En mobile también son full-width.
   ========================================================================== */

/* ---------- BASE DE ROMPEDOR ---------- */
.rompedor-full {
  grid-column: 1 / -1;
  background: var(--bento-white);
  border-radius: var(--bento-radius-lg);
  border: 1px solid var(--bento-border);
  padding: 40px;
  margin: 10px 0;
  overflow: hidden;
  position: relative;
}

.rompedor-contenido {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rompedor-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bento-text-gold);
  margin-bottom: 8px;
}

.rompedor-titulo {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--bento-text-primary);
  line-height: 1.15;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.rompedor-parrafo {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--bento-text-secondary);
  margin: 0 0 20px 0;
}

.rompedor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bento-black);
  color: var(--bento-white);
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.rompedor-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.rompedor-btn-claro {
  background: #ffffff;
  color: var(--bento-black);
}
.rompedor-btn-claro:hover {
  background: #f0f0f0;
  color: var(--bento-black);
}

/* ---------- ROMPEDOR: FAQ ---------- */
.rompedor-faq .rompedor-contenido {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.rompedor-faq-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bento-bg-soft);
  border: 1px solid var(--bento-border);
  border-radius: var(--bento-radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: #ffffff;
  border-color: var(--bento-black);
}

.faq-pregunta {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--bento-text-primary);
  list-style: none;
  user-select: none;
}

.faq-pregunta::-webkit-details-marker {
  display: none;
}

.faq-icono {
  font-size: 14px;
  color: var(--bento-text-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icono {
  transform: rotate(45deg);
}

.faq-respuesta {
  padding: 0 20px 18px 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bento-text-secondary);
}

.faq-respuesta p {
  margin: 0 0 8px 0;
}

.faq-respuesta ul {
  padding-left: 20px;
  margin: 8px 0 0 0;
}

.faq-respuesta li {
  margin-bottom: 4px;
}

/* ---------- ROMPEDOR: VIDEO ---------- */
.rompedor-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.rompedor-video-media {
  position: relative;
  border-radius: var(--bento-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bento-bg-card);
  cursor: pointer;
}

.rompedor-video-tag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rompedor-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.rompedor-video-media:hover .rompedor-video-play {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ---------- ROMPEDOR: BANNER CRUZADO ---------- */
.rompedor-banner {
  background: var(--bento-black);
  color: #ffffff;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
}

.rompedor-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.rompedor-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 2;
}

.rompedor-banner-contenido {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 0;
}

.rompedor-banner .rompedor-label {
  color: rgba(255, 255, 255, 0.75);
}

.rompedor-banner .rompedor-titulo {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}

.rompedor-banner .rompedor-parrafo {
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 0 auto 24px auto;
}

/* ---------- LANDING VACÍA ---------- */
.landing-vacio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
}

.landing-vacio h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: var(--bento-text-muted);
  font-weight: 500;
}

/* ---------- MEDIA QUERIES ---------- */

/* En tablet y mobile (1 columna), ocultamos los fillers */
@media (max-width: 1023px) {
  .rompedor-filler {
    display: none !important;
  }

  .rompedor-full {
    padding: 30px 24px;
  }

  .rompedor-faq .rompedor-contenido {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rompedor-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rompedor-banner {
    padding: 40px 24px;
    min-height: 260px;
  }
}

/* En mobile chico, ajustamos un poco más */
@media (max-width: 480px) {
  .rompedor-full {
    padding: 24px 18px;
  }

  .rompedor-titulo {
    font-size: 1.3rem;
  }

  .faq-pregunta {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-respuesta {
    padding: 0 16px 16px 16px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   25. FILLERS NUEVOS (WhatsApp + Promociones)
   ==========================================================================
   Rellenan los huecos del grid de 4 columnas en desktop.
   Se ocultan en celular y tablet (grid de 1 columna no tiene huecos).
   ========================================================================== */

/* ---------- BASE DE FILLER ---------- */
.rompedor-filler {
    position: relative;
    border-radius: var(--bento-radius-lg);
    overflow: hidden;
    min-height: 380px;
    background: var(--bento-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.filler-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.filler-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 2;
}

.filler-contenido {
    position: relative;
    z-index: 3;
    padding: 24px 22px;
    width: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.filler-label {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.filler-titulo {
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.filler-texto {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 8px 0;
}

.filler-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--bento-black);
    padding: 11px 20px;
    border-radius: 9999px;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.filler-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.filler-btn i {
    font-size: 15px;
    color: #25d366;
}

/* ---------- FILLER PROMOS (2 columnas) ---------- */
.rompedor-filler-promos {
    grid-column: span 2;
    min-height: 380px;
}

/* Transición de los textos rotativos */
.filler-promos-contenido .filler-label,
.filler-promos-contenido .filler-titulo,
.filler-promos-contenido .filler-texto {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.filler-promos-contenido.promo-fade .filler-label,
.filler-promos-contenido.promo-fade .filler-titulo,
.filler-promos-contenido.promo-fade .filler-texto {
    opacity: 0;
    transform: translateY(6px);
}

/* ---------- OCULTAR FILLERS EN TABLET Y MOBILE ---------- */
@media (max-width: 1023px) {
    .rompedor-filler {
        display: none !important;
    }
}

/* ==========================================================================
   MODAL VISOR DE CATÁLOGO PDF
   ========================================================================== */
.modal-pdf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.modal-pdf-overlay.activo {
    opacity: 1;
}

.modal-pdf-caja {
    width: 100%;
    max-width: 1100px;
    height: 92vh;
    background-color: #ffffff;
    border-radius: var(--bento-radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.94);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-pdf-overlay.activo .modal-pdf-caja {
    transform: scale(1);
}

.modal-pdf-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background-color: #111111;
    color: #ffffff;
    gap: 12px;
    flex-shrink: 0;
}

.modal-pdf-titulo-grupo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 600;
    overflow: hidden;
    min-width: 0;
}

.modal-pdf-titulo-grupo i {
    font-size: 20px;
    color: #ff4d4d;
    flex-shrink: 0;
}

.modal-pdf-titulo-grupo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-pdf-acciones {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.modal-pdf-btn-descargar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 999px;
    font-family: "Inter", "Arial", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.modal-pdf-btn-descargar:hover {
    background-color: #1ebe5b;
    transform: translateY(-1px);
    color: #ffffff;
}

.modal-pdf-btn-cerrar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.modal-pdf-btn-cerrar:hover {
    background: #ffffff;
    color: #111111;
    transform: rotate(90deg);
}

.modal-pdf-visor {
    flex-grow: 1;
    background-color: #525659;
    position: relative;
    overflow: hidden;
}

.modal-pdf-visor iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ---------- MÓVIL ---------- */
@media (max-width: 768px) {
    /* Overlay con márgenes para que se vea como ventana flotante. */
    .modal-pdf-overlay {
        padding: 12px;
        align-items: center;
    }

    /* Caja del modal: con márgenes, bordes redondeados y sin tapar la barra del navegador. */
    .modal-pdf-caja {
        height: 88vh;
        max-height: 88vh;
        max-width: 100%;
        width: 100%;
        border-radius: 14px;
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Cabecera un poco más compacta. */
    .modal-pdf-cabecera {
        padding: 12px 14px;
        border-radius: 14px 14px 0 0;
    }

    .modal-pdf-titulo-grupo {
        font-size: 13px;
    }

    .modal-pdf-titulo-grupo i {
        font-size: 18px;
    }

    .modal-pdf-btn-descargar {
        padding: 7px 12px;
        font-size: 12px;
    }

    .modal-pdf-btn-descargar span {
        display: none;
    }

    .modal-pdf-btn-cerrar {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* El visor interior con bordes redondeados abajo. */
    .modal-pdf-visor {
        border-radius: 0 0 14px 14px;
        overflow: hidden;
    }
}

/* ==========================================================================
   FIN DEL ARCHIVO
   ========================================================================== */
