/* ecozox - Bundled Stylesheet */
/* ========================================
   Base - Variables, Reset & Typography
   ======================================== */

:root {
  --primary-color: #111827;
  --secondary-color: #4b5563;
  --accent-color: #3b82f6;
  --bg-color: #f9fafb;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-cjk: system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 8px;

  /* Grid Variables */
  --grid-min-width: 250px;
  --grid-max-columns: 4;
  --grid-gap: 1.3rem;
}

@media (max-width: 400px) {
  :root {
    --grid-min-width: 140px;
    --grid-gap: 0.75rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.product-title,
.section-title,
.cart-item-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* ---------- Prices ---------- */
.price,
.product-price,
.summary-total,
.sticky-cart-bar__price,
.purchase-option__bundle-price {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- CJK font overrides ----------
   Applies when html[lang] is set to zh / ja / ko.
   System fonts load instantly (no network round-trip);
   Noto Sans SC/JP/KR are injected dynamically by i18n.js
   as a reliable cross-platform fallback.
   -------------------------------------------------- */
:is(html[lang="zh"], html[lang="zh"] body) {
  --font-body:    'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Heiti SC', sans-serif;
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Heiti SC', sans-serif;
}
:is(html[lang="ja"], html[lang="ja"] body) {
  --font-body:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  --font-heading: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}
:is(html[lang="ko"], html[lang="ko"] body) {
  --font-body:    'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Gulim', sans-serif;
  --font-heading: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Gulim', sans-serif;
}
:is(html[lang="hi"], html[lang="hi"] body) {
  --font-body:    'Noto Sans Devanagari', sans-serif;
  --font-heading: 'Noto Sans Devanagari', sans-serif;
}
:is(html[lang="ar"], html[lang="ar"] body),
:is(html[lang="ur"], html[lang="ur"] body) {
  --font-body:    'Noto Sans Arabic', sans-serif;
  --font-heading: 'Noto Sans Arabic', sans-serif;
}
/* Remove tight letter-spacing for CJK and Arabic scripts */
:is(html[lang="zh"], html[lang="ja"], html[lang="ko"],
    html[lang="ar"], html[lang="ur"]) :is(h1,h2,h3,h4,h5,h6,
  .product-title, .section-title, .cart-item-title) {
  letter-spacing: 0;
}
/* Prevent browser from synthesizing fake bold/italic — use real loaded weights */
:is(html[lang="hi"], html[lang="ar"], html[lang="ur"]) * {
  font-synthesis: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Padding específico para el contenido principal en cada página (sin afectar footer) */
@media (max-width: 767px) {
  body.page-home main .container,
  body.page-cart main .container,
  body.page-product main .container,
  body.page-contact main .container {
    padding: 0 0.85rem;
  }
}
/* ========================================
   Header & Action Buttons Widget
   ======================================== */

.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* ========================================
   Estilos compartidos (Contacto, Idiomas, Carrito)
   ======================================== */
.cart-button,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--primary-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  font-family: var(--font-family);
  font-size: 1rem;
}

.cart-button:hover,
.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
  border-color: var(--primary-color);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.cart-btn-icon,
.lang-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.cart-btn-divider {
  width: 1px;
  height: 16px;
  background-color: var(--border-color);
  margin: 0 0.65rem;
  flex-shrink: 0;
}

.cart-button .cart-count, 
.cart-button .action-text {
  position: static;
  background: none;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  width: auto;
  height: auto;
  min-width: 1.2ch;
  border-radius: 0;
  line-height: 1;
}

/* Ajuste general para botones que SON SOLO ICONO (Contacto, Idiomas) */
.icon-only-btn {
  padding: 0.5rem; /* Padding uniforme para que sea cuadrado */
  justify-content: center;
  min-width: 43px; /* Altura aproximada del botón del carrito */
}

/* ========================================
   Language Switcher Dropdown
   ======================================== */
.lang-switcher {
  position: relative;
}

/* Dropdown panel */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
  text-align: left;
}

.lang-option:hover {
  background: var(--bg-color);
}

.lang-option.active {
  font-weight: 600;
  color: var(--primary-color);
  background: var(--bg-color);
}

.lang-option .lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-option .lang-check {
  margin-left: auto;
  width: 14px;
  height: 14px;
  opacity: 0;
  color: var(--primary-color);
}

.lang-option.active .lang-check {
  opacity: 1;
}

/* ========================================
   Responsive: Comportamiento Móvil (BNB + Banner)
   ======================================== */
@media (max-width: 767px) {
  /* Ocultar todos los hijos directos del header (como el .container) */
  .header > * {
    display: none !important;
  }

  /* El header se vuelve invisible pero fluye con el documento */
  .header {
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible;
  }

  body.page-product {
    background-color: #f7f4f0 !important;
  }
}
/* ========================================
   Region Dialog — Idioma & Divisa
   Bottom Sheet (mobile) / Modal Dialog (desktop)
   ======================================== */

/* ── Keyframes ──────────────────────────── */
@keyframes sheet-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

@keyframes sheet-down {
    from { transform: translateY(0); }
    to   { transform: translateY(100%); }
}

@keyframes modal-in {
    from { transform: translateY(14px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes modal-out {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(14px); opacity: 0; }
}

/* ── Dialog base ────────────────────────── */
.region-dialog {
    border: none;
    padding: 0;
    background: var(--card-bg);
    outline: none;
    font-family: var(--font-body);
    overflow-y: auto;

    /* Desktop default: centered modal */
    width: min(420px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
    position: fixed;
    inset: 0;
    margin: auto;
}

.region-dialog[open] {
    animation: modal-in 0.25s ease forwards;
}

.region-dialog.is-closing {
    animation: modal-out 0.2s ease forwards;
}

.region-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* ── Mobile: Bottom Sheet ───────────────── */
@media (max-width: 767px) {
    .region-dialog {
        width: 100%;
        max-width: 100%;
        max-height: 85dvh;
        max-height: 85vh; /* fallback */
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.18);
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        margin: 0;
    }

    .region-dialog[open] {
        animation: sheet-up 0.35s cubic-bezier(0.32, 0.72, 0, 1) forwards;
    }

    .region-dialog.is-closing {
        animation: sheet-down 0.3s ease forwards;
    }
}

/* ── Drag handle ────────────────────────── */
.region-dialog__handle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.region-dialog__handle-bar {
    display: block;
    width: 44px;
    height: 6px;
    background: #374151;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.region-dialog__handle:hover .region-dialog__handle-bar,
.region-dialog__handle:active .region-dialog__handle-bar {
    background: #111827;
}

/* ── Header ─────────────────────────────── */
.region-dialog__header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-top: 2px dashed var(--border-color);
    border-bottom: 2px dashed var(--border-color);
}

.region-dialog__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
}


/* ── Body ───────────────────────────────── */
.region-dialog__body {
    padding: 1rem 0.6rem 1.25rem;
}

/* ── Section label ──────────────────────── */
.region-section__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0 0.9rem;
    margin: 0 0 0.35rem;
}

/* ── Divider ────────────────────────────── */
.region-dialog__divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 0.65rem 0.9rem;
}

/* ── Options list ───────────────────────── */
.region-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ── Individual option button ───────────── */
.region-option {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 450;
    color: var(--text-main);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.12s ease;
    text-align: left;
    gap: 0.5rem;
    line-height: 1.3;
}

.region-option:hover  { background: var(--bg-color); }

.region-option.active {
    font-weight: 450;
    color: #15803d;
    background: var(--bg-color);
}

/* ── Check icon ─────────────────────────── */
.region-option__check {
    margin-left: auto;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0;
    color: var(--primary-color);
    transition: opacity 0.12s ease;
}

.region-option.active .region-option__check { opacity: 1; }
.region-option.active .region-option__secondary { color: #15803d; }

/* ── Secondary text ─────────────────────── */
.region-option__secondary {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1rem;
}

/* ── CJK fonts for language labels ─────── */
.region-option[data-region-lang="zh"] { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.region-option[data-region-lang="ja"] { font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif; }
.region-option[data-region-lang="ko"] { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.region-option[data-region-lang="hi"] { font-family: 'Noto Sans Devanagari', sans-serif; }
.region-option[data-region-lang="ar"] { font-family: 'Noto Sans Arabic', sans-serif; }
.region-option[data-region-lang="ur"] { font-family: 'Noto Sans Arabic', sans-serif; }
/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #000;
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-color);
}

.btn-orange {
  background-color: #f97316;
  color: white;
}

.btn-orange:hover  { background-color: #ea6c0a; }
.btn-orange:active { background-color: #dc6107; }

.btn-blue {
  background-color: #1d4ed8;
  color: white;
}

.btn-blue:hover  { background-color: #1e40af; }
.btn-blue:active { background-color: #1e3a8a; }

.btn-danger {
  background-color: #ef4444;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-danger:hover {
  background-color: #dc2626;
}

/* Button Icons */
.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.btn-icon-white {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  filter: invert(1);
}
/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
  background-color: white;
  overflow-x: hidden;
  max-width: 100vw;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
  color: var(--primary-color);
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
/* ========================================
   Wave Divider
   ======================================== */

.line-divider {
  display: block;
  background-color: #ffffff;
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
  z-index: 10;
  line-height: 0;
  overflow: hidden;
  max-width: 100vw;
  width: 100%;
}

.footer-wave {
  background-color: var(--bg-color);
}
/* ========================================
   Product Grid & Cards
   ======================================== */

.catalog-section {
  padding: 2rem 0;
  background: #f7f4f0;
  overflow-x: hidden;
  max-width: 100vw;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(
      min(
        100%,
        max(
          var(--grid-min-width),
          calc((100% - (var(--grid-max-columns) - 1) * var(--grid-gap)) / var(--grid-max-columns))
        )
      ),
      1fr
    )
  );
  gap: var(--grid-gap);
}

@media (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .catalog-section {
    padding: 1rem 0;
  }
  .product-grid {
    gap: 0.5rem;
  }
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Sold-out card: sin elevación hover */
.product-card--sold-out:hover {
  transform: none;
  box-shadow: none;
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-color: #f3f4f6;
  display: block;
}

/* Overlay "AGOTADO" sobre la imagen */
.sold-out-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.35);
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 4vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fbbf24;
  pointer-events: none;
  user-select: none;
  text-align: center;
  padding: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Botón desactivado en tarjetas agotadas */
.product-card--sold-out .add-to-cart-btn {
  background-color: #1e293b;
  color: #ffffff;
  cursor: not-allowed;
  border: none;
  font-size: clamp(0.75rem, 3vw, 1.25rem);
  font-weight: 700;
  border-radius: 5px;
  padding: 0.5rem;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge "-30%" sobre la imagen */
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #111827;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.product-info {
  padding: 0.75rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  margin-top: -12px;
  position: relative;
  z-index: 1;
}

.product-title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  height: calc(1.4em * 2);
}

.product-title__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* Contenedor flex para precio actual + tachado */
.product-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-color);
}

/* Precio original tachado */
.product-price-old {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-to-cart-btn {
  margin-top: auto;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-radius: 5px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  font-size: clamp(0.75rem, 3vw, 1.25rem);
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  /* Ocultar precio tachado en móvil */
  .product-price-old {
    display: none;
  }
}

/* ========================================
   CTA Button — Product Card overrides
   Mirrors the action-buttons styling from
   product-detail so both contexts son consistentes.
   ======================================== */
.product-card .btn-primary {
  background-color: #111827;
  color: #ffffff;
  border: none;
  padding: 1rem 1.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 5px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.product-card .btn-primary:hover {
  background-color: #1f2937;
}

.product-card .btn-primary:active {
  background-color: #030712;
  transform: scale(0.98);
}

.product-card .btn-blue { background-color: #16a34a; }
.product-card .btn-blue:hover  { background-color: #15803d; }
.product-card .btn-blue:active { background-color: #166534; }
/* ========================================
   Product Detail Page
   ======================================== */

.product-detail-section {
  padding: 1rem 0;
  background-color: #f7f4f0;
}

@media (min-width: 768px) {
  .product-detail-section {
    padding-top: 3.2rem;
  }
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

/* ========================================
   Gallery — Contenedor grid child
   ======================================== */
.product-gallery {
  width: 100%;
  min-width: 0;
  display: block;
}

@media (min-width: 1024px) {
  .product-gallery {
    height: 100%;
  }

  .product-info-detail {
    display: flex;
    flex-direction: column;
    height: 0;         /* no dicta la altura de la fila del grid… */
    min-height: 100%;  /* …pero sí la ocupa completamente */
  }

  /* Zona scrolleable */
  .product-info__scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: none;
  }

  /* Chrome / Safari / Edge */
  .product-info__scroll::-webkit-scrollbar {
    display: none;
  }

  /* Zona fija: envío + botones siempre visibles */
  .product-info__fixed {
    flex-shrink: 0;
    margin-top: auto;
    background-color: var(--bg-color);
  }
}

/* ========================================
   Gallery — Card wrapper
   ======================================== */
.product-gallery-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 8px;
}

/* ========================================
   Gallery — Imagen principal
   ======================================== */
.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}


/* Hover zoom only applies to a standalone img, not the slider */
.gallery-main:hover > img {
  transform: scale(1.05);
}

/* ========================================
   Before / After Slider
   ======================================== */
.ba-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 4px;
  --ba-pos: 65%;
  user-select: none;
  touch-action: pan-y;
  cursor: col-resize;
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
}

.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  /* Reset rules from .gallery-main img */
  aspect-ratio: auto;
  transition: none;
  transform: none;
}

/* The "after" layer is clipped to the left portion */
.ba-slider__after {
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

/* ── Divider line ── */
.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  transform: translateX(-50%);
  width: 5px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92) 0px,
    rgba(255, 255, 255, 0.92) 12px,
    transparent 12px,
    transparent 20px
  );
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
  z-index: 2;
  cursor: ew-resize;
  touch-action: none;
}

/* ── Drag handle ── */
.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 6px;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 7px;
  color: #fff;
  backdrop-filter: blur(3px);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35));
  transition: background 0.15s ease;
}

