/* =========================================================
   Bioscents — MRP-aligned design system
   Inspired by mrp.bioscents.com.ar (flat dark, blue accent)
   ========================================================= */

:root {
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-text:    ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* ===== Surfaces (light default) ===== */
  --c-bg:        #f5f7fa;
  --c-surface:   #ffffff;
  --c-surface-2: #f0f3f8;
  --c-surface-3: #e6ebf2;
  --c-border:    rgba(15, 22, 35, 0.08);
  --c-border-2:  rgba(15, 22, 35, 0.12);

  /* ===== Text ===== */
  --c-text:      #0f1623;
  --c-text-soft: rgba(15, 22, 35, 0.78);
  --c-text-muted:rgba(15, 22, 35, 0.55);

  /* ===== Accent (MRP blue) ===== */
  --c-accent:      #2d7dff;
  --c-accent-2:    #5b9aff;
  --c-accent-3:    #1f5fcc;
  --c-accent-soft: rgba(45, 125, 255, 0.10);
  --c-success:     #4cc38a;
  --c-warning:     #f0b400;
  --c-danger:      #ff5f57;

  /* ===== Aliases (preservan los nombres usados por los HTML existentes) ===== */
  --c-amber:      var(--c-accent);
  --c-amber-2:    var(--c-accent-2);
  --c-sage:       #6b7280;
  --c-sage-2:     #9ca3af;
  --c-cream:      var(--c-surface-2);
  --c-ink:        var(--c-text);
  --c-ink-soft:   var(--c-text-soft);
  --c-muted:      var(--c-text-muted);

  --glass-bg:        var(--c-surface);
  --glass-bg-strong: var(--c-surface);
  --glass-bg-dark:   var(--c-bg);
  --glass-border:    var(--c-border);
  --glass-stroke:    var(--c-border);
  --glass-shadow:    0 12px 35px rgba(15, 22, 35, 0.08);
  --glass-shadow-sm: 0 6px 18px rgba(15, 22, 35, 0.06);

  --wp-base-1: var(--c-bg);
  --wp-base-2: var(--c-bg);
  --wp-grad-1: transparent;
  --wp-grad-2: transparent;
  --wp-grad-3: transparent;
  --wp-orb-1:  transparent;
  --wp-orb-2:  transparent;
  --wp-body:   var(--c-bg);

  /* ===== Radii ===== */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-pill: 999px;

  --ease-soft: cubic-bezier(.2, .8, .2, 1);

  color-scheme: light;
}

/* ===== Dark mode override ===== */
[data-mode="dark"] {
  color-scheme: dark;
  --c-bg:        #0b0d12;
  --c-surface:   #121622;
  --c-surface-2: #0e1220;
  --c-surface-3: #1a2030;
  --c-border:    rgba(255, 255, 255, 0.08);
  --c-border-2:  rgba(255, 255, 255, 0.12);

  --c-text:      #e9eef6;
  --c-text-soft: rgba(233, 238, 246, 0.78);
  --c-text-muted:rgba(233, 238, 246, 0.55);

  --c-accent-3:  #76b4ff;
  --c-accent-soft: rgba(45, 125, 255, 0.15);

  --glass-shadow:    0 16px 50px rgba(0, 0, 0, 0.45);
  --glass-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.30);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .25s var(--ease-soft), color .25s var(--ease-soft);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.2; margin: 0; color: var(--c-text); }
p { margin: 0; }
hr { border: none; border-top: 1px solid var(--c-border); margin: 22px 0; }

/* Wallpaper / grain — desactivados (estética flat MRP) */
.wallpaper, .grain { display: none; }

/* ===== SVG icon helper ===== */
.icon {
  width: 1em; height: 1em;
  display: inline-block;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}
.icon-lg  { width: 1.25em; height: 1.25em; vertical-align: -0.22em; }
.icon-xl  { width: 1.5em;  height: 1.5em;  vertical-align: -0.28em; }
.icon-2xl { font-size: 28px; }
.icon-3xl { font-size: 44px; }
.icon-fill { fill: currentColor; stroke: none; }

/* ===== Floating Nav ===== */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 1180px;
  z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 50px;
  box-shadow: var(--glass-shadow);
  transition: transform .35s var(--ease-soft), opacity .25s var(--ease-soft);
}
.nav.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}
[data-mode="dark"] .nav { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.nav .brand {
  display: inline-flex; align-items: center;
  color: var(--c-text);
  text-decoration: none;
}
/* Brand mark · imagen única (logo + wordmark en un solo PNG) */
.nav .brand .brand-mark {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
  transition: filter .25s var(--ease-soft);
}
[data-mode="dark"] .nav .brand .brand-mark {
  filter: invert(1) hue-rotate(180deg);
}
@media (max-width: 720px) {
  .nav .brand .brand-mark { height: 18px; }
}
.nav .brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  /* Liquid Glass (Tahoe) — pastilla anidada coherente con la barra */
  background:
    radial-gradient(
      80% 60% at 50% -10%,
      color-mix(in srgb, #fff 40%, transparent) 0%,
      transparent 55%
    ),
    linear-gradient(
      158deg,
      color-mix(in srgb, var(--gl-strong) 88%, transparent) 0%,
      color-mix(in srgb, var(--gl-medium) 72%, transparent) 100%
    );
  border: 1px solid color-mix(in srgb, var(--gl-edge) 85%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 0 color-mix(in srgb, var(--c-text) 6%, transparent) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-text) 5%, transparent),
    0 4px 16px rgba(15, 22, 35, 0.08),
    0 1px 3px rgba(15, 22, 35, 0.05);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(150%);
  color: var(--c-text);
  font-size: 13px;
  font-weight: 800;
}

[data-mode="dark"] .nav .brand .logo {
  background:
    radial-gradient(
      82% 55% at 50% -5%,
      rgba(255, 255, 255, 0.14) 0%,
      transparent 52%
    ),
    linear-gradient(
      158deg,
      color-mix(in srgb, var(--gl-strong) 90%, transparent) 0%,
      color-mix(in srgb, var(--gl-strong) 55%, transparent) 100%
    );
  border-color: color-mix(in srgb, var(--gl-edge) 92%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.28) inset,
    0 0 0 0.5px rgba(255, 255, 255, 0.06),
    0 6px 22px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.22);
}
.nav .links {
  display: flex; align-items: center; gap: 2px; margin-left: 8px;
}
.nav .links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--c-text-soft);
  transition: background .15s, color .15s;
}
.nav .links a:hover { background: var(--c-surface-3); color: var(--c-text); }
.nav .links a.active {
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
}
.nav .nav-actions {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
}
.nav-cart {
  position: relative;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 17px;
  transition: background .15s, transform .15s;
}
.nav-cart:hover { background: var(--c-surface-3); }
.nav-cart .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--c-danger); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 999px;
  border: 2px solid var(--c-surface);
}

/* Mode toggle (sun/moon) */
.mode-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 17px;
  transition: background .15s;
}
.mode-toggle:hover { background: var(--c-surface-3); }
/* Default = light → muestra moon (acción: pasar a dark) */
.mode-toggle .ico-moon { display: inline-block; }
.mode-toggle .ico-sun  { display: none; }
[data-mode="dark"] .mode-toggle .ico-moon { display: none; }
[data-mode="dark"] .mode-toggle .ico-sun  { display: inline-block; }

/* Burger button — solo visible en tablet/mobile */
.burger {
  display: none;
  position: relative;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: background .15s;
}
.burger:hover { background: var(--c-surface-3); }
.burger span {
  position: absolute; left: 25%; right: 25%; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: transform .28s var(--ease-soft), opacity .15s var(--ease-soft), top .28s var(--ease-soft);
}
.burger span:nth-child(1) { top: calc(50% - 6px); }
.burger span:nth-child(2) { top: calc(50% - 1px); }
.burger span:nth-child(3) { top: calc(50% + 4px); }
.burger.open span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

/* Hide legacy theme-switch widget if it still exists in some HTML */
.theme-switch { display: none !important; }

/* ===== Layout container ===== */
.shell {
  padding: 92px 22px 60px;   /* top compensa el nav flotante */
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px;
  font-weight: 600; font-size: 13.5px;
  transition:
    background .35s cubic-bezier(0.22, 1, 0.36, 1),
    color .35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .35s cubic-bezier(0.22, 1, 0.36, 1),
    transform .45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--c-accent-2); }
.btn-glass {
  background: var(--c-surface-3);
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-glass:hover { background: var(--c-surface-2); border-color: var(--c-border-2); }

/* ===== Hero ===== */
.hero {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  font-size: 12px; font-weight: 600;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  margin: 16px 0 14px;
  letter-spacing: -0.025em;
  color: var(--c-text);
}
.hero h1 em { font-style: normal; color: var(--c-accent-3); }
.hero p.lead { font-size: 16px; color: var(--c-text-soft); max-width: 52ch; }
.hero-actions {
  display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap;
}

.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 28px;
  min-height: 320px;
  background: linear-gradient(160deg, var(--c-surface-3), var(--c-surface));
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.bottle {
  position: absolute; right: 12%; top: 50%;
  width: 150px; height: 230px; transform: translateY(-50%);
  border-radius: 18px 18px 14px 14px;
  background: linear-gradient(180deg, var(--c-accent-soft), transparent);
  border: 1px solid var(--c-border-2);
}
.bottle::before {
  content: ""; position: absolute; left: 50%; top: -16px;
  transform: translateX(-50%);
  width: 50px; height: 22px; border-radius: 4px;
  background: var(--c-accent);
}
.bottle::after {
  content: "Bioscents"; position: absolute; left: 50%; top: 60%;
  transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; color: var(--c-text-muted);
  letter-spacing: 0.08em;
}
.hero-tags {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; gap: 6px; flex-wrap: wrap; max-width: 60%;
}
.tag {
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 11.5px; font-weight: 600; color: var(--c-text-soft);
}

/* ===== Stats ===== */
.stats {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: var(--c-accent-3);
  letter-spacing: -0.02em;
}
.stat .lbl { font-size: 12.5px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== Section heading ===== */
.section { margin-top: 110px; }
@media (max-width: 720px) { .section { margin-top: 70px; } }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 18px; gap: 24px;
}
.section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
}
.section-head .kicker {
  font-size: 11px; font-weight: 700; color: var(--c-accent-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.section-head p { color: var(--c-text-muted); max-width: 52ch; font-size: 14px; }

/* ===== Service cards ===== */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.card {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--c-border-2); transform: translateY(-2px); }
.card .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  color: var(--c-text);
  margin-bottom: 12px;
  border-radius: 0;
}
.card .icon svg { width: 28px; height: 28px; }
.card.sage .icon  { color: var(--c-text); }
.card.cream .icon { color: var(--c-text); }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { color: var(--c-text-muted); font-size: 13.5px; }

/* ===== Category cards (4-col) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-card {
  padding: 22px 20px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 170px;
  transition: border-color .15s, transform .15s;
}
.cat-card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.cat-card .cat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px;
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
}
.cat-card.alt .cat-icon { background: rgba(76, 195, 138, 0.15); color: var(--c-success); }
.cat-card h3 { font-size: 16px; }
.cat-card .count {
  font-family: var(--font-display);
  font-weight: 700; font-size: 12px;
  color: var(--c-accent-3); letter-spacing: 0.04em;
}
.cat-card p { color: var(--c-text-muted); font-size: 13px; }
.cat-card .arrow {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--c-text);
}

/* ===== Featured / product cards ===== */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.featured.cols-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: border-color .15s, transform .15s;
}
.product-card:hover { border-color: var(--c-border-2); transform: translateY(-2px); }
.product-card .media {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--g1, #1c2a40), var(--g2, #0e1220));
  position: relative;
  border-bottom: 1px solid var(--c-border);
}
.product-card .media .mini-bottle {
  width: 90px; height: 140px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.product-card .media .mini-bottle::before {
  content: ""; position: absolute; left: 50%; top: -12px; transform: translateX(-50%);
  width: 32px; height: 16px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
}
.product-card .body { padding: 14px 16px 16px; }
.product-card h3 { font-size: 15px; margin-bottom: 4px; letter-spacing: -0.005em; }
.product-card .desc { font-size: 12.5px; color: var(--c-text-muted); min-height: 36px; }
.product-card .row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
}
.product-card .price {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--c-text);
}
.product-card .price small { font-weight: 500; color: var(--c-text-muted); font-size: 11.5px; }
.add-to-cart {
  width: auto; min-width: 32px; height: 32px; padding: 0 8px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  border: none; cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  transition: background .25s ease, width .4s cubic-bezier(.22,1.6,.36,1),
              padding .35s cubic-bezier(.22,1.6,.36,1),
              transform .25s ease, box-shadow .3s ease;
}
.add-to-cart:hover { background: var(--c-accent-2); }
.add-to-cart:active { transform: scale(.94); transition: transform .12s ease; }
.add-to-cart .icon-bag,
.add-to-cart .icon-plus { transition: transform .25s ease, width .25s ease, opacity .2s ease; }
.add-to-cart .icon-bag { width: 16px; height: 16px; }
.add-to-cart .icon-plus { width: 12px; height: 12px; }

/* Click animation — pop + green + "¡Añadido!" */
.add-to-cart .cart-feedback {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
}
.add-to-cart .cart-feedback svg { width: 14px; height: 14px; }
.add-to-cart .cart-feedback polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}
.add-to-cart.is-clicked {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  padding: 0 14px;
  box-shadow: 0 6px 18px rgba(34,197,94,.36), inset 0 1px 0 rgba(255,255,255,.3);
  animation: cart-pop .55s cubic-bezier(.34, 1.56, .64, 1);
}
.add-to-cart.is-clicked .icon-bag,
.add-to-cart.is-clicked .icon-plus { width: 0; opacity: 0; transform: scale(0); }
.add-to-cart.is-clicked .cart-feedback { display: inline-flex; }
.add-to-cart.is-clicked .cart-feedback polyline {
  animation: cart-check-draw .4s cubic-bezier(.65,0,.35,1) .12s forwards;
}
@keyframes cart-pop {
  0%   { transform: scale(.92); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes cart-check-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .add-to-cart.is-clicked,
  .add-to-cart.is-clicked .cart-feedback polyline {
    animation: none !important;
  }
}

/* product variants (mantienen el "color" del aroma) */
.product-card.cafe   { --g1:#3a2818; --g2:#1c1410; }
.product-card.jazmin { --g1:#2a2a18; --g2:#1c1c10; }
.product-card.cuero  { --g1:#2a1810; --g2:#150a08; }

/* ===== Notification toast ===== */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 60;
  min-width: 280px; max-width: 340px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  box-shadow: var(--glass-shadow);
  color: var(--c-text);
  display: flex; gap: 12px; align-items: flex-start;
  transform: translateX(calc(100% + 48px)); opacity: 0; pointer-events: none;
  transition: transform .85s cubic-bezier(.22, 1, .26, 1), opacity .55s ease;
}
.toast.show {
  transform: translateX(0); opacity: 1; pointer-events: auto;
}
.toast .ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--c-accent);
  color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.toast .t-title { font-weight: 600; font-size: 13.5px; }
.toast .t-body  { font-size: 12.5px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== Testimonials ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.testimonial .stars { color: var(--c-warning); font-size: 14px; letter-spacing: 2px; }
.testimonial p { color: var(--c-text-soft); margin-top: 8px; font-size: 14px; line-height: 1.55; }
.testimonial .who {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--c-text-muted);
}
.testimonial .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-accent);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px;
}

/* ===== CTA banner ===== */
.cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #1a2540, #0e1220);
  color: var(--c-text);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
  border: 1px solid var(--c-border-2);
}
.cta h2 { font-size: clamp(22px, 2.4vw, 30px); }
.cta p  { color: var(--c-text-soft); margin-top: 8px; }
.cta .actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ===== Footer ===== */
.footer {
  margin-top: 50px; padding: 22px 26px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px; color: var(--c-text-muted);
}
.footer .links { display: flex; gap: 18px; }
.footer .links a:hover { color: var(--c-accent-3); }

/* ===== TIENDA ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  margin-top: 22px;
}
.sidebar {
  align-self: start;
  position: static;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.filters-toggle { display: none; }
.sidebar-close { display: none; }
.sidebar h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--c-text-muted);
  margin: 0 0 8px; font-weight: 700;
}
.sidebar .filter-group { margin-bottom: 16px; }
.search-input {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 13px; color: var(--c-text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-input:focus, .field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}
.shop-search {
  position: relative;
  flex-shrink: 0;
  width: clamp(280px, 38vw, 460px);
  isolation: isolate;
  border-radius: var(--r-pill);
  padding: 1px;
  background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 50%, #b8bcc4 100%);
  box-shadow:
    0 10px 30px -10px rgba(15, 22, 35, 0.18),
    0 3px 10px rgba(15, 22, 35, 0.08);
  transition: box-shadow .25s var(--ease-soft), transform .25s var(--ease-soft);
}
.shop-search:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 40px -10px rgba(15, 22, 35, 0.25),
    0 5px 14px rgba(15, 22, 35, 0.10);
}
.shop-search:focus-within {
  box-shadow:
    0 0 0 4px rgba(15, 22, 35, 0.10),
    0 16px 40px -10px rgba(15, 22, 35, 0.25);
}
.shop-search .shop-search-icon {
  position: absolute;
  left: 18px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: rgba(15, 22, 35, 0.55);
  pointer-events: none;
  z-index: 2;
  transition: color .2s var(--ease-soft);
}
.shop-search:focus-within .shop-search-icon { color: #0f1623; }
.shop-search .shop-search-input {
  width: 100%;
  height: 52px;
  padding: 0 20px 0 48px;
  font-size: 15px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 55%, #d8dce3 100%) !important;
  background-color: #ffffff !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0 !important;
  color: #0f1623 !important;
  outline: none;
  transition: filter .2s var(--ease-soft);
}
.shop-search .shop-search-input::placeholder {
  color: rgba(15, 22, 35, 0.50);
}
.shop-search .shop-search-input:focus {
  filter: brightness(1.02);
  box-shadow: none;
}
@media (max-width: 900px) {
  .shop-layout > .shop-main .section-head,
  main .section-head:has(.shop-search) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  main .section-head:has(.shop-search) > div:first-child h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .shop-search { width: 100%; max-width: 100%; }
}
@media (max-width: 720px) {
  .shop-search .shop-search-input { height: 48px; font-size: 14px; }
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Chips · macOS Tahoe (Liquid Glass) — etiquetas, filtros, notas destacadas */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--c-text-soft);
  cursor: default;
  border: 1px solid var(--gl-edge);
  background: var(--gl-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 -1px 2px rgba(15, 22, 35, 0.04) inset,
    0 1px 6px rgba(15, 22, 35, 0.07);
  transition:
    border-color .2s var(--ease-soft),
    background-color .2s var(--ease-soft),
    color .2s var(--ease-soft),
    box-shadow .2s var(--ease-soft);
}
[data-mode="dark"] .chip {
  background: color-mix(in srgb, var(--gl-strong) 85%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 2px rgba(0, 0, 0, 0.35) inset,
    0 2px 10px rgba(0, 0, 0, 0.32);
}

.chip-row .chip {
  cursor: pointer;
}

.chip:hover {
  color: var(--c-text);
  border-color: color-mix(in srgb, var(--c-accent-3) 28%, var(--gl-edge));
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.65) inset,
    0 2px 10px rgba(15, 22, 35, 0.10),
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 14%, transparent);
}

.chip.active {
  cursor: pointer;
  color: var(--c-accent-3);
  border-color: color-mix(in srgb, var(--c-accent-3) 38%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--c-accent) 14%, transparent) 0%,
    var(--gl-strong) 62%
  );
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.38) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 22%, transparent),
    0 4px 16px rgba(45, 125, 255, 0.14);
}

[data-mode="dark"] .chip.active {
  color: var(--c-accent-3);
  border-color: color-mix(in srgb, var(--c-accent-3) 35%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--c-accent) 22%, transparent) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 25%, transparent),
    0 6px 22px rgba(0, 0, 0, 0.45);
}
.range {
  display: flex; gap: 6px; align-items: center;
  font-size: 12px; color: var(--c-text-muted);
}
.range input {
  width: 100%; padding: 7px 10px; border-radius: 8px;
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  color: var(--c-text); font-size: 12.5px; outline: none;
}

/* Filter list (radio / checkbox / swatch) */
.filter-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.filter-list .is-hidden-extra { display: none; }
.filter-list.is-expanded .is-hidden-extra { display: block; }
.filter-more {
  margin-top: 6px; padding: 6px 8px;
  background: none; border: none;
  font-size: 12.5px; font-weight: 600;
  color: var(--c-accent);
  cursor: pointer;
  text-align: left;
}
.filter-more:hover { text-decoration: underline; }
.filter-list-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px;
}
.filter-list li { margin: 0; }

/* Filter switch · iOS-style toggle */
.filter-switch {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 8px;
  font-size: 13px; color: var(--c-text);
  cursor: pointer;
  transition: background .15s;
}
.filter-switch:hover { background: var(--c-surface-2); }
.filter-switch .lbl { flex: 1; }
.filter-switch .count {
  font-size: 11.5px; color: var(--c-text-muted);
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}
.filter-switch input {
  position: absolute; opacity: 0;
  width: 0; height: 0; pointer-events: none;
}
.filter-switch .track {
  position: relative;
  width: 32px; height: 18px;
  border-radius: 999px;
  background: var(--c-border);
  transition: background .2s var(--ease-soft);
  flex-shrink: 0;
}
.filter-switch .track::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,22,35,0.18);
  transition: transform .22s var(--ease-soft);
}
.filter-switch input:checked ~ .track {
  background: linear-gradient(135deg, #b48dff, #6a7bff);
}
.filter-switch input:checked ~ .track::after {
  transform: translateX(14px);
}
.filter-switch input:focus-visible ~ .track {
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}

.filter-radio,
.filter-check,
.filter-swatch {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 8px;
  font-size: 13px; color: var(--c-text);
  cursor: pointer;
  transition: background .15s;
}
.filter-radio:hover,
.filter-check:hover,
.filter-swatch:hover { background: var(--c-surface-2); }

.filter-radio input,
.filter-check input { appearance: none; -webkit-appearance: none; margin: 0; flex-shrink: 0; }

.filter-radio input {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--c-border-2, var(--c-border));
  background: var(--c-surface);
  position: relative;
  transition: border-color .15s;
}
.filter-radio input:checked {
  border-color: var(--c-accent);
  background: radial-gradient(circle, var(--c-accent) 0 5px, var(--c-surface) 6px);
}

.filter-check input {
  width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid var(--c-border-2, var(--c-border));
  background: var(--c-surface);
  position: relative;
  transition: background .15s, border-color .15s;
}
.filter-check input:checked {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.filter-check input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-swatch input {
  width: 14px; height: 14px; border-radius: 4px;
  border: 1.5px solid var(--c-border-2, var(--c-border));
  background: var(--c-surface);
  position: relative;
  transition: background .15s, border-color .15s;
}
.filter-swatch input:checked {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.filter-swatch input:checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 0;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-swatch .dot,
.filter-switch .dot {
  width: 14px; height: 14px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(15,22,35,0.08);
}

.filter-list .count {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--c-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Size row · botones rectangulares */
.size-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.size-btn {
  padding: 8px 0; border-radius: 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.size-btn:hover { background: var(--c-surface-3); border-color: var(--c-accent); }
.size-btn.active {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; margin-bottom: 14px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.shop-toolbar .results { font-size: 13px; color: var(--c-text-muted); }
.shop-toolbar select {
  padding: 7px 12px; border-radius: 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 13px; color: var(--c-text); outline: none;
}

/* Active filters chip bar (tienda · palette Bioscents / Tahoe) */
.active-filters {
  display: flex;
  margin-bottom: 14px;
}
.active-filters[hidden] { display: none; }
.active-filters-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  flex: 1;
}
.active-chip:not(.active-chip--clear) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-accent-3);
  border: 1px solid color-mix(in srgb, var(--c-accent-3) 28%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--c-accent) 12%, transparent) 0%,
    color-mix(in srgb, var(--gl-strong) 94%, transparent) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(var(--glass-saturate));
  backdrop-filter: blur(14px) saturate(var(--glass-saturate));
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.42) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 12%, transparent),
    0 2px 10px rgba(45, 125, 255, 0.10);
}

.active-chip:not(.active-chip--clear) button {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c-accent-soft) 100%, transparent);
  color: var(--c-accent-3);
  border: 1px solid color-mix(in srgb, var(--c-accent) 18%, transparent);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  transition: background .15s, color .15s, box-shadow .15s,
    transform .15s var(--ease-soft);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.65) inset,
    0 1px 3px rgba(15, 22, 35, 0.08);
}

.active-chip:not(.active-chip--clear) button:hover {
  background: color-mix(in srgb, var(--c-accent) 20%, transparent);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 2px 8px rgba(45, 125, 255, 0.28);
}

[data-mode="dark"] .active-chip:not(.active-chip--clear) {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--c-accent) 18%, transparent) 0%,
    color-mix(in srgb, var(--gl-strong) 82%, transparent) 100%
  );
  border-color: color-mix(in srgb, var(--c-accent-3) 38%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 22%, transparent),
    0 6px 20px rgba(0, 0, 0, 0.4);
}

[data-mode="dark"] .active-chip:not(.active-chip--clear) button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-mode="dark"] .active-chip:not(.active-chip--clear) button:hover {
  background: color-mix(in srgb, var(--c-accent) 45%, transparent);
  color: #fff;
}

/* Chip “Borrar todo” · vidrio Tahoe */
.active-chip.active-chip--clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  color: var(--c-text-soft);
  border: 1px solid var(--gl-edge);
  background: var(--gl-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 1px 6px rgba(15, 22, 35, 0.08);
  transition: border-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft),
    color .2s var(--ease-soft);
}

[data-mode="dark"] .active-chip.active-chip--clear {
  background: color-mix(in srgb, var(--gl-strong) 82%, transparent);
  border-color: var(--gl-edge);
  color: var(--c-text-soft);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 4px 16px rgba(0, 0, 0, 0.35);
}

.active-chip.active-chip--clear:hover {
  color: var(--c-accent-3);
  border-color: color-mix(in srgb, var(--c-accent) 34%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.5) inset,
    0 0 0 3px color-mix(in srgb, var(--c-accent) 12%, transparent);
}

.active-chip.active-chip--clear:active {
  transform: translateY(0.5px);
}

.active-chip.active-chip--clear .chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-right: -1px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.9;
}

/* WooCommerce-compatible product grid (solo ul: section.related lleva clase "products" y no debe ser grid) */
.woocommerce ul.products,
ul.products {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.woocommerce ul.products li.product,
.products .product {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  list-style: none;
  transition: border-color .15s;
}
.woocommerce ul.products li.product:hover { border-color: var(--c-border-2); }
.product .product-thumb {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--g1, #1c2a40), var(--g2, #0e1220));
  border-bottom: 1px solid var(--c-border);
}
.product .product-thumb .mini-bottle {
  width: 80px; height: 130px; border-radius: 12px 12px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.product .product-thumb .mini-bottle::before {
  content: ""; position: absolute; left: 50%; top: -10px; transform: translateX(-50%);
  width: 26px; height: 14px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
}
.product .onsale {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, #b48dff, #c878ff);
  color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(180, 141, 255, 0.35);
}
.product .onsale.onsale--top {
  background: linear-gradient(135deg, #5ec6ff, #6a7bff);
  box-shadow: 0 2px 6px rgba(94, 198, 255, 0.35);
}
.product .onsale.onsale--sale {
  background: linear-gradient(135deg, #d8a3ff, #ff6fb5);
  box-shadow: 0 2px 6px rgba(216, 163, 255, 0.35);
}
.product .product-body { padding: 14px 16px 16px; }
.product .product-cat {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-accent-3); font-weight: 700;
}
.woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  margin: 4px 0 4px; color: var(--c-text);
}
.product .notes {
  font-size: 12px; color: var(--c-text-muted); min-height: 30px;
}
.product .price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
}
.product .price {
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  color: var(--c-text);
}
.product .price del { color: var(--c-text-muted); font-weight: 500; font-size: 12px; margin-right: 6px; }
.product .price ins { text-decoration: none; }
.button.add_to_cart_button {
  width: 68px;
  height: 38px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 2px 8px rgba(106, 123, 255, 0.18);
  transition: width .55s cubic-bezier(.22, 1.6, .36, 1),
              height .5s cubic-bezier(.22, 1.6, .36, 1),
              padding .55s cubic-bezier(.22, 1.6, .36, 1),
              background .35s ease,
              box-shadow .4s ease,
              transform .45s cubic-bezier(.22, 1.6, .36, 1);
}
.button.add_to_cart_button .icon-bag { width: 16px; height: 16px; flex-shrink: 0; }
.button.add_to_cart_button .icon-plus {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-inline-end: 3px;
  transition: opacity .2s, transform .25s;
}
.button.add_to_cart_button .btn-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: max-width .55s cubic-bezier(.22, 1.6, .36, 1),
              opacity .35s ease .12s,
              transform .45s cubic-bezier(.22, 1.6, .36, 1) .08s,
              margin-left .55s cubic-bezier(.22, 1.6, .36, 1);
  margin-left: 0;
}
.button.add_to_cart_button:hover .btn-text {
  transform: translateX(0);
}
.button.add_to_cart_button:hover {
  width: auto;
  height: 38px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  background: var(--c-accent-2);
  box-shadow: 0 4px 12px rgba(106, 123, 255, 0.30);
}
.button.add_to_cart_button:hover .icon-plus {
  opacity: 0;
  transform: scale(0);
  width: 0;
  margin: 0;
  overflow: hidden;
}
.button.add_to_cart_button:hover .btn-text {
  max-width: 200px;
  opacity: 1;
  margin-left: 6px;
}

/* Press + click animation */
.button.add_to_cart_button:active { transform: scale(.94); transition: transform .12s ease; }
.button.add_to_cart_button.is-clicked {
  width: auto;
  height: 42px;
  padding: 0 17px 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 8px 22px rgba(34,197,94,.36), inset 0 1px 0 rgba(255,255,255,.3);
  animation: bag-pop .55s cubic-bezier(.34, 1.56, .64, 1);
}
.button.add_to_cart_button.is-clicked .icon-bag {
  transform: scale(0);
  width: 0;
  margin: 0;
  transition: transform .25s ease, width .3s ease, margin .3s ease;
}
.button.add_to_cart_button.is-clicked .icon-plus { opacity: 0; transform: scale(0); width: 0; margin: 0; }
.button.add_to_cart_button.is-clicked .btn-text {
  max-width: 200px;
  opacity: 1;
  transform: translateX(0);
  margin-left: 0;
}
.button.add_to_cart_button.is-clicked .check-mark {
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  animation: bag-check-draw .4s ease-out .1s both;
}
.button.add_to_cart_button .check-mark { display: none; }
.button.add_to_cart_button.is-clicked .check-mark .icon { width: 16px; height: 16px; }
.button.add_to_cart_button.is-clicked .check-mark polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: bag-check-draw .4s cubic-bezier(.65,0,.35,1) .12s forwards;
}
@keyframes bag-pop {
  0%   { transform: scale(.92); }
  55%  { transform: scale(1.06) translateY(-2px); }
  100% { transform: scale(1) translateY(-3px); }
}
@keyframes bag-check-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .button.add_to_cart_button.is-clicked,
  .button.add_to_cart_button.is-clicked .check-mark polyline {
    animation: none !important;
  }
}

/* ========= Single product · purchase info widgets ========= */

/* Calculadora de envío — collapsable con liquid expand */
.ship-calc {
  margin-top: 16px;
  padding-top: 5px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c-accent) 6%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--c-accent) 16%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 1px 3px rgba(15, 22, 35, 0.04);
  overflow: hidden;
  transition: background-color .35s var(--ease-soft),
              border-color .35s var(--ease-soft),
              box-shadow .35s var(--ease-soft);
}
.ship-calc.is-open {
  background: color-mix(in srgb, var(--c-accent) 9%, transparent);
  border-color: color-mix(in srgb, var(--c-accent) 28%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 28px -10px color-mix(in srgb, var(--c-accent) 35%, transparent);
}
.ship-calc-header {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text);
  font-family: inherit;
  text-align: left;
  margin: 0;
  transition: padding .35s var(--ease-soft);
}
.ship-calc-header .icon { width: 14px; height: 14px; color: var(--c-text-muted); }
.ship-calc-header strong {
  color: var(--c-text);
  font-weight: 600;
  font-size: 14px;
  flex: 1;
}
.ship-calc-caret {
  width: 14px; height: 14px;
  color: var(--c-text-muted);
  transition: transform .45s cubic-bezier(.34, 1.4, .64, 1);
}
.ship-calc.is-open .ship-calc-caret { transform: rotate(180deg); }
.ship-calc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.32, .72, .35, 1);
}
.ship-calc.is-open .ship-calc-body {
  grid-template-rows: 1fr;
}
.ship-calc-body-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 16px;
  opacity: 0;
  transform: translateY(-6px) scale(0.985);
  filter: blur(4px);
  transform-origin: top center;
  transition: opacity .35s var(--ease-soft) .05s,
              transform .5s cubic-bezier(.34, 1.2, .64, 1) .05s,
              filter .35s var(--ease-soft) .05s,
              padding .5s cubic-bezier(.32, .72, .35, 1);
}
.ship-calc.is-open .ship-calc-body-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  padding: 4px 16px 14px;
}
.ship-calc-form {
  display: flex; gap: 6px;
  max-width: 320px;
}
.ship-calc-form input {
  flex: 1; min-width: 0;
  padding: 7px 10px; border-radius: 8px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--c-text) 22%, transparent);
  font-size: 13px; color: var(--c-text);
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
[data-mode="dark"] .ship-calc-form input {
  border-color: color-mix(in srgb, var(--c-text) 28%, transparent);
}
.ship-calc-form input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}
.ship-calc-form .btn { padding: 7px 12px; font-size: 13px; }
.ship-calc-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 13px;
}
.ship-calc-result table { width: 100%; border-collapse: collapse; }
.ship-calc-result td { padding: 4px 0; vertical-align: middle; }
.ship-calc-result td:first-child { color: var(--c-text-muted); }
.ship-calc-result td:last-child { text-align: right; font-weight: 700; color: var(--c-text); }
.ship-calc-result .zone {
  display: block; font-size: 11.5px; color: var(--c-text-muted);
  margin-bottom: 6px;
}
.ship-calc-result.is-error { color: var(--c-danger); }
.ship-calc-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px; color: var(--c-text-muted);
  text-decoration: underline;
}

/* Switch "Solicitar muestra" (al lado del Añadir al carrito) */
.sample-switch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 13px; font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}
.sample-switch:hover { background: var(--c-surface-3); }
.sample-switch input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.sample-switch .track {
  position: relative;
  width: 32px; height: 18px;
  border-radius: 999px;
  background: var(--c-border);
  transition: background .2s var(--ease-soft);
  flex-shrink: 0;
}
.sample-switch .track::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,22,35,0.18);
  transition: transform .22s var(--ease-soft);
}
.sample-switch input:checked ~ .track {
  background: linear-gradient(135deg, #b48dff, #6a7bff);
}
.sample-switch input:checked ~ .track::after {
  transform: translateX(14px);
}
.sample-switch .lbl small {
  font-weight: 500;
  color: var(--c-text-muted);
  margin-left: 4px;
}
.sample-switch.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Variant dropdown (Fragancias Finas - 15g) */
.prod-variant-select {
  width: 100%;
  padding: 12px 38px 12px 14px;
  border-radius: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .15s, box-shadow .15s;
}
.prod-variant-select:hover { border-color: var(--c-border-2, var(--c-text-muted)); }
.prod-variant-select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}

/* IFRA compliant · texto inline */
.ifra-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--c-text-muted);
}
.ifra-note strong {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-text);
}

/* Medios de pago: texto simple */
.payment-methods-text {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* Medios de pago: legacy chips (no se usa) */
.payment-methods {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}
.payment-methods-label {
  font-size: 11px; font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.payment-methods-list {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.payment-chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 10px;
  border-radius: 6px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 11px; font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
}
.payment-chip.pm-visa { color: #1a1f71; background: #fff; border-color: #e0e5ef; }
.payment-chip.pm-master { color: #eb001b; background: #fff; border-color: #e0e5ef; }
.payment-chip.pm-amex { color: #006fcf; background: #fff; border-color: #e0e5ef; }
.payment-chip.pm-mp { color: #009ee3; background: #fff; border-color: #e0e5ef; }
.payment-chip.pm-transfer,
.payment-chip.pm-cash { color: var(--c-text); background: var(--c-surface); }
[data-mode="dark"] .payment-chip.pm-visa,
[data-mode="dark"] .payment-chip.pm-master,
[data-mode="dark"] .payment-chip.pm-amex,
[data-mode="dark"] .payment-chip.pm-mp { background: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.16); }
.payment-installments {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--c-text-muted);
}
.payment-installments strong { color: var(--c-accent); }

.product.var-cafe   { --g1:#3a2818; --g2:#1c1410; }
.product.var-jazmin { --g1:#2a2a18; --g2:#1c1c10; }
.product.var-cuero  { --g1:#2a1810; --g2:#150a08; }
.product.var-citrus { --g1:#3a3010; --g2:#1c1808; }
.product.var-floral { --g1:#3a1c28; --g2:#1c0e14; }
.product.var-musgo  { --g1:#1c2818; --g2:#0e140a; }
.product.var-amber  { --g1:#3a2818; --g2:#1c1408; }
.product.var-ocean  { --g1:#1c2a3a; --g2:#0a1018; }
.product.var-vanilla{ --g1:#3a2c18; --g2:#1c1408; }

/* Promo strip · slider Tahoe-style (semi-pastel, texto blanco) */
.promo-strip {
  margin-bottom: 14px;
  padding: 12px 0;
  border-radius: var(--r-md);
  background: linear-gradient(90deg,
    #ff7a59 0%,
    #ffb86b 14%,
    #d8a3ff 26%,
    #b48dff 40%,
    #5ec6ff 54%,
    #6a7bff 66%,
    #c878ff 78%,
    #ff6fb5 90%,
    #ff7a59 100%);
  background-size: 200% 100%;
  animation: promoStripBg 18s linear infinite;
  border: 1px solid color-mix(in srgb, #6a7bff 25%, transparent);
  color: #fff;
  font-size: 13px; font-weight: 600;
  overflow: hidden;
  position: relative;
  text-shadow: 0 1px 2px rgba(15, 22, 35, 0.22);
}
.promo-strip .promo-track {
  display: inline-flex; align-items: center; gap: 22px;
  white-space: nowrap;
  animation: promoStripSlide 28s linear infinite;
  will-change: transform;
}
.promo-strip .promo-track > span {
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.promo-strip .promo-track .icon {
  width: 16px; height: 16px;
  filter: drop-shadow(0 1px 1px rgba(15, 22, 35, 0.22));
}
.promo-strip .sep {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}
.promo-strip:hover .promo-track { animation-play-state: paused; }
@keyframes promoStripSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes promoStripBg {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.line-promo {
  margin: 24px 0;
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: var(--c-accent);
  color: #fff;
  font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap;
}
.line-promo a {
  background: rgba(255,255,255,0.18);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Pagination */
.pagination {
  display: flex; gap: 4px; justify-content: center; margin-top: 24px;
  max-width: 100%; overflow-x: auto; overflow-y: visible;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 2px;
}
.pagination::-webkit-scrollbar { display: none; }
.pagination a {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 13px; font-weight: 600;
  color: var(--c-text);
  transition: background .15s;
}
.pagination a:hover { background: var(--c-surface-3); }
.pagination a.active {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}
@media (max-width: 600px) {
  .pagination { justify-content: flex-start; gap: 3px; }
  .pagination a { width: 32px; height: 32px; font-size: 12px; border-radius: 7px; }
}

/* ===== Trust badges ===== */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 110px; }
.trust-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.trust-item .ti-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  display: grid; place-items: center; font-size: 18px;
  flex-shrink: 0;
}
.trust-item h4 { font-size: 14px; margin-bottom: 2px; }
.trust-item p  { font-size: 12.5px; color: var(--c-text-muted); }

/* ===== Newsletter ===== */
.newsletter {
  margin-top: 110px;
  padding: 30px 34px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
}
.newsletter h2 { font-size: clamp(20px, 2.2vw, 26px); }
.newsletter p { color: var(--c-text-muted); margin-top: 6px; font-size: 14px; }
.newsletter form {
  display: flex; gap: 6px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 5px;
  border-radius: var(--r-pill);
}
.newsletter input[type="email"] {
  flex: 1;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: transparent; border: none; outline: none;
  font-size: 13.5px; color: var(--c-text);
}
.newsletter button {
  position: relative;
  padding: 9px 18px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 13px;
  background: var(--c-accent); color: #fff;
  transition:
    background .35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1),
    transform .45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  min-width: 120px;
  display: inline-flex; align-items: center; justify-content: center;
}
.newsletter button:hover { background: var(--c-accent-2); }
.newsletter button .newsletter-label,
.newsletter button .newsletter-success {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  line-height: 1;
  transition:
    opacity .3s cubic-bezier(0.22, 1, 0.36, 1),
    transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}
.newsletter button .newsletter-success {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(8px);
  pointer-events: none;
}
.newsletter button .newsletter-success svg {
  display: block;
  flex-shrink: 0;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset .55s cubic-bezier(0.22, 1, 0.36, 1) .15s;
}

/* Estado: enviando */
.newsletter-form.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.newsletter-form.is-loading button {
  background: var(--c-accent-2) !important;
}
.newsletter-form.is-loading .newsletter-label::after {
  content: '…';
  display: inline-block;
  margin-left: 4px;
}

/* Estado: error */
.newsletter-form.is-error {
  background-color: rgba(239, 68, 68, 0.10) !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.10);
  transition:
    background-color .5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.newsletter-form.is-error input[type="email"]::placeholder {
  color: #b91c1c;
  opacity: 1;
}

/* Estado: suscripto */
.newsletter-form.is-subscribed {
  background-color: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
  transition:
    background-color .5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.newsletter-form.is-subscribed input[type="email"] {
  color: #15803d;
  font-style: italic;
}
.newsletter-form.is-subscribed input[type="email"]::placeholder {
  color: #15803d;
  opacity: 1;
}
[data-mode="dark"] .newsletter-form.is-subscribed input[type="email"],
[data-mode="dark"] .newsletter-form.is-subscribed input[type="email"]::placeholder {
  color: #4ade80;
}
.newsletter-form.is-subscribed button {
  background: #16a34a;
  cursor: default;
}
.newsletter-form.is-subscribed button:hover { background: #16a34a; }
.newsletter-form.is-subscribed button .newsletter-label {
  opacity: 0; transform: translateY(-8px);
}
.newsletter-form.is-subscribed button .newsletter-success {
  opacity: 1; transform: translateY(0);
}
.newsletter-form.is-subscribed button .newsletter-success svg {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .newsletter button .newsletter-success svg {
    transition: none;
    stroke-dashoffset: 0;
  }
}

/* =========================================================
   COMPONENTES PARA PÁGINAS INTERNAS
   ========================================================= */
.page-header {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.page-header .crumbs { font-size: 12.5px; color: var(--c-text-muted); margin-bottom: 6px; }
.page-header .crumbs a:hover { color: var(--c-accent-3); }
.page-header h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.025em;
}
.page-header p { color: var(--c-text-muted); margin-top: 8px; max-width: 64ch; font-size: 15px; }

.page-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: 22px; }
@media (max-width: 980px) { .page-grid { grid-template-columns: 1fr; } }

.content-card {
  padding: 30px 36px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  margin-top: 18px;
}
.content-card h2 { margin-top: 28px; font-size: 20px; }
.content-card h2:first-child { margin-top: 0; }
.content-card h3 { margin-top: 18px; font-size: 16px; color: var(--c-accent-3); }
.content-card p { color: var(--c-text-soft); margin: 10px 0; line-height: 1.6; }
.content-card ul { color: var(--c-text-soft); padding-left: 20px; margin: 10px 0; }
.content-card li { margin: 5px 0; line-height: 1.55; }
.content-card strong { color: var(--c-text); }

/* Form fields */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field-row { display: grid; grid-template-columns: 1fr 96px; gap: 12px; grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-size: 12px; font-weight: 600; color: var(--c-text-soft);
}
.field label .req { color: var(--c-danger); margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 9px 12px; border-radius: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 13px; color: var(--c-text);
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--c-border-2, var(--c-text-muted)); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
  background: var(--c-surface);
}
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 100px; }
.field .help { font-size: 11.5px; color: var(--c-text-muted); margin-top: 2px; }

/* Checkout options (shipping + payment radio cards) */
.checkout-options {
  display: flex; flex-direction: column; gap: 10px;
}
.checkout-option {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  cursor: pointer;
  position: relative;
  transition: border-color .2s var(--ease-soft),
              background .2s var(--ease-soft),
              box-shadow .25s var(--ease-soft),
              transform .2s var(--ease-soft);
}
.checkout-option:hover {
  border-color: color-mix(in srgb, var(--c-accent) 35%, var(--c-border));
  background: color-mix(in srgb, var(--c-accent) 3%, var(--c-surface));
}
.checkout-option input {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}
.checkout-option .opt-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  transition: background .25s var(--ease-soft), color .25s var(--ease-soft);
}
.checkout-option .opt-icon .icon { width: 18px; height: 18px; }
.checkout-option .opt-body {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.checkout-option .opt-title {
  font-size: 14px; font-weight: 600; color: var(--c-text);
}
.checkout-option .opt-meta {
  font-size: 12.5px; color: var(--c-text-muted);
}
.checkout-option .opt-price {
  font-size: 14px; font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.checkout-option .opt-price--free {
  color: #22a06b;
}
.checkout-option .opt-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--c-surface-2);
  color: var(--c-text);
}
.checkout-option .opt-tag--accent {
  background: linear-gradient(135deg, #b48dff, #6a7bff);
  color: #fff;
  box-shadow: 0 2px 6px rgba(106, 123, 255, 0.25);
}
.checkout-option:has(input:checked) {
  border-color: var(--c-accent);
  background: color-mix(in srgb, var(--c-accent) 6%, var(--c-surface));
  box-shadow: 0 4px 14px rgba(106, 123, 255, 0.12);
}
.checkout-option:has(input:checked) .opt-icon {
  background: linear-gradient(135deg, var(--c-accent), #b48dff);
  color: #fff;
  box-shadow: 0 2px 8px rgba(106, 123, 255, 0.25);
}

/* Submit del checkout · liquid hover */
.checkout-submit {
  margin-top: 28px !important;
  width: 100% !important;
  justify-content: center !important;
  height: 50px !important;
  border-radius: 999px !important;
  font-size: 14.5px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(106, 123, 255, 0.18);
  transition: padding .55s cubic-bezier(.22, 1.6, .36, 1),
              background .35s ease,
              box-shadow .4s ease,
              transform .45s cubic-bezier(.22, 1.6, .36, 1) !important;
}
.checkout-submit:hover {
  background: linear-gradient(135deg, var(--c-accent), #b48dff 60%, #ff6fb5) !important;
  box-shadow:
    0 6px 16px rgba(106, 123, 255, 0.25),
    0 2px 5px rgba(180, 141, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) scale(1.01) !important;
}
.checkout-submit.is-processing,
.checkout-submit.is-processing:hover {
  background: linear-gradient(135deg, var(--c-accent), #5b9aff) !important;
  cursor: progress;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(45, 125, 255, 0.30) !important;
  display: inline-flex !important;
  gap: 10px;
}
.checkout-submit.is-confirmed,
.checkout-submit.is-confirmed:hover {
  background: #2bb673 !important;
  cursor: default;
  transform: translateY(-1px) !important;
  box-shadow:
    0 8px 22px rgba(43, 182, 115, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  animation: checkout-confirmed-pop .5s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-flex !important;
  gap: 10px;
}
.checkout-submit .co-spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  display: inline-block;
  animation: checkout-spin .7s linear infinite;
  flex-shrink: 0;
}
.checkout-submit .co-check {
  width: 20px; height: 20px;
  flex-shrink: 0;
  animation: checkout-check-in .35s ease-out both;
}
@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}
@keyframes checkout-confirmed-pop {
  0%   { transform: translateY(-1px) scale(.94); }
  55%  { transform: translateY(-3px) scale(1.04); }
  100% { transform: translateY(-1px) scale(1); }
}
@keyframes checkout-check-in {
  0%   { opacity: 0; transform: scale(.4) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(1.18) rotate(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.blog-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: border-color .15s, transform .15s;
}
.blog-card:hover { border-color: var(--c-border-2); transform: translateY(-2px); }
.blog-card .cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-surface-3), var(--c-surface-2));
  border-bottom: 1px solid var(--c-border);
  display: grid; place-items: center;
  font-size: 42px;
  color: var(--c-text-muted);
}
.blog-card .body { padding: 18px 20px; }
.blog-card .meta {
  font-size: 11px; color: var(--c-accent-3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.blog-card h3 { font-size: 16px; margin: 6px 0 8px; line-height: 1.3; }
.blog-card p { font-size: 13px; color: var(--c-text-muted); }
.blog-card .read-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--c-accent-3); margin-top: 10px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.article-body { font-size: 15px; line-height: 1.75; color: var(--c-text-soft); }
.article-body p { margin: 14px 0; }
.article-body h2 { margin: 28px 0 10px; font-size: 22px; color: var(--c-text); }
.article-body h3 { margin: 22px 0 8px; font-size: 17px; color: var(--c-accent-3); }
.article-body blockquote {
  margin: 18px 0; padding: 14px 20px;
  border-left: 3px solid var(--c-accent);
  background: var(--c-accent-soft);
  border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--c-text);
}
.article-body strong { color: var(--c-text); }

/* Cart table */
.cart-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.cart-table th, .cart-table td { padding: 12px 16px; text-align: left; vertical-align: middle; }
.cart-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-text-muted); font-weight: 700;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}
.cart-table tr + tr td { border-top: 1px solid var(--c-border); }
.cart-table .item { display: flex; gap: 12px; align-items: center; }
.cart-table .item .thumb {
  width: 50px; height: 50px; border-radius: 8px;
  background: var(--c-surface-3);
  border: 1px solid var(--c-border);
  flex-shrink: 0;
}
.cart-table .item-name { font-weight: 600; font-size: 14px; }
.cart-table .item-cat { font-size: 11.5px; color: var(--c-text-muted); margin-top: 1px; }
.cart-table .qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r-pill); padding: 2px;
}
.cart-table .qty button {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; color: var(--c-text);
}
.cart-table .qty button:hover { background: var(--c-surface-3); }
.cart-table .qty span { min-width: 22px; text-align: center; font-size: 12.5px; font-weight: 600; }
.cart-table .remove {
  color: var(--c-text-muted); font-size: 18px;
  transition: color .15s;
}
.cart-table .remove:hover { color: var(--c-danger); }

/* Order summary */
.order-summary {
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  position: sticky !important;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.order-summary h3 { font-size: 15px; margin-bottom: 12px; }
.order-summary .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 13.5px; color: var(--c-text-soft);
}
.order-summary .row + .row { border-top: 1px solid var(--c-border); }
.order-summary .row.total {
  font-size: 16px; font-weight: 700; color: var(--c-text);
  margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--c-border-2);
}
.order-summary .promo-input { display: flex; gap: 6px; margin: 12px 0; }
.order-summary .promo-input input {
  flex: 1; padding: 8px 12px; border-radius: var(--r-pill);
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  font-size: 12.5px; outline: none; color: var(--c-text);
}
.order-summary .promo-input button {
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--c-text); color: var(--c-bg);
  font-size: 12.5px; font-weight: 600;
}

/* Cupón: <form> + input y Aplicar dentro del mismo contorno (carrito estático / resumen) */
.order-summary .bioscents-coupon-form {
  display: block;
  width: 100%;
  margin: 12px 0;
}
.order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo {
  display: flex;
  gap: 6px;
  align-items: stretch;
  padding: 4px 5px 4px 12px;
  background: var(--gl-light);
  border: 1px solid var(--gl-edge);
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-sizing: border-box;
}
.order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 6px 4px 6px 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  outline: none;
  color: var(--c-text);
}
.order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo .bioscents-coupon-apply {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 !important;
  padding: 8px 16px !important;
  border: none;
  border-radius: var(--r-pill) !important;
  background: var(--c-accent);
  color: #fff;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  cursor: pointer;
}
.order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo .bioscents-coupon-apply:hover {
  background: var(--c-accent-3);
}

@media (max-width: 900px) {
  .order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 8px 8px 12px;
    gap: 8px;
  }
  .order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo input {
    padding: 6px 2px !important;
    width: 100%;
  }
  .order-summary .bioscents-coupon-form .promo-input.bioscents-coupon-combo .bioscents-coupon-apply {
    width: 100%;
    align-self: stretch;
  }
}

/* Checkout steps */
.steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 150px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 12.5px; font-weight: 600;
  color: var(--c-text-muted);
  display: flex; align-items: center; gap: 8px;
}
.step.active {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}
.step.done { color: var(--c-success); border-color: color-mix(in srgb, var(--c-success) 30%, transparent); }
.step .num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-surface-2);
  display: grid; place-items: center; font-size: 11px;
  flex-shrink: 0;
}
.step.active .num { background: rgba(255,255,255,0.25); }
.step.done .num { background: color-mix(in srgb, var(--c-success) 20%, transparent); color: var(--c-success); }

/* Order tracking timeline */
.timeline { position: relative; padding: 4px 4px 4px 22px; }
.timeline::before {
  content: ""; position: absolute;
  left: 19px; top: 18px; bottom: 18px;
  width: 2px;
  background: var(--c-border-2);
}
.timeline-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 8px 0;
  position: relative;
}
.timeline-item .marker {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-border-2);
  display: grid; place-items: center; font-size: 13px;
  flex-shrink: 0; margin-left: -10px;
  z-index: 1;
  color: var(--c-text-muted);
}
.timeline-item.done .marker {
  background: var(--c-success); color: #fff; border-color: var(--c-success);
}
.timeline-item.current .marker {
  background: var(--c-surface); border-color: var(--c-accent); color: var(--c-accent-3);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}
.timeline-item .content { padding-top: 3px; }
.timeline-item .content h4 { font-size: 14px; margin-bottom: 2px; }
.timeline-item .content p { font-size: 12.5px; color: var(--c-text-muted); }
.timeline-item .content .when {
  font-size: 11px; color: var(--c-accent-3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Single product */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 980px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-surface-3), var(--c-surface-2));
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border: 1px solid var(--c-border);
}
.product-gallery .big-bottle {
  width: 180px; height: 290px;
  border-radius: 22px 22px 16px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
}
.product-gallery .big-bottle::before {
  content: ""; position: absolute; left: 50%; top: -22px; transform: translateX(-50%);
  width: 56px; height: 28px; border-radius: 5px;
  background: rgba(255,255,255,0.5);
}
.product-info h1 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.02em; }
.product-info .product-cat {
  font-size: 11px; color: var(--c-accent-3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.product-info .price-tag {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  margin-top: 12px;
  color: var(--c-text);
}
.product-info .price-tag small { font-size: 13px; color: var(--c-text-muted); font-weight: 500; }
.product-info .desc { color: var(--c-text-soft); margin: 14px 0; font-size: 14.5px; line-height: 1.6; }
.product-info .options { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.product-info .options .opt {
  position: relative;
  padding: 10px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c-surface) 65%, transparent);
  border: 1px solid var(--c-border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 1px 2px rgba(15, 22, 35, 0.04);
  transition: background-color .2s var(--ease-soft),
              border-color .2s var(--ease-soft),
              color .2s var(--ease-soft),
              box-shadow .25s var(--ease-soft),
              transform .15s var(--ease-soft);
}
[data-mode="dark"] .product-info .options .opt {
  background: color-mix(in srgb, var(--c-surface) 50%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.25);
}
.product-info .options .opt:hover {
  background: color-mix(in srgb, #0a84ff 12%, transparent) !important;
  border-color: color-mix(in srgb, #0a84ff 55%, transparent) !important;
  color: #0a84ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 14px -6px rgba(10, 132, 255, 0.35);
}
[data-mode="dark"] .product-info .options .opt:hover {
  background: color-mix(in srgb, #0a84ff 18%, transparent) !important;
  color: #5ac8fa !important;
  border-color: color-mix(in srgb, #5ac8fa 55%, transparent) !important;
}
.product-info .options .opt.active,
.product-info .options .opt.active:hover {
  background: linear-gradient(180deg, #2a9bff 0%, #0a84ff 50%, #0070e0 100%) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 6px 18px -4px rgba(10, 132, 255, 0.55),
    0 2px 6px rgba(10, 132, 255, 0.30);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}
[data-mode="dark"] .product-info .options .opt.active,
[data-mode="dark"] .product-info .options .opt.active:hover {
  background: linear-gradient(180deg, #3a9fff 0%, #0a84ff 50%, #006edd 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 8px 22px -4px rgba(10, 132, 255, 0.55),
    0 2px 8px rgba(10, 132, 255, 0.35);
}
.product-info .options .opt:active { transform: scale(0.97); }
.product-info .add-area {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.product-info .add-area .add-to-cart,
.product-info .add-area .btn.add-to-cart {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
  gap: 8px !important;
  position: relative;
  isolation: isolate;
  background: var(--c-accent) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(106, 123, 255, 0.18);
  transition: box-shadow .25s ease, transform .18s ease !important;
}
.product-info .add-area .add-to-cart::before,
.product-info .add-area .btn.add-to-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--c-accent), #b48dff 60%, #ff6fb5);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
  pointer-events: none;
}
.product-info .add-area .add-to-cart:hover::before,
.product-info .add-area .btn.add-to-cart:hover::before {
  opacity: 1;
}
.product-info .add-area .add-to-cart:hover,
.product-info .add-area .btn.add-to-cart:hover {
  box-shadow:
    0 6px 16px rgba(106, 123, 255, 0.25),
    0 2px 5px rgba(180, 141, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}
/* Estado "añadido" — confirmación verde con check */
.product-info .add-area .add-to-cart.is-added,
.product-info .add-area .btn.add-to-cart.is-added {
  background: #2bb673 !important;
  color: #fff !important;
  pointer-events: none;
  animation: addto-pop .42s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow:
    0 6px 18px rgba(43, 182, 115, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}
.product-info .add-area .add-to-cart.is-added::before,
.product-info .add-area .btn.add-to-cart.is-added::before {
  opacity: 0 !important;
}
.product-info .add-area .add-to-cart.is-added .check-icon,
.product-info .add-area .btn.add-to-cart.is-added .check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  animation: addto-check .35s ease-out both;
}
@keyframes addto-pop {
  0%   { transform: translateY(-1px) scale(1); }
  35%  { transform: translateY(-3px) scale(1.06); }
  70%  { transform: translateY(-1px) scale(0.98); }
  100% { transform: translateY(-1px) scale(1); }
}
@keyframes addto-check {
  0%   { opacity: 0; transform: scale(0.4) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(1.15) rotate(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.product-info .qty-big {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid color-mix(in srgb, var(--gl-edge, rgba(255, 255, 255, 0.55)) 70%, transparent);
  border-radius: var(--r-pill);
  padding: 0 14px;
  min-height: 44px;
  -webkit-backdrop-filter: blur(14px) saturate(175%);
  backdrop-filter: blur(14px) saturate(175%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}
[data-mode="dark"] .product-info .qty-big {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
.product-info .qty-big input.qty {
  width: auto; min-width: 2ch; max-width: 4.5rem;
  margin: 0; padding: 0; border: none; background: transparent; box-shadow: none;
  text-align: center; font-weight: 700; font-size: 15px; color: var(--c-text);
  -moz-appearance: textfield; appearance: textfield;
}
.product-info .qty-big input.qty::-webkit-inner-spin-button,
.product-info .qty-big input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-info .qty-big input.qty:focus { outline: none; }

.notes-pills {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.notes-pills .pill {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-text-soft);
  border: none;
  background: #ffffff;
  background-color: #ffffff;
}
[data-mode="dark"] .notes-pills .pill {
  background: #ffffff;
  background-color: #ffffff;
  border: none;
}

.tabs {
  display: flex; gap: 4px; padding: 4px;
  background: var(--c-surface);
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  margin-top: 26px;
  width: fit-content;
}
.tabs button {
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--c-text-muted);
  transition: all .15s;
}
.tabs button:hover { color: var(--c-text); }
.tabs button.active {
  background: var(--c-surface-3);
  color: var(--c-text);
}

/* Aromas */
.aromas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.aroma-card {
  padding: 24px 20px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.aroma-card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.aroma-card .em {
  font-size: 32px; margin-bottom: 8px; display: block;
}
.aroma-card h3 { font-size: 15px; margin-bottom: 4px; }
.aroma-card p { font-size: 12px; color: var(--c-text-muted); }
@media (max-width: 980px) { .aromas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .aromas-grid { grid-template-columns: 1fr; } }

/* Auth */
.auth-card {
  max-width: 440px; margin: 22px auto;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.auth-tabs {
  display: flex; gap: 4px; padding: 4px; margin-bottom: 18px;
  background: var(--c-surface-2);
  border-radius: var(--r-pill);
}
.auth-tabs button {
  flex: 1; padding: 9px 14px; border-radius: var(--r-pill);
  font-weight: 600; color: var(--c-text-muted); font-size: 13.5px;
  transition: all .15s;
}
.auth-tabs button.active {
  background: var(--c-accent); color: #fff;
}
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; color: var(--c-text-muted);
  margin: 16px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--c-border);
}
.bioscents-login-social {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.btn-social {
  width: 100%; padding: 10px 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px;
  background: var(--gl-medium, rgba(255,255,255,.68));
  border: 1px solid var(--gl-edge, rgba(255,255,255,.55));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 2px 8px rgba(0,0,0,.06);
  color: var(--c-text); font-weight: 600; font-size: 12.5px;
  margin-bottom: 0;
  transition: background .15s, transform .12s, box-shadow .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-social:hover:not(:disabled) {
  background: var(--gl-strong);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 14px rgba(0,0,0,.09);
}
.btn-social:disabled { cursor: not-allowed; opacity: 0.72; }
.btn-social svg, .btn-social .icon { flex-shrink: 0; width: 17px; height: 17px; }

/* Map placeholder */
.map-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: linear-gradient(135deg, var(--c-surface-3), var(--c-surface-2));
  display: grid; place-items: center;
  color: var(--c-text-muted); font-weight: 600; font-size: 13px;
  margin-top: 14px;
}

/* =========================================================
   OSTY-INSPIRED: hero gigante, masonry, marquee, big CTA
   ========================================================= */

/* ----- Hero Osty (mucho más grande) ----- */
.hero-osty {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
}
.hero-osty .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  font-size: 12.5px; font-weight: 600;
  margin-bottom: 22px;
}
.hero-osty .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.hero-osty h1 {
  font-size: clamp(48px, 8.4vw, 116px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.04em;
  color: var(--c-text);
}
.hero-osty h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-accent);
}
.hero-osty .lead {
  font-size: 18px; color: var(--c-text-soft);
  margin-top: 24px; max-width: 50ch;
  line-height: 1.55;
}
.hero-osty .actions {
  display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
}
.hero-osty .btn { padding: 14px 26px; font-size: 14.5px; }

/* Hero collage (4 imágenes-mock con depth) */
.hero-collage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
}
.hero-collage .tile {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--g1, var(--c-surface-3)), var(--g2, var(--c-surface-2)));
  border: 1px solid var(--c-border);
  box-shadow: var(--glass-shadow);
  display: grid; place-items: center;
}
.hero-collage .tile .mini-bottle {
  width: 60%; max-width: 110px; aspect-ratio: 0.62;
  border-radius: 16px 16px 12px 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-bg) 50%, transparent), color-mix(in srgb, var(--c-bg) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--c-text) 18%, transparent);
  position: relative;
}
.hero-collage .tile .mini-bottle::before {
  content: ""; position: absolute; left: 50%; top: -10px; transform: translateX(-50%);
  width: 32%; height: 18px; border-radius: 4px;
  background: color-mix(in srgb, var(--c-text) 25%, transparent);
}
.hero-collage .t-1 { top: 0; left: 0; width: 56%; height: 56%; --g1:#3b2a1a; --g2:#1c1410; transform: rotate(-3deg); animation: float 8s ease-in-out infinite; }
.hero-collage .t-2 { top: 4%; right: 0; width: 44%; height: 38%; --g1:#2a3145; --g2:#0e1428; transform: rotate(2deg); animation: float 9s ease-in-out infinite -2s; }
.hero-collage .t-3 { bottom: 0; left: 6%; width: 40%; height: 38%; --g1:#3a2840; --g2:#1c0e22; transform: rotate(2deg); animation: float 10s ease-in-out infinite -3s; }
.hero-collage .t-4 { bottom: 4%; right: 4%; width: 52%; height: 50%; --g1:#1c2a3a; --g2:#0a1018; transform: rotate(-2deg); animation: float 8s ease-in-out infinite -5s; }
.hero-collage .badge-floating {
  position: absolute;
  bottom: -14px; left: 50%; transform: translateX(-50%);
  padding: 10px 18px;
  background: var(--c-text); color: var(--c-bg);
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: var(--glass-shadow);
  z-index: 5;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}

/* ----- Filter strip (capsule glass + chips Tahoe) ----- */
.filter-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: color-mix(in srgb, var(--gl-medium) 75%, transparent);
  border: 1px solid var(--gl-edge);
  border-radius: 999px;
  margin: 28px 0 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-backdrop-filter: blur(16px) saturate(var(--glass-saturate));
  backdrop-filter: blur(16px) saturate(var(--glass-saturate));
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.55) inset,
    0 4px 20px rgba(15, 22, 35, 0.08);
}
.filter-strip::-webkit-scrollbar { display: none; }

.filter-strip .chip {
  padding: 8px 17px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  cursor: pointer;
  color: var(--c-text-soft);
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

.filter-strip .chip:hover {
  color: var(--c-text);
  border-color: var(--gl-edge);
  background: color-mix(in srgb, var(--gl-strong) 55%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.42) inset,
    0 1px 4px rgba(15, 22, 35, 0.06);
}

.filter-strip .chip.active {
  color: var(--c-accent-3);
  border-color: color-mix(in srgb, var(--c-accent) 34%, transparent);
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--c-accent) 16%, transparent) 0%,
    color-mix(in srgb, var(--gl-strong) 92%, transparent) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.35) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 18%, transparent),
    0 3px 12px rgba(45, 125, 255, 0.12);
}

[data-mode="dark"] .filter-strip {
  background: color-mix(in srgb, var(--gl-medium) 50%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 28px rgba(0, 0, 0, 0.4);
}

[data-mode="dark"] .filter-strip .chip.active {
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 0.5px color-mix(in srgb, var(--c-accent) 28%, transparent),
    0 4px 18px rgba(45, 125, 255, 0.18);
}

/* ----- Masonry grid (mixed sizes) ----- */
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  grid-auto-flow: dense;
}
.masonry .item-large { grid-column: span 2; grid-row: span 2; }
.masonry .item-tall  { grid-row: span 2; }
.masonry .item-wide  { grid-column: span 2; }

.masonry .product-card { display: flex; flex-direction: column; }
.masonry .product-card .media { flex: 1; aspect-ratio: auto; }
.masonry .product-card .body { padding: 14px 16px 16px; }

/* ----- Load more ----- */
.load-more-wrap { text-align: center; margin-top: 32px; }
.load-more {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  border-radius: var(--r-pill);
  background: var(--c-text); color: var(--c-bg);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.load-more:hover { transform: translateY(-2px); }
.load-more:disabled { opacity: 0.4; cursor: default; transform: none; }
.load-more .icon { width: 16px; height: 16px; }

/* ----- Marquee (tonal suave, no inversión hard) ----- */
.marquee {
  margin: 110px -22px 0;
  padding: 30px 0;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--c-accent) 6%, transparent) 0%,
      color-mix(in srgb, var(--c-accent) 12%, transparent) 50%,
      color-mix(in srgb, var(--c-accent) 6%, transparent) 100%);
  color: color-mix(in srgb, var(--c-text) 70%, transparent);
  overflow: hidden;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.marquee-track {
  display: inline-flex; gap: 56px;
  animation: marqueeX 38s linear infinite;
  white-space: nowrap;
  padding-left: 56px;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 22px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.015em;
  flex-shrink: 0;
}
.marquee-item .sep {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  opacity: 0.7;
}
@media (max-width: 720px) { .marquee { margin: 70px -14px 0; padding: 22px 0; } }
@keyframes marqueeX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- Big CTA Osty ----- */
.big-cta {
  margin-top: 110px;
  padding: 90px 50px 70px;
  border-radius: 32px;
  background: var(--c-text);
  color: var(--c-bg);
  text-align: center;
  border: 1px solid var(--c-border);
}
.big-cta h2 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--c-bg);
}
.big-cta p {
  margin-top: 18px;
  font-size: 17px;
  color: color-mix(in srgb, var(--c-bg) 70%, transparent);
  max-width: 60ch;
  margin-left: auto; margin-right: auto;
}
.big-cta .links-row {
  margin-top: 40px;
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
}
.big-cta .links-row a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600;
  color: var(--c-bg);
  transition: color .15s;
}
.big-cta .links-row a:hover { color: var(--c-accent-2); }
.big-cta .links-row a .icon { width: 22px; height: 22px; }
.big-cta .small {
  display: block;
  font-size: 11px; color: color-mix(in srgb, var(--c-bg) 50%, transparent);
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-top: 2px;
  font-weight: 600;
}