.ba-slider__divider:hover .ba-slider__handle {
  background: rgba(0, 0, 0, 0.55);
}

/* ── Label clip zones (mirrors image clip logic) ── */
.ba-label-clip {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ba-label-clip--after {
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-label-clip--before {
  clip-path: inset(0 0 0 var(--ba-pos));
}

/* ── Labels ── */
.ba-slider__label {
  position: absolute;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 10px;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Dot de color antes del texto */
.ba-slider__label::before {
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ba-ripple-green 2s ease-out infinite;
}

.ba-slider__label--after {
  left: 14px;
}

.ba-slider__label--after::before {
  background: #22c55e;
  animation-name: ba-ripple-green;
}

.ba-slider__label--before {
  right: 14px;
}

.ba-slider__label--before::before {
  background: #ef4444;
  animation-name: ba-ripple-red;
}

@keyframes ba-ripple-green {
  0%   { box-shadow: 0 0 0 0px  rgba(34, 197, 94, 0.7), 0 0 0 0px  rgba(34, 197, 94, 0.4), 0 0 0 0px  rgba(34, 197, 94, 0.15); }
  100% { box-shadow: 0 0 0 7px  rgba(34, 197, 94, 0),   0 0 0 14px rgba(34, 197, 94, 0),   0 0 0 21px rgba(34, 197, 94, 0); }
}

@keyframes ba-ripple-red {
  0%   { box-shadow: 0 0 0 0px  rgba(239, 68, 68, 0.7), 0 0 0 0px  rgba(239, 68, 68, 0.4), 0 0 0 0px  rgba(239, 68, 68, 0.15); }
  100% { box-shadow: 0 0 0 7px  rgba(239, 68, 68, 0),   0 0 0 14px rgba(239, 68, 68, 0),   0 0 0 21px rgba(239, 68, 68, 0); }
}

/* ========================================
   Gallery — Tira de miniaturas
   ======================================== */
.gallery-thumbnails-wrap {
  position: relative;
  margin-top: 8px;
}


.gallery-thumbnails {
  width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-thumbnails:active {
  cursor: grabbing;
}

.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  flex: 0 0 calc(23% - 6px);
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 1;
  transition: border-color 0.2s ease;
  position: relative;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail:hover {
  opacity: 1;
}

.thumbnail.active {
  border-color: var(--primary-color);
  opacity: 1;
}

/* ========================================
   Product Info — ListBuilder card
   ======================================== */
/* Desktop: un solo card que envuelve todo */
.product-info__scroll {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--card-bg);
  padding: 1.15rem 1.10rem;
  margin-bottom: 0.8rem;
}

.product-info__scroll .purchase-options {
  margin-bottom: 0;
}

/* Móvil: dos cards separadas */
@media (max-width: 1023px) {
  .product-info__scroll {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .product-info__desc-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    padding: 1.15rem 1.10rem;
  }

  .product-info__scroll .purchase-options {
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    padding: 1.15rem 1.10rem;
    margin-bottom: 0.8rem;
  }
}

.product-info-detail h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
}

.product-info-detail .price {
  font-size: 2rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 1.5rem;
}

.desc-hook {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.product-info-detail .description {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  font-size: 1.125rem;
  text-align: center;
}

.desc-cta {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.product-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benefit-item {
  padding: 0.875rem 1rem;
  background: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
  text-align: center;
}

.benefit-item strong {
  font-weight: inherit;
  color: inherit;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.qty-btn {
  background: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.qty-btn:hover {
  background-color: var(--bg-color);
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  padding: 0.5rem;
  font-size: 1rem;
  -moz-appearance: textfield;
}

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

.action-buttons-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5rem;
}

.action-buttons {
  display: flex;
  gap: 0.625rem;
  flex-direction: column;
}

@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }
  .action-buttons .btn {
    flex: 1;
  }
}

/* ========================================
   CTA Buttons — Product Page overrides
   Scoped to .action-buttons so btn-primary /
   btn-secondary remain unchanged everywhere else.
   ======================================== */

.action-buttons .btn {
  padding: 2rem 1.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 5px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* "Añadir al carrito" — Naranja: impulso y acción positiva */
.action-buttons .btn-primary {
  background-color: #f97316;
  color: #ffffff;
  border: none;
}

.action-buttons .btn-primary:hover {
  background-color: #ea6c0a;
}

.action-buttons .btn-primary:active {
  background-color: #dc6107;
  transform: scale(0.98);
}

/* "Comprar ahora" — Negro profundo: seguridad y premium */
.action-buttons .btn-secondary {
  background-color: #111827;
  color: #ffffff;
  border: none;
}

.action-buttons .btn-secondary:hover {
  background-color: #1f2937;
}

.action-buttons .btn-secondary:active {
  background-color: #030712;
  transform: scale(0.98);
}
/* ========================================
   Cart Page
   ======================================== */

body.page-cart {
  background-color: #f7f4f0;
  /* Fallback para caracteres CJK almacenados en el carrito */
  font-family: var(--font-body, inherit), 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR',
               system-ui, -apple-system, sans-serif;
}


.cart-section {
  padding: 1rem 0 2rem;
  background-color: #f7f4f0;
}

@media (max-width: 640px) {
  .cart-section {
    padding-bottom: 1.2rem;
  }
}

/* Wave divider between header and cart */
.cart-section + .line-divider,
body.page-cart .line-divider:not(.footer-wave) {
  margin-top: 0;
}

body.page-cart .line-divider {
  display: block;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.cart-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* Evita doble espaciado: el gap del sidebar ya lo controla */
.cart-sidebar .shipping-info-card {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .cart-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 992px) {
  .cart-layout {
    grid-template-columns: 1fr 430px;
    align-items: start;
    gap: 1.6rem;
  }

  .cart-sidebar {
    position: sticky;
    top: 1.5rem;
  }
}

.cart-items {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  transition: opacity 0.3s ease;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ========================================
   Urgency Banner (replaces gift item)
   ======================================== */
.cart-urgency-banner {
  background: var(--bg-color);
  border: 2px dashed #6b7280;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cub__heading {
  text-align: center;
  padding: 0.875rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #15803d;
  background: #ffffff;
  text-transform: uppercase;
  line-height: 1.4;
}

.cub__perks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.625rem 1rem;
  background: #f3efe9;
  border-top: none;
}

/* ---- Gift item ---- */
.cart-item--gift {
  border: 2px dashed #16a34a;
}

.cart-item--gift .cart-item-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.cart-item--gift .cart-item-title {
  font-size: clamp(0.95rem, 4vw, 1.35rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item--gift .price-discounted {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Gift body layout ---- */
.cart-gift-body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

.cart-gift-body .gift-bullet-list {
  flex: 1;
  min-width: 0;
}

.cart-gift-gallery {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cart-gift-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  .cart-gift-body {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-gift-gallery {
    justify-content: space-between;
  }

  .cart-gift-thumb {
    flex: 1;
    width: auto;
    height: 80px;
    min-width: 0;
  }
}

/* ---- Gift bullet list ---- */
.gift-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.gift-bullet-item {
  display: list-item;
  list-style-type: disc;
  margin-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.gift-bullet-icon {
  display: none;
}

.gift-bullet-item--urgent {
  color: #16a34a;
  font-weight: 600;
}

.gift-bullet-item--urgent .gift-bullet-icon {
  color: #16a34a;
}

.cart-gift-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15em 0.55em;
  border-radius: 4px;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.cart-item-price {
  color: var(--text-muted);
}

/* ========================================
   Cart Perks Widget
   ======================================== */
.cart-perks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  background: #f3efe9;
}

.cp__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 530;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cp__item--discount::before,
.cp__item--shipping::before,
.cp__item--gift::before,
.cp__item--timer::before {
  content: '●';
  font-size: 0.7rem;
  flex-shrink: 0;
}

.cp__item--discount { color: #15803d; }
.cp__item--discount::before { color: #15803d; }

.cp__item--shipping { color: #15803d; }
.cp__item--shipping::before { color: #15803d; }

.cp__item--gift { color: #15803d; }
.cp__item--gift::before { color: #15803d; }

.cp__item--timer { color: #ef4444; }
.cp__item--timer::before { color: #ef4444; }

.cp__timer {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  font-size: 0.84rem;
  color: #ef4444;
}

/* ========================================
   Cart Summary — Nested Card
   ======================================== */
.cart-summary {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  height: fit-content;
}

.cs__inner {
  background: var(--bg-color);
  border: 2px dashed #6b7280;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* --- Perks dentro del resumen --- */
.cs__inner .cart-perks {
  border: none;
  border-radius: 0;
  border-bottom: none;
  margin-bottom: 0;
}

/* --- Cabecera --- */
.cs__header {
  padding: 0.875rem 1rem;
}

.cs__title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

/* --- Filas --- */
.cs__rows {
  padding: 0.875rem 1rem;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.cs__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cs__row--green {
  color: #15803d;
  font-weight: 600;
}

.cs__free {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --- Total --- */
.cs__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  border-top: 1px dashed var(--border-color);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

/* --- Botón de pago --- */
.cs__footer {
  padding: 0.875rem 1rem;
  border-top: 1px dashed var(--border-color);
}

.cs__pay-btn {
  width: 100%;
  padding: 1.375rem 1.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cs__pay-btn:hover  { background: #ea6c0a; }
.cs__pay-btn:active { background: #dc6107; transform: scale(0.98); }

.cart-empty {
  text-align: center;
  margin: -1.5rem;
  padding: 8px;
}

.cart-empty__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.5rem 1rem;
  min-height: 100px;
  box-sizing: border-box;
}

.cart-empty__label {
  font-size: 1.125rem;
  font-weight: 600;
}

.cart-empty__cta {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ========================================
   Vista Móvil
   ======================================== */
@media (max-width: 640px) {
  .cart-item {
    padding: 1rem;
  }
}

/* ========================================
   Precios con descuento
   ======================================== */

.price-original {
  color: var(--text-muted);
  font-size: 0.875em;
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.price-discounted {
  color: #15803d;
  font-weight: 600;
}

.summary-savings {
  color: #ef4444;
  font-weight: 500;
}

.savings-amount {
  color: #ef4444;
  font-weight: 600;
}


/* ========================================
   Tamaño específico del selector en el carrito
   ======================================== */

/* Contenedor general */
.cart-item .quantity-controls {
  height: 45px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  width: 100%;
  border: 1px solid var(--border-color);
}

/* Botones de + y - */
.cart-item .qty-btn {
  flex: 0 0 auto;    /* Los botones mantienen su ancho fijo */
  width: 40px;       
  padding: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
}

/* Cuadro de texto del número (EL QUE SE EXPANDE) */
.cart-item .qty-input {
  flex: 1;           /* El número ocupa todo el espacio central restante */
  min-width: 0;
  height: 100%;
  padding: 0;
  font-size: 1rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  background: white;
}

/* ========================================
   Tarjeta de artículo — estructura unificada
   (normal e individual comparten el mismo layout)
   ======================================== */

/* Cabecera: título + precio */
.cart-item-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Cuerpo: artículo(s) con separador dashed */
.cart-item-body {
  list-style: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

.cart-body-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cart-body-item:last-child {
  margin-bottom: 0;
}

/* Imagen miniatura (bundle: 40px) */
.cart-body-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Imagen artículo individual (más grande) */
.cart-body-img--single {
  width: 60px;
  height: 60px;
}

.cart-body-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

.cart-body-link:hover .cart-body-title,
.cart-body-link:hover {
  text-decoration: underline;
}

.cart-body-title {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-main);
  min-width: 0;
}

.cart-body-included {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Franja de descuento del bundle */
.cart-bundle-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
  flex-wrap: wrap;
}

.cart-bundle-tag::before {
  content: '•';
  font-size: 0.9rem;
  color: var(--text-main);
  flex-shrink: 0;
}

.cart-bundle-tag__piece {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cart-bundle-tag__num {
  font-weight: 700;
  color: #15803d;
}

.cart-bundle-tag__op {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-bundle-tag__piece--total {
}

/* Scripts visualmente más pequeños: Devanagari, CJK, árabe */
:lang(hi) .cart-bundle-tag__piece,
:lang(ur) .cart-bundle-tag__piece,
:lang(zh) .cart-bundle-tag__piece,
:lang(ko) .cart-bundle-tag__piece,
:lang(ar) .cart-bundle-tag__piece,
:lang(hi) .cart-bundle-tag__op,
:lang(ur) .cart-bundle-tag__op,
:lang(zh) .cart-bundle-tag__op,
:lang(ko) .cart-bundle-tag__op,
:lang(ar) .cart-bundle-tag__op {
  font-size: 0.85rem;
}

/* Pie: controles con separador dashed */
.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

/* En el footer los quantity-controls no deben expandirse al 100% */
.cart-item-footer .quantity-controls {
  width: auto;
}
/* ========================================
   Footer
   ======================================== */

.site-footer {
  background-color: var(--primary-color);
  color: #d1d5db;
  padding: 1.70rem 0 2rem;
  margin-top: -1px;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ---- Contenedor superior: botón + columnas ---- */
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

/* ---- Fila de botones ---- */
.footer-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  order: 10;
}

.footer-btns .footer-dev-btn {
  flex: 1;
}

/* ---- Botón Devoluciones ---- */
.footer-dev-btn {
  display: block;
  padding: 1.25rem 2rem;
  background-color: #00857a;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
  /* Mobile: va al final (debajo de Soporte) */
  order: 10;
}

.footer-dev-btn:hover {
  background-color: #006b5e;
  color: #ffffff;
}

@media (max-width: 767px) {
  .footer-dev-btn {
    padding: 1.75rem 2rem;
    position: relative;
  }

  .footer-dev-btn::before {
    content: '';
    display: block;
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    border-top: 2px dashed #374151;
    border-image: repeating-linear-gradient(90deg, #374151 0, #374151 10px, transparent 10px, transparent 18px) 2;
  }

  .footer-btns .footer-dev-btn + .footer-dev-btn::before {
    display: none;
  }
}

@media (min-width: 768px) {
  /* Desktop: row — [Devoluciones | Legal | Soporte] */
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-btns {
    order: 0;
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    flex-direction: column;
  }

  .footer-dev-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-top .footer-col {
    flex: 1 1 0;
    min-width: 0;
  }

  /* Columna central: centrar contenido para equilibrar visualmente entre botón y soporte */
  .footer-top .footer-col:nth-child(2) {
    text-align: center;
  }
}

.footer-col h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #d1d5db;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
  text-decoration: underline;
}

.footer-col .text-muted {
  color: #9ca3af;
}


.footer-bottom {
  border-top: 2px dashed #374151;
  border-image: repeating-linear-gradient(90deg, #374151 0, #374151 10px, transparent 10px, transparent 18px) 2;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.payment-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.payment-icons img, .payment-icons svg {
  height: 28px;
  width: auto;
  border-radius: 4px;
}
/* ========================================
   Legal Pages
   ======================================== */

body.page-legal {
  background-color: #f7f4f0;
}

.legal-section {
  padding: 4rem 0 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.legal-section p, .legal-section ul {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.legal-section ul {
  padding-left: 1.5rem;
}

@media (max-width: 767px) {
  .legal-section {
    padding-top: 1.5rem;
  }
}
/* ========================================
   Contact & Refund Page
   ======================================== */

.contact-section {
  padding: 2rem 0;
  background-color: #f7f4f0;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h1 {
  font-size: 3rem;
  letter-spacing: -1px;
  color: var(--primary-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.contact-grid > * {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Formulario */
.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group--grow .form-control {
  flex: 1;
  resize: none;
}

.form-group {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.form-control {
  padding: 0.75rem 1rem;
  height: 3rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-family);
  font-size: 1rem;
  background-color: var(--bg-color);
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #fff;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-color) inset;
  box-shadow: 0 0 0px 1000px var(--bg-color) inset;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  height: 100%;
}

/* Mensaje de Confianza */
.trust-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  box-sizing: border-box;
  width: 100%;
}

.trust-message h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: white;
  text-transform: uppercase;
  text-align: center;
}

.trust-message p {
  color: #d1d5db;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  text-align: center;
}

.trust-features {
  list-style: none;
  padding-left: 0;
}


.trust-features li {
  margin-bottom: 1.25rem;
  color: #f9fafb;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 640px) {
  .contact-section {
    padding: 1rem 0;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-header {
    margin-bottom: 2rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .contact-form,
  .trust-message {
    padding: 1.25rem;
  }

  .contact-grid > *:has(.contact-form) {
    order: 2;
  }

  .trust-message {
    order: 1;
  }
}
/* ========================================
   Toast Notifications
   ======================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}

.toast {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
/* ========================================
   Product Reviews
   ======================================== */

.reviews-section {
  padding: 1rem 0.85rem 1.2rem;
  border-top: 1px solid var(--border-color);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #f7f4f0;
}

.reviews-section .container {
  padding: 0;
  max-width: 100%;
}

/* ========================================
   Reviews Layout — grid unificado
   Summary card + review cards en la misma cuadrícula
   ======================================== */
.reviews-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .reviews-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* display:contents disuelve el contenedor JS en el grid padre;
   sus hijos (.review-card) fluyen directamente como ítems del grid.
   El elemento sigue existiendo para el JS (innerHTML sigue funcionando). */
.reviews-grid {
  display: contents;
}

/* ========================================
   Review Summary Card — Nested Card Layout
   Primer ítem estático del grid de reseñas
   ======================================== */
.review-summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch; /* iguala su altura a la tarjeta con imágenes de su fila */
  min-height: 280px; /* garantiza que el botón mantenga su tamaño en móvil */
}

/* --- Cabecera: título --- */
.rsc__header {
  padding: 0.875rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.rsc__title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

/* --- Cuerpo: puntuación + conteo --- */
.rsc__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
}

.rsc__score-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rsc__score {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
}

#reviews-summary-stars {
  display: flex;
  gap: 3px;
}

.rsc__count {
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Pie: CTA --- */
.rsc__footer {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 0.875rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
}

.rsc__write-btn {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* .reviews-grid usa display:contents — sus hijos fluyen en .reviews-layout */

/* El último review-card se estira para igualar la altura de su pareja de fila */
.reviews-grid .review-card:last-child {
  align-self: stretch;
}

/* ---- Review card — nested card structure ---- */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Bloque 1: estrellas + fecha, título, cuerpo */
.review-card__top {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.review-stars {
  display: flex;
  gap: 2px;
  line-height: 0;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.review-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
}

.review-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Separadores dashed */
.review-card__divider {
  border-top: 1px dashed var(--border-color);
}

/* Bloque 2: galería horizontal de miniaturas */
.review-thumbnails {
  padding: 0.75rem 1.25rem;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.review-thumbnails::-webkit-scrollbar {
  display: none;
}

.review-thumbnail {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.review-thumbnail:hover {
  opacity: 0.82;
  transform: scale(1.05);
}

/* Bloque 3: autor */
.review-author {
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.125rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  user-select: none;
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ========================================
   Review Dialog
   ======================================== */

@keyframes review-sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes review-sheet-down {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}
@keyframes review-modal-in {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes review-modal-out {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(14px); opacity: 0; }
}

#review-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  background: var(--card-bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
  width: min(520px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  outline: none;
  font-family: var(--font-family);
  position: fixed;
  inset: 0;
  margin: auto;
}

#review-dialog[open] {
  animation: review-modal-in 0.25s ease forwards;
}

#review-dialog.is-closing {
  animation: review-modal-out 0.2s ease forwards;
}

#review-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* ── Mobile: Bottom Sheet ── */
@media (max-width: 767px) {
  #review-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 85dvh;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.18);
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    margin: 0;
  }
  #review-dialog[open]    { animation: review-sheet-up   0.35s cubic-bezier(0.32, 0.72, 0, 1) forwards; }
  #review-dialog.is-closing { animation: review-sheet-down 0.3s ease forwards; }
}

/* ── Handle ── */
.review-dialog__handle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.review-dialog__handle-bar {
  display: block;
  width: 44px;
  height: 6px;
  background: #374151;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.review-dialog__handle:hover .review-dialog__handle-bar,
.review-dialog__handle:active .review-dialog__handle-bar {
  background: #111827;
}

/* ── Header ── */
.review-dialog__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-top: 2px dashed var(--border-color);
  border-bottom: 2px dashed var(--border-color);
}

.review-dialog__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
}

/* ── Form ── */
.review-form {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-input {
  width: 100%;
  height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-color);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.review-input:focus {
  border-color: var(--primary-color);
}

.review-form__grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 120px;
}

textarea.review-input {
  height: 100%;
  min-height: 120px;
  resize: none;
  line-height: 1.6;
}

/* ── Star picker ── */
.star-picker {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0.5rem 0;
}

.star-picker__btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
  transition: transform 0.1s ease;
}

.star-picker__btn:hover {
  transform: scale(1.2);
}
/* ========================================
   Product Videos Gallery Widget
   ======================================== */

.product-videos-section {
  padding: 25px 0;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 767px) {
  .product-videos-section .container {
    padding: 0 0.85rem;
  }
}

.product-videos-section__header {
  margin-bottom: 2rem;
  text-align: center;
}

.product-videos-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.product-videos-section__subtitle {
  margin-top: 0.375rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Grid: columnas adaptativas según número de vídeos ── */
.product-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

/* ── Cada tarjeta de vídeo ── */
.product-video-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--primary-color);
  aspect-ratio: 1 / 1;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-video-card:only-child {
  aspect-ratio: 16 / 9;
}

.product-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Etiqueta opcional sobre cada vídeo ── */
.product-video-card__label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3rem 0.6rem;
  border-radius: calc(var(--border-radius) / 2);
  text-align: center;
  pointer-events: none;
}

/* ── Responsive: 2 columnas en móvil ── */
@media (max-width: 768px) {
  .product-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-video-card {
    aspect-ratio: 1;
  }

  .product-video-card:only-child {
    aspect-ratio: 16 / 9;
    grid-column: 1 / -1;
  }
}

/* ========================================
   Video Lightbox Dialog Styles
   ======================================== */

.video-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.video-lightbox-overlay[hidden] {
  display: none;
}

.video-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 10;
}

.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.video-lightbox-content {
  width: 100%;
  max-width: 800px;
  position: relative;
}

.video-lightbox-player {
  width: 100%;
  border-radius: 8px;
  background: #000;
  display: block;
}
/* ========================================
   Sticky Add to Cart Bar
   ======================================== */

.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ajustado para estar bajo el BNB (1100) */
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0.85rem;

  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
}

@media (max-width: 767px) {
  .sticky-cart-bar.visible {
    transform: translateY(0);
    opacity: 1;
  }
}

.sticky-cart-bar.scb--no-transition {
  transition: none !important;
}

/* Ajuste específico para evitar superposición con el Bottom Nav en Móvil */
@media (max-width: 767px) {
  .sticky-cart-bar {
    bottom: 0 !important;
    padding: 0.5rem 0.85rem 0;
    padding-bottom: calc(63.7px + 0.8rem);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 14px 14px 0 0;
  }
}

/* ════════════════════════════════════════
   Toggle handle — solo móvil
   ════════════════════════════════════════ */
.scb__toggle {
  display: none;
}

@media (max-width: 767px) {
  .scb__toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.25rem 0 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .scb__toggle-handle {
    display: block;
    width: 44px;
    height: 6px;
    background: #374151;
    border-radius: 3px;
    transition: background 0.2s ease;
  }

  .scb__toggle:hover .scb__toggle-handle,
  .scb__toggle:active .scb__toggle-handle {
    background: #111827;
  }

  /* Animación de colapso */
  .sticky-cart-bar__inner {
    max-height: 600px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.2s ease;
  }

  .scb--collapsed .sticky-cart-bar__inner {
    max-height: 0;
    opacity: 0;
  }

  .scb--collapsed .scb__toggle {
    padding: 0.4rem 0;
  }

  /* ---- Estado colapsado: píldora flotante centrada ---- */
  .sticky-cart-bar.scb--collapsed {
    position: fixed;
    left: 50% !important;
    right: auto !important;
    bottom: calc(63.7px + 0.75rem) !important;
    width: 120px !important;
    height: 36px;
    padding: 0 !important;
    border-radius: 8px !important;
    border-top: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  }

  /* Sacar __inner del flujo para que no imponga ancho */
  .sticky-cart-bar.scb--collapsed .sticky-cart-bar__inner {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    width: 0;
  }

  /* El toggle cubre toda la píldora para maximizar el área de tap */
  .sticky-cart-bar.scb--collapsed .scb__toggle {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sticky-cart-bar.scb--collapsed:not(.visible) {
    transform: translateX(-50%) translateY(200%);
  }

  .sticky-cart-bar.scb--collapsed.visible {
    transform: translateX(-50%) translateY(0);
  }
}

/* ════════════════════════════════════════
   MÓVIL — tarjeta anidada vertical
   ════════════════════════════════════════ */
.sticky-cart-bar__inner {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-color);
  border: 2px dashed #6b7280;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* ════════════════════════════════════════
   Perks bar — descuento · regalo · timer
   ════════════════════════════════════════ */
.scb__perks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  background: #f3efe9;
}

.scb__perk {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 530;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scb__perk--discount::before,
.scb__perk--gift::before,
.scb__perk--timer::before {
  content: '●';
  font-size: 0.7rem;
  flex-shrink: 0;
}

.scb__perk--discount { color: #15803d; }
.scb__perk--discount::before { color: #15803d; }

.scb__perk--shipping { color: #15803d; }
.scb__perk--shipping::before { content: '●'; font-size: 0.7rem; flex-shrink: 0; color: #15803d; }

.scb__perk--gift { color: #15803d; }
.scb__perk--gift::before { color: #15803d; }

.scb__perk--timer { color: #ef4444; }
.scb__perk--timer::before { color: #ef4444; }

.scb__timer {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  font-size: 0.84rem;
  color: #ef4444;
}

/* Imagen */
.scb__thumb {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

/* Cabecera: título + precios en fila */
.scb__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.scb__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.scb__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.scb__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scb__price-original {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
}

.scb__price-sale {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #16a34a;
  font-family: var(--font-heading);
}

/* Footer: botones con separador discontinuo */
.scb__footer {
  display: flex;
  gap: 0.625rem;
  padding: 0.898rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
}

.scb__btn {
  flex: 1;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 6px;
}

.scb__btn:not(.scb__btn--pay) { background-color: #1d4ed8; color: #fff; }
.scb__btn:not(.scb__btn--pay):hover  { background-color: #1e40af; }
.scb__btn:not(.scb__btn--pay):active { background-color: #1e3a8a; transform: scale(0.98); }

.scb__btn--pay { background-color: #f97316; color: #fff; }
.scb__btn--pay:hover  { background-color: #ea6c0a; }
.scb__btn--pay:active { background-color: #dc6107; transform: scale(0.98); }

/* ════════════════════════════════════════
   ESCRITORIO — layout horizontal
   ════════════════════════════════════════ */
@media (min-width: 768px) {
  .sticky-cart-bar {
    padding: 0.75rem 2rem;
    bottom: 0 !important; /* Asegura que en desktop esté abajo del todo */
  }

  .sticky-cart-bar__inner {
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .scb__thumb {
    width: 52px;
    height: 52px;
    align-self: center;
    margin: 0 0 0 1rem;
  }

  .scb__header {
    flex: 1;
    padding: 0.875rem 1.25rem;
  }

  .scb__footer {
    border-top: none;
    border-left: 1px dashed var(--border-color);
    padding: 0.75rem 1.25rem;
    width: auto;
    align-items: center;
    flex-shrink: 0;
    gap: 0.5rem;
  }

  .scb__btn {
    flex: none;
    padding: 0.6rem 1.5rem;
    white-space: nowrap;
  }
}
/* ========================================
   Purchase Options Widget
   CRO-optimized bundle selector
   ======================================== */

.purchase-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

/* ---------- Base card ---------- */
.purchase-option {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0;           /* las secciones internas gestionan su propio padding */
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg-color);
  outline: none;
}

.purchase-option:hover {
  border-color: var(--secondary-color);
}

@media (pointer: fine) {
  .purchase-option:focus-visible {
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
  }
}

/* ---------- Selected state ---------- */
.purchase-option--selected {
  border-color: var(--primary-color);
  background: var(--bg-color);
}

/* ---------- Row layout ---------- */
.purchase-option__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Radio icon ---------- */
.purchase-option__radio {
  flex-shrink: 0;
  color: var(--border-color);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  line-height: 0;
}

.purchase-option--selected .purchase-option__radio {
  color: var(--primary-color);
}

.radio-icon--checked {
  display: none;
}

.purchase-option--selected .radio-icon--unchecked {
  display: none;
}

.purchase-option--selected .radio-icon--checked {
  display: block;
}

/* ---------- Label ---------- */
.purchase-option__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.3;
}

/* ---------- Quantity controls area (Option A) — inline, right-aligned ---------- */
.purchase-option__qty {
  margin-left: auto;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.purchase-option__qty--disabled {
  opacity: 0.38;
  pointer-events: none;
}

/* ---------- Bundle info (left side, Option B) ---------- */
.purchase-option__bundle-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

/* ---------- Bundle image strip — horizontal row of column-items (Option B) ---------- */
.purchase-option__bundle-imgs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Each article: image on top, label below */
.purchase-option__bundle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.purchase-option__bundle-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: calc(var(--border-radius) * 0.5);
  border: 1.5px solid var(--border-color);
  transition: border-color 0.2s ease;
  display: block;
}

.purchase-option--selected .purchase-option__bundle-img {
  border-color: var(--primary-color);
}

.purchase-option__bundle-item-name {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
}

/* Large + separator between items */
.purchase-option__bundle-img-sep {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
  flex-shrink: 0;
  /* optical vertical alignment with image center */
  margin-bottom: 1.1rem;
}

/* ---------- Bundle pricing (right side, Option B) ---------- */
.purchase-option__bundle-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

/* The savings badge — the key conversion trigger */
.purchase-option__badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.5;
}

/* Original price — crossed out */
.purchase-option__price-original {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  white-space: nowrap;
}

.purchase-option__bundle-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
}

/* ---------- Bundle card: premium highlight when selected ---------- */
.purchase-option--bundle.purchase-option--selected .purchase-option__badge {
  background: #bbf7d0;
}

/* ---------- Responsive (Option A qty wrap) ---------- */
@media (max-width: 480px) {
  .purchase-option__qty {
    margin-left: 0;
    width: 100%;
    padding-left: calc(20px + 0.75rem);
    margin-top: 0.5rem;
  }

  .purchase-option__row {
    flex-wrap: wrap;
  }
}

/* ========================================
   Bundle Option — Nested Card Layout
   (espeja la estructura del carrito)
   ======================================== */

/* Bundle — sin overrides de padding/overflow: ya los hereda de .purchase-option */

/* --- Cabecera: título + precios --- */
.po-bundle__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.po-bundle__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.po-bundle__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.po-bundle__price-original {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
}

.po-bundle__price-sale {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #16a34a;
  font-family: var(--font-heading);
}

.purchase-option--bundle.purchase-option--selected .po-bundle__price-sale {
  color: #16a34a;
}

/* --- Cuerpo: lista de artículos --- */
.po-bundle__body {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.po-bundle__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.po-bundle__item-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  display: block;
}

.po-bundle__item-name {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.po-bundle__gift-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #15803d;
  white-space: nowrap;
}

/* --- Control de cantidad del bundle --- */
.po-bundle__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
  margin-left: 0;
}

.po-bundle__qty-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
}

.po-bundle__qty-row .quantity-controls {
  border-radius: 6px;
  overflow: hidden;
}

.po-bundle__qty-row .qty-btn {
  border-radius: 0;
}

/* --- Pie: radio + CTA --- */
.po-bundle__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
}

.po-bundle__cta {
  font-size: clamp(0.5rem, 3.2vw, 0.875rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}

.purchase-option--bundle.purchase-option--selected .po-bundle__cta {
  color: var(--primary-color);
}

/* ========================================
   Individual Option — Nested Card Layout
   (misma estructura simétrica que el Bundle)
   ======================================== */

/* --- Cabecera: título + precios --- */
.po-single__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.po-single__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.po-single__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.po-single__price-original {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
}

.po-single__price-sale {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #16a34a;
  font-family: var(--font-heading);
}

.purchase-option--selected .po-single__price-sale {
  color: #16a34a;
}

/* --- Cuerpo: artículo único --- */
.po-single__body {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.po-single__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.po-single__item-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  display: block;
}

.po-single__item-name {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

/* --- Control de cantidad --- */
.po-single__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
  /* sobrescribe margin-left: auto del .purchase-option__qty heredado */
  margin-left: 0;
}

.po-single__qty-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* quantity-controls hereda los estilos globales; solo ajustamos border-radius */
.po-single__qty-row .quantity-controls {
  border-radius: 6px;
  overflow: hidden;
}

.po-single__qty-row .qty-btn {
  border-radius: 0; /* el overflow del padre ya redondea los extremos */
}

/* --- Pie: radio + CTA --- */
.po-single__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
}

.po-single__cta {
  font-size: clamp(0.5rem, 3.2vw, 0.875rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}

.purchase-option--selected .po-single__cta {
  color: var(--primary-color);
}
/* ========================================
   Shipping Info Card
   Nested card — espeja el diseño de purchase-options
   ======================================== */

.shipping-info-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--card-bg);
  overflow: hidden;
  margin-bottom: 0.7rem;
}

/* ---------- Capa 1: Cabecera ---------- */
.sic__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.sic__title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  flex: 1;
  line-height: 1.3;
  text-transform: uppercase;
}

.sic__badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ---------- Capas 2 y 3: filas con separador ---------- */
.sic__row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px dashed var(--border-color);
}

.sic__icon {
  flex-shrink: 0;
  color: var(--primary-color);
}

.sic__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.sic__list {
  list-style: disc;
  margin: 0;
  padding-inline-start: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ---------- Fecha dinámica ---------- */
.delivery-highlight {
  font-weight: 500;
  color: var(--text-main);
}
/* ========================================
   Bottom Navigation Bar — Mobile only
   ======================================== */

.bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    /* Show BNB */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100; /* Subido para estar por encima de todo */
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border-color);
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        /* Altura aproximada de 65px a 70px dependiendo del contenido */
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
    }

    /* Push footer content above BNB — sin gap gris */
    body {
        padding-bottom: 0;
    }

    .site-footer {
        padding-bottom: 105px;
    }
}

/* ---- Shared item styles ---- */
.bnb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
    padding: 0.3rem 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    color: var(--primary-color);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.12s ease;
}

.bnb-item:active {
    opacity: 0.55;
}

/* ---- Icon ---- */
.bnb-icon {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

/* ---- Label ---- */
.bnb-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #6b7280;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ---- Cart item ---- */
.bnb-item--cart {
    position: relative;
}

.bnb-cart-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bnb-cart-badge {
    position: absolute;
    top: -5px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    pointer-events: none;
}