/* ----- Filter chip count badge ----- */
.filter-strip .chip strong {
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.6;
  font-weight: 600;
}
.filter-strip .chip.active strong {
  opacity: 0.9;
  color: inherit;
}

/* ----- Section number tag (Osty uses things like "Featured Works (12)") ----- */
.section-counter {
  display: inline-flex; align-items: baseline; gap: 8px;
}
.section-counter .count {
  font-size: 14px; color: var(--c-text-muted);
  font-weight: 500;
  vertical-align: super;
}

/* ----- Quick Nav: 4 categorías como tiles editoriales ----- */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.quick-nav > a {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px 24px;
  min-height: 240px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  overflow: hidden;
  transition: transform .35s var(--ease-soft), border-color .25s, background .25s;
}
.quick-nav > a::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--qn-g1, var(--c-surface-3)), var(--qn-g2, var(--c-surface-2)));
  opacity: 0; transition: opacity .35s var(--ease-soft);
  z-index: 0;
}
.quick-nav > a > * { position: relative; z-index: 1; }
.quick-nav > a:hover {
  transform: translateY(-4px);
  border-color: transparent;
  color: #fff;
}
.quick-nav > a:hover::before { opacity: 1; }
.quick-nav .num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color .25s;
}
.quick-nav > a:hover .num { color: rgba(255,255,255,0.75); }
.quick-nav h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 14px;
  font-weight: 700;
}
.quick-nav .arrow {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  transition: background .25s, transform .25s var(--ease-soft);
  margin-top: 18px;
  align-self: flex-start;
}
.quick-nav > a:hover .arrow {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
  transform: translateX(4px);
}
.quick-nav .qn-1 { --qn-g1:#1e3a8a; --qn-g2:#0f1a3d; }
.quick-nav .qn-2 { --qn-g1:#0f3d2a; --qn-g2:#0a2418; }
.quick-nav .qn-3 { --qn-g1:#3a1c40; --qn-g2:#1d0e22; }
.quick-nav .qn-4 { --qn-g1:#3a2818; --qn-g2:#1c1410; }

/* ----- Spotlight: producto destacado a página completa ----- */
.spotlight {
  margin-top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  align-items: stretch;
  min-height: 480px;
}
.spotlight .visual {
  background: linear-gradient(160deg, var(--g1, #3a2818), var(--g2, #1c1410));
  display: grid; place-items: center;
  position: relative;
  border-right: 1px solid var(--c-border);
}
.spotlight .visual .big-bottle {
  width: 60%; max-width: 220px; aspect-ratio: 0.62;
  border-radius: 22px 22px 16px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.25);
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.spotlight .visual .big-bottle::before {
  content: ""; position: absolute; left: 50%; top: -20px; transform: translateX(-50%);
  width: 32%; height: 26px; border-radius: 5px;
  background: rgba(255,255,255,0.55);
}
.spotlight > div:last-child {
  padding: 50px 48px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px;
}
.spotlight .badge-spot {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  align-self: flex-start;
}
.spotlight h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.spotlight .desc {
  font-size: 15.5px; color: var(--c-text-soft); line-height: 1.6;
  max-width: 50ch;
}
.spotlight .price-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--c-text);
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.spotlight .price-big small {
  font-size: 14px; color: var(--c-text-muted); font-weight: 500;
}
.spotlight .actions {
  display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap;
}
.spotlight .btn { padding: 12px 22px; }

/* ----- Editorial grid: 3 columnas con primer item destacado (span 2) ----- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 14px;
}
.editorial-grid .editorial-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  transition: transform .35s var(--ease-soft), border-color .25s;
}
.editorial-grid .editorial-card:hover {
  transform: translateY(-4px); border-color: var(--c-border-2);
}
.editorial-grid .editorial-card .cover {
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-surface-3), var(--c-surface-2));
  border-bottom: 1px solid var(--c-border);
  display: grid; place-items: center;
  font-size: 38px;
  color: var(--c-text-muted);
}
.editorial-grid .editorial-card .body {
  padding: 18px 22px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.editorial-grid .editorial-card .meta {
  font-size: 11px; color: var(--c-accent-3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.editorial-grid .editorial-card h3 {
  font-size: 16px; line-height: 1.3; letter-spacing: -0.005em;
}
.editorial-grid .editorial-card p {
  font-size: 13.5px; color: var(--c-text-muted);
}
.editorial-grid .editorial-card .read-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--c-accent-3);
  padding-top: 4px;
}
/* Primer card destacado: ocupa 2 columnas y 2 filas */
.editorial-grid .editorial-card.feature {
  grid-column: span 2; grid-row: span 2;
}
.editorial-grid .editorial-card.feature .cover {
  aspect-ratio: auto; flex: 1; min-height: 220px;
  font-size: 64px;
}
.editorial-grid .editorial-card.feature h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}
.editorial-grid .editorial-card.feature p {
  font-size: 14.5px;
}

/* =========================================================
   COMPONENTES PARA index/nosotros/contacto/blog-post/terminos (rehechos)
   ========================================================= */

/* ----- Spotlight (gran sección destacada side-by-side) ----- */
.spotlight {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.spotlight .visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--g1, #3b2a1a), var(--g2, #1c1410));
  display: grid; place-items: center;
  border: 1px solid var(--c-border);
  position: relative;
}
.spotlight .visual .big-bottle {
  width: 50%; max-width: 200px; aspect-ratio: 0.62;
  border-radius: 24px 24px 16px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
}
.spotlight .visual .big-bottle::before {
  content: ""; position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  width: 36%; height: 26px; border-radius: 5px;
  background: rgba(255,255,255,0.45);
}
.spotlight .badge-spot {
  display: inline-block; padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--c-accent-soft); color: var(--c-accent-3);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.spotlight h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.spotlight .desc {
  color: var(--c-text-soft);
  font-size: 15px; line-height: 1.6;
  margin-top: 12px;
}
.spotlight .price-big {
  font-family: var(--font-display);
  font-weight: 700; font-size: 30px;
  color: var(--c-text);
  margin: 18px 0 6px;
}
.spotlight .price-big small { font-weight: 500; color: var(--c-text-muted); font-size: 14px; }
.spotlight .actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ----- Editorial grid (blog cards estilo magazine) ----- */
.editorial-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 22px; }
.editorial-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.editorial-card:hover { border-color: var(--c-border-2); transform: translateY(-2px); }
.editorial-card.feature { grid-row: span 2; }
.editorial-card .cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-surface-3), var(--c-surface-2));
  display: grid; place-items: center;
  font-size: 38px; color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
}
.editorial-card.feature .cover { aspect-ratio: 4 / 5; font-size: 64px; }
.editorial-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.editorial-card .meta {
  font-size: 11px; color: var(--c-accent-3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.editorial-card h3 { font-size: 17px; margin: 8px 0 8px; line-height: 1.3; }
.editorial-card.feature h3 { font-size: 26px; }
.editorial-card p { font-size: 13.5px; color: var(--c-text-muted); line-height: 1.5; }
.editorial-card .read-more {
  margin-top: auto; padding-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--c-accent-3);
}

/* ----- Contact tiles (3 grandes tiles para WhatsApp/Phone/Email) ----- */
.contact-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 28px 0;
}
.contact-tile {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, transform .15s;
  text-decoration: none;
  color: var(--c-text);
}
.contact-tile:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
}
.contact-tile .ico-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  font-size: 22px;
  margin-bottom: 6px;
}
.contact-tile.green .ico-wrap { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.contact-tile h3 { font-size: 15px; }
.contact-tile .value {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px;
  color: var(--c-text);
  letter-spacing: -0.005em;
}
.contact-tile .sub { font-size: 12px; color: var(--c-text-muted); }

/* ----- Quick category navigation (4 tiles dramáticos) ----- */
.quick-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.quick-nav a {
  position: relative;
  aspect-ratio: 1 / 1.1;
  padding: 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--g1, var(--c-surface-3)), var(--g2, var(--c-surface-2)));
  border: 1px solid var(--c-border);
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .2s, border-color .15s;
}
.quick-nav a:hover { transform: translateY(-4px); border-color: var(--c-border-2); }
.quick-nav a .num {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--c-text-muted);
  letter-spacing: 0.04em;
}
.quick-nav a h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--c-text);
}
.quick-nav a .arrow {
  align-self: flex-end;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-text); color: var(--c-bg);
  display: grid; place-items: center;
  transition: transform .25s;
}
.quick-nav a:hover .arrow { transform: rotate(-45deg); }
.quick-nav a.qn-1 { --g1:#1c2a3a; --g2:#0e1422; }
.quick-nav a.qn-2 { --g1:#2a1c2a; --g2:#160e16; }
.quick-nav a.qn-3 { --g1:#2a2818; --g2:#15140a; }
.quick-nav a.qn-4 { --g1:#1c2818; --g2:#0e140a; }

/* ----- Milestones (timeline vertical de la historia) ----- */
.milestones { display: flex; flex-direction: column; margin-top: 28px; }
.milestone {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
}
.milestone:first-child { border-top: 0; padding-top: 0; }
.milestone .year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  color: var(--c-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.milestone .desc h4 { font-size: 18px; margin-bottom: 6px; }
.milestone .desc p { color: var(--c-text-muted); font-size: 14px; line-height: 1.55; }

/* ----- Big quote card ----- */
.quote-block {
  margin-top: 48px;
  padding: 56px 60px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  text-align: center;
}
.quote-block .mark {
  font-size: 64px; line-height: 0.6;
  color: var(--c-accent);
  font-weight: 800; font-family: var(--font-display);
}
.quote-block blockquote {
  margin: 16px auto 24px; max-width: 60ch;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--c-text);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote-block cite {
  font-size: 13px; color: var(--c-text-muted);
  font-style: normal; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ----- Article hero (panel grande arriba del post) ----- */
.article-hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 80% at 30% 20%, color-mix(in srgb, #fff 25%, transparent), transparent 55%),
    linear-gradient(135deg, var(--g1, var(--c-accent)), var(--g2, var(--c-accent-3)));
  margin-top: 24px;
  position: relative;
  display: grid; place-items: center;
  color: #fff;
  font-size: 110px;
  border: 1px solid var(--c-border);
  overflow: hidden;
}

/* ----- Article narrow (lectura confortable, columna acotada) ----- */
.article-narrow {
  max-width: 720px;
  margin: 36px auto 0;
}
.article-narrow .article-body {
  font-size: 17px; line-height: 1.78;
  color: var(--c-text-soft);
}
.article-narrow .article-body p { margin: 18px 0; }
.article-narrow .article-body h2 { font-size: 30px; margin: 40px 0 14px; letter-spacing: -0.02em; color: var(--c-text); }
.article-narrow .article-body h3 { font-size: 21px; margin: 28px 0 10px; color: var(--c-accent-3); }
.article-narrow .article-body blockquote {
  margin: 30px 0; padding: 22px 30px;
  border-left: 4px solid var(--c-accent);
  background: var(--c-accent-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 19px; font-style: italic; line-height: 1.5;
  color: var(--c-text);
}
.article-narrow .article-body strong { color: var(--c-text); }
.article-narrow .lead-graf {
  font-size: 21px; line-height: 1.55;
  color: var(--c-text); font-weight: 500;
  margin: 24px 0 32px;
  letter-spacing: -0.005em;
}

/* ----- Author card mini ----- */
.author-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  margin: 28px 0;
}
.author-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-3));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.author-card .info { flex: 1; }
.author-card .info h4 { font-size: 14px; margin-bottom: 1px; }
.author-card .info p { font-size: 12px; color: var(--c-text-muted); }
.author-card .share { display: flex; gap: 6px; }
.author-card .share .btn { padding: 6px 10px; font-size: 12px; }

/* ----- Terms layout (TOC sticky + contenido numerado) ----- */
.terms-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  margin-top: 28px;
  align-items: start;
}
.terms-toc {
  position: sticky; top: 100px;
  padding: 22px 18px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 13px;
}
.terms-toc h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--c-text-muted);
  margin-bottom: 12px; font-weight: 700;
}
.terms-toc a {
  display: block; padding: 8px 12px;
  border-radius: 8px;
  color: var(--c-text-soft);
  margin-bottom: 2px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.terms-toc a:hover { background: var(--c-surface-2); color: var(--c-text); }

.terms-content section {
  padding: 32px 0;
  border-top: 1px solid var(--c-border);
  scroll-margin-top: 100px;
}
.terms-content section:first-child { border-top: 0; padding-top: 0; }
.terms-content section .num-wrap {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
}
.terms-content section .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.terms-content section h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0;
}
.terms-content p { color: var(--c-text-soft); line-height: 1.7; margin: 12px 0; font-size: 15px; }
.terms-content ul { padding-left: 22px; color: var(--c-text-soft); margin: 12px 0; }
.terms-content ul li { margin: 8px 0; line-height: 1.6; font-size: 15px; }
.terms-content strong { color: var(--c-text); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-card { min-height: 260px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .featured, .testimonials, .featured.cols-4,
  .woocommerce ul.products, ul.products,
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 10px;
    background: var(--c-surface-2); color: var(--c-text);
    border: 1px solid var(--c-border);
    font-size: 13px; font-weight: 600; cursor: pointer;
    margin-bottom: 12px;
  }
  .filters-toggle .icon { width: 16px; height: 16px; }
  .filters-toggle:hover { background: var(--c-surface-3); }
  .sidebar {
    position: fixed !important;
    inset: 0; z-index: 250;
    border-radius: 0;
    margin: 0;
    padding: 72px 22px 90px;
    overflow-y: auto;
    transform: translateX(-100%) !important;
    transition: transform .28s var(--ease-soft);
    background: color-mix(in srgb, var(--c-bg) 92%, transparent) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
  }
  [data-mode="dark"] .sidebar {
    background: color-mix(in srgb, var(--c-bg) 94%, transparent) !important;
  }
  .sidebar.is-open { transform: translateX(0) !important; }
  .sidebar-close {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--c-surface-2); border: 1px solid var(--c-border);
    cursor: pointer; color: var(--c-text);
    z-index: 1;
  }
  .sidebar-close .icon { width: 16px; height: 16px; }
  body.filters-open { overflow: hidden; }
  .newsletter { grid-template-columns: 1fr; padding: 24px; }

  /* === Burger menu activo: nav links pasan a drawer === */
  .burger { display: block; }
  .nav .links {
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 22px;
    box-shadow: var(--glass-shadow);
    margin-left: 0;

    /* animación de entrada */
    opacity: 0; transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity .25s var(--ease-soft), transform .25s var(--ease-soft);
  }
  .nav .links.open {
    opacity: 1; transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav .links a {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14.5px;
  }
}

@media (max-width: 980px) {
  .hero-osty { grid-template-columns: 1fr; gap: 32px; min-height: auto; padding-top: 12px; }
  .hero-osty h1 { font-size: clamp(44px, 11vw, 78px); }
  .hero-collage { max-width: 420px; margin: 0 auto; aspect-ratio: 1.2 / 1; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .masonry .item-large { grid-column: span 2; grid-row: span 2; }
  .masonry .item-tall  { grid-row: span 1; }
  .masonry .item-wide  { grid-column: span 2; }
  .marquee { margin-left: -14px; margin-right: -14px; padding: 22px 0; }
  .big-cta { padding: 60px 30px 50px; border-radius: 24px; }
  .big-cta .links-row { gap: 18px; }

  /* Quick nav, spotlight, editorial: tablet */
  .quick-nav { grid-template-columns: repeat(2, 1fr); }
  .quick-nav > a { min-height: 200px; padding: 22px 20px; }
  .spotlight { grid-template-columns: 1fr; min-height: auto; }
  .spotlight .visual {
    aspect-ratio: 16 / 10;
    min-height: 280px;
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--c-border);
  }
  .spotlight .visual img { object-fit: contain !important; padding: 12px; }
  .spotlight > div:last-child { padding: 24px 28px 28px; }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .editorial-grid .editorial-card.feature { grid-column: span 2; grid-row: span 1; }
  .editorial-grid .editorial-card.feature .cover { min-height: 200px; }
}
@media (max-width: 980px) {
  .spotlight { grid-template-columns: 1fr; padding: 24px; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .editorial-card.feature { grid-row: auto; grid-column: span 2; }
  .contact-tiles { grid-template-columns: 1fr; }
  .quick-nav { grid-template-columns: repeat(2, 1fr); }
  .terms-layout { grid-template-columns: 1fr; }
  .terms-toc { position: static; }
  .quote-block { padding: 38px 24px; }
  .milestone { grid-template-columns: 100px 1fr; gap: 18px; }
  .milestone .year { font-size: 30px; }
  .article-hero { aspect-ratio: 16 / 9; font-size: 80px; }
}
@media (max-width: 720px) {
  .shell { padding: 86px 14px 50px; }
  .grid-3, .featured, .testimonials, .featured.cols-4,
  .woocommerce ul.products, ul.products,
  .cat-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 8px 14px; gap: 8px; }
  .nav .brand { font-size: 14px; }
  .nav-actions .btn { display: none; }   /* ocultar botón "Comprar" en móvil */
  .promo-strip { gap: 8px; text-align: center; }
  .masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .masonry .item-large, .masonry .item-wide, .masonry .item-tall { grid-column: span 1; grid-row: span 1; }
  .filter-strip { padding: 4px; gap: 4px; }
  .filter-strip .chip { padding: 8px 14px; font-size: 12.5px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card.feature { grid-column: span 1; }
  .quick-nav { grid-template-columns: 1fr; }
  .quick-nav a { aspect-ratio: 2 / 1; }
  .article-narrow .article-body { font-size: 16px; }
  .article-hero { font-size: 60px; }
}

/* =========================================================
   B2B + WooCommerce: brands strip, stats line, b2b block, dual CTA
   ========================================================= */

/* ----- Brands strip ----- */
.brands-strip {
  margin-top: 110px;
  padding: 36px 40px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.brands-strip .head { text-align: center; margin-bottom: 26px; }
.brands-strip .head .kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--c-text-muted); text-transform: uppercase;
}
.brands-strip .head h3 {
  font-size: clamp(20px, 2vw, 26px);
  margin-top: 6px; letter-spacing: -0.015em;
}
.brands-strip .logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: center;
}
.brands-strip .logo-item {
  height: 56px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  border-radius: 10px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  text-align: center; padding: 0 12px;
  transition: color .2s, border-color .2s, transform .25s var(--ease-soft);
}
.brands-strip .logo-item:hover {
  color: var(--c-text);
  border-color: var(--c-border-2);
  transform: translateY(-2px);
}
.brands-strip .logo-item.serif { font-family: Georgia, serif; font-style: italic; font-weight: 500; }
.brands-strip .logo-item.mono  { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.brands-strip .logo-item.upper { text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.18em; }
@media (max-width: 980px) { .brands-strip .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) {
  .brands-strip { padding: 28px 22px; }
  .brands-strip .logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ----- Stats line ----- */
.stats-line {
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.stats-line .item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--c-border);
}
.stats-line .item:last-child { border-right: 0; }
.stats-line .item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--c-text) 0%, color-mix(in srgb, var(--c-text) 50%, var(--c-accent)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-line .item .lbl {
  margin-top: 6px;
  font-size: 12.5px; color: var(--c-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
@media (max-width: 720px) {
  .stats-line { grid-template-columns: repeat(2, 1fr); }
  .stats-line .item:nth-child(2) { border-right: 0; }
  .stats-line .item:nth-child(1), .stats-line .item:nth-child(2) {
    border-bottom: 1px solid var(--c-border);
  }
  .stats-line .item { padding: 28px 16px; }
}

/* ----- B2B block: ¿Sos una marca? ----- */
.b2b-block {
  margin-top: 110px;
  padding: 70px 60px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 80% at 80% 20%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 60%),
    linear-gradient(135deg, var(--c-surface), var(--c-surface-2));
  border: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.b2b-block .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.b2b-block h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em; line-height: 1;
}
.b2b-block h2 em { font-style: italic; font-weight: 400; color: var(--c-accent-3); }
.b2b-block p {
  font-size: 16px;
  color: var(--c-text-soft);
  margin-top: 18px; max-width: 50ch;
  line-height: 1.6;
}
.b2b-block .actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.b2b-block .features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.b2b-block .features li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.b2b-block .features li .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--c-accent-soft); color: var(--c-accent-3);
  display: grid; place-items: center; flex-shrink: 0;
}
.b2b-block .features li strong {
  display: block; font-size: 14px; color: var(--c-text);
  margin-bottom: 2px;
}
.b2b-block .features li span { font-size: 12.5px; color: var(--c-text-muted); }
@media (max-width: 980px) {
  .b2b-block { grid-template-columns: 1fr; padding: 50px 32px; gap: 36px; }
}
@media (max-width: 620px) {
  .b2b-block { padding: 36px 22px; border-radius: 24px; }
}

/* ----- Dual CTA ----- */
.dual-cta {
  margin-top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dual-cta .panel {
  padding: 48px 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .35s var(--ease-soft);
  min-height: 280px;
}
.dual-cta .panel:hover { transform: translateY(-3px); border-color: var(--c-border-2); }
.dual-cta .panel .num {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--c-accent-3); text-transform: uppercase;
}
.dual-cta .panel h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05; margin-top: 4px;
}
.dual-cta .panel p {
  font-size: 14.5px; color: var(--c-text-soft);
  line-height: 1.6; max-width: 38ch;
}
.dual-cta .panel .btn { align-self: flex-start; margin-top: 18px; }
.dual-cta .panel.b2b {
  background:
    radial-gradient(80% 80% at 100% 0%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 60%),
    var(--c-surface);
}
.dual-cta .panel.retail {
  background:
    radial-gradient(80% 80% at 0% 100%, color-mix(in srgb, var(--c-accent) 12%, transparent), transparent 60%),
    var(--c-surface);
}
@media (max-width: 720px) { .dual-cta { grid-template-columns: 1fr; } }

/* =========================================================
   ÚLTIMOS AJUSTES: oval btn, theme-switch, quick-nav light, modal, apps-grid, login icon
   ========================================================= */

/* ----- Botones oval (pill) ----- */
.btn { border-radius: var(--r-pill); padding: 10px 22px; }
.nav .nav-actions .btn-primary { padding: 10px 22px; }

/* ----- Theme switch (toggle real, reemplaza icon button) ----- */
.theme-switch-toggle {
  position: relative;
  width: 60px; height: 32px;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s, border-color .25s;
}
.theme-switch-toggle:hover { border-color: var(--c-border-2); }
.theme-switch-toggle .thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
  transition: transform .28s var(--ease-soft);
  display: grid; place-items: center;
  color: var(--c-accent);
}
[data-mode="dark"] .theme-switch-toggle {
  background: var(--c-accent);
  border-color: transparent;
}
[data-mode="dark"] .theme-switch-toggle .thumb {
  transform: translateX(28px);
  background: var(--c-bg);
  color: var(--c-text);
}
.theme-switch-toggle .thumb .icon { width: 14px; height: 14px; }
.theme-switch-toggle .thumb .ico-moon { display: none; }
[data-mode="dark"] .theme-switch-toggle .thumb .ico-moon { display: inline-block; }
[data-mode="dark"] .theme-switch-toggle .thumb .ico-sun { display: none; }
.theme-switch-toggle .track-bg {
  position: absolute; inset: 4px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 8px;
  pointer-events: none;
  font-size: 10px;
  color: var(--c-text-muted);
  opacity: 0.5;
}
.theme-switch-toggle .track-bg .icon { width: 12px; height: 12px; }

/* Hide legacy mode-toggle */
.nav .mode-toggle { display: none; }

/* ----- Login icon button (round) ----- */
.nav-icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 17px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.nav-icon-btn:hover { background: var(--c-surface-3); }

/* ----- QUICK-NAV: redesign para fondo claro (override) ----- */
.quick-nav > a {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px 26px;
  min-height: 240px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--qn-accent, var(--c-accent)) 7%, transparent) 0%, transparent 65%),
    var(--c-surface);
  color: var(--c-text);
  overflow: hidden;
  transition: transform .35s var(--ease-soft), border-color .25s, background .35s;
}
.quick-nav > a::before { display: none; }
.quick-nav > a:hover {
  transform: translateY(-4px);
  border-color: var(--qn-accent, var(--c-accent));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--qn-accent, var(--c-accent)) 14%, transparent) 0%, transparent 75%),
    var(--c-surface);
  color: var(--c-text);
}
.quick-nav .num {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qn-accent, var(--c-accent));
  position: relative; z-index: 1;
}
.quick-nav > a:hover .num { color: var(--qn-accent, var(--c-accent)); }
.quick-nav h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 14px;
  font-weight: 700;
  color: var(--c-text);
  position: relative; z-index: 1;
}
.quick-nav .arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  position: relative; z-index: 1;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-soft);
}
.quick-nav > a:hover .arrow {
  background: var(--qn-accent, var(--c-accent));
  border-color: transparent;
  color: #fff;
  transform: translateX(4px);
}
.quick-nav .qn-1 { --qn-accent: #2d7dff; }
.quick-nav .qn-2 { --qn-accent: #4cc38a; }
.quick-nav .qn-3 { --qn-accent: #b573e8; }
.quick-nav .qn-4 { --qn-accent: #e8946b; }

/* Dark mode: las accent siguen visibles, fondo se ajusta */
[data-mode="dark"] .quick-nav > a {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--qn-accent) 18%, transparent) 0%, transparent 70%),
    var(--c-surface);
}
[data-mode="dark"] .quick-nav > a:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--qn-accent) 28%, transparent) 0%, transparent 80%),
    var(--c-surface);
}

/* ----- APPS GRID: reemplaza marquee, 4×2 = 8 aplicaciones ----- */
.apps-grid {
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.apps-grid .app-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 26px 22px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: border-color .2s, transform .25s var(--ease-soft);
}
.apps-grid .app-tile:hover {
  border-color: var(--c-border-2);
  transform: translateY(-2px);
}
.apps-grid .app-tile .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-accent-soft);
  color: var(--c-accent-3);
  display: grid; place-items: center;
  font-size: 22px;
}
.apps-grid .app-tile .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.apps-grid .app-tile small {
  font-size: 12px; color: var(--c-text-muted);
  margin-top: -8px;
}
@media (max-width: 980px) { .apps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .apps-grid { grid-template-columns: repeat(2, 1fr); margin-top: 70px; } }

/* ----- LOGIN MODAL ----- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 22, 35, 0.55);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-soft);
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
[data-mode="dark"] .modal-overlay { background: rgba(0, 0, 0, 0.65); }
.modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: 32px 30px 28px;
  position: relative;
  transform: translateY(12px) scale(0.96);
  transition: transform .35s var(--ease-soft);
}
.modal-overlay.show .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  cursor: pointer;
  transition: background .15s, transform .2s;
}
.modal-close:hover { background: var(--c-surface-3); transform: rotate(90deg); }
.modal-card h2 {
  font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.modal-card .modal-sub {
  font-size: 13.5px; color: var(--c-text-muted);
  margin-bottom: 20px;
}
.modal-card .auth-tabs { margin-bottom: 18px; }
.modal-card .field { margin-bottom: 12px; }
.modal-card .auth-divider { margin: 16px 0; }
.modal-card form .btn-primary { width: 100%; justify-content: center; }
.modal-card .btn-social { width: 100%; }
@media (max-width: 460px) {
  .modal-card { padding: 24px 22px; }
}

/* prevent body scroll cuando modal abierto */
body.modal-open { overflow: hidden; }

/* =========================================================
   CART DRAWER (slide-in desde la derecha)
   ========================================================= */
.cart-drawer {
  position: fixed; inset: 0; z-index: 105;
  pointer-events: none;
}
.cart-drawer.show { pointer-events: auto; }
.cart-drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 22, 35, 0.50);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s var(--ease-soft);
  cursor: pointer;
}
[data-mode="dark"] .cart-drawer-overlay { background: rgba(0,0,0,0.65); }
.cart-drawer.show .cart-drawer-overlay { opacity: 1; }

.cart-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.12);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s var(--ease-soft);
}
[data-mode="dark"] .cart-drawer-panel { box-shadow: -16px 0 40px rgba(0,0,0,0.5); }
.cart-drawer.show .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
  padding: 20px 24px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.cart-drawer-head h3 {
  font-size: 17px; letter-spacing: -0.01em;
  display: inline-flex; align-items: baseline; gap: 8px;
  margin: 0;
}
.cart-drawer-head h3 .count {
  font-size: 13px; color: var(--c-text-muted); font-weight: 500;
}

.cart-drawer-body {
  flex: 1; overflow-y: auto;
  padding: 8px 24px;
}

/* Drawer item */
.drawer-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.drawer-item:last-child { border-bottom: 0; }
.drawer-item .thumb {
  width: 60px; height: 60px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-surface-3), var(--c-surface-2));
  border: 1px solid var(--c-border);
  display: grid; place-items: center;
  color: var(--c-text-muted); font-size: 22px;
}
.drawer-item .info {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.drawer-item .name {
  font-weight: 600; font-size: 14px; color: var(--c-text);
  line-height: 1.3;
  /* truncate long names */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.drawer-item .qty-mini {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 2px;
  align-self: flex-start;
}
.drawer-item .qty-mini button {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; color: var(--c-text);
  background: none; border: 0; cursor: pointer;
  transition: background .15s;
}
.drawer-item .qty-mini button:hover { background: var(--c-surface-3); }
.drawer-item .qty-mini span {
  min-width: 22px; text-align: center; font-size: 12.5px; font-weight: 600;
}
.drawer-item .right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.drawer-item .price-line {
  font-weight: 700; font-size: 14px; color: var(--c-text);
  font-family: var(--font-display);
  white-space: nowrap;
}
.drawer-item .remove {
  background: none; border: 0; padding: 0;
  color: var(--c-text-muted);
  font-size: 11.5px; cursor: pointer;
  text-decoration: underline;
  transition: color .15s;
}
.drawer-item .remove:hover { color: var(--c-danger); }

/* Empty state */
.drawer-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 50px 20px;
  gap: 14px;
  color: var(--c-text-muted);
  min-height: 280px;
}
.drawer-empty .ico {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: grid; place-items: center;
  font-size: 26px;
  color: var(--c-text-muted);
}
.drawer-empty h4 {
  color: var(--c-text); font-size: 16px;
  letter-spacing: -0.01em; margin: 0;
}
.drawer-empty p { font-size: 13px; max-width: 28ch; line-height: 1.5; }
.drawer-empty .btn { margin-top: 6px; }

/* Footer del drawer */
.cart-drawer-foot {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 6px;
  background: var(--c-surface);
  flex-shrink: 0;
}
.cart-drawer-foot .row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13.5px; color: var(--c-text-soft);
  padding: 4px 0;
}
.cart-drawer-foot .row.muted { color: var(--c-text-muted); }
.cart-drawer-foot .row.total {
  font-size: 17px; font-weight: 700; color: var(--c-text);
  margin-top: 4px; padding-top: 12px;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-display);
}
.cart-drawer-foot .row.total strong {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.cart-drawer-foot .actions {
  display: flex; flex-direction: column; gap: 8px; margin-top: 12px;
}
.cart-drawer-foot .btn { width: 100%; justify-content: center; }
.cart-drawer-foot .small-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 11.5px;
  color: var(--c-text-muted);
  margin-top: 8px;
}
.cart-drawer-foot .small-note .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Cart drawer en mobile: full width */
@media (max-width: 480px) {
  .cart-drawer-panel { max-width: 100%; }
}

body.drawer-open { overflow: hidden; }

/* =========================================================
   IMAGE SLOTS — soporte de <img> en componentes visuales
   ========================================================= */

/* Slot wrapper: las imágenes llenan el contenedor con object-fit: cover */
.hero-collage .tile img,
.product-card .media img,
.product .product-thumb img,
.spotlight .visual img,
.blog-card .cover img,
.editorial-card .cover img,
.aroma-card .em img,
.cart-table .item .thumb img,
.drawer-item .thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
/* contenedores deben ser relative para que el inset:0 del img funcione */
.product-card .media,
.product .product-thumb,
.blog-card .cover,
.editorial-card .cover,
.spotlight .visual {
  position: relative;
  overflow: hidden;
}

/* Logo marca en nav · imagen (hereda Liquid Glass de .nav .brand .logo) */
.nav .brand .logo img {
  position: relative;
  z-index: 1;
  width: 66%;
  height: 66%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0.6px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 1px 1.5px rgba(15, 22, 35, 0.14));
}
[data-mode="dark"] .nav .brand .logo img {
  filter:
    drop-shadow(0 0.5px 0 rgba(255, 255, 255, 0.08))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

/* Swap del logo en modo dark */
[data-mode="dark"] .nav .brand .logo img[src*="logo-2026.png"] {
  content: url("../img/brand/logo-2026-dark.png");
}

/* Cuando hay <img>, ocultamos placeholders CSS habituales (no aplican en nav pero comparten selector) */
.tile:has(img) .mini-bottle,
.media:has(img) .mini-bottle,
.product-thumb:has(img) .mini-bottle,
.visual:has(img) .big-bottle,
.cover:has(img) > .icon,
.brand .logo:has(img) { color: transparent; }
/* =========================================================
   AJUSTES FINALES: badge accent, imágenes sin máscara
   ========================================================= */

/* Badge del carrito con color accent (en vez de rojo) */
.nav-cart .badge {
  background: var(--c-accent);
  border-color: var(--c-bg);
}

/* Imágenes sin máscara: cuando hay <img>, fondo neutral cream */
.spotlight .visual:has(img),
.product-card .media:has(img),
.product .product-thumb:has(img),
.blog-card .cover:has(img),
.editorial-card .cover:has(img),
.hero-collage .tile:has(img) {
  background: var(--c-cream);
}

/* Drawer item: thumb con fondo neutral cuando hay img */
.drawer-item .thumb:has(img) {
  background: var(--c-cream);
  overflow: hidden;
  position: relative;
}
.drawer-item .thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* En dark mode, el cream actúa como un crema un poco más oscuro */
[data-mode="dark"] .spotlight .visual:has(img),
[data-mode="dark"] .product-card .media:has(img),
[data-mode="dark"] .product .product-thumb:has(img),
[data-mode="dark"] .blog-card .cover:has(img),
[data-mode="dark"] .editorial-card .cover:has(img),
[data-mode="dark"] .hero-collage .tile:has(img),
[data-mode="dark"] .drawer-item .thumb:has(img) {
  background: var(--c-surface-2);
}

/* =========================================================
   QUITAR SILUETAS DE ENVASE (placeholders CSS) — siempre ocultas
   ========================================================= */
.mini-bottle,
.big-bottle {
  display: none !important;
}

/* Slots vacíos sin imagen: muestran solo un gradiente sutil cream/surface neutro */
.product-card .media:not(:has(img)),
.product .product-thumb:not(:has(img)),
.spotlight .visual:not(:has(img)) {
  background: linear-gradient(135deg, var(--c-cream), var(--c-surface-2)) !important;
}

/* Producto detail gallery: cuando hay img, fondo cream */
.product-gallery:has(img) {
  background: var(--c-cream);
}
[data-mode="dark"] .product-gallery:has(img) { background: var(--c-surface-2); }
.product-gallery {
  position: relative; overflow: hidden;
}
.product-gallery img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  padding: 0;
}

/* =========================================================
   Fix: visibilidad del botón en panel Retail del dual-cta
   ========================================================= */

/* En el dual-cta, los botones secundarios (btn-glass) caen sobre una card
   glass clara y se pierden con el fondo. Usamos fondo sólido cream-surface
   en idle para que tengan presencia, y elevación por sombra en hover
   (sin cambio de color), siguiendo el patrón del b2b-block. */
.dual-cta .panel .btn-glass,
.dual-cta .panel .btn:not(.btn-primary) {
  background: var(--c-surface-2) !important;
  color: var(--c-text) !important;
  border: 1px solid var(--c-border-2) !important;
}
.dual-cta .panel .btn-glass:hover,
.dual-cta .panel .btn:not(.btn-primary):hover {
  background: var(--c-surface-2) !important;
  color: var(--c-text) !important;
  border-color: var(--c-border-2) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 8px 22px rgba(15, 22, 35, 0.12),
    0 2px 6px rgba(15, 22, 35, 0.06) !important;
  transform: translateY(-2px);
}
[data-mode="dark"] .dual-cta .panel .btn-glass,
[data-mode="dark"] .dual-cta .panel .btn:not(.btn-primary) {
  background: var(--c-surface-3) !important;
  color: var(--c-text) !important;
  border-color: var(--c-border-2) !important;
}
[data-mode="dark"] .dual-cta .panel .btn-glass:hover,
[data-mode="dark"] .dual-cta .panel .btn:not(.btn-primary):hover {
  background: var(--c-surface-3) !important;
  color: var(--c-text) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 26px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.30) !important;
}

/* =========================================================
   Unificar altura de elementos del nav-actions a 38px
   ========================================================= */

/* Theme switch: 70×38 con thumb circular 32×32 */
.theme-switch-toggle {
  width: 70px;
  height: 38px;
}
.theme-switch-toggle .thumb {
  width: 32px; height: 32px;
  top: 2px; left: 2px;
}
[data-mode="dark"] .theme-switch-toggle .thumb {
  transform: translateX(32px); /* 70 - 32 (thumb) - 4 (margins) - 2 (border) */
}
.theme-switch-toggle .thumb .icon { width: 16px; height: 16px; }

/* Botón Comprar dentro del nav: misma altura que los iconos (38px) */
.nav .nav-actions .btn {
  height: 38px;
  padding: 0 22px;
  line-height: 1;
}

/* =========================================================
   Hero collage: tile-label overlay (aparece al hover)
   ========================================================= */
.hero-collage .tile {
  cursor: pointer;
}
.hero-collage .tile-label {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 5;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  color: var(--c-text);
  text-decoration: none;
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s var(--ease-soft), transform .3s var(--ease-soft);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.hero-collage .tile:hover .tile-label {
  opacity: 1;
  transform: translateY(0);
}
.hero-collage .tile-label strong {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--c-text);
  /* truncate long names */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-collage .tile-label span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-accent);
  font-size: 13px;
}
[data-mode="dark"] .hero-collage .tile-label {
  background: rgba(20, 22, 30, 0.88);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
[data-mode="dark"] .hero-collage .tile-label strong { color: var(--c-text); }

/* En mobile, mostramos el label siempre (no hay hover) */
@media (max-width: 720px) {
  .hero-collage .tile-label {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   HERO COLLAGE v2 — grid 2×2 robusto (override del anterior)
   ========================================================= */
.hero-collage {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
  position: relative;
}
.hero-collage .tile {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  /* transform y animation SIN !important para no bloquear las keyframes del loop */
  transform: none;
  animation: none;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, var(--c-cream), var(--c-surface-2));
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.hero-collage .tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
[data-mode="dark"] .hero-collage .tile {
  background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-mode="dark"] .hero-collage .tile:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}
.hero-collage .tile img {
  position: absolute !important;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Pequeña variación visual: tile #1 y #4 ligeramente desplazados para
   romper la simetría perfecta del grid (efecto editorial sutil) */
.hero-collage .t-1 { transform: translateY(-8px); }
.hero-collage .t-4 { transform: translateY(8px); }
.hero-collage .t-1:hover { transform: translateY(-12px); }
.hero-collage .t-4:hover { transform: translateY(4px); }

/* En mobile: collage queda centrado y un poquito más chico */
@media (max-width: 980px) {
  .hero-collage { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .hero-collage { max-width: 100%; gap: 10px; }
  .hero-collage .tile { border-radius: 18px; }
}

/* =========================================================
   HERO COLLAGE: loop con desvanecimiento + slide en 4 direcciones
   ========================================================= */
@keyframes hero-out-up    { to { transform: translateY(-40%); opacity: 0; } }
@keyframes hero-out-down  { to { transform: translateY( 40%); opacity: 0; } }
@keyframes hero-out-left  { to { transform: translateX(-40%); opacity: 0; } }
@keyframes hero-out-right { to { transform: translateX( 40%); opacity: 0; } }

@keyframes hero-in-up     { from { transform: translateY( 40%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes hero-in-down   { from { transform: translateY(-40%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes hero-in-left   { from { transform: translateX( 40%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes hero-in-right  { from { transform: translateX(-40%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.hero-collage .tile img.swap-out-up    { animation: hero-out-up    .42s var(--ease-soft) forwards; }
.hero-collage .tile img.swap-out-down  { animation: hero-out-down  .42s var(--ease-soft) forwards; }
.hero-collage .tile img.swap-out-left  { animation: hero-out-left  .42s var(--ease-soft) forwards; }
.hero-collage .tile img.swap-out-right { animation: hero-out-right .42s var(--ease-soft) forwards; }

.hero-collage .tile img.swap-in-up     { animation: hero-in-up    .55s var(--ease-soft) forwards; }
.hero-collage .tile img.swap-in-down   { animation: hero-in-down  .55s var(--ease-soft) forwards; }
.hero-collage .tile img.swap-in-left   { animation: hero-in-left  .55s var(--ease-soft) forwards; }
.hero-collage .tile img.swap-in-right  { animation: hero-in-right .55s var(--ease-soft) forwards; }

/* Respeta prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-collage .tile img[class*="swap-"] {
    animation: none !important;
  }
}

/* =========================================================
   HERO COLLAGE v3: animar la CAJA completa, transiciones más lentas
   ========================================================= */

/* Anular el offset editorial via transform (interferiría con la animación)
   y usar margin para mantener la asimetría sutil */
/* Sin !important — para que las animaciones del loop puedan transformar */
.hero-collage .t-1,
.hero-collage .t-4 { transform: none; }
.hero-collage .t-1 { margin-top: -8px; }
.hero-collage .t-4 { margin-top:  8px; }
.hero-collage .t-1:hover,
.hero-collage .t-4:hover { transform: none; }

/* Disable la animación vieja sobre <img> (ahora animamos el .tile) */
.hero-collage .tile img[class*="swap-"] { animation: none !important; }

/* Nuevas keyframes — desplazamiento sutil 22% + opacity, más lento */
@keyframes tile-out-up    { to { transform: translateY(-22%); opacity: 0; } }
@keyframes tile-out-down  { to { transform: translateY( 22%); opacity: 0; } }
@keyframes tile-out-left  { to { transform: translateX(-22%); opacity: 0; } }
@keyframes tile-out-right { to { transform: translateX( 22%); opacity: 0; } }

@keyframes tile-in-up     { from { transform: translateY( 22%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes tile-in-down   { from { transform: translateY(-22%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes tile-in-left   { from { transform: translateX( 22%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes tile-in-right  { from { transform: translateX(-22%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.hero-collage .tile.swap-out-up    { animation: tile-out-up    .75s var(--ease-soft) forwards; }
.hero-collage .tile.swap-out-down  { animation: tile-out-down  .75s var(--ease-soft) forwards; }
.hero-collage .tile.swap-out-left  { animation: tile-out-left  .75s var(--ease-soft) forwards; }
.hero-collage .tile.swap-out-right { animation: tile-out-right .75s var(--ease-soft) forwards; }

.hero-collage .tile.swap-in-up     { animation: tile-in-up    .9s var(--ease-soft) forwards; }
.hero-collage .tile.swap-in-down   { animation: tile-in-down  .9s var(--ease-soft) forwards; }
.hero-collage .tile.swap-in-left   { animation: tile-in-left  .9s var(--ease-soft) forwards; }
.hero-collage .tile.swap-in-right  { animation: tile-in-right .9s var(--ease-soft) forwards; }

@media (prefers-reduced-motion: reduce) {
  .hero-collage .tile[class*="swap-"] { animation: none !important; }
}

/* =========================================================
   Fix: .add-to-cart como botón completo (cuando coexiste con .btn)
   ========================================================= */
/* El selector .add-to-cart se usa en 2 contextos:
   1. Solo: <button class="add-to-cart"> → icono chico 32×32 (product cards)
   2. Junto a .btn: <button class="btn btn-glass add-to-cart"> → botón completo (spotlight)
   
   Cuando coexiste con .btn, restauramos las dimensiones del botón. */
.btn.add-to-cart {
  width: auto !important;
  height: 38px !important;
  padding: 0 22px !important;
  border-radius: var(--r-pill) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  place-items: unset !important;
  transition:
    background .35s cubic-bezier(0.22, 1, 0.36, 1),
    color .35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .35s cubic-bezier(0.22, 1, 0.36, 1),
    transform .45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.btn.btn-glass.add-to-cart {
  background: var(--c-surface-3);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn.btn-glass.add-to-cart:hover {
  background: var(--c-surface-2);
  color: var(--c-text);
}
.btn.add-to-cart .icon {
  width: 1em;
  height: 1em;
}

/* =========================================================
   Fix definitivo: botones del spotlight bien proporcionados
   ========================================================= */

/* Ambos botones del spotlight a la misma altura (44px) y mismo padding */
.spotlight .actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.spotlight .actions .btn {
  height: 44px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: var(--r-pill) !important;
}

/* Botón secundario "Agregar al carrito": fondo cream-surface,
   borde sutil para más presencia visual sin gritar.
   Hover: elevación por sombra (sin cambio de color), igual que el b2b-block. */
.spotlight .btn.btn-glass.add-to-cart {
  background: var(--c-surface-2) !important;
  color: var(--c-text) !important;
  border: 1px solid var(--c-border-2) !important;
}
.spotlight .btn.btn-glass.add-to-cart:hover {
  background: var(--c-surface-2) !important;
  color: var(--c-text) !important;
  border-color: var(--c-border-2) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 8px 22px rgba(15, 22, 35, 0.12),
    0 2px 6px rgba(15, 22, 35, 0.06) !important;
  transform: translateY(-2px);
}

/* El ícono "+" más sólido y proporcional al texto */
.spotlight .btn.add-to-cart .icon {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.5;
}

/* En dark mode el botón secundario mantiene fondo sólido y eleva por sombra */
[data-mode="dark"] .spotlight .btn.btn-glass.add-to-cart {
  background: var(--c-surface-3) !important;
  border-color: var(--c-border-2) !important;
  color: var(--c-text) !important;
}
[data-mode="dark"] .spotlight .btn.btn-glass.add-to-cart:hover {
  background: var(--c-surface-3) !important;
  color: var(--c-text) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 26px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.30) !important;
}

/* =========================================================
   ╔═══════════════════════════════════════════════════════╗
   ║  LIQUID GLASS — macOS Tahoe inspired                  ║
   ║  Translucencia + refracción + profundidad             ║
   ╚═══════════════════════════════════════════════════════╝
   ========================================================= */

/* ─── Tokens del glass ─── */
:root {
  --glass-blur:        24px;
  --glass-blur-strong: 32px;
  --glass-blur-soft:   12px;
  --glass-saturate:    180%;

  /* Capas translúcidas (light) */
  --gl-light:          rgba(255, 255, 255, 0.55);
  --gl-medium:         rgba(255, 255, 255, 0.68);
  --gl-strong:         rgba(255, 255, 255, 0.82);

  /* Borde superior (highlight de vidrio) y borde inferior (sombra) */
  --gl-edge-top:       rgba(255, 255, 255, 0.85);
  --gl-edge:           rgba(255, 255, 255, 0.55);
  --gl-edge-bottom:    rgba(255, 255, 255, 0.18);

  /* Sombra "vidrio flotando": 4 capas (hightlight + sombra interna + sombra externa) */
  --gl-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.85) inset,
    0 -1px 0 0 rgba(15, 22, 35, 0.06) inset,
    0 0 0 0.5px rgba(15, 22, 35, 0.05),
    0 8px 32px rgba(15, 22, 35, 0.08),
    0 2px 6px rgba(15, 22, 35, 0.04);

  --gl-shadow-strong:
    0 1px 0 0 rgba(255, 255, 255, 0.90) inset,
    0 -1px 0 0 rgba(15, 22, 35, 0.06) inset,
    0 0 0 0.5px rgba(15, 22, 35, 0.06),
    0 16px 50px rgba(15, 22, 35, 0.12),
    0 4px 12px rgba(15, 22, 35, 0.06);
}

[data-mode="dark"] {
  --gl-light:        rgba(20, 22, 30, 0.55);
  --gl-medium:       rgba(20, 22, 30, 0.68);
  --gl-strong:       rgba(20, 22, 30, 0.78);

  --gl-edge-top:     rgba(255, 255, 255, 0.18);
  --gl-edge:         rgba(255, 255, 255, 0.10);
  --gl-edge-bottom:  rgba(0, 0, 0, 0.30);

  --gl-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.30) inset,
    0 0 0 0.5px rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.20);

  --gl-shadow-strong:
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.35) inset,
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 22px 60px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.30);
}

/* ─── Background con DEPTH para que el blur tenga algo que captar ───
   Wallpaper con gradient mesh sutil + manchas de color desenfocadas */
body {
  background: var(--c-bg);
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed; inset: -4vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 20%, color-mix(in srgb, var(--c-accent) 14%, transparent) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 30%, color-mix(in srgb, #b573e8 12%, transparent) 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 90%, color-mix(in srgb, var(--c-accent) 10%, transparent) 0%, transparent 65%),
    radial-gradient(45% 35% at 20% 80%, color-mix(in srgb, #4cc38a 10%, transparent) 0%, transparent 60%),
    var(--c-bg);
  filter: blur(0.5px);
}
[data-mode="dark"] body::before {
  background:
    radial-gradient(60% 50% at 15% 20%, color-mix(in srgb, var(--c-accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 30%, color-mix(in srgb, #b573e8 18%, transparent) 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 90%, color-mix(in srgb, var(--c-accent) 18%, transparent) 0%, transparent 65%),
    radial-gradient(45% 35% at 20% 80%, color-mix(in srgb, #4cc38a 14%, transparent) 0%, transparent 60%),
    var(--c-bg);
}

/* ─── NAV: glass fuerte ─── */
.nav {
  background: var(--gl-strong) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  border-color: var(--gl-edge) !important;
  box-shadow: var(--gl-shadow-strong) !important;
}

/* ─── CART DRAWER: panel con glass ─── */
.cart-drawer-panel {
  background: var(--gl-strong) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  border-left: 1px solid var(--gl-edge) !important;
  box-shadow:
    1px 0 0 0 var(--gl-edge-top) inset,
    -16px 0 50px rgba(15, 22, 35, 0.12) !important;
}
[data-mode="dark"] .cart-drawer-panel {
  box-shadow:
    1px 0 0 0 rgba(255,255,255,0.10) inset,
    -16px 0 50px rgba(0,0,0,0.6) !important;
}
.cart-drawer-foot {
  background: transparent !important;
  border-top-color: var(--gl-edge) !important;
}
.cart-drawer-head {
  border-bottom-color: var(--gl-edge) !important;
}

/* ─── LOGIN MODAL: glass card ─── */
.modal-card {
  background: var(--gl-strong) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  border: 1px solid var(--gl-edge) !important;
  box-shadow: var(--gl-shadow-strong) !important;
}
.modal-overlay {
  background: rgba(15, 22, 35, 0.35) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
[data-mode="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* ─── TOAST: notificación con glass ─── */
.toast {
  background: var(--gl-strong) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--gl-edge) !important;
  box-shadow: var(--gl-shadow-strong) !important;
  color: var(--c-text);
}

/* ─── Controles del nav (switch, cart, login) glass medio ─── */
.theme-switch-toggle,
.nav-cart,
.nav-icon-btn {
  background: var(--gl-medium) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 0 0 0.5px rgba(15, 22, 35, 0.04),
    0 2px 6px rgba(15, 22, 35, 0.06) !important;
}
[data-mode="dark"] .theme-switch-toggle,
[data-mode="dark"] .nav-cart,
[data-mode="dark"] .nav-icon-btn {
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.10) inset,
    0 0 0 0.5px rgba(255,255,255,0.04),
    0 2px 6px rgba(0,0,0,0.30) !important;
}

/* Burger button glass también */
.burger {
  background: var(--gl-medium) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
}

/* ─── Botones glass (btn-glass) ─── */
.btn-glass {
  background: var(--gl-medium) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 2px 6px rgba(15, 22, 35, 0.05) !important;
}
.btn-glass:hover {
  border-color: var(--c-border-2) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 8px 22px rgba(15, 22, 35, 0.12),
    0 2px 6px rgba(15, 22, 35, 0.06) !important;
  transform: translateY(-2px);
}
[data-mode="dark"] .btn-glass:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 26px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.30) !important;
}

/* ─── Sidebar de la tienda con glass ─── */
.sidebar {
  background: var(--gl-light) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
}
@media (max-width: 720px) {
  .sidebar {
    background: color-mix(in srgb, var(--c-bg) 94%, transparent) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
  }
  [data-mode="dark"] .sidebar {
    background: color-mix(in srgb, var(--c-bg) 96%, transparent) !important;
  }
}

/* ─── Filter strip + shop toolbar con glass ─── */
.filter-strip,
.shop-toolbar {
  background: var(--gl-medium) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
}

/* ─── Cards principales: glass sutil con highlight superior ───
   Solo aplico a cards que NO tienen imagen como protagonista,
   para no enturbiar las fotos de productos. */
.cat-card,
.app-tile,
.aroma-card,
.testimonial,
.trust-item,
.stats-line,
.brands-strip,
.b2b-block,
.dual-cta .panel,
.content-card,
.page-header,
.order-summary,
.auth-card,
.newsletter,
.spotlight {
  background-color: var(--gl-light) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 0 0 0.5px rgba(15, 22, 35, 0.04),
    0 4px 16px rgba(15, 22, 35, 0.05) !important;
  position: relative;
}
[data-mode="dark"] .cat-card,
[data-mode="dark"] .app-tile,
[data-mode="dark"] .aroma-card,
[data-mode="dark"] .testimonial,
[data-mode="dark"] .trust-item,
[data-mode="dark"] .stats-line,
[data-mode="dark"] .brands-strip,
[data-mode="dark"] .b2b-block,
[data-mode="dark"] .dual-cta .panel,
[data-mode="dark"] .content-card,
[data-mode="dark"] .page-header,
[data-mode="dark"] .order-summary,
[data-mode="dark"] .auth-card,
[data-mode="dark"] .newsletter,
[data-mode="dark"] .spotlight {
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 0.5px rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

/* ─── Highlight especular sutil arriba (refracción de luz) en cards mayores ─── */
.spotlight::after,
.b2b-block::after,
.big-cta::after,
.cart-drawer-panel::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0) 100%);
  border-radius: inherit;
  z-index: 0;
}
[data-mode="dark"] .spotlight::after,
[data-mode="dark"] .b2b-block::after,
[data-mode="dark"] .big-cta::after,
[data-mode="dark"] .cart-drawer-panel::after {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%);
}
.spotlight > *,
.b2b-block > *,
.big-cta > *,
.cart-drawer-panel > * {
  position: relative;
  z-index: 1;
}

/* ─── Product cards: glass muy sutil para no opacar las fotos ─── */
.product-card,
.woocommerce ul.products li.product,
.products .product,
.blog-card,
.editorial-card {
  background: var(--gl-medium) !important;
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  border-color: var(--gl-edge) !important;
  box-shadow:
    0 1px 0 0 var(--gl-edge-top) inset,
    0 4px 16px rgba(15, 22, 35, 0.05) !important;
}
[data-mode="dark"] .product-card,
[data-mode="dark"] .woocommerce ul.products li.product,
[data-mode="dark"] .products .product,
[data-mode="dark"] .blog-card,
[data-mode="dark"] .editorial-card {
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.08) inset,
    0 8px 24px rgba(0,0,0,0.35) !important;
}

/* ─── Inputs y selects con glass ─── */
.field input,
.field textarea,
.field select,
.search-input,
.shop-toolbar select,
.range input,
.promo-input input,
.newsletter form,
.qty,
.qty-big,
.options .opt {
  background-color: var(--gl-light) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  border-color: var(--gl-edge) !important;
}

/* ─── Pagination: glass ─── */
.pagination a {
  background: var(--gl-medium) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  border-color: var(--gl-edge) !important;
  transition: background-color .18s var(--ease-soft),
              border-color .18s var(--ease-soft),
              color .18s var(--ease-soft);
}
.pagination a:hover {
  color: #b573e8 !important;
  border-color: #b573e8 !important;
  background: color-mix(in srgb, #b573e8 10%, transparent) !important;
}
.pagination a.active,
.pagination a.active:hover {
  background: #b573e8 !important;
  border-color: #b573e8 !important;
  color: #fff !important;
}

/* ─── Footer también ─── */
.footer {
  background: var(--gl-light) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(160%);
  border-color: var(--gl-edge) !important;
}

/* ─── Reduced motion / fallback sin backdrop-filter ─── */
@supports not (backdrop-filter: blur(1px)) {
  .nav, .cart-drawer-panel, .modal-card, .toast,
  .theme-switch-toggle, .nav-cart, .nav-icon-btn,
  .btn-glass, .sidebar, .filter-strip, .shop-toolbar, .promo-strip,
  .cat-card, .app-tile, .aroma-card, .testimonial, .trust-item,
  .stats-line, .brands-strip, .b2b-block, .dual-cta .panel,
  .content-card, .page-header, .order-summary, .auth-card, .newsletter,
  .spotlight, .product-card, .blog-card, .footer {
    background: var(--c-surface) !important;
  }
}

/* =========================================================
   Refuerzo Liquid Glass en LIGHT mode
   - Más translúcido (menos opacidad)
   - Wallpaper con mayor saturación de color
   ========================================================= */

/* Glass tokens en light: más see-through */
:root {
  --gl-light:    rgba(255, 255, 255, 0.40);
  --gl-medium:   rgba(255, 255, 255, 0.52);
  --gl-strong:   rgba(255, 255, 255, 0.65);
}

/* Wallpaper light: subir intensidad de las manchas para que el blur las capte */
body::before {
  background:
    radial-gradient(60% 50% at 12% 18%, color-mix(in srgb, var(--c-accent) 32%, transparent) 0%, transparent 55%),
    radial-gradient(50% 45% at 88% 28%, color-mix(in srgb, #b573e8 28%, transparent) 0%, transparent 58%),
    radial-gradient(70% 55% at 82% 92%, color-mix(in srgb, var(--c-accent) 26%, transparent) 0%, transparent 62%),
    radial-gradient(45% 38% at 18% 82%, color-mix(in srgb, #4cc38a 24%, transparent) 0%, transparent 58%),
    radial-gradient(40% 35% at 50% 50%, color-mix(in srgb, #e8946b 18%, transparent) 0%, transparent 60%),
    var(--c-bg);
  filter: saturate(120%);
}

/* Mantenemos los del dark intactos pero los redeclaro abajo
   (porque el bloque general arriba tiene cascada) */
[data-mode="dark"] {
  --gl-light:    rgba(20, 22, 30, 0.55);
  --gl-medium:   rgba(20, 22, 30, 0.68);
  --gl-strong:   rgba(20, 22, 30, 0.78);
}
[data-mode="dark"] body::before {
  background:
    radial-gradient(60% 50% at 15% 20%, color-mix(in srgb, var(--c-accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 30%, color-mix(in srgb, #b573e8 18%, transparent) 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 90%, color-mix(in srgb, var(--c-accent) 18%, transparent) 0%, transparent 65%),
    radial-gradient(45% 35% at 20% 80%, color-mix(in srgb, #4cc38a 14%, transparent) 0%, transparent 60%),
    var(--c-bg);
  filter: saturate(110%);
}

/* Bumpear el blur en superficies clave para que el efecto se note más */
.nav,
.cart-drawer-panel,
.modal-card,
.toast {
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
}

/* Sutil animación de drift en el wallpaper para que se sienta "vivo" */
@keyframes wallpaper-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(2vmax, -1.5vmax, 0); }
}
body::before {
  animation: wallpaper-drift 24s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* =========================================================
   ╔═══════════════════════════════════════════════════════╗
   ║  OSTY-LIKE NAV: contracción + menú fullscreen         ║
   ╚═══════════════════════════════════════════════════════╝
   ========================================================= */

/* ─── Shrink on scroll: nav se contrae a un tamaño más compacto ─── */
.nav {
  transition:
    transform .35s var(--ease-soft),
    opacity .25s var(--ease-soft),
    padding .3s var(--ease-soft),
    top .3s var(--ease-soft),
    width .3s var(--ease-soft),
    background .3s var(--ease-soft);
}
.nav.compact {
  top: 8px;
  padding: 6px 14px;
  width: calc(100% - 24px);
}
.nav.compact .brand .logo {
  width: 34px; height: 34px; font-size: 13px;
  transition: all .3s var(--ease-soft);
}
.nav.compact .brand .logo:has(img) {
  width: 34px;
  height: 34px;
}
.nav.compact .brand { font-size: 15px; }
.nav.compact .links a {
  padding: 7px 10px;
  font-size: 13px;
}
.nav.compact .theme-switch-toggle {
  width: 60px; height: 32px;
}
.nav.compact .theme-switch-toggle .thumb {
  width: 26px; height: 26px;
}
[data-mode="dark"] .nav.compact .theme-switch-toggle .thumb {
  transform: translateX(28px);
}
.nav.compact .nav-cart,
.nav.compact .nav-icon-btn,
.nav.compact .burger {
  width: 32px; height: 32px;
}
.nav.compact .nav-actions .btn {
  height: 32px !important;
  padding: 0 18px !important;
  font-size: 13px;
}
.nav .brand .logo,
.nav .nav-cart,
.nav .nav-icon-btn,
.nav .burger,
.nav .theme-switch-toggle,
.nav .nav-actions .btn {
  transition: width .3s var(--ease-soft), height .3s var(--ease-soft),
              padding .3s var(--ease-soft), font-size .3s var(--ease-soft);
}


/* ─── FULLSCREEN MENU MODAL (Osty-style menu deploy) ─── */
.menu-modal {
  position: fixed; inset: 0; z-index: 200;
  background: var(--gl-strong);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  backdrop-filter: blur(48px) saturate(200%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease-soft), visibility 0s linear .45s;
}
.menu-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .45s var(--ease-soft), visibility 0s;
}

/* Curtain reveal (fondo aparece desde el centro hacia los bordes) */
.menu-modal::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, color-mix(in srgb, var(--c-accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(50% 40% at 20% 80%, color-mix(in srgb, #b573e8 18%, transparent) 0%, transparent 65%),
    radial-gradient(60% 45% at 85% 20%, color-mix(in srgb, var(--c-accent) 16%, transparent) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .55s var(--ease-soft), transform .65s var(--ease-soft);
  pointer-events: none;
}
.menu-modal.show::before {
  opacity: 1;
  transform: scale(1);
}

/* Lista de links (centrada, tipografía gigante) */
.menu-modal-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  text-align: center;
  position: relative; z-index: 2;
  max-width: 90vw;
}
.menu-modal-list li { display: block; }
.menu-modal-list a {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--c-text);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 18px;
  padding: 8px 0;

  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition:
    opacity .55s var(--ease-soft) var(--d, 0s),
    transform .65s var(--ease-soft) var(--d, 0s),
    filter .55s var(--ease-soft) var(--d, 0s),
    color .25s ease;
}
.menu-modal.show .menu-modal-list a {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.menu-modal-list a::before {
  content: counter(menu, decimal-leading-zero);
  counter-increment: menu;
  font-size: 0.22em;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 4px;
  position: relative; top: -0.4em;
  opacity: 0.6;
}
.menu-modal-list { counter-reset: menu; }
.menu-modal-list a:hover {
  color: var(--c-accent);
  letter-spacing: -0.02em;
}
.menu-modal-list a.active {
  color: var(--c-accent);
}

/* Close button */
.menu-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--gl-edge);
  color: var(--c-text);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8) rotate(-45deg);
  transition: opacity .35s var(--ease-soft) .15s,
              transform .35s var(--ease-soft) .15s,
              background .2s ease;
}
.menu-modal.show .menu-modal-close {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.menu-modal-close:hover {
  background: var(--gl-strong);
  transform: rotate(90deg);
  transition: transform .25s var(--ease-soft), background .2s ease;
}
.menu-modal-close .icon { width: 18px; height: 18px; }

/* Footer info dentro del modal */
.menu-modal-info {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  text-align: center;
  font-size: 13px;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  z-index: 2;
  opacity: 0;
  transition: opacity .55s var(--ease-soft) .5s;
}
.menu-modal.show .menu-modal-info { opacity: 0.85; }
.menu-modal-info strong {
  color: var(--c-text);
  font-weight: 700;
  margin-right: 8px;
}

/* Theme toggle dentro del modal (solo visible en mobile) */
.menu-modal-theme {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--gl-medium);
  border: 1px solid var(--gl-edge);
  color: var(--c-text-soft);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  z-index: 2;
  white-space: nowrap;
  margin-top: 36px;
  opacity: 0;
  position: relative;
  transition: opacity .55s var(--ease-soft) .45s, background .2s ease, color .2s ease;
}
.menu-modal.show .menu-modal-theme { opacity: 1; }
.menu-modal-theme:hover { background: var(--gl-strong); color: var(--c-text); }
.menu-modal-theme .icon { width: 15px; height: 15px; }

/* Body lock cuando el modal está abierto */
body.menu-modal-open { overflow: hidden; }

/* En el modal abierto, el burger se transforma en X (animación) */
.burger.menu-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.burger.menu-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.menu-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ─── Override: el comportamiento viejo del .nav .links.open dropdown ya no se usa ───
   Aseguramos que en mobile no aparezca el viejo dropdown */
@media (max-width: 980px) {
  .nav .links.open {
    display: none !important;  /* ya no aparece como dropdown — ahora abre el modal */
  }
}

/* En desktop: queremos que el burger SIEMPRE esté disponible para abrir el menú fullscreen
   (al estilo Osty, que tiene tanto links inline como hamburger). */
@media (min-width: 981px) {
  .nav .burger {
    display: block;          /* visible también en desktop */
    margin-left: 4px;
  }
  /* Pero ocultamos los span de la burger porque preferimos un ícono limpio en desktop */
  /* (lo dejamos como está — 3 líneas son universales) */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-modal,
  .menu-modal::before,
  .menu-modal-list a,
  .menu-modal-close { transition: opacity .15s linear !important; }
  .menu-modal-list a { filter: none !important; transform: none !important; }
}

/* =========================================================
   Nav-right wrapper: contiene .links + .nav-actions juntos
   ========================================================= */
.nav .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: flex-end;
}

/* Burger: SOLO en mobile/tablet (≤980px) */
@media (min-width: 981px) {
  .nav .burger { display: none !important; }
  .nav.compact .nav-actions .btn { display: none !important; }
}
@media (max-width: 980px) {
  .nav .burger { display: block; }
  .nav .links { display: none !important; }
  .nav .theme-switch-toggle { display: none !important; }
}

/* =========================================================
   REVERT: nav compact vuelve a ser un pill único (sin split)
   ========================================================= */

/* Restaurar el fondo glass del nav cuando está compact */
.nav.compact {
  background: var(--gl-strong) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1px solid var(--gl-edge) !important;
  box-shadow: var(--gl-shadow-strong) !important;
  padding: 6px 14px !important;
  gap: 14px;
}

/* Brand y nav-right vuelven a ser transparentes (sin pills individuales) */
.nav.compact .brand,
.nav.compact .nav-right {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  height: auto;
}

/* Mobile mantiene su comportamiento (single pill comprimido) */
@media (max-width: 980px) {
  .nav.compact {
    padding: 6px 14px !important;
  }
}

/* =========================================================
   Hero collage: grilla 2×2 uniforme (todos los tiles del mismo tamaño)
   ========================================================= */
.hero-collage {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 14px !important;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
  position: relative;
}

/* Override de los tiles individuales: todos iguales, sin posición absoluta */
.hero-collage .tile,
.hero-collage .t-1,
.hero-collage .t-2,
.hero-collage .t-3,
.hero-collage .t-4 {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
}

/* Imagen llena el tile completamente */
.hero-collage .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile: mantener el grid 2x2 pero un poco más chico */
@media (max-width: 980px) {
  .hero-collage {
    max-width: 420px;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 480px) {
  .hero-collage {
    max-width: 100%;
    gap: 10px;
  }
}

/* =========================================================
   Página de gracias / confirmación
   ========================================================= */
.thanks-hero {
  margin-top: 32px;
  padding: 36px 32px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--c-accent) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-accent) 18%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thanks-hero .crumbs { font-size: 13px; color: var(--c-text-muted); margin-bottom: 8px; }
.thanks-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
}
.thanks-hero p { color: var(--c-text-soft); font-size: 15px; margin: 0 auto 16px; max-width: 56ch; }
.thanks-order-num {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-accent) 25%, transparent);
  font-size: 13px;
  color: var(--c-text);
}
.thanks-order-num strong { font-family: var(--font-display); letter-spacing: 0.04em; }
.thanks-check {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  color: #2bb673;
  animation: thanks-pop .6s cubic-bezier(.34, 1.56, .64, 1) both;
}
.thanks-check svg { width: 100%; height: 100%; }
.thanks-check svg circle {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: thanks-circle .7s ease-out forwards;
}
.thanks-check svg polyline {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: thanks-line .35s .55s ease-out forwards;
}
@keyframes thanks-pop {
  0% { transform: scale(.5); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes thanks-circle { to { stroke-dashoffset: 0; } }
@keyframes thanks-line   { to { stroke-dashoffset: 0; } }

.thanks-block {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.thanks-block-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.thanks-block-head .icon { width: 18px; height: 18px; color: var(--c-accent); }
.thanks-block-head h2 { font-size: 18px; margin: 0; letter-spacing: -0.01em; }
.thanks-note { color: var(--c-text-soft); font-size: 14px; margin: 0 0 18px; line-height: 1.6; }

/* Detalles bancarios */
.bank-details {
  display: flex; flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  overflow: hidden;
}
.bank-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  gap: 12px;
}
.bank-row + .bank-row { border-top: 1px solid var(--c-border); }
.bank-label { color: var(--c-text-muted); font-weight: 500; flex-shrink: 0; }
.bank-value {
  color: var(--c-text); font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 10px;
  text-align: right;
  word-break: break-all;
}
.bank-amount {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--c-accent);
}
.bank-amount small { font-size: 11px; color: var(--c-text-muted); font-weight: 500; }
.copy-btn {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-text);
  transition: background-color .18s, color .18s, border-color .18s;
}
.copy-btn:hover {
  background: color-mix(in srgb, var(--c-accent) 12%, transparent);
  color: var(--c-accent);
  border-color: color-mix(in srgb, var(--c-accent) 40%, transparent);
}
.copy-btn.is-copied {
  background: color-mix(in srgb, #2bb673 14%, transparent);
  color: #2bb673;
  border-color: color-mix(in srgb, #2bb673 50%, transparent);
}

.thanks-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}
.thanks-actions .btn { flex: 0 1 auto; }
.thanks-foot-note {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c-warning) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-warning) 30%, transparent);
  color: var(--c-text-soft);
  font-size: 13px;
}
.thanks-foot-note .icon { width: 14px; height: 14px; color: var(--c-warning); flex-shrink: 0; }

/* Próximos pasos */
.thanks-steps {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.thanks-steps h2 { font-size: 18px; margin: 0 0 18px; letter-spacing: -0.01em; }
.steps-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.steps-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}
.steps-list .step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.steps-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.steps-list p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-soft);
  line-height: 1.5;
}
.thanks-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .thanks-hero { padding: 28px 20px; }
  .thanks-block, .thanks-steps { padding: 20px 18px; }
  .bank-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bank-value { text-align: left; }
}

/* ════════════════════════════════════════════════════════
   CATÁLOGOS · Bioscents (IFRA + Perfumería fina)
   ════════════════════════════════════════════════════════ */

.cat-hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(0,0,0,.06);
}
.cat-hero-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cat-c1, #7c5cfc) 0%, var(--cat-c2, #a78bfa) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124,92,252,.32);
}
.cat-hero-ico .icon { width: 26px; height: 26px; }
.cat-hero h1 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; color: var(--c-text); }
.cat-hero p  { font-size: 13.5px; color: var(--c-text-muted); margin: 4px 0 0; }
.cat-hero-back {
  font-size: 12.5px; color: var(--c-text-muted); text-decoration: none;
  padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--c-border);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.cat-hero-back:hover { background: rgba(0,0,0,.04); color: var(--c-text); }

.cat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.cat-stat {
  background: var(--gl-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 14px;
  padding: 14px 18px;
}
.cat-stat .num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-text); }
.cat-stat .lbl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-text-muted); margin-top: 4px; }
.cat-stat-apto .num { color: #16a34a; }
.cat-stat-prec .num { color: #d97706; }
.cat-stat-result .num { color: var(--c-accent-3); }

.cat-controls {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 10px;
  padding: 14px;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
}
.cat-controls input,
.cat-controls select {
  height: 42px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--c-text);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.cat-controls input:focus,
.cat-controls select:focus { border-color: var(--c-accent-3); background: #fff; }
.cat-controls input::placeholder { color: var(--c-text-muted); }
.cat-controls .cat-search-wrap {
  position: relative;
}
.cat-controls .cat-search-wrap input { width: 100%; padding-left: 38px; }
.cat-controls .cat-search-wrap .icon {
  position: absolute; top: 50%; left: 13px; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--c-text-muted);
  pointer-events: none;
}
.cat-controls .btn-reset {
  height: 42px;
  padding: 0 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-muted);
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cat-controls .btn-reset:hover { background: rgba(255,255,255,.8); color: var(--c-text); }

.cat-table-wrap {
  margin-top: 18px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0,0,0,.06);
}
.cat-table-scroll { overflow-x: auto; }
table.cat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--c-text);
}
.cat-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-align: left;
  padding: 14px 18px;
  background: rgba(0,0,0,.025);
  border-bottom: 1px solid rgba(0,0,0,.06);
  white-space: nowrap;
}
.cat-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  vertical-align: middle;
}
.cat-table tbody tr:last-child td { border-bottom: 0; }
.cat-table tbody tr:hover { background: rgba(124,92,252,.04); }
.cat-table .cat-name { font-weight: 700; letter-spacing: -0.005em; }
.cat-table .cat-codigo { font-family: 'SF Mono','Menlo','Courier New',monospace; font-size: 12.5px; color: var(--c-text-muted); }
.cat-table .cat-notas { color: var(--c-text-soft); font-size: 13px; }
.cat-table .cat-creador { color: var(--c-text-soft); }
.cat-table .cat-obs { color: var(--c-text-muted); font-size: 12.5px; }
.cat-table .cat-dash { color: rgba(0,0,0,.18); }
.cat-table .cat-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--c-text-muted);
  font-size: 14px;
}

.cat-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.cat-pill-apto { background: rgba(34,197,94,.14); color: #15803d; border: 1px solid rgba(34,197,94,.25); }
.cat-pill-prec { background: rgba(245,158,11,.14); color: #b45309; border: 1px solid rgba(245,158,11,.30); }
.cat-pill-no   { background: rgba(239,68,68,.14); color: #b91c1c; border: 1px solid rgba(239,68,68,.25); }
.cat-pill-masc { background: rgba(59,130,246,.14); color: #1e40af; border: 1px solid rgba(59,130,246,.25); }
.cat-pill-fem  { background: rgba(236,72,153,.14); color: #9d174d; border: 1px solid rgba(236,72,153,.25); }
.cat-pill-uni  { background: rgba(124,92,252,.14); color: #6d28d9; border: 1px solid rgba(124,92,252,.25); }

.cat-fam {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(0,0,0,.04);
  color: var(--c-text-soft);
}
.cat-fam-floral       { background: rgba(236,72,153,.10); color: #9d174d; }
.cat-fam-citrico      { background: rgba(245,158,11,.12); color: #b45309; }
.cat-fam-amaderado    { background: rgba(120,53,15,.12);  color: #78350f; }
.cat-fam-frutal       { background: rgba(239,68,68,.10);  color: #b91c1c; }
.cat-fam-gourmand     { background: rgba(180,83,9,.12);   color: #92400e; }
.cat-fam-fresco       { background: rgba(14,165,233,.12); color: #075985; }
.cat-fam-acuatico     { background: rgba(6,182,212,.12);  color: #155e75; }
.cat-fam-especiado    { background: rgba(217,119,6,.14);  color: #92400e; }
.cat-fam-balsamico    { background: rgba(124,92,252,.12); color: #6d28d9; }
.cat-fam-ambar        { background: rgba(202,138,4,.14);  color: #854d0e; }
.cat-fam-almizcle     { background: rgba(75,85,99,.10);   color: #374151; }
.cat-fam-aldehidico   { background: rgba(56,189,248,.12); color: #075985; }
.cat-fam-ciprés_bosque,
.cat-fam-ciprésbosque,
.cat-fam-ciprés       { background: rgba(34,197,94,.12);  color: #166534; }
.cat-fam-herbalfloral { background: rgba(132,204,22,.14); color: #3f6212; }

/* ── Aromas hub redesign ─────────────────────────────────── */
.aromas-hero {
  margin-top: 12px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(0,0,0,.06);
}
.aromas-hero h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; margin: 0; color: var(--c-text); }
.aromas-hero h2 em { font-style: italic; font-weight: 400; color: var(--c-accent-3); }
.aromas-hero p  { font-size: 14px; color: var(--c-text-muted); margin: 6px 0 0; max-width: 56ch; }
.aromas-hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(34,197,94,.08));
  border: 1px solid rgba(34,197,94,.3);
  color: #166534; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap;
}
.aromas-hero .badge .icon { width: 14px; height: 14px; }

.catalogos-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.catalogo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: var(--gl-light);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 180px;
}
.catalogo-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cat-c1, #7c5cfc) 0%, var(--cat-c2, #a78bfa) 100%);
  opacity: .07;
  transition: opacity .25s ease;
  pointer-events: none;
}
.catalogo-card:hover { border-color: rgba(255,255,255,.8); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.catalogo-card:hover::before { opacity: .14; }
.catalogo-card > * { position: relative; z-index: 1; }
.catalogo-card .ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cat-c1) 0%, var(--cat-c2) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.16);
}
.catalogo-card .ico .icon { width: 22px; height: 22px; }
.catalogo-card h3 { font-size: 17px; letter-spacing: -0.01em; margin: 0; color: var(--c-text); }
.catalogo-card p  { font-size: 13px; color: var(--c-text-muted); margin: 0; line-height: 1.5; }
.catalogo-card .count {
  margin-top: auto;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-text-muted);
  display: flex; align-items: center; gap: 6px;
}
.catalogo-card .count .arrow {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.catalogo-card:hover .count .arrow {
  background: var(--cat-c1);
  color: #fff;
  transform: translateX(3px);
}
.catalogo-card .count .arrow .icon { width: 12px; height: 12px; }

/* Color variants */
.cat-c-velas       { --cat-c1:#f97316; --cat-c2:#ea580c; }
.cat-c-jabones     { --cat-c1:#ec4899; --cat-c2:#db2777; }
.cat-c-difusores   { --cat-c1:#7c5cfc; --cat-c2:#a78bfa; }
.cat-c-cosmeticos  { --cat-c1:#22c55e; --cat-c2:#16a34a; }
.cat-c-textiles    { --cat-c1:#06b6d4; --cat-c2:#0891b2; }
.cat-c-ambientales { --cat-c1:#3b82f6; --cat-c2:#2563eb; }
.cat-c-hornillos   { --cat-c1:#ef4444; --cat-c2:#dc2626; }
.cat-c-sahumerios  { --cat-c1:#a16207; --cat-c2:#854d0e; }
.cat-c-automotor   { --cat-c1:#475569; --cat-c2:#334155; }
.cat-c-perfumeria  { --cat-c1:#be185d; --cat-c2:#9d174d; }

@media (max-width: 920px) {
  .cat-hero { grid-template-columns: 56px 1fr; }
  .cat-hero-back { grid-column: 1 / -1; justify-self: flex-start; }
  .cat-stats { grid-template-columns: repeat(2, 1fr); }
  .cat-controls { grid-template-columns: 1fr 1fr; }
  .cat-controls .cat-search-wrap { grid-column: 1 / -1; }
  .aromas-hero { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   BLOG · Listado e individual
   ════════════════════════════════════════════════════════ */

/* ─── Listing: featured hero ─── */
.blog-featured {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
  text-decoration: none;
  color: inherit;
  min-height: 360px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.blog-featured:hover { box-shadow: 0 28px 70px rgba(0,0,0,.15); }
.blog-featured-img {
  position: relative;
  background: #1a1028;
  overflow: hidden;
}
.blog-featured-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,92,252,.0) 0%, rgba(124,92,252,.18) 100%);
  pointer-events: none;
}
.blog-featured-tag {
  position: absolute; top: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  z-index: 2;
}
.blog-featured-content {
  padding: 44px 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-content .meta {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-accent-3);
  margin-bottom: 14px;
}
.blog-featured-content h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0;
}
.blog-featured-content > p {
  font-size: 14.5px; color: var(--c-text-muted); line-height: 1.65;
  margin: 14px 0 26px;
}
.blog-featured-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--c-accent-3);
}
.blog-featured-cta .icon { transition: transform .25s ease; width: 14px; height: 14px; }
.blog-featured:hover .blog-featured-cta .icon { transform: translateX(4px); }

/* ─── Listing: grid below featured ─── */
.blog-grid-modern {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.blog-card-modern {
  display: flex; flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gl-light);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.blog-card-modern:hover {
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.blog-card-modern .cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #1a1028;
}
.blog-card-modern .cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card-modern:hover .cover img { transform: scale(1.06); }
.blog-card-modern .body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.blog-card-modern .meta {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-accent-3);
}
.blog-card-modern h3 {
  font-size: 17px; letter-spacing: -0.01em; line-height: 1.3;
  color: var(--c-text); margin: 0;
}
.blog-card-modern p {
  font-size: 13.5px; color: var(--c-text-muted); line-height: 1.6;
  margin: 0;
}
.blog-card-modern .read-more {
  margin-top: auto;
  font-size: 12.5px; font-weight: 700; color: var(--c-accent-3);
  display: inline-flex; align-items: center; gap: 6px;
  padding-top: 10px;
}

/* ─── Single post ─── */
.post-hero {
  margin-top: 24px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: #1a1028;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 80px 56px 56px;
  color: #fff;
  isolation: isolate;
}
.post-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.post-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.7) 100%),
    linear-gradient(135deg, rgba(124,92,252,.25) 0%, transparent 60%);
  z-index: -1;
}
.post-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 22px;
}
.post-hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  color: #fff;
  margin: 0;
  max-width: 22ch;
}
.post-hero-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px; color: rgba(255,255,255,.85);
}
.post-hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.post-hero-meta .icon { width: 14px; height: 14px; opacity: .8; }

/* Article container */
.post-article {
  max-width: 740px;
  margin: 56px auto 0;
  padding: 0 8px;
}
.post-article p,
.post-article ul,
.post-article ol,
.post-article blockquote {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--c-text-soft);
  margin: 0 0 22px;
}
.post-article h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800; letter-spacing: -0.015em; line-height: 1.25;
  color: var(--c-text);
  margin: 44px 0 18px;
}
.post-article h3 {
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 32px 0 12px;
}
.post-article h4 {
  font-size: 16px; font-weight: 700;
  color: var(--c-accent-3);
  margin: 24px 0 8px;
}
.post-article a {
  color: var(--c-accent-3);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-article ul,
.post-article ol { padding-left: 22px; }
.post-article li { margin-bottom: 10px; }
.post-article strong { color: var(--c-text); font-weight: 700; }
.post-article blockquote {
  border-left: 3px solid var(--c-accent-3);
  background: color-mix(in srgb, var(--c-accent-3) 6%, transparent);
  padding: 18px 24px;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: var(--c-text);
}
.post-article img,
.post-article figure {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 16px;
}
.post-article figure img { border-radius: 16px; }
.post-article figcaption {
  text-align: center;
  font-size: 13px; color: var(--c-text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Post footer with share + back */
.post-footer {
  max-width: 740px;
  margin: 56px auto 0;
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--gl-medium);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.5);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.post-footer-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--c-accent-3);
  text-decoration: none;
}
.post-footer-back .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.post-footer-back:hover .icon { transform: translateX(-3px); }
.post-share { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--c-text-muted); }
.post-share .btn-share {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.04);
  color: var(--c-text-soft);
  text-decoration: none;
  transition: background .2s, color .2s;
  border: 1px solid rgba(0,0,0,.06);
}
.post-share .btn-share:hover { background: var(--c-accent-3); color: #fff; }
.post-share .btn-share .icon { width: 15px; height: 15px; }

/* Related posts at bottom */
.post-related {
  margin-top: 64px;
}
.post-related .section-head { margin-bottom: 16px; }

@media (max-width: 920px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { aspect-ratio: 16 / 10; }
  .blog-featured-content { padding: 30px 26px; }
  .post-hero { padding: 60px 28px 36px; min-height: 360px; }
  .post-article { padding: 0 16px; }
  .post-footer { padding: 22px 24px; }
}

/* ════════════════════════════════════════════════════════
   NOSOTROS · diseño exclusivo
   ════════════════════════════════════════════════════════ */

/* ─── 1. Brand hero: text + 2x2 stats grid ───────────── */
.ns-brand {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 30px;
  align-items: stretch;
}
.ns-brand-text {
  position: relative;
  border-radius: 28px;
  padding: 44px 40px;
  background:
    radial-gradient(ellipse at 80% 30%, color-mix(in srgb, var(--c-accent-3) 22%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, #1a1028 0%, #2a1a4a 100%);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.ns-brand-text::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 100% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 100% 50%, #000, transparent 75%);
  z-index: -1;
}
.ns-brand-text .eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  align-self: flex-start;
}
.ns-brand-text .year-big {
  font-size: clamp(80px, 11vw, 144px);
  font-weight: 800; letter-spacing: -0.06em; line-height: .9;
  margin: 18px 0 8px;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.ns-brand-text .lead {
  font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.55;
  max-width: 36ch;
  margin-top: 18px;
}

.ns-brand-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ns-stat-card {
  display: flex; flex-direction: column;
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--gl-medium);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease;
}
.ns-stat-card::before {
  content: "";
  position: absolute; top: -30%; right: -30%;
  width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ns-c1, #7c5cfc) 0%, transparent 70%);
  opacity: .14;
  pointer-events: none;
}
.ns-stat-card:hover { transform: translateY(-3px); }
.ns-stat-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-text-muted);
}
.ns-stat-card .value {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--c-text);
  margin-top: auto;
}
.ns-stat-card .desc {
  font-size: 12.5px; color: var(--c-text-muted); margin-top: 6px;
}
.ns-stat-c-1 { --ns-c1:#7c5cfc; }
.ns-stat-c-2 { --ns-c1:#22c55e; }
.ns-stat-c-3 { --ns-c1:#06b6d4; }
.ns-stat-c-4 { --ns-c1:#f59e0b; }

/* ─── 2. Historia: editorial lead + milestones timeline ─ */
.ns-historia {
  margin-top: 80px;
  padding: 50px 56px;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}
.ns-historia .kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-3);
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--c-accent-3) 10%, transparent);
}
.ns-historia h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--c-text);
  margin: 18px 0 22px;
  max-width: 22ch;
}
.ns-historia h2 em { font-style: italic; font-weight: 400; color: var(--c-accent-3); }
.ns-historia-lead {
  font-size: 17px; line-height: 1.75;
  color: var(--c-text-soft);
  max-width: 70ch;
}
.ns-historia-lead::first-letter {
  font-size: 3.4em;
  float: left;
  line-height: .85;
  margin: 4px 12px 0 0;
  font-weight: 800;
  color: var(--c-accent-3);
  letter-spacing: -0.04em;
}
.ns-historia-lead strong { color: var(--c-text); font-weight: 700; }
.ns-historia .actions {
  display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap;
}

.ns-milestones {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.ns-milestones::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-border), var(--c-border), transparent);
  z-index: 0;
}
.ns-milestone {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 14px;
  position: relative;
}
.ns-milestone .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ms-c1, #7c5cfc), var(--ms-c2, #a78bfa));
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 16px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--c-border), 0 6px 16px rgba(0,0,0,.12);
  position: relative;
  z-index: 1;
}
.ns-milestone .dot .icon { width: 10px; height: 10px; }
.ns-milestone .ms-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}
.ns-milestone .ms-title {
  font-size: 14.5px; font-weight: 700; color: var(--c-text);
  margin-bottom: 4px;
}
.ns-milestone .ms-desc {
  font-size: 12.5px; color: var(--c-text-muted); line-height: 1.5;
}
.ns-ms-1 { --ms-c1:#7c5cfc; --ms-c2:#a78bfa; }
.ns-ms-2 { --ms-c1:#f97316; --ms-c2:#ea580c; }
.ns-ms-3 { --ms-c1:#06b6d4; --ms-c2:#0891b2; }
.ns-ms-4 { --ms-c1:#22c55e; --ms-c2:#16a34a; }

/* ─── 3. Servicios: large numbered cards ──────────────── */
.ns-services {
  margin-top: 80px;
}
.ns-services-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}
.ns-services-head .kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-3);
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--c-accent-3) 10%, transparent);
}
.ns-services-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.022em; line-height: 1.15;
  color: var(--c-text);
  margin-top: 14px;
}
.ns-services-head h2 em { font-style: italic; font-weight: 400; color: var(--c-accent-3); }
.ns-services-head .lead {
  font-size: 14.5px; color: var(--c-text-muted); line-height: 1.6;
}

.ns-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ns-service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 32px;
  border-radius: 22px;
  background: var(--gl-light);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ns-service::before {
  content: "";
  position: absolute; bottom: -50%; right: -30%;
  width: 80%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--svc-c1, #7c5cfc) 0%, transparent 60%);
  opacity: .12;
  pointer-events: none;
  transition: opacity .25s ease;
}
.ns-service:hover {
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.ns-service:hover::before { opacity: .18; }
.ns-service > * { position: relative; z-index: 1; }
.ns-service .num {
  font-size: 56px;
  font-weight: 800; letter-spacing: -0.05em; line-height: .85;
  background: linear-gradient(135deg, var(--svc-c1) 0%, var(--svc-c2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.ns-service .body { display: flex; flex-direction: column; gap: 6px; }
.ns-service .body strong {
  font-size: 17px; letter-spacing: -0.005em; color: var(--c-text); font-weight: 700;
}
.ns-service .body p {
  font-size: 13.5px; color: var(--c-text-muted); line-height: 1.55;
  margin: 0;
}
.ns-service .arrow {
  margin-top: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.05);
  display: grid; place-items: center;
  color: var(--c-text-soft);
  transition: background .2s, color .2s, transform .2s;
}
.ns-service:hover .arrow {
  background: var(--svc-c1);
  color: #fff;
  transform: translateX(3px);
}
.ns-service .arrow .icon { width: 14px; height: 14px; }
.ns-svc-1 { --svc-c1:#7c5cfc; --svc-c2:#a78bfa; }
.ns-svc-2 { --svc-c1:#22c55e; --svc-c2:#16a34a; }
.ns-svc-3 { --svc-c1:#06b6d4; --svc-c2:#0891b2; }
.ns-svc-4 { --svc-c1:#f97316; --svc-c2:#ea580c; }

/* ─── 4. Filosofía: massive pull-quote + 2x2 principles ─ */
.ns-philosophy {
  margin-top: 80px;
  padding: 56px 50px;
  background:
    radial-gradient(ellipse at 20% 80%, color-mix(in srgb, var(--c-accent-3) 12%, transparent) 0%, transparent 60%),
    var(--gl-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
}
.ns-philosophy .kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-3);
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--c-accent-3) 10%, transparent);
}
.ns-philosophy h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.022em; line-height: 1.15;
  color: var(--c-text);
  margin: 16px 0 16px;
  max-width: 22ch;
}
.ns-philosophy h2 em { font-style: italic; font-weight: 400; color: var(--c-accent-3); }
.ns-philosophy > p {
  font-size: 16px; color: var(--c-text-muted); line-height: 1.7;
  max-width: 70ch;
  margin: 0 0 36px;
}

.ns-pullquote {
  position: relative;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500; font-style: italic; line-height: 1.35;
  color: var(--c-text);
  letter-spacing: -0.012em;
  padding: 28px 44px 28px 70px;
  border-left: 4px solid var(--c-accent-3);
  background: rgba(255,255,255,.5);
  border-radius: 0 18px 18px 0;
}
.ns-pullquote::before {
  content: "“";
  position: absolute;
  top: 4px; left: 22px;
  font-size: 84px;
  font-style: normal;
  color: var(--c-accent-3);
  opacity: .35;
  line-height: 1;
  font-family: Georgia, serif;
}

.ns-principles {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ns-principle {
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.06);
  display: flex; gap: 14px; align-items: flex-start;
}
.ns-principle .ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pr-c1, #7c5cfc), var(--pr-c2, #a78bfa));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.ns-principle .ico .icon { width: 18px; height: 18px; }
.ns-principle strong { font-size: 14.5px; color: var(--c-text); display: block; margin-bottom: 3px; }
.ns-principle span  { font-size: 13px; color: var(--c-text-muted); line-height: 1.55; }
.ns-pr-1 { --pr-c1:#22c55e; --pr-c2:#16a34a; }
.ns-pr-2 { --pr-c1:#3b82f6; --pr-c2:#2563eb; }
.ns-pr-3 { --pr-c1:#06b6d4; --pr-c2:#0891b2; }
.ns-pr-4 { --pr-c1:#ec4899; --pr-c2:#db2777; }

/* ─── 5. Trust strip ──────────────────────────────────── */
.ns-trust-strip {
  margin-top: 80px;
  padding: 28px 38px;
  border-radius: 22px;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.ns-trust-item {
  display: flex; gap: 14px; align-items: center;
  padding: 0 24px;
  border-right: 1px solid rgba(0,0,0,.08);
}
.ns-trust-item:last-child { border-right: 0; }
.ns-trust-item .ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c-accent-3) 12%, transparent);
  color: var(--c-accent-3);
  display: grid; place-items: center;
}
.ns-trust-item .ico .icon { width: 20px; height: 20px; }
.ns-trust-item strong { display: block; font-size: 14.5px; color: var(--c-text); margin-bottom: 2px; }
.ns-trust-item span { font-size: 12.5px; color: var(--c-text-muted); line-height: 1.5; }

/* ─── 6. Final dual CTA ──────────────────────────────── */
.ns-final {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ns-final-panel {
  position: relative;
  padding: 44px 40px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  min-height: 280px;
  isolation: isolate;
  transition: transform .25s ease;
}
.ns-final-panel:hover { transform: translateY(-3px); }
.ns-final-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000, transparent 75%);
  z-index: 0;
}
.ns-final-panel > * { position: relative; z-index: 1; }
.ns-final-b2b {
  background: linear-gradient(135deg, #1a1028 0%, #4a1a78 100%);
  color: #fff;
}
.ns-final-retail {
  background: var(--gl-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
  color: var(--c-text);
}
.ns-final-panel .num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.ns-final-b2b .num { color: rgba(255,255,255,.55); }
.ns-final-retail .num { color: var(--c-accent-3); }
.ns-final-panel h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
  margin: 0;
}
.ns-final-b2b h3 { color: #fff; }
.ns-final-panel p {
  font-size: 14.5px; line-height: 1.6;
  margin: 16px 0 0;
}
.ns-final-b2b p { color: rgba(255,255,255,.78); }
.ns-final-retail p { color: var(--c-text-muted); }
.ns-final-panel .btn-final {
  margin-top: auto; padding-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700;
}
.ns-final-b2b .btn-final { color: #fff; }
.ns-final-retail .btn-final { color: var(--c-accent-3); }
.ns-final-panel .btn-final .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.ns-final-panel:hover .btn-final .icon { transform: translateX(4px); }

@media (max-width: 920px) {
  .ns-brand { grid-template-columns: 1fr; }
  .ns-historia { padding: 38px 28px; }
  .ns-services-head { grid-template-columns: 1fr; }
  .ns-services-grid { grid-template-columns: 1fr; }
  .ns-philosophy { padding: 38px 28px; }
  .ns-principles { grid-template-columns: 1fr; }
  .ns-pullquote { padding: 22px 28px 22px 56px; }
  .ns-pullquote::before { font-size: 64px; left: 16px; }
  .ns-milestones { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .ns-milestones::before { display: none; }
  .ns-trust-strip { grid-template-columns: 1fr; gap: 18px; }
  .ns-trust-item { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.08); padding: 14px 0; }
  .ns-trust-item:last-child { border-bottom: 0; }
  .ns-final { grid-template-columns: 1fr; }
  .ns-service { grid-template-columns: 1fr; }
}

/* ─── Nosotros · Dark mode overrides ─────────────────── */
[data-mode="dark"] .ns-philosophy {
  background:
    radial-gradient(ellipse at 20% 80%, color-mix(in srgb, var(--c-accent-3) 18%, transparent) 0%, transparent 60%),
    rgba(28, 28, 32, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}
[data-mode="dark"] .ns-pullquote {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-text);
  border-left-color: var(--c-accent-3);
}
[data-mode="dark"] .ns-pullquote::before {
  color: var(--c-accent-3);
  opacity: .55;
}
[data-mode="dark"] .ns-principle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-historia {
  background: rgba(28, 28, 32, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-milestones::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.10), transparent);
}
[data-mode="dark"] .ns-milestone .dot {
  border-color: #1c1c20;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 6px 16px rgba(0, 0, 0, 0.35);
}
[data-mode="dark"] .ns-milestones {
  border-top-color: rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-stat-card {
  background: rgba(28, 28, 32, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-trust-strip {
  background: rgba(28, 28, 32, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-trust-item {
  border-right-color: rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-service {
  background: rgba(28, 28, 32, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-mode="dark"] .ns-service .arrow {
  background: rgba(255, 255, 255, 0.06);
}
[data-mode="dark"] .ns-final-retail {
  background: rgba(28, 28, 32, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--c-text);
}

/* ════════════════════════════════════════════════════════
   INICIO · diseño exclusivo
   ════════════════════════════════════════════════════════ */

/* ─── 1. Hero editorial ─────────────────────────────── */
.hp-hero {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 540px;
  position: relative;
}
.hp-hero-text { display: flex; flex-direction: column; }
.hp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 99px;
  background: var(--gl-medium);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.55);
  color: var(--c-accent-3);
  align-self: flex-start;
}
.hp-hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
  animation: hp-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes hp-dot-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
  50%     { box-shadow: 0 0 0 6px rgba(34,197,94,.10); }
}
.hp-hero h1 {
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .95;
  color: var(--c-text);
  margin: 22px 0 26px;
}
.hp-hero h1 em {
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  padding: 0 0.08em 0.05em 0.08em;
  margin: 0 -0.04em;
  background: linear-gradient(135deg, #7c5cfc 0%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hp-hero .lead {
  font-size: 17px; color: var(--c-text-muted); line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 32px;
}
.hp-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-hero-trust {
  margin-top: 38px;
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--c-text-muted);
}
.hp-hero-trust span {
  display: inline-flex; align-items: center; gap: 6px;
}
.hp-hero-trust .icon {
  width: 14px; height: 14px;
  color: #22c55e;
}

/* Product mosaic (right side) */
.hp-mosaic {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.hp-mosaic-tile {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--mt-bg, #f5f4ef);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
  transition: transform .35s ease;
}
.hp-mosaic-tile:hover { transform: translateY(-6px); }
.hp-mosaic-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hp-mosaic-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.hp-mosaic-tile .name {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.hp-mt-1 { --mt-bg:#f0ebff; }
.hp-mt-2 { --mt-bg:#e6efff; }
.hp-mt-3 { --mt-bg:#f5e8dc; }
.hp-mt-4 { --mt-bg:#f5efde; }
/* Floating badge */
.hp-mosaic-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 22px;
  border-radius: 99px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.hp-mosaic-badge .num-mini {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #7c5cfc, #c084fc);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.hp-mosaic-badge .label-mini {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ─── 2. Marquee de stats ───────────────────────────── */
.hp-marquee {
  margin-top: 56px;
  padding: 22px 32px;
  border-radius: 22px;
  background: var(--gl-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 14px 36px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hp-marquee-item {
  display: flex; align-items: center; gap: 14px;
  padding: 0 18px;
  border-right: 1px solid rgba(0,0,0,.08);
}
.hp-marquee-item:last-child { border-right: 0; }
.hp-marquee-item .num {
  font-size: 30px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--c-text); line-height: 1;
  background: linear-gradient(135deg, var(--m-c1, #7c5cfc), var(--m-c2, #c084fc));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hp-marquee-item .label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-text-muted);
  line-height: 1.3;
}
.hp-m-1 { --m-c1:#7c5cfc; --m-c2:#a78bfa; }
.hp-m-2 { --m-c1:#22c55e; --m-c2:#16a34a; }
.hp-m-3 { --m-c1:#06b6d4; --m-c2:#0891b2; }
.hp-m-4 { --m-c1:#f59e0b; --m-c2:#d97706; }

/* ─── 3. Categorías con foto ────────────────────────── */
.hp-section {
  margin-top: 80px;
}
.hp-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}
.hp-section-head .kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-3);
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--c-accent-3) 10%, transparent);
}
.hp-section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.022em; line-height: 1.15;
  color: var(--c-text);
  margin-top: 14px;
}
.hp-section-head h2 em { font-style: italic; font-weight: 400; color: var(--c-accent-3); }

.hp-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hp-cat {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 24px 28px;
  background: linear-gradient(135deg, var(--cat-c1), var(--cat-c2));
  color: #fff;
  isolation: isolate;
  transition: transform .35s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.hp-cat:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.hp-cat::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.55) 100%);
  z-index: -1;
}
.hp-cat::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 60% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 100% 0%, #000, transparent 70%);
  z-index: -1;
}
.hp-cat-num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: .75;
  margin-bottom: 12px;
}
.hp-cat h3 {
  font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 8px;
}
.hp-cat p {
  font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.5;
  margin: 0 0 18px;
}
.hp-cat-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.22);
  display: grid; place-items: center;
  color: #fff;
  align-self: flex-start;
  transition: background .25s, transform .25s;
}
.hp-cat:hover .hp-cat-arrow { background: rgba(255,255,255,.32); transform: translateX(4px); }
.hp-cat-arrow .icon { width: 14px; height: 14px; }
.hp-cat-1 { --cat-c1:#1e3a8a; --cat-c2:#0d1428; }
.hp-cat-2 { --cat-c1:#0f3d2a; --cat-c2:#0a2418; }
.hp-cat-3 { --cat-c1:#3a1c40; --cat-c2:#1d0e22; }
.hp-cat-4 { --cat-c1:#3a2818; --cat-c2:#1c1410; }

/* ─── 4. Spotlight (custom — preservando IDs) ───────── */
.hp-spot {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--gl-medium);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
  min-height: 460px;
}
.hp-spot-visual {
  position: relative;
  background: linear-gradient(135deg, var(--g1, #1e3a8a), var(--g2, #0d1428));
  display: grid; place-items: center;
  overflow: hidden;
}
.hp-spot-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 35%, transparent 80%);
}
.hp-spot-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hp-spot-content {
  padding: 44px 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.hp-spot-content .badge-spot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--c-accent-3) 12%, transparent);
  color: var(--c-accent-3);
  align-self: flex-start;
  margin-bottom: 14px;
}
.hp-spot-content .cat {
  font-size: 11px; color: var(--c-text-muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 10px;
}
.hp-spot-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.022em; line-height: 1.1;
  color: var(--c-text);
  margin: 0 0 14px;
}
.hp-spot-content .desc {
  font-size: 14.5px; color: var(--c-text-muted); line-height: 1.65;
  margin-bottom: 20px;
}
.hp-spot-content .price-big {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--c-text);
  margin: 0 0 14px;
}
.hp-spot-content .price-big small {
  font-weight: 500; font-size: 13px; color: var(--c-text-muted);
}
.hp-spot-content .notes-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.hp-spot-content .notes-row .note {
  font-size: 11.5px; padding: 4px 10px;
  background: rgba(0,0,0,.04);
  color: var(--c-text-soft);
  border-radius: 99px;
  border: 1px solid var(--c-border);
}
.hp-spot-content .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── 5. Programa B2B custom ────────────────────────── */
.hp-b2b {
  margin-top: 80px;
  padding: 56px 50px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--c-accent-3) 26%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, #1a1028 0%, #2a1a4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hp-b2b::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 0% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 0% 50%, #000, transparent 75%);
  z-index: -1;
}
.hp-b2b-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hp-b2b .eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
}
.hp-b2b h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  color: #fff;
  margin: 18px 0 18px;
  max-width: 22ch;
}
.hp-b2b h2 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hp-b2b > div > p {
  font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.65;
  margin: 0 0 30px;
  max-width: 56ch;
}
.hp-b2b .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-b2b .actions .btn-primary {
  background: #fff; color: var(--c-text);
}
.hp-b2b .actions .btn-glass {
  background: rgba(255,255,255,.10); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.hp-b2b-features {
  display: grid; gap: 14px;
}
.hp-b2b-feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hp-b2b-feat .ico {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c5cfc 0%, #c084fc 100%);
  display: grid; place-items: center;
  color: #fff;
}
.hp-b2b-feat .ico .icon { width: 18px; height: 18px; }
.hp-b2b-feat strong { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; }
.hp-b2b-feat span  { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.55; }

/* ─── 6. Apps grid (compact) ────────────────────────── */
.hp-apps {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.hp-app {
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  padding: 22px 14px 20px;
  border-radius: 18px;
  background: var(--gl-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.5);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-app:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.hp-app .ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ap-c1, #7c5cfc), var(--ap-c2, #a78bfa));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.hp-app .ico .icon { width: 22px; height: 22px; }
.hp-app .label { font-size: 12.5px; font-weight: 700; letter-spacing: -0.005em; color: var(--c-text); }
.hp-app small { font-size: 10.5px; color: var(--c-text-muted); line-height: 1.4; display: block; }
.hp-ap-1 { --ap-c1:#f97316; --ap-c2:#ea580c; }
.hp-ap-2 { --ap-c1:#7c5cfc; --ap-c2:#a78bfa; }
.hp-ap-3 { --ap-c1:#ec4899; --ap-c2:#db2777; }
.hp-ap-4 { --ap-c1:#22c55e; --ap-c2:#16a34a; }
.hp-ap-5 { --ap-c1:#06b6d4; --ap-c2:#0891b2; }
.hp-ap-6 { --ap-c1:#a16207; --ap-c2:#854d0e; }
.hp-ap-7 { --ap-c1:#3b82f6; --ap-c2:#2563eb; }
.hp-ap-8 { --ap-c1:#be185d; --ap-c2:#9d174d; }

/* ─── 7. Final CTA ──────────────────────────────────── */
.hp-final {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hp-final-panel {
  position: relative;
  padding: 44px 40px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  min-height: 280px;
  isolation: isolate;
  transition: transform .25s ease;
}
.hp-final-panel:hover { transform: translateY(-3px); }
.hp-final-b2b {
  background: linear-gradient(135deg, #1a1028 0%, #4a1a78 100%);
  color: #fff;
}
.hp-final-b2b::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000, transparent 75%);
  z-index: 0;
}
.hp-final-retail {
  background: var(--gl-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
  color: var(--c-text);
}
.hp-final-panel > * { position: relative; z-index: 1; }
.hp-final-panel .num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hp-final-b2b .num { color: rgba(255,255,255,.55); }
.hp-final-retail .num { color: var(--c-accent-3); }
.hp-final-panel h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
  margin: 0;
}
.hp-final-b2b h3 { color: #fff; }
.hp-final-panel p {
  font-size: 14.5px; line-height: 1.6;
  margin: 16px 0 0;
}
.hp-final-b2b p { color: rgba(255,255,255,.78); }
.hp-final-retail p { color: var(--c-text-muted); }
.hp-final-panel .btn-final {
  margin-top: auto; padding-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700;
}
.hp-final-b2b .btn-final { color: #fff; }
.hp-final-retail .btn-final { color: var(--c-accent-3); }
.hp-final-panel .btn-final .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.hp-final-panel:hover .btn-final .icon { transform: translateX(4px); }

/* ─── Dark mode overrides ──────────────────────────── */
[data-mode="dark"] .hp-marquee {
  background: rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .hp-marquee-item { border-right-color: rgba(255,255,255,.08); }
[data-mode="dark"] .hp-spot {
  background: rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .hp-app {
  background: rgba(28,28,32,.6);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .hp-spot-content .notes-row .note {
  background: rgba(255,255,255,.06);
  color: var(--c-text-soft);
  border-color: rgba(255,255,255,.10);
}
[data-mode="dark"] .hp-final-retail {
  background: rgba(28,28,32,.78);
  border-color: rgba(255,255,255,.08);
  color: var(--c-text);
}
[data-mode="dark"] .hp-mosaic-badge {
  background: rgba(28,28,32,.92);
  border-color: rgba(255,255,255,.10);
  color: var(--c-text);
}

@media (max-width: 920px) {
  .hp-hero { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .hp-mosaic { aspect-ratio: 1 / .9; }
  .hp-marquee { grid-template-columns: 1fr 1fr; }
  .hp-marquee-item:nth-child(2) { border-right: 0; }
  .hp-cats { grid-template-columns: 1fr 1fr; }
  .hp-spot { grid-template-columns: 1fr; }
  .hp-spot-visual { aspect-ratio: 4 / 3; }
  .hp-b2b { padding: 38px 28px; }
  .hp-b2b-grid { grid-template-columns: 1fr; gap: 30px; }
  .hp-apps { grid-template-columns: repeat(4, 1fr); }
  .hp-final { grid-template-columns: 1fr; }
  .hp-section-head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hp-cats { grid-template-columns: 1fr; }
  .hp-apps { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════
   TIENDA · diseño exclusivo (prefijo .tn-)
   ════════════════════════════════════════════════════════ */

/* ─── 1. Shop hero ───────────────────────────────────── */
.tn-hero {
  margin-top: 24px;
  padding: 40px 44px 36px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--c-accent-3) 18%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, color-mix(in srgb, #06b6d4 14%, transparent) 0%, transparent 55%),
    var(--gl-strong);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tn-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 100% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 100% 0%, #000, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.tn-hero .kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-3);
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--c-accent-3) 10%, transparent);
}
.tn-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
  color: var(--c-text);
  margin: 18px 0 12px;
  max-width: 22ch;
}
.tn-hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, #7c5cfc 0%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.1em 0.05em 0.06em;
  margin: 0 -0.04em;
}
.tn-hero .stats-inline {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin: 14px 0 28px;
  font-size: 13.5px; color: var(--c-text-muted);
}
.tn-hero .stats-inline span {
  display: inline-flex; align-items: center; gap: 7px;
}
.tn-hero .stats-inline strong { color: var(--c-text); font-weight: 700; }
.tn-hero .stats-inline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent-3); }

/* Búsqueda entre hero y banner promo · fuera de la tarjeta .tn-hero */
.tn-shop-search {
  margin: 22px 0 16px;
  padding: 0;
}
.tn-shop-search .tn-search { margin-top: 0; }

.tn-search {
  position: relative;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tn-search-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 22, 35, 0.12);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--c-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 12px rgba(15, 22, 35, 0.08);
  transition: transform .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.tn-search-icon:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(15, 22, 35, 0.12);
}
.tn-search-icon svg { width: 20px; height: 20px; }
.tn-search input {
  flex: 1; min-width: 0;
  height: 56px;
  padding: 0 22px;
  font-size: 16px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid rgba(15, 22, 35, 0.12);
  border-radius: 99px;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 12px rgba(15, 22, 35, 0.06);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.tn-search input:focus {
  border-color: var(--c-accent-3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 4px color-mix(in srgb, var(--c-accent-3) 14%, transparent);
}
.tn-search input::placeholder { color: var(--c-text-muted); }

/*
  El input lleva clase .search-input → reglas globales “Liquid glass” aplican
  background !important que lo fusila con la tarjeta. Forzamos sólido acá.
*/
.tn-shop-search .tn-search input.shop-search-input,
.tn-shop-search .tn-search input.search-input {
  background: #fff !important;
  border-color: rgba(15, 22, 35, 0.12) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

[data-mode="dark"] .tn-search-icon {
  background: rgba(36, 38, 46, 0.92);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--c-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.35);
}
[data-mode="dark"] .tn-search input {
  background: rgba(36, 38, 46, 0.92);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.30);
}
[data-mode="dark"] .tn-shop-search .tn-search input.shop-search-input,
[data-mode="dark"] .tn-shop-search .tn-search input.search-input {
  background: rgba(36, 38, 46, 0.97) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

.tn-cats {
  margin-top: 28px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.tn-cat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 10px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid rgba(15, 22, 35, 0.10);
  font-size: 13.5px; font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(15, 22, 35, 0.05);
  transition: transform .2s var(--ease-soft), box-shadow .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.tn-cat:hover {
  border-color: color-mix(in srgb, var(--cat-c1, var(--c-accent)) 50%, transparent);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 22px -6px color-mix(in srgb, var(--cat-c1, var(--c-accent)) 40%, transparent);
}
[data-mode="dark"] .tn-cat {
  background: rgba(36, 38, 46, 0.92);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.30);
}
.tn-cat .ico {
  width: 18px; height: 18px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cat-c1, #7c5cfc), var(--cat-c2, #a78bfa));
  color: #fff;
}
.tn-cat .ico .icon { width: 11px; height: 11px; }
.tn-cat .count {
  font-size: 11px; font-weight: 700;
  color: var(--c-text-muted);
  background: rgba(0,0,0,.05);
  padding: 2px 7px; border-radius: 99px;
}
.tn-cat-1 { --cat-c1:#7c5cfc; --cat-c2:#a78bfa; }
.tn-cat-2 { --cat-c1:#ec4899; --cat-c2:#db2777; }
.tn-cat-3 { --cat-c1:#22c55e; --cat-c2:#16a34a; }
.tn-cat-4 { --cat-c1:#f59e0b; --cat-c2:#d97706; }

/* ─── 2. Shop layout ────────────────────────────────── */
.tn-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* ─── Sidebar de filtros ──────────────────────────── */
.tn-sidebar {
  position: static;
  display: flex; flex-direction: column; gap: 12px;
}
.tn-filter {
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px;
  padding: 18px 20px;
}
.tn-filter h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0 0 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.tn-filter h4 .clear {
  font-size: 11px; font-weight: 600;
  color: var(--c-accent-3);
  text-transform: none; letter-spacing: 0;
  cursor: pointer;
  background: none; border: 0;
  padding: 0;
}
.tn-filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.tn-filter-list li label {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
  font-size: 13.5px;
  color: var(--c-text-soft);
}
.tn-filter-list li label:hover { background: rgba(0,0,0,.04); }
[data-mode="dark"] .tn-filter-list li label:hover {
  background: rgba(255, 255, 255, 0.05);
}
.tn-filter-list li label:has(input:focus-visible) {
  outline: 2px solid var(--c-accent-3);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Checkbox: hit area sobre el pill (primer hijo de la fila) */
.tn-filter-list input[type=checkbox] {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}

/* Switch compacto · colores coherentes con --gl-* y accent MRP (#2d7dff) */
.tn-filter-list .tn-switch {
  position: relative;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--gl-medium);
  border: 1px solid var(--c-border);
  box-shadow:
    inset 0 1px 0 var(--gl-edge-top),
    inset 0 -1px 2px rgba(15, 22, 35, 0.04),
    0 1px 2px rgba(15, 22, 35, 0.04);
  transition:
    background .2s var(--ease-soft),
    border-color .2s var(--ease-soft),
    box-shadow .2s var(--ease-soft);
}
[data-mode="dark"] .tn-filter-list .tn-switch {
  background: color-mix(in srgb, var(--c-surface-3) 78%, transparent);
  border-color: var(--c-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 2px rgba(0, 0, 0, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.3);
}
.tn-filter-list label:hover .tn-switch {
  border-color: color-mix(in srgb, var(--c-accent) 28%, transparent);
}
.tn-filter-list .tn-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    #fff 0%,
    color-mix(in srgb, var(--c-surface-2) 42%, #fff) 100%
  );
  box-shadow:
    0 0 0 0.45px rgba(15, 22, 35, 0.1),
    0 1px 3px rgba(15, 22, 35, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform .22s var(--ease-soft),
    box-shadow .2s var(--ease-soft);
}
[data-mode="dark"] .tn-filter-list .tn-switch::after {
  background: linear-gradient(
    180deg,
    rgba(246, 248, 252, 0.95) 0%,
    rgba(212, 216, 224, 0.88) 100%
  );
  box-shadow:
    0 0 0 0.45px rgba(0, 0, 0, 0.45),
    0 1px 5px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tn-filter-list input[type=checkbox]:checked + .tn-switch {
  background: color-mix(in srgb, var(--c-accent) 92%, transparent);
  border-color: color-mix(in srgb, var(--c-accent) 55%, var(--gl-edge-top));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 0.45px rgba(45, 125, 255, 0.15),
    0 1px 4px rgba(45, 125, 255, 0.22);
}
.tn-filter-list input[type=checkbox]:checked + .tn-switch::after {
  transform: translateX(12px);
}


.tn-filter-list label:has(input:checked) {
  color: var(--c-text);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .tn-filter-list .tn-switch,
  .tn-filter-list .tn-switch::after {
    transition: none;
  }
}
.tn-filter-list .lbl { flex: 1; }
.tn-filter-list .count {
  font-size: 11.5px;
  color: var(--c-text-muted);
  font-weight: 600;
}
.tn-filter-list .nota-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
}

.tn-range {
  display: grid; grid-template-columns: 1fr 14px 1fr; gap: 8px; align-items: center;
}
.tn-range input {
  width: 100%; height: 38px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.65);
  outline: none;
}
.tn-range input:focus { border-color: var(--c-accent-3); background: #fff; }
.tn-range .sep { text-align: center; color: var(--c-text-muted); }
.tn-filter .btn-apply {
  width: 100%; margin-top: 12px;
  padding: 11px 0;
  border-radius: 99px;
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 100%);
  color: #fff;
  font-size: 13.5px; font-weight: 700;
  border: 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(124,92,252,.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tn-filter .btn-apply:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(124,92,252,.45); }

.tn-help {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #25D366 25%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  border-radius: 18px;
  padding: 22px 22px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tn-help .ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  margin: 0 auto 12px;
  color: #fff;
}
.tn-help .ico .icon { width: 22px; height: 22px; }
.tn-help h4 { font-size: 14px; color: #fff; margin: 0 0 4px; letter-spacing: -0.01em; }
.tn-help p { font-size: 12.5px; color: rgba(255,255,255,.82); margin: 0 0 14px; line-height: 1.5; }
.tn-help .btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 99px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s;
}
.tn-help .btn:hover { background: rgba(255,255,255,.3); }

/* ─── Shop main ─────────────────────────────────── */
.tn-main { display: flex; flex-direction: column; gap: 16px; }

.tn-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
}
.tn-toolbar .results {
  font-size: 13.5px; color: var(--c-text-soft);
}
.tn-toolbar .results strong { color: var(--c-text); }
.tn-toolbar select {
  height: 38px;
  padding: 0 36px 0 14px;
  font-size: 13.5px; font-weight: 600;
  color: var(--c-text);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 99px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color .15s;
}
.tn-toolbar select:focus { border-color: var(--c-accent-3); background-color: #fff; }

/* ─── Toggle filtros móvil ───────────────────────── */
.tn-filters-toggle {
  display: none;
  align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--gl-medium);
  border: 1px solid rgba(255,255,255,.5);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  margin-bottom: 14px;
}
.tn-filters-toggle .icon { width: 16px; height: 16px; }

/* ─── Active filter chips (tienda usa .active-filters + .tn-active-chips) ───────── */
.tn-active-chips.active-filters { margin-bottom: 16px; }

/* ─── Product grid (envuelve el existing) ────────── */
.tn-grid-wrap {
  background: var(--gl-light);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 18px;
  padding: 18px;
}

/* ─── Pagination custom ──────────────────────────── */
.tn-pagination {
  display: flex; gap: 6px; justify-content: center; align-items: center;
  padding: 18px 0;
}
.tn-pagination a {
  min-width: 38px; height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--gl-light);
  border: 1px solid rgba(255,255,255,.5);
  color: var(--c-text-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.tn-pagination a:hover { background: #fff; color: var(--c-text); border-color: var(--c-accent-3); }
.tn-pagination a.active {
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(124,92,252,.32);
}

/* ─── Promo strip override ───────────────────────── */
.tn-promo {
  margin: 14px 0 0;
  max-width: none;
  padding: 0;
  height: 50px;
  display: flex;
  align-items: center;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(110deg,
    #ff7a59 0%,
    #ffb86b 18%,
    #ff6fb5 38%,
    #b48dff 58%,
    #5b9aff 78%,
    #2d7dff 100%);
  background-size: 220% 100%;
  animation: tn-promo-bg 14s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 10px 28px -8px rgba(180, 141, 255, 0.45),
    0 4px 14px rgba(45, 125, 255, 0.20);
  color: #fff;
}
.tn-promo::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255,255,255,0.28), transparent 60%);
  border-radius: inherit;
}
.tn-promo .promo-strip {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
}
/* Track ocupa alto del contenedor para centrar contenido ópticamente */
.tn-promo .promo-track {
  display: inline-flex !important;
  align-items: center;
  align-self: center;
  height: 100%;
  line-height: 1.2;
}
.tn-promo .promo-track > span {
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  gap: 7px;
}
.tn-promo .promo-track > span strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: 99px;
  margin: 0 2px;
  font-size: 12.5px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
/* Reset alineación de .icon (.vertical-align:-0.18em inclina todo hacia arriba) */
.tn-promo .promo-track .icon {
  display: flex;
  width: 15px;
  height: 15px;
  vertical-align: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.95;
}
/* Bullet del loop: quitamos el punto 5×5 del strip genérico para centrar bien */
.tn-promo .promo-track .sep {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0 2px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}
@keyframes tn-promo-bg {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
[data-mode="dark"] .tn-promo {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 12px 32px -8px rgba(180, 141, 255, 0.55),
    0 4px 16px rgba(45, 125, 255, 0.30);
}
@media (max-width: 720px) {
  .tn-promo { max-width: 100%; }
}

/* ─── Dark mode overrides ────────────────────────── */
[data-mode="dark"] .tn-hero,
[data-mode="dark"] .tn-filter,
[data-mode="dark"] .tn-toolbar,
[data-mode="dark"] .tn-grid-wrap {
  background: rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .tn-hero {
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--c-accent-3) 22%, transparent) 0%, transparent 55%),
    rgba(28,28,32,.72);
}
[data-mode="dark"] .tn-search input,
[data-mode="dark"] .tn-range input,
[data-mode="dark"] .tn-toolbar select {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: var(--c-text);
}
[data-mode="dark"] .tn-cat {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
[data-mode="dark"] .tn-pagination a {
  background: rgba(28,28,32,.6);
  border-color: rgba(255,255,255,.08);
}

@media (max-width: 980px) {
  .tn-layout { grid-template-columns: 1fr; }
  .tn-sidebar {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 88%);
    z-index: 100;
    overflow-y: auto;
    padding: 70px 18px 18px;
    background: var(--c-bg);
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,.15);
  }
  .tn-sidebar.is-open { transform: translateX(0); }
  .tn-filters-toggle { display: inline-flex; }
  .tn-hero { padding: 30px 26px 28px; }
}

/* ════════════════════════════════════════════════════════
   TIENDA · diseño exclusivo v2 (boutique catalog · prefijo .tn2-)
   ════════════════════════════════════════════════════════ */

/* ─── 1. Hero editorial compacto ──────────────────── */
.tn2-hero {
  margin-top: 24px;
  padding: 56px 56px 48px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 20% 40%, color-mix(in srgb, var(--c-accent-3) 18%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 80%, color-mix(in srgb, #ec4899 14%, transparent) 0%, transparent 55%),
    var(--gl-strong);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 22px 50px rgba(0,0,0,.06);
  text-align: center;
}
.tn2-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, #000 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, #000 80%);
  z-index: -1;
}
.tn2-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px;
  border-radius: 99px;
  background: var(--gl-medium);
  border: 1px solid rgba(255,255,255,.55);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-3);
}
.tn2-hero .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}
.tn2-hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--c-text);
  margin: 18px auto 14px;
  max-width: 18ch;
}
.tn2-hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, #7c5cfc 0%, #c084fc 50%, #ec4899 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.1em 0.05em 0.06em;
  margin: 0 -0.04em;
}
.tn2-hero .lead {
  font-size: 16px; color: var(--c-text-muted); line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 30px;
}
.tn2-hero .lead strong { color: var(--c-text); font-weight: 700; }

/* Search big centered */
.tn2-searchbar {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  display: block; /* form reset */
}
/* WooCommerce submit — visually hidden, keyboard accessible */
.tn2-searchbar button[type="submit"],
.tn2-searchbar .screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  overflow: hidden; position: absolute;
  white-space: nowrap; margin: -1px;
}
.tn2-searchbar input,
.tn2-searchbar input.search-field {
  width: 100%; height: 60px;
  padding: 0 24px 0 60px;
  font-size: 16px;
  color: var(--c-text);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 99px;
  outline: none;
  box-shadow: 0 14px 36px rgba(0,0,0,.06);
  transition: all .25s ease;
}
.tn2-searchbar input:focus {
  border-color: var(--c-accent-3);
  background: #fff;
  box-shadow: 0 18px 44px rgba(124,92,252,.18), 0 0 0 4px color-mix(in srgb, var(--c-accent-3) 14%, transparent);
}
.tn2-searchbar input::placeholder { color: var(--c-text-muted); }
.tn2-searchbar .icon-search {
  position: absolute; top: 50%; left: 24px;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  color: var(--c-text-muted);
}
.tn2-searchbar .key {
  position: absolute; top: 50%; right: 14px;
  transform: translateY(-50%);
  font-size: 11px; font-weight: 700;
  padding: 5px 12px;
  background: rgba(0,0,0,.06);
  border-radius: 99px;
  color: var(--c-text-muted);
}

/* ─── 2. Sticky category tabs ─────────────────────── */
.tn2-tabs-wrap {
  position: sticky;
  top: 72px;
  z-index: 10;
  margin: 28px 0 0;
  background: transparent;
}
.tn2-tabs {
  display: flex; gap: 4px;
  padding: 8px;
  border-radius: 99px;
  background: var(--gl-strong);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.tn2-tabs::-webkit-scrollbar { display: none; }
.tn2-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 13.5px; font-weight: 600;
  color: var(--c-text-soft);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.tn2-tab:hover { background: rgba(0,0,0,.05); color: var(--c-text); }
.tn2-tab.active {
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,92,252,.32);
}
.tn2-tab .count {
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 99px;
  background: rgba(0,0,0,.08);
  color: var(--c-text-muted);
}
.tn2-tab.active .count { background: rgba(255,255,255,.22); color: rgba(255,255,255,.92); }
.tn2-tab .ico {
  width: 16px; height: 16px;
  color: currentColor;
  opacity: .8;
}

/* ─── 3. Filter chips bar ─────────────────────────── */
.tn2-filterbar {
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.tn2-filtergroup {
  display: flex; align-items: center; gap: 8px;
}
.tn2-filtergroup .group-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-text-muted);
}
.tn2-filterchip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.07);
  font-size: 12.5px; font-weight: 600;
  color: var(--c-text-soft);
  cursor: pointer;
  transition: all .2s;
}
.tn2-filterchip:hover {
  background: #fff;
  border-color: var(--c-accent-3);
  color: var(--c-text);
}
.tn2-filterchip.active {
  background: var(--c-accent-3);
  color: #fff;
  border-color: var(--c-accent-3);
}
.tn2-filterchip .nota-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tn2-filterchip .more {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  display: grid; place-items: center;
  font-size: 14px;
  line-height: 1;
  color: var(--c-text-muted);
}
.tn2-filtergroup .vbar {
  width: 1px; height: 22px;
  background: rgba(0,0,0,.08);
  margin: 0 4px;
}
.tn2-filterbar .more-filters {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--c-text);
  color: var(--c-bg);
  font-size: 12.5px; font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.tn2-filterbar .more-filters:hover { opacity: .85; transform: translateY(-1px); }
.tn2-filterbar .more-filters .icon { width: 13px; height: 13px; }

/* ─── 4. Active filters strip ─────────────────────── */
.tn2-active-strip {
  margin-top: 12px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.tn2-active-strip .lbl {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-text-muted);
  margin-right: 4px;
}
.tn2-active-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 6px 5px 12px;
  background: color-mix(in srgb, var(--c-accent-3) 12%, transparent);
  color: var(--c-accent-3);
  border: 1px solid color-mix(in srgb, var(--c-accent-3) 22%, transparent);
  border-radius: 99px;
  font-size: 12px; font-weight: 600;
}
.tn2-active-chip button {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(124,92,252,.22);
  color: var(--c-accent-3);
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.tn2-active-chip button:hover { background: var(--c-accent-3); color: #fff; }
.tn2-active-strip .clear-all {
  font-size: 12px; font-weight: 600;
  color: var(--c-text-muted);
  background: none; border: 0;
  cursor: pointer;
  text-decoration: underline;
}
.tn2-active-strip .clear-all:hover { color: var(--c-accent-3); }

/* ─── 5. Toolbar ──────────────────────────────────── */
.tn2-toolbar {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.tn2-toolbar .count-big {
  font-size: 14px; color: var(--c-text-muted);
}
.tn2-toolbar .count-big strong { color: var(--c-text); font-weight: 800; font-size: 18px; }
.tn2-toolbar .right { display: flex; gap: 8px; align-items: center; }
.tn2-toolbar select {
  height: 40px;
  padding: 0 36px 0 16px;
  font-size: 13.5px; font-weight: 600;
  color: var(--c-text);
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 99px;
  outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* ─── 6. Product grid ─────────────────────────────── */
.tn2-grid-wrap {
  margin-top: 18px;
}
.tn2-grid-wrap ul.products.columns-3,
.tn2-grid-wrap ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0; margin: 0;
}

/* ─── 7. Pagination ───────────────────────────────── */
.tn2-pag {
  margin-top: 36px;
  display: flex; gap: 6px; justify-content: center; align-items: center;
}
.tn2-pag a {
  min-width: 40px; height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
  color: var(--c-text-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.tn2-pag a:hover { color: var(--c-text); border-color: var(--c-accent-3); }
.tn2-pag a.active {
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(124,92,252,.32);
}

/* ─── 8. B2B / help banner final ─────────────────── */
.tn2-bottom {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.tn2-bottom-card {
  position: relative;
  padding: 38px 36px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: transform .25s ease;
}
.tn2-bottom-card:hover { transform: translateY(-3px); }
.tn2-bottom-b2b {
  background: linear-gradient(135deg, #1a1028 0%, #4a1a78 100%);
  color: #fff;
}
.tn2-bottom-b2b::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000, transparent 75%);
  z-index: -1;
}
.tn2-bottom-help {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #25D366 25%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  color: #fff;
}
.tn2-bottom-card .num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.tn2-bottom-b2b .num { color: rgba(255,255,255,.55); }
.tn2-bottom-help .num { color: rgba(255,255,255,.7); }
.tn2-bottom-card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
  color: #fff;
  margin: 0;
}
.tn2-bottom-card p {
  font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.6;
  margin: 14px 0 0;
}
.tn2-bottom-card .btn-final {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700;
  color: #fff;
}
.tn2-bottom-card .btn-final .icon { width: 14px; height: 14px; transition: transform .2s; }
.tn2-bottom-card:hover .btn-final .icon { transform: translateX(4px); }

/* ─── Dark mode ──────────────────────────────────── */
[data-mode="dark"] .tn2-hero {
  background:
    radial-gradient(ellipse at 20% 40%, color-mix(in srgb, var(--c-accent-3) 25%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 80%, color-mix(in srgb, #ec4899 18%, transparent) 0%, transparent 55%),
    rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .tn2-tabs,
[data-mode="dark"] .tn2-filterbar,
[data-mode="dark"] .tn2-pag a {
  background: rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .tn2-toolbar select {
  background: rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
  color: var(--c-text);
}
[data-mode="dark"] .tn2-searchbar input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: var(--c-text);
}
[data-mode="dark"] .tn2-filterchip {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
[data-mode="dark"] .tn2-filterbar .more-filters {
  background: var(--c-text);
  color: var(--c-bg);
}

@media (max-width: 980px) {
  .tn2-hero { padding: 38px 24px 32px; border-radius: 24px; }
  .tn2-grid-wrap ul.products { grid-template-columns: repeat(2, 1fr); }
  .tn2-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tn2-grid-wrap ul.products { grid-template-columns: 1fr; }
  .tn2-tabs-wrap { top: 60px; }
}

/* ─── tn2 · Layout con sidebar a la izquierda ────── */
.tn2-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
}
.tn2-sidebar {
  display: flex; flex-direction: column; gap: 12px;
}
.tn2-fgroup {
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
  padding: 16px 18px;
}
.tn2-fgroup h4 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0 0 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.tn2-fgroup h4 .clear {
  font-size: 11px; font-weight: 600;
  color: var(--c-accent-3);
  text-transform: none; letter-spacing: 0;
  cursor: pointer; background: none; border: 0; padding: 0;
}
.tn2-fgroup ul.tn2-fl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.tn2-fgroup ul.tn2-fl li label {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border-radius: 9px;
  cursor: pointer;
  transition: background .15s;
  font-size: 13px;
  color: var(--c-text-soft);
}
.tn2-fgroup ul.tn2-fl li label:hover { background: rgba(0,0,0,.04); }
.tn2-fgroup .chk-dot {
  width: 17px; height: 17px;
  border-radius: 5px;
  border: 1.5px solid var(--c-border);
  flex-shrink: 0;
  display: grid; place-items: center;
  transition: all .15s;
}
.tn2-fgroup input[type=checkbox] {
  position: absolute; opacity: 0; pointer-events: none;
}
.tn2-fgroup input[type=checkbox]:checked + .chk-dot {
  background: var(--c-accent-3);
  border-color: var(--c-accent-3);
}
.tn2-fgroup input[type=checkbox]:checked + .chk-dot::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}
.tn2-fgroup .lbl { flex: 1; }
.tn2-fgroup .count {
  font-size: 11px;
  color: var(--c-text-muted);
  font-weight: 600;
}
.tn2-fgroup .nota-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tn2-range {
  display: grid; grid-template-columns: 1fr 14px 1fr; gap: 6px; align-items: center;
}
.tn2-range input {
  width: 100%; height: 36px;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 9px;
  background: rgba(255,255,255,.65);
  outline: none;
}
.tn2-range input:focus { border-color: var(--c-accent-3); background: #fff; }
.tn2-range .sep { text-align: center; color: var(--c-text-muted); font-size: 12px; }
.tn2-fgroup .btn-apply {
  width: 100%; margin-top: 10px;
  padding: 10px 0;
  border-radius: 99px;
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 100%);
  color: #fff;
  font-size: 12.5px; font-weight: 700;
  border: 0; cursor: pointer;
  box-shadow: 0 3px 10px rgba(124,92,252,.32);
  transition: transform .2s, box-shadow .2s;
}
.tn2-fgroup .btn-apply:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(124,92,252,.45); }

[data-mode="dark"] .tn2-fgroup {
  background: rgba(28,28,32,.72);
  border-color: rgba(255,255,255,.08);
}
[data-mode="dark"] .tn2-range input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); color: var(--c-text); }

@media (max-width: 980px) {
  .tn2-layout { grid-template-columns: 1fr; }
  .tn2-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 88%); z-index: 100;
    max-height: 100vh;
    background: var(--c-bg);
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,.15);
    padding: 70px 18px 18px;
  }
  .tn2-sidebar.is-open { transform: translateX(0); }
  .tn2-toolbar #filters-toggle { display: inline-flex !important; }
}

/* ═══════════════════════════════════════════════════════════
   CARRITO — macOS Tahoe · Liquid Glass
   Funciona tanto con el template override como con el WC default.
   ═══════════════════════════════════════════════════════════ */

/* ── Two-column layout (el JS de page.php inyecta .tahoe-cart-layout) ── */
.bioscents-wc-cart .tahoe-cart-layout,
.bioscents-wc-cart .tahoe-cart-grid,
.bioscents-wc-cart .page-grid.tahoe-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.bioscents-wc-cart .tahoe-cart-sidebar {
  width: 100%;
  min-width: 0;
  max-width: 430px;
}

/* ═══ WC DEFAULT TABLE — transformar en cards ═══ */

/* Ocultar thead (labels de columna) */
.bioscents-wc-cart .shop_table.cart thead { display: none; }

/* Convertir la tabla y tbody en flex column */
.bioscents-wc-cart .woocommerce-cart-form .shop_table.cart,
.bioscents-wc-cart .woocommerce-cart-form .shop_table.cart tbody {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%;
}

/* Cada fila → glass card */
.bioscents-wc-cart .shop_table.cart tr.woocommerce-cart-form__cart-item,
.bioscents-wc-cart .shop_table.cart tr.cart_item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-xl);
  background: var(--gl-medium);
  border: 1px solid var(--gl-edge);
  box-shadow: var(--gl-shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  transition: box-shadow .3s var(--ease-soft), transform .25s var(--ease-soft);
}
.bioscents-wc-cart .shop_table.cart tr.cart_item:hover {
  box-shadow: var(--gl-shadow-strong);
  transform: translateY(-2px);
}

/* Cells pierden comportamiento de tabla */
.bioscents-wc-cart .shop_table.cart tr td {
  display: block; padding: 0; border: none;
  vertical-align: unset;
}

/* Columna eliminar → botón circular */
.bioscents-wc-cart .shop_table.cart td.product-remove { flex-shrink: 0; }
.bioscents-wc-cart .shop_table.cart td.product-remove a.remove {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  color: var(--c-text-muted); font-size: 18px; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.bioscents-wc-cart .shop_table.cart td.product-remove a.remove:hover {
  background: color-mix(in srgb, var(--c-danger) 12%, var(--c-surface));
  color: var(--c-danger);
  border-color: color-mix(in srgb, var(--c-danger) 30%, transparent);
}

/* Thumbnail */
.bioscents-wc-cart .shop_table.cart td.product-thumbnail { flex-shrink: 0; }
.bioscents-wc-cart .shop_table.cart td.product-thumbnail img {
  width: 72px; height: 72px;
  object-fit: cover; display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}
.bioscents-wc-cart .shop_table.cart td.product-thumbnail a { display: block; }

/* Nombre → flex-grow */
.bioscents-wc-cart .shop_table.cart td.product-name {
  flex: 1; min-width: 0;
  font-weight: 600; font-size: 14.5px; color: var(--c-text);
}
.bioscents-wc-cart .shop_table.cart td.product-name a {
  color: inherit; text-decoration: none; transition: color .15s;
}
.bioscents-wc-cart .shop_table.cart td.product-name a:hover { color: var(--c-accent); }
.bioscents-wc-cart .shop_table.cart td.product-name .variation { font-size: 12px; color: var(--c-text-muted); margin: 3px 0 0; }

/* Precio */
.bioscents-wc-cart .shop_table.cart td.product-price {
  font-size: 13px; color: var(--c-text-muted); white-space: nowrap;
}

/* Subtotal */
.bioscents-wc-cart .shop_table.cart td.product-subtotal {
  font-weight: 700; font-size: 15px; color: var(--c-text); white-space: nowrap;
}
.bioscents-wc-cart .shop_table.cart td.product-subtotal del {
  font-weight: 400; font-size: 12px; color: var(--c-text-muted);
}

/* Fila de acciones (cupón + update) */
.bioscents-wc-cart .shop_table.cart td.actions,
.bioscents-wc-cart .woocommerce-cart-form td.actions {
  display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center;
  width: 100%; padding: 10px 0 4px !important;
}
.bioscents-wc-cart .woocommerce-cart-form tr:last-child td {
  border: none;
}

/* Cupón pill */
.bioscents-wc-cart .woocommerce-cart-form .coupon {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 180px;
  padding: 8px 10px 8px 14px;
  background: var(--gl-light);
  border: 1px solid var(--gl-edge);
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
}
.bioscents-wc-cart .woocommerce-cart-form .coupon #coupon_code {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 13px; color: var(--c-text); font-family: inherit; min-width: 0;
}
.bioscents-wc-cart .woocommerce-cart-form .coupon #coupon_code::placeholder { color: var(--c-text-muted); }
.bioscents-wc-cart .woocommerce-cart-form .coupon button[name="apply_coupon"],
.bioscents-wc-cart .tahoe-btn-apply {
  padding: 7px 16px; border-radius: var(--r-pill);
  background: var(--c-accent); color: #fff;
  font-size: 12.5px; font-weight: 700;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.bioscents-wc-cart .woocommerce-cart-form .coupon button[name="apply_coupon"]:hover,
.bioscents-wc-cart .tahoe-btn-apply:hover { background: var(--c-accent-3); }

/* Botón actualizar */
.bioscents-wc-cart .woocommerce-cart-form button[name="update_cart"],
.bioscents-wc-cart .tahoe-btn-update {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1px solid var(--c-border);
  color: var(--c-text-muted); font-size: 12.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s;
}
.bioscents-wc-cart .woocommerce-cart-form button[name="update_cart"]:hover,
.bioscents-wc-cart .tahoe-btn-update:hover {
  background: var(--c-surface-3); color: var(--c-text);
}
.bioscents-wc-cart .woocommerce-cart-form button[name="update_cart"]:disabled { opacity: 0.4; }

/* ═══ QUANTITY ═══ (Woo: .tahoe-qty-plain = solo input) */
.bioscents-wc-cart .quantity,
.bioscents-wc-cart .tahoe-qty-stepper,
.bioscents-wc-cart .tahoe-qty-plain {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r-pill); padding: 3px 8px;
}
.bioscents-wc-cart .tqs-btn {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--c-text-muted); background: transparent;
  border: none; cursor: pointer; flex-shrink: 0;
  transition: background .15s, color .15s;
}
.bioscents-wc-cart .tqs-btn:hover { background: var(--c-surface-3); color: var(--c-text); }
.bioscents-wc-cart .qty,
.bioscents-wc-cart .input-text.qty {
  min-width: 28px; width: auto; max-width: 3.5rem; background: transparent !important; border: none !important;
  box-shadow: none !important; text-align: center; padding: 0;
  font-size: 13px; font-weight: 700; color: var(--c-text);
  -moz-appearance: textfield; appearance: textfield;
}
.bioscents-wc-cart .qty::-webkit-inner-spin-button,
.bioscents-wc-cart .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.bioscents-wc-cart .qty:focus { outline: none; }

/* ═══ CART TOTALS PANEL ═══ */
.bioscents-wc-cart .cart-collaterals { width: 100%; min-width: 0; }
.bioscents-wc-cart .tahoe-cart-sidebar,
.bioscents-wc-cart .cart_totals {
  position: sticky; top: 90px; align-self: start;
}
.bioscents-wc-cart .cart_totals.tahoe-cart-totals,
.bioscents-wc-cart .cart_totals {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  height: auto !important;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--gl-medium);
  border: 1px solid var(--gl-edge);
  box-shadow: var(--gl-shadow-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
/* Heading */
.bioscents-wc-cart .cart_totals h2,
.bioscents-wc-cart .tct-heading {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 16px; color: var(--c-text);
}
/* Tabla dentro del panel */
.bioscents-wc-cart .cart_totals .shop_table {
  width: 100%; border-collapse: collapse;
}
.bioscents-wc-cart .cart_totals .shop_table th,
.bioscents-wc-cart .cart_totals .shop_table td {
  padding: 10px 0; font-size: 13.5px; color: var(--c-text-soft);
  border-top: 1px solid var(--c-border); vertical-align: middle; text-align: left;
}
.bioscents-wc-cart .cart_totals .shop_table th { color: var(--c-text-muted); font-weight: 500; padding-right: 12px; }
.bioscents-wc-cart .cart_totals .shop_table tr:first-child th,
.bioscents-wc-cart .cart_totals .shop_table tr:first-child td { border-top: none; padding-top: 0; }
.bioscents-wc-cart .cart_totals .shop_table .order-total th,
.bioscents-wc-cart .cart_totals .shop_table .order-total td {
  font-size: 18px; font-weight: 800; color: var(--c-text);
  border-top: 1px solid var(--c-border-2); padding-top: 14px;
}
/* Opciones de envío */
.bioscents-wc-cart .cart_totals .woocommerce-shipping-totals td { padding-bottom: 6px; }
.bioscents-wc-cart .cart_totals .shipping-calculator-form { margin-top: 8px; }
/* tct-rows (template override) */
.bioscents-wc-cart .tct-rows { display: flex; flex-direction: column; }
.bioscents-wc-cart .tct-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 10px 0; font-size: 13.5px; color: var(--c-text-soft);
  border-top: 1px solid var(--c-border);
}
.bioscents-wc-cart .tct-row:first-child { border-top: none; padding-top: 0; }
.bioscents-wc-cart .tct-label { color: var(--c-text-muted); }
.bioscents-wc-cart .tct-value { font-weight: 600; color: var(--c-text); }
.bioscents-wc-cart .tct-total {
  padding: 14px 0 4px; border-top: 1px solid var(--c-border-2) !important;
}
.bioscents-wc-cart .tct-total .tct-label { font-size: 15px; font-weight: 700; color: var(--c-text); }
.bioscents-wc-cart .tct-total .tct-value { font-size: 20px; font-weight: 800; color: var(--c-text); }

/* ═══ CTA BUTTON ═══ */
.bioscents-wc-cart .wc-proceed-to-checkout { margin-top: 18px; }
.bioscents-wc-cart .wc-proceed-to-checkout .checkout-button,
.bioscents-wc-cart .tahoe-checkout-cta {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 24px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--c-accent) 0%, #4d9bff 100%);
  color: #fff !important; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  border: none; text-decoration: none;
  box-shadow: 0 4px 20px rgba(45,125,255,.38), 0 1px 0 rgba(255,255,255,.25) inset;
  transition: box-shadow .3s var(--ease-soft), transform .25s var(--ease-soft), filter .2s;
}
.bioscents-wc-cart .wc-proceed-to-checkout .checkout-button:hover,
.bioscents-wc-cart .tahoe-checkout-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,125,255,.52), 0 1px 0 rgba(255,255,255,.25) inset;
  filter: brightness(1.06);
}

/* ═══ NOTICES ═══ */
.bioscents-wc-cart .woocommerce-notices-wrapper .woocommerce-message,
.bioscents-wc-cart .woocommerce-notices-wrapper .woocommerce-error,
.bioscents-wc-cart .woocommerce-notices-wrapper .woocommerce-info {
  border-radius: var(--r-lg); padding: 12px 16px;
  margin-bottom: 14px; font-size: 13.5px; border-left: none;
}

/* ═══ MOBILE ═══ */
@media (max-width: 900px) {
  .bioscents-wc-cart .tahoe-cart-layout,
  .bioscents-wc-cart .tahoe-cart-grid,
  .bioscents-wc-cart .page-grid.tahoe-cart-grid { grid-template-columns: 1fr; }
  .bioscents-wc-cart .tahoe-cart-sidebar { max-width: none; }
  .bioscents-wc-cart .cart_totals { position: static; }
}
@media (max-width: 600px) {
  .bioscents-wc-cart .shop_table.cart tr.cart_item { flex-wrap: wrap; }
  .bioscents-wc-cart .shop_table.cart td.product-name { flex-basis: 0; }
  .bioscents-wc-cart .tahoe-cart-item { grid-template-columns: 64px 1fr; }
  .bioscents-wc-cart .tci-right {
    grid-column: 1/-1; flex-direction: row; align-items: center;
    justify-content: space-between; border-top: 1px solid var(--c-border); padding-top: 10px;
  }
}
/* =====================================================
   MI CUENTA — Tahoe Glass Edition
   Layout: sidebar nav + content panel
   ===================================================== */

/* ── WooCommerce float reset ── */
.bioscents-wc-account .woocommerce-MyAccount-navigation,
.bioscents-wc-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bioscents-wc-account .woocommerce::after,
.bioscents-wc-account .woocommerce-page::after { content: none !important; }
.bioscents-wc-account .woocommerce-notices-wrapper { margin-bottom: 0; }

/* btn-sm */
.btn-sm { padding: 7px 14px !important; font-size: 12.5px !important; }

/* ── Outer grid ── */
.dash-wrap {
  display: grid;
  grid-template-columns: 214px 1fr;
  grid-template-rows: auto 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 60px;
}

/* ══════════════════════════
   HEADER CARD
   ══════════════════════════ */
.dash-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  background: var(--gl-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-strong)) saturate(var(--glass-saturate));
  border: 1px solid var(--gl-edge);
  border-radius: 20px;
  box-shadow: var(--gl-shadow-strong);
  position: relative;
  overflow: hidden;
}
/* subtle orb behind the header */
.dash-header::before {
  content: '';
  position: absolute;
  inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 80% at 0% 50%, color-mix(in srgb, var(--c-accent) 10%, transparent) 0%, transparent 70%),
    radial-gradient(40% 70% at 100% 50%, color-mix(in srgb, #b573e8 8%, transparent) 0%, transparent 70%);
}
.dash-header > * { position: relative; z-index: 1; }

.dash-avatar {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d7dff 0%, #b573e8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0 3px rgba(45,125,255,.18),
    0 4px 18px rgba(45,125,255,.30);
}
.dash-user-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.dash-user-info strong {
  font-size: 15px; font-weight: 700;
  color: var(--c-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-user-info span {
  font-size: 12.5px;
  color: var(--c-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ══════════════════════════
   SIDEBAR NAV
   ══════════════════════════ */
.dash-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--gl-edge);
  border-radius: 18px;
  box-shadow: var(--gl-shadow);
  position: sticky;
  top: 112px;
}
.dash-tabs a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--c-text-soft);
  text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  line-height: 1.2;
  transition: background .18s, color .18s;
  position: relative;
}
.dash-tabs a svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  opacity: .65;
  transition: opacity .18s;
}
.dash-tabs a span { flex: 1; }
.dash-tabs a:hover {
  background: rgba(45,125,255,.09);
  color: var(--c-accent);
}
.dash-tabs a:hover svg { opacity: 1; }
.dash-tabs a.is-active,
.dash-tabs a.woocommerce-MyAccount-navigation-link--is-active {
  background: rgba(45,125,255,.12);
  color: var(--c-accent);
  font-weight: 600;
}
.dash-tabs a.is-active svg,
.dash-tabs a.woocommerce-MyAccount-navigation-link--is-active svg { opacity: 1; }
/* accent left bar */
.dash-tabs a.is-active::before,
.dash-tabs a.woocommerce-MyAccount-navigation-link--is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 3px;
  border-radius: 2px;
  background: var(--c-accent);
}
/* separator before logout */
.dash-tabs a.woocommerce-MyAccount-navigation-link--customer-logout {
  color: var(--c-danger);
  margin-top: 6px;
  border-top: 1px solid var(--gl-edge);
  padding-top: 12px;
}
.dash-tabs a.woocommerce-MyAccount-navigation-link--customer-logout svg { opacity: .65; }
.dash-tabs a.woocommerce-MyAccount-navigation-link--customer-logout:hover {
  background: rgba(255,95,87,.09);
  color: var(--c-danger);
}
.dash-tabs a.woocommerce-MyAccount-navigation-link--customer-logout:hover svg { opacity: 1; }
.dash-tabs a.woocommerce-MyAccount-navigation-link--customer-logout::before { display: none; }

/* ══════════════════════════
   CONTENT PANEL
   ══════════════════════════ */
.dash-content {
  background: var(--gl-medium);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-saturate));
  border: 1px solid var(--gl-edge);
  border-radius: 18px;
  padding: 30px 34px;
  box-shadow: var(--gl-shadow);
  min-height: 300px;
}

/* headings */
.dash-content h2,
.dash-content h3 {
  font-size: 16px; font-weight: 700;
  color: var(--c-text);
  margin: 0 0 16px;
}
.dash-content h2 + p,
.dash-content > p:first-child {
  font-size: 14px; color: var(--c-text-soft); line-height: 1.7;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gl-edge);
  margin-bottom: 22px;
}

/* ── Tables (orders, downloads) ── */
.dash-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.dash-content table thead th {
  text-align: left;
  padding: 9px 14px 11px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--gl-edge);
}
.dash-content table tbody tr { transition: background .15s; }
.dash-content table tbody tr:hover { background: rgba(45,125,255,.04); }
.dash-content table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gl-edge);
  color: var(--c-text-soft);
  vertical-align: middle;
}
.dash-content table tbody tr:last-child td { border-bottom: none; }
.dash-content table tfoot td {
  padding: 13px 14px;
  border-top: 1px solid var(--gl-edge);
  color: var(--c-text-muted);
  font-size: 12.5px;
}

/* ── Order status chips ── */
.dash-content mark.order-status,
.dash-content .woocommerce-order-status {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  background: transparent;
}
.dash-content mark.completed,
.dash-content .status-completed { background: rgba(76,195,138,.14); color: #1e7a44; }
.dash-content mark.processing,
.dash-content .status-processing { background: rgba(45,125,255,.13); color: var(--c-accent-3); }
.dash-content mark.on-hold,
.dash-content .status-on-hold { background: rgba(240,180,0,.13); color: #8a5e00; }
.dash-content mark.cancelled,
.dash-content .status-cancelled { background: rgba(255,95,87,.11); color: #b53030; }
.dash-content mark.refunded,
.dash-content .status-refunded { background: rgba(107,114,128,.10); color: var(--c-text-muted); }
.dash-content mark.pending,
.dash-content mark.pending-payment,
.dash-content .status-pending { background: rgba(15,22,35,.07); color: var(--c-text-muted); }

[data-mode="dark"] .dash-content mark.completed { background: rgba(76,195,138,.18); color: #4cc38a; }
[data-mode="dark"] .dash-content mark.processing { background: rgba(45,125,255,.18); color: var(--c-accent-2); }
[data-mode="dark"] .dash-content mark.on-hold { background: rgba(240,180,0,.17); color: #f0b400; }
[data-mode="dark"] .dash-content mark.cancelled { background: rgba(255,95,87,.15); color: #ff7b73; }

/* ── Buttons ── */
.dash-content .button,
.dash-content a.button,
.dash-content input[type="submit"],
.dash-content button[type="submit"] {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 9px;
  background: var(--c-accent); color: #fff !important;
  font-size: 13px; font-weight: 600;
  text-decoration: none !important; border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(45,125,255,.22);
}
.dash-content .button:hover,
.dash-content a.button:hover,
.dash-content input[type="submit"]:hover,
.dash-content button[type="submit"]:hover {
  background: var(--c-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,125,255,.30);
}
.dash-content .button.alt,
.dash-content a.button.alt {
  background: var(--gl-light);
  color: var(--c-text) !important;
  border: 1px solid var(--gl-edge);
  box-shadow: none;
}
.dash-content .button.alt:hover { background: var(--gl-medium); transform: none; }

/* ── Forms (account details, addresses) ── */
.dash-content .woocommerce-form-row,
.dash-content .form-row {
  margin-bottom: 16px;
}
.dash-content label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 6px;
}
.dash-content input[type="text"],
.dash-content input[type="email"],
.dash-content input[type="password"],
.dash-content input[type="tel"],
.dash-content textarea,
.dash-content select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gl-light);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gl-edge);
  color: var(--c-text);
  font-size: 14px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  outline: none;
}
.dash-content input:focus,
.dash-content select:focus,
.dash-content textarea:focus {
  border-color: rgba(45,125,255,.45);
  box-shadow: 0 0 0 3px rgba(45,125,255,.10);
}
.dash-content .woocommerce-form__label-for-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; text-transform: none; letter-spacing: 0; font-weight: 400;
  color: var(--c-text-soft); cursor: pointer;
  margin-bottom: 0;
}
.dash-content .woocommerce-form__label-for-checkbox input[type="checkbox"] { margin-top: 2px; }
.dash-content .woocommerce-form-row--wide { width: 100%; }
.dash-content .woocommerce-form-row--first,
.dash-content .form-row-first { width: calc(50% - 8px); display: inline-block; margin-right: 8px; }
.dash-content .woocommerce-form-row--last,
.dash-content .form-row-last { width: calc(50% - 8px); display: inline-block; }

/* ── Address section (2-col cards) ── */
.dash-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dash-content .woocommerce-Address {
  background: var(--gl-light);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gl-edge);
  border-radius: 14px;
  padding: 22px 24px;
}
.dash-content .woocommerce-Address-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.dash-content .woocommerce-Address-title h3 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--c-text-muted);
  margin: 0;
}
.dash-content .woocommerce-Address-title .edit {
  font-size: 12px; color: var(--c-accent); font-weight: 600;
}
.dash-content address {
  font-style: normal;
  font-size: 13.5px; line-height: 1.7;
  color: var(--c-text-soft);
}

/* ── Payment methods list ── */
.dash-content .woocommerce-PaymentMethods tbody td:first-child { font-weight: 600; }
.dash-content .payment_method_default_icon { display: inline-block; }

/* ── Dashboard quick-link list ── */
.dash-content .woocommerce-MyAccount-content > ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.dash-content .woocommerce-MyAccount-content > ul li a {
  color: var(--c-accent); font-weight: 500;
  text-decoration: underline; text-decoration-color: rgba(45,125,255,.4);
}

/* ── Notices ── */
.dash-content .woocommerce-message,
.dash-content .woocommerce-info,
.dash-content .woocommerce-error {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 20px;
  font-size: 13.5px; list-style: none;
  border-left: 3px solid transparent;
}
.dash-content .woocommerce-message {
  background: rgba(76,195,138,.10);
  border-color: var(--c-success); color: #1e7a44;
}
.dash-content .woocommerce-info {
  background: rgba(45,125,255,.09);
  border-color: var(--c-accent); color: var(--c-accent-3);
}
.dash-content .woocommerce-error {
  background: rgba(255,95,87,.09);
  border-color: var(--c-danger); color: #b53030;
}
[data-mode="dark"] .dash-content .woocommerce-message { color: #4cc38a; }
[data-mode="dark"] .dash-content .woocommerce-info { color: var(--c-accent-2); }
[data-mode="dark"] .dash-content .woocommerce-error { color: #ff7b73; }

/* ══════════════════════════
   MOBILE
   ══════════════════════════ */
@media (max-width: 820px) {
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-header { grid-column: 1; }

  /* horizontal scroll-row nav */
  .dash-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    padding: 10px 10px;
    gap: 4px;
    position: static;
    scrollbar-width: none;
  }
  .dash-tabs::-webkit-scrollbar { display: none; }
  .dash-tabs a {
    flex-direction: column;
    flex-shrink: 0;
    gap: 6px;
    padding: 10px 14px 10px;
    font-size: 11.5px;
    text-align: center;
    min-width: 68px;
    border-radius: 12px;
  }
  .dash-tabs a svg { width: 20px; height: 20px; }
  .dash-tabs a::before { display: none !important; }
  .dash-tabs a.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0;
    border-top: none;
    padding-top: 10px;
  }
}
@media (max-width: 560px) {
  .dash-header { flex-wrap: wrap; padding: 18px 20px; gap: 12px; }
  .dash-actions { width: 100%; }
  .dash-content { padding: 20px 18px; }
  .dash-content .woocommerce-Addresses { grid-template-columns: 1fr; }
  .dash-content .woocommerce-form-row--first,
  .dash-content .form-row-first,
  .dash-content .woocommerce-form-row--last,
  .dash-content .form-row-last { width: 100%; display: block; margin-right: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PDP (producto.html) — Tahoe: prioridad sobre .product-info del tema base
   ═══════════════════════════════════════════════════════════════════════════ */

body.page-producto .product-info.prod-info-panel .add-area {
  flex-wrap: nowrap;
  margin-top: 20px;
  margin-bottom: 12px;
  align-items: center;
  gap: 10px;
}

body.page-producto .product-info.prod-info-panel .add-area #prod-add,
body.page-producto .product-info.prod-info-panel .add-area .btn.add-to-cart {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: 46px !important;
  padding: 0 22px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
}

body.page-producto .product-info.prod-info-panel .prod-price-block .price-tag {
  margin-top: 0 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

body.page-producto .product-info.prod-info-panel .prod-price-block .price-tag small {
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.page-producto .product-info.prod-info-panel h1 {
  font-size: clamp(22px, 2.6vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
}

body.page-producto .product-info.prod-info-panel .prod-kicker-row .product-cat {
  font-size: 11px !important;
}

body.page-producto .prod-thumbs:empty {
  display: none;
}

/* PDP tarjeta única — botones variante azul (#2b7fff) y CTA sin overlay gradient */
body.page-producto .prod-hero-card .product-info .options:not(.prod-uses-strip) .opt:not(.active) {
  background: color-mix(in srgb, var(--c-surface-2) 90%, transparent) !important;
  border-color: var(--c-border) !important;
  color: var(--c-text-soft) !important;
  box-shadow: none !important;
}

body.page-producto .prod-hero-card .product-info .options .opt.active,
body.page-producto .prod-hero-card .product-info .options .opt.active:hover,
body.page-producto .prod-hero-card .prod-uses-strip .opt.active {
  background: linear-gradient(180deg, #429cff 0%, #2b7fff 45%, #1a6fee 100%) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  box-shadow:
    0 0 0 1px rgba(43, 127, 255, 0.25),
    0 8px 24px rgba(43, 127, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

body.page-producto .prod-hero-card .product-info .options:not(.prod-uses-strip) .opt:not(.active):hover {
  background: color-mix(in srgb, var(--c-surface-3) 95%, transparent) !important;
  border-color: var(--c-border-2) !important;
  color: var(--c-text) !important;
}

body.page-producto .prod-hero-card #prod-add.add-to-cart::before,
body.page-producto .prod-hero-card #prod-add.btn.add-to-cart::before {
  opacity: 0 !important;
}
