/* ═══════════════════════════════════════════════════════════
   Mia Perfume · Sistema de diseño
   Paleta: negro profundo, dorado, crema. Tipografía editorial.
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #1a1a1a;  --ink-2: #3b3733;
  --muted: #8a8378;
  --gold: #c9a96e;
  --gold-deep: #a98546;
  --gold-light: #e6d3ac;
  --cream: #f5f0e8;
  --paper: #ffffff;
  --bg-soft: #f6f4ef;
  --surface: #ffffff;
  --line: #e7e1d6;
  --line-strong: #d6cdbc;
  --wine: #8b0000;
  --success: #2e6b4f;
  --warning: #b8860b;
  --danger: #8b0000;
  /* Superficies que permanecen oscuras en ambos temas */
  --deep: #1a1a1a;
  --deep-2: #23201c;
  --on-deep: #f7f1e6;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, .06);
  --shadow-md: 0 14px 40px -18px rgba(26, 26, 26, .28);
  --shadow-lg: 0 34px 80px -32px rgba(26, 26, 26, .42);
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-arabic: "Amiri", "Playfair Display", serif;
  --header-h: 112px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1420px;
}

html[data-theme="dark"] {
  --ink: #f3ede3;
  --ink-2: #d9d1c4;
  --muted: #a29a8c;
  --gold: #d8b87e;
  --gold-deep: #c9a96e;
  --cream: #211e1a;
  --paper: #121110;
  --bg-soft: #191715;
  --surface: #1c1a18;
  --line: #302c27;
  --line-strong: #413b34;
  --shadow-md: 0 18px 44px -20px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 90px -32px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

/* Desplegables nativos: contraste correcto en ambos temas */
select { color-scheme: inherit; }
select option,
.select option,
.field select option,
.nav__currency select option {
  background-color: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0; }

::selection { background: var(--gold); color: #1a1a1a; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--deep);
  color: var(--on-deep);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }

/* ── Tipografía ─────────────────────────────────────────── */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .01em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 400;
}

.section-title em { font-style: italic; color: var(--gold-deep); }

.section-sub {
  margin-top: 12px;
  max-width: 520px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, gap .3s;
}
.link-more:hover { border-color: var(--ink); gap: 18px; }
.link-more svg { width: 22px; height: 10px; }

.section { padding: clamp(44px, 6vw, 86px) 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Botones ────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(26, 26, 26, .55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 10px; flex: none; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: #1a1a1a; }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn--light { --btn-bg: #fff; --btn-fg: #1a1a1a; }
.btn--wine { --btn-bg: var(--wine); --btn-fg: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 9px; letter-spacing: .14em; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s, color .25s, transform .25s;
  position: relative;
}
.icon-btn:hover { background: var(--bg-soft); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}
.badge--gold { background: var(--gold); color: #1a1a1a; }
.badge--wine { background: var(--wine); color: #fff; }
.badge--cream { background: var(--cream); color: var(--ink); }
.badge--success { background: rgba(46, 107, 79, .1); color: var(--success); }
.badge--warning { background: rgba(184, 134, 11, .12); color: var(--warning); }
.badge--danger { background: rgba(139, 0, 0, .1); color: var(--danger); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: .06em;
  background: var(--surface);
  transition: all .25s;
  white-space: nowrap;
}
.pill:hover { border-color: var(--gold); color: var(--gold-deep); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ── Top bar + Navbar ───────────────────────────────────── */

.topbar {
  background: var(--deep);
  color: var(--on-deep);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 34px;
}
.topbar__message { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar__marquee { display: inline-flex; white-space: nowrap; will-change: transform; }
.topbar__marquee > span { padding-right: 3rem; }
.topbar__message.is-scrolling { text-overflow: clip; }
.topbar__message.is-scrolling .topbar__marquee { animation: topbar-marquee 16s linear infinite; }
.topbar__message:not(.is-scrolling) .topbar__marquee > span[aria-hidden="true"] { display: none; }
@keyframes topbar-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar__message.is-scrolling .topbar__marquee { animation: none; }
}
.topbar__links { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar__links a, .topbar__links button { opacity: .8; transition: opacity .2s; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: inherit; }
.topbar__links a:hover, .topbar__links button:hover { opacity: 1; }
.topbar__links .is-active { opacity: 1; color: var(--gold); }

/* Selector de moneda compacto para celular, junto a ES/EN */
.topbar__currency { display: none; position: relative; align-items: center; }
.topbar__currency select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0 14px 0 0;
  cursor: pointer;
  opacity: .8;
  color-scheme: dark;
}
.topbar__currency select:hover, .topbar__currency select:focus-visible { opacity: 1; }
.topbar__currency option { background: #1a1a1a; color: #f7f1e6; }
.topbar__currency::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  transform: translateY(-50%);
  opacity: .6;
  pointer-events: none;
}
@media (max-width: 980px) {
  .topbar__currency { display: inline-flex; }
}

.site-header { position: sticky; top: 0; z-index: 60; }
.nav {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.is-stuck { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .4); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  position: relative;
}
.nav__menu { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.nav__link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width .35s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--ink); }
.nav__link--sale { color: var(--wine); }
html[data-theme="dark"] .nav__link--sale { color: #d98b8b; }

.brand {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.1vw, 28px);
  letter-spacing: .06em;
  line-height: 1;
  padding: 6px 10px;
}
.nav .brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.brand__mark { display: flex; align-items: center; gap: 8px; }
.brand__crescent { width: 17px; height: 17px; color: var(--gold); }
.brand__name b { font-weight: 500; }
.brand__name span { color: var(--gold-deep); font-style: italic; }
.brand__tag {
  font-family: var(--font-body);
  font-size: 7px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.brand--logo { flex-direction: row; align-items: center; gap: 10px; padding: 4px 8px; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand__wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand--logo .brand__name { white-space: nowrap; }
.brand--logo .brand__tag { margin-top: 0; }
@media (max-width: 600px) {
  .brand--logo { gap: 7px; }
  .brand__logo { width: 34px; height: 34px; }
  .brand--logo .brand__wordmark { display: flex; }
  .brand--logo .brand__name { font-size: 15px; letter-spacing: .01em; }
  .brand--logo .brand__tag { display: none; }
}

.nav__tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.nav__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  display: grid; place-items: center;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 9px;
  font-weight: 600;
  border-radius: 20px;
  transform: scale(0);
  transition: transform .3s var(--ease-out);
}
.nav__count.is-visible { transform: scale(1); }
.nav__currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 9.5px;
  letter-spacing: .1em;
  margin-right: 6px;
  background: transparent;
}
.nav__currency select {
  border: 0; background: transparent; font-size: 9.5px; letter-spacing: .1em;
  appearance: none; padding-right: 12px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%238a8378'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center;
}
.nav__currency select:focus-visible { outline-offset: 4px; }
.nav__toggle { display: none; }

.mega {
  position: absolute;
  left: 50%; top: 100%;
  transform: translate(-50%, 8px);
  width: min(1120px, calc(100vw - 48px));
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.1fr;
  gap: 26px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 70;
}
.nav__item { position: relative; }
.nav__item--mega { position: static; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mega a { display: block; padding: 6px 0; font-size: 12.5px; color: var(--ink-2); transition: color .2s, padding .2s; }
.mega a:hover { color: var(--gold-deep); padding-left: 4px; }
.mega__promo { background: var(--cream); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.mega__promo h5 { font-family: var(--font-display); font-size: 21px; line-height: 1.15; }

.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: 26px;
  transform: translateX(-100%);
  transition: transform .45s var(--ease-out);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: none; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
}
.mobile-drawer nav a span { font-family: var(--font-body); font-size: 11px; color: var(--muted); }

/* Categorías plegables en el menú del teléfono */
.drawer-cats { border-bottom: 1px solid var(--line); }
.drawer-cats summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 22px;
}
.drawer-cats summary::-webkit-details-marker { display: none; }
.drawer-cats__sign { font-family: var(--font-body); font-size: 18px; color: var(--gold-deep); transition: transform .2s; }
.drawer-cats[open] .drawer-cats__sign { transform: rotate(45deg); }
.drawer-cats__list { display: grid; gap: 2px; padding: 4px 0 14px; }
.mobile-drawer nav .drawer-cats__list a {
  padding: 10px 12px;
  border-bottom: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-2);
  background: var(--bg-soft);
}
.mobile-drawer nav .drawer-cats__list a + a { margin-top: 0; }
.drawer-cats__count { font-size: 10px; color: var(--muted); }
.mobile-drawer__foot { margin-top: 30px; display: grid; gap: 12px; }

/* ── Hero (slider de fotografía real) ───────────────────── */

.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 820px);
  overflow: hidden;
  background: #16140f;
  color: #f7f1e6;
  isolation: isolate;
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1.05s var(--ease), visibility 1.05s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero__media { position: absolute; inset: 0; display: block; }

.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(10, 8, 6, .94) 0%,
    rgba(10, 8, 6, .74) 36%,
    rgba(10, 8, 6, .2) 66%,
    rgba(10, 8, 6, .55) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(40px, 8vh, 90px);
  padding-bottom: clamp(150px, 20vh, 210px);
}

.hero__eyebrow,
.hero__title,
.hero__text,
.hero__actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero__slide.is-active .hero__eyebrow { opacity: 1; transform: none; transition-delay: .12s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .2s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .3s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition-delay: .4s; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: .94;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 3px 26px rgba(0, 0, 0, .45);
}
.hero__title span { display: block; }
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: .01em;
}

.hero__text {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 241, 230, .78);
  margin-bottom: 32px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}

.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__actions .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
  min-width: 216px;
  min-height: 52px;
}
.hero__actions .btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: #1a1a1a; }
.hero__actions .link-more {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  border: 1px solid rgba(247, 241, 230, .32);
  border-radius: 2px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light);
  transition: border-color .25s, background .25s, color .25s;
}
.hero__actions .link-more:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, .14);
  color: #fff;
}
.hero__actions .link-more:hover { color: #fff; border-bottom-color: var(--gold); }

/* Acceso rápido al comparador dentro del hero */
.hero__compare {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 14px 6px 6px;
  color: #f7f1e6;
  text-decoration: none;
  border: 1px solid rgba(201, 169, 110, .55);
  border-radius: 3px;
  background: rgba(12, 10, 8, .35);
  backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.hero__compare:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(201, 169, 110, .16);
}
.hero__compare-icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, .45);
  color: var(--gold-light);
  transition: background .25s, color .25s, border-color .25s;
}
.hero__compare:hover .hero__compare-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
}
.hero__compare-text { display: grid; gap: 2px; line-height: 1; }
.hero__compare-text b {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-light);
}
.hero__compare-text small {
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, .6);
}
@media (max-width: 760px) {
  .hero__compare {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 48px;
    padding: 7px 14px;
  }
}

/* Controles del slider */

.hero__controls {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: calc(clamp(48px, 8vw, 110px) + 18px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__nav {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 241, 230, .28);
  border-radius: 50%;
  color: #f7f1e6;
  background: rgba(12, 10, 8, .32);
  backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, color .25s;
}
.hero__nav:hover, .hero__nav:focus-visible {
  background: var(--gold); border-color: var(--gold); color: #1a1a1a;
}

.hero__dots {
  display: flex; align-items: center; gap: 8px;
}
.hero__dot {
  position: relative;
  width: 30px; height: 3px;
  border-radius: 2px;
  background: rgba(247, 241, 230, .28);
  overflow: hidden;
  transition: width .3s, background .3s;
}
.hero__dot:hover { background: rgba(247, 241, 230, .5); }
.hero__dot.is-active { width: 44px; }
.hero__dot-fill {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero__dot.is-active .hero__dot-fill { animation: heroDotFill 7s linear forwards; }
.hero__dots.is-paused .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }
@keyframes heroDotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__curve {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(48px, 8vw, 110px);
  z-index: 4; pointer-events: none;
}
.hero__curve path { fill: var(--paper); }

/* ── Productos ──────────────────────────────────────────── */

.grid-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid transparent;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  background: var(--bg-soft);
  display: block;
}
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card__media svg, .card:hover .card__media img { transform: scale(1.045); }
.card__badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px;
  max-width: calc(100% - 52px);
  z-index: 2;
}
.card__fav {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .88);
  color: #1a1a1a;
  border-radius: 50%;
  z-index: 2;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s, transform .3s, color .2s;
  backdrop-filter: blur(4px);
}
.card:hover .card__fav, .card__fav.is-active { opacity: 1; transform: none; }
.card__fav:hover { color: var(--wine); }
.card__fav.is-active { color: var(--wine); }
.card__fav svg { width: 16px; height: 16px; }

.card__quick {
  position: static;
  margin: 10px 8px 0;
  z-index: 2;
  opacity: 1; transform: none;
}
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick .btn { width: 100%; padding: 12px; font-size: 9px; background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.card__quick .btn--ghost:hover { background: var(--deep); color: var(--on-deep); }
.card__quick-row { display: flex; gap: 6px; }
.card__quick-row .btn { flex: 1; }

.card__body { padding: 14px 4px 4px; }
.card__brand { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__name {
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; margin: 5px 0 8px;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.card__rating { display: inline-flex; align-items: center; gap: 3px; color: var(--gold-deep); }
.card__rating svg { width: 11px; height: 11px; }
.card__price { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 500; }
.card__price s { color: var(--muted); font-weight: 400; font-size: 11px; }
.card__stock { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.card__stock--low { color: var(--warning); }
.card__stock--out { color: var(--wine); }

.card--horizontal { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; }
.card--horizontal .card__media { aspect-ratio: 1; }
.card--horizontal .card__body { padding: 0; }

/* ── Split collection ───────────────────────────────────── */

.split { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.split__visual {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.split__art { position: relative; flex: 0 0 auto; aspect-ratio: 720 / 620; overflow: hidden; }
.split__art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.split__quote {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px 28px;
  background: var(--deep);
  color: #f7f1e6;
}
html[data-theme="dark"] .split__quote { background: #1e1a14; color: #e8dcc6; border-top: 1px solid rgba(201, 169, 110, .2); }
.split__quote p { margin: 0; font-family: var(--font-display); font-size: clamp(19px, 2.1vw, 28px); line-height: 1.28; }
.split__quote span { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.split__caption {
  position: relative;
  padding: 16px 22px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.split__caption span {
  display: block;
  font-size: 8.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.split__caption p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}
.split__copy h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; text-transform: uppercase; }
.split__copy p { color: var(--muted); margin: 20px 0 26px; font-size: 13.5px; max-width: 420px; }
.split__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.split__mini .card__body { padding: 10px 2px 0; }
.split__mini .card__name { font-size: 10.5px; margin: 4px 0 5px; }
.split__mini .card__price { font-size: 11.5px; }
.split__mini .card__media { aspect-ratio: 1 / 1.12; }
.split__mini .card__quick, .split__mini .card__fav { display: none; }

/* ── Ofertas y contador ─────────────────────────────────── */

.offer-band {
  position: relative;
  background: var(--deep);
  color: var(--on-deep);
  overflow: hidden;
}
.offer-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 120% at 12% 10%, rgba(201, 169, 110, .25), transparent 60%),
    radial-gradient(60% 100% at 92% 90%, rgba(139, 0, 0, .28), transparent 60%);
}
.offer-band .container { position: relative; z-index: 2; }
.offer-band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 34px; }
.offer-band .section-title { color: #f7f1e6; }
.offer-band .link-more { color: rgba(247, 241, 230, .8); }
.offer-band .link-more:hover { border-color: #f7f1e6; }
.countdown { display: flex; gap: 10px; }
.countdown__box {
  min-width: 68px;
  padding: 10px 8px 8px;
  border: 1px solid rgba(247, 241, 230, .18);
  text-align: center;
  background: rgba(255, 255, 255, .03);
}
.countdown__box b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--gold-light); }
.countdown__box span { display: block; font-size: 7.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 241, 230, .5); margin-top: 5px; }

.offer-band .card { background: transparent; border-color: rgba(247, 241, 230, .12); }
.offer-band .card:hover { border-color: rgba(201, 169, 110, .55); background: rgba(255, 255, 255, .02); }
.offer-band .card__media { background: rgba(255, 255, 255, .04); }
.offer-band .card__name, .offer-band .card__price { color: #f7f1e6; }
.offer-band .card__brand, .offer-band .card__meta { color: rgba(247, 241, 230, .55); }
.offer-band .card__quick .btn { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }

/* ── Banda quiz/fidelidad ───────────────────────────────── */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.panel {
  position: relative;
  padding: clamp(28px, 4vw, 54px);
  min-height: 300px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.panel--dark { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.panel--dark .eyebrow { color: var(--gold-light); }
.panel h3 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; max-width: 380px; }
.panel p { color: var(--muted); font-size: 13px; max-width: 360px; margin-top: 12px; }
.panel--dark p { color: rgba(247, 241, 230, .62); }
.panel__deco {
  position: absolute; right: -30px; bottom: -40px;
  width: 220px; opacity: .5; pointer-events: none;
}
.panel__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.panel--dark .btn { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }

.loyalty-tiers { display: flex; gap: 8px; flex-wrap: wrap; }
.loyalty-tier { padding: 5px 10px; border: 1px solid rgba(247, 241, 230, .22); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; }
.loyalty-tier.is-active { background: var(--gold); border-color: var(--gold); color: #1a1a1a; }
.progress-bar { height: 3px; background: rgba(247, 241, 230, .18); margin-top: 24px; }
.progress-bar div { height: 100%; background: var(--gold); }

/* ── Blog ───────────────────────────────────────────────── */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.blog-card { display: flex; flex-direction: column; gap: 16px; group: blog; }
.blog-card__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; position: relative; }
.blog-card__media svg { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.blog-card:hover .blog-card__media svg { transform: scale(1.05); }
.blog-card__cat { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.blog-card h3 { font-family: var(--font-display); font-size: 21px; line-height: 1.25; margin: 8px 0 6px; }
.blog-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.blog-card__meta { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────── */

.site-footer { background: var(--deep); color: #e9e1d3; padding: clamp(48px, 6vw, 80px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(26px, 4vw, 60px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(247, 241, 230, .12);
}
.site-footer h4 { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 241, 230, .45); margin-bottom: 18px; }
.site-footer a { color: rgba(247, 241, 230, .72); font-size: 12.5px; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-install { color: rgba(247, 241, 230, .72); font-size: 12.5px; transition: color .2s; text-align: left; }
.footer-install:hover { color: var(--gold); }
.site-footer ul { display: grid; gap: 9px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand { align-items: flex-start; padding: 0; font-size: 26px; }
.footer-brand p { color: rgba(247, 241, 230, .55); font-size: 12px; max-width: 300px; line-height: 1.8; }
.footer-arabic { font-family: var(--font-arabic); color: var(--gold); font-size: 22px; direction: rtl; }
.footer-social { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.footer-social a {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .55);
  background: radial-gradient(circle at 30% 25%, rgba(201, 169, 110, .22), rgba(201, 169, 110, .06));
  color: var(--gold-light);
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110c;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35), 0 0 0 4px rgba(201, 169, 110, .12);
}
.footer-social svg { width: 21px; height: 21px; }
@media (max-width: 640px) {
  .footer-social a { width: 44px; height: 44px; }
  .footer-social svg { width: 19px; height: 19px; }
}
.footer-news input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(247, 241, 230, .22);
  color: #f7f1e6;
  font-size: 12px;
}
.footer-news input::placeholder { color: rgba(247, 241, 230, .35); }
.footer-news input:focus { outline: none; border-color: var(--gold); }
.footer-news form {
  display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap;
  padding: 14px;
  border: 1px solid rgba(201, 169, 110, .38);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(201, 169, 110, .10), rgba(201, 169, 110, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.footer-news form input {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(201, 169, 110, .35);
  color: #f7f1e6;
  font-size: 12px;
  padding: 13px 14px;
}
.footer-news form input::placeholder { color: rgba(247, 241, 230, .5); }
.footer-news form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, .16);
}
.footer-news form button {
  background: linear-gradient(140deg, var(--gold), #b08b4a);
  color: #17130d;
  font-weight: 600;
  letter-spacing: .12em;
}
.footer-news form button:hover { filter: brightness(1.06); }
.footer-news form input { flex: 1 1 150px; }
.footer-news form small { flex-basis: 100%; margin-top: 10px; }
.footer-news form button {
  margin-top: 0;
  padding: 0 16px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.footer-news form button:hover { background: var(--gold-light); }
.footer-news > div + div { margin-top: 26px; }
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-pay span {
  padding: 5px 9px;
  border: 1px solid rgba(247, 241, 230, .18);
  font-size: 8px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(247, 241, 230, .7);
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 22px 0;
  font-size: 10px; letter-spacing: .06em;
  color: rgba(247, 241, 230, .4);
}
.footer-bottom a { font-size: 10px; color: rgba(247, 241, 230, .55); }

/* ── WhatsApp flotante ──────────────────────────────────── */

.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px;
  border-radius: 100px;
  background: #1faa59;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(31, 170, 89, .6);
  font-size: 10.5px; letter-spacing: .08em; font-weight: 500;
  transition: transform .3s, box-shadow .3s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(31, 170, 89, .7); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}

/* ── Carrito (drawer) ───────────────────────────────────── */

.overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(18, 16, 12, .45);
  backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(440px, 100%);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(101%);
  transition: transform .5s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-size: 21px; }
.drawer__title span { font-family: var(--font-body); font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-left: 8px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__empty { text-align: center; padding: 60px 10px; color: var(--muted); font-size: 13px; }
.drawer__empty svg { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--line-strong); }

.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item__media { width: 76px; height: 92px; background: var(--bg-soft); overflow: hidden; }
.cart-item__media svg, .cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.cart-item__meta { font-size: 9px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 3px 0 8px; }
.cart-item__price { font-size: 12px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  height: 30px;
}
.qty button { width: 28px; height: 100%; display: grid; place-items: center; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.qty button:hover { color: var(--ink); background: var(--bg-soft); }
.qty span { min-width: 26px; text-align: center; font-size: 11px; }
.cart-item__remove { color: var(--muted); margin-top: 8px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; }
.cart-item__remove:hover { color: var(--wine); }
.cart-item__remove svg { width: 11px; height: 11px; }

.totals { display: grid; gap: 8px; font-size: 12px; }
.totals__row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.totals__row b { color: var(--ink); font-weight: 500; }
.totals__row--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.totals__row--total b { font-size: 17px; }
.cart-pay { border: 1px solid var(--line); background: var(--paper); margin: 0 0 14px; }
.cart-pay summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  cursor: pointer; list-style: none;
  padding: 10px 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.cart-pay summary::-webkit-details-marker { display: none; }
.cart-pay summary::after { content: "+"; color: var(--gold-deep); font-size: 14px; letter-spacing: 0; }
.cart-pay[open] summary::after { content: "–"; }
.cart-pay summary span { color: var(--gold-deep); }
.cart-pay .pay-info { border: 0; padding: 0 12px 12px; background: transparent; }
.cart-pay .pay-info__title { display: none; }

@media (max-width: 640px) {
  .cart-pay { margin-bottom: 10px; }
  .cart-pay .pay-methods-info { gap: 6px; }
  .cart-pay .pay-methods-info__item { padding: 4px 7px; font-size: 9px; }
  .cart-pay .pay-methods-info__icon { display: none; }
  .cart-pay .pay-info__note { display: none; }
  .cart-pay .pay-info__label { margin-bottom: 4px; }
  .cart-pay .pay-info__group + .pay-info__group { margin-top: 8px; }
}

.cart-note { font-size: 10.5px; color: var(--muted); line-height: 1.6; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.cart-note svg { width: 14px; height: 14px; flex: none; color: var(--gold-deep); }

.coupon-form { display: flex; gap: 8px; margin: 12px 0; }
.coupon-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); background: transparent; font-size: 11px; letter-spacing: .06em; }
.coupon-form button { padding: 0 14px; border: 1px solid var(--line); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }

/* ── Buscador, modales, toasts ──────────────────────────── */

.search-panel {
  position: fixed; inset: 0; z-index: 98;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel__head { display: flex; align-items: center; gap: 20px; padding: 26px clamp(20px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.search-panel__input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 42px);
  padding: 10px 0;
}
.search-panel__input:focus { outline: none; }
.search-panel__body { padding: 30px clamp(20px, 6vw, 90px) 60px; display: grid; gap: 26px; max-width: 1100px; }
.search-suggest { display: flex; gap: 8px; flex-wrap: wrap; }
.search-results { display: grid; gap: 4px; }
.search-result {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding .2s;
}
.search-result:hover { background: var(--bg-soft); padding-left: 12px; }
.search-result__media { width: 46px; height: 56px; background: var(--bg-soft); overflow: hidden; flex: none; }
.search-result__media svg { width: 100%; height: 100%; }
.search-result__name { font-size: 12.5px; font-weight: 500; }
.search-result__meta { font-size: 9.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.search-result__price { margin-left: auto; font-size: 12px; }

.modal-root { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal-root.is-open { opacity: 1; visibility: visible; }
.modal-root__backdrop { position: absolute; inset: 0; background: rgba(18, 16, 12, .55); backdrop-filter: blur(6px); }
.modal {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.99);
  transition: transform .4s var(--ease-out);
}
.modal-root.is-open .modal { transform: none; }
.modal--sm { width: min(520px, 100%); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--paper); border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.modal__close:hover { background: var(--cream); }
.modal__body { padding: 0; }

.quickview { display: grid; grid-template-columns: 1fr 1fr; }
.quickview__media { background: var(--bg-soft); min-height: 420px; position: relative; }
.quickview__media svg { width: 100%; height: 100%; }
.quickview__info { padding: clamp(24px, 3.4vw, 46px); }
.quickview__brand { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quickview__name { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.05; margin: 8px 0 12px; }
.quickview__price { font-size: 19px; margin: 16px 0; display: flex; align-items: center; gap: 10px; }
.quickview__price s { font-size: 13px; color: var(--muted); }
.quickview__notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 20px; }
.quickview__notes span { font-size: 9.5px; padding: 4px 9px; border: 1px solid var(--line); color: var(--ink-2); }
.quickview__actions { display: grid; gap: 10px; margin-top: 20px; }
.quickview__link { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 0; }

.toast-root {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 120; display: flex; flex-direction: column; gap: 10px;
  align-items: center; pointer-events: none; width: min(440px, calc(100vw - 32px));
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  background: var(--deep);
  color: var(--on-deep);
  font-size: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn .45s var(--ease-out) forwards;
  width: 100%;
}
.toast--success { background: var(--success); color: #fff; }
.toast--error { background: var(--wine); color: #fff; }
.toast svg { width: 18px; height: 18px; flex: none; }
@keyframes toastIn { to { transform: none; opacity: 1; } }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastOut { to { transform: translateY(12px); opacity: 0; } }

/* Notas olfativas con imagen */
.notes-pyramid__row > div { display: flex; flex-wrap: wrap; gap: 14px; }
.note-chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 74px; text-align: center;
  font-style: normal; font-size: 10.5px; line-height: 1.25;
  letter-spacing: .02em; color: var(--ink-2);
}
.note-chip__icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-deep);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9), rgba(244, 236, 222, .9) 45%, rgba(226, 212, 188, .95));
  border: 1px solid rgba(201, 169, 110, .45);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45), inset 0 1px 2px rgba(255, 255, 255, .8);
}
.note-chip__icon svg { width: 24px; height: 24px; }
.note-chip__icon--photo { padding: 0; overflow: hidden; background: none; }
.note-chip__icon--photo img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  display: block;
}
.notes-pyramid .note-chip { background: transparent; padding: 0; border: 0; }

@media (max-width: 640px) {
  .footer-news form { flex-direction: column; align-items: stretch; }
  .footer-news form input,
  .footer-news form button { width: 100%; flex: 0 0 auto; height: 48px; }
  .footer-news form button { padding: 0 18px; }
}

/* ── Chatbot ────────────────────────────────────────────── */

.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  height: 58px; padding: 5px 18px 5px 5px; border-radius: 999px;
  background: linear-gradient(145deg, var(--gold), #b08b4a);
  color: #1a1a1a;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 34px -12px rgba(201, 169, 110, .8);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: fabIn .8s var(--ease-out) .8s both;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 40px -12px rgba(201, 169, 110, .9); }
.chat-fab__logo { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; flex: none; }
.chat-fab__text { font-family: var(--font-display); font-size: 12px; line-height: 1.1; letter-spacing: .02em; white-space: nowrap; }
.chat-backdrop {
  position: fixed; inset: 0; z-index: 84;
  background: rgba(20, 18, 15, .45);
  opacity: 0; visibility: hidden; display: none;
  transition: opacity .3s, visibility .3s;
}
.chat-backdrop.is-open { opacity: 1; visibility: visible; }
.chat-sheet__handle { display: none; }
.chat-fab__badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--wine); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 600;
}
@keyframes pulse {
  0% { transform: scale(.9); opacity: .9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fabIn { from { transform: scale(0) translateY(20px); opacity: 0; } }

.chat-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 85;
  width: min(392px, calc(100vw - 24px));
  height: min(610px, calc(100vh - 130px));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-panel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--deep); color: var(--on-deep);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #8f6f3c);
  display: grid; place-items: center; color: #1a1a1a; flex: none;
}
.chat-avatar svg { width: 20px; height: 20px; }
.chat-panel__title { font-family: var(--font-display); font-size: 16px; line-height: 1.1; }
.chat-panel__status { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 241, 230, .55); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.chat-panel__status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #67d391; }
.chat-panel__body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 11px 14px; font-size: 12.5px; line-height: 1.65; white-space: pre-line; }
.msg--bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 2px; }
.msg--user { align-self: flex-end; background: var(--deep); color: var(--on-deep); border-bottom-right-radius: 2px; }
.msg strong { font-weight: 600; color: var(--gold-deep); }
.msg--user strong { color: var(--gold-light); }
.msg a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.chat-products { display: grid; gap: 6px; margin-top: 2px; }
.chat-product {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center;
  padding: 8px; background: var(--paper); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.chat-product:hover { border-color: var(--gold); transform: translateX(2px); }
.chat-product__media { width: 42px; height: 48px; background: var(--bg-soft); overflow: hidden; }
.chat-product__media svg { width: 100%; height: 100%; }
.chat-product__name { font-size: 10.5px; font-weight: 500; line-height: 1.3; }
.chat-product__meta { font-size: 9px; color: var(--muted); }
.chat-product__price { font-size: 10.5px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-quick button {
  font-size: 10px; padding: 6px 11px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 100px; color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.chat-quick button:hover { border-color: var(--gold); color: var(--gold-deep); }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 13px 16px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-panel__foot { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; }
.chat-form textarea {
  flex: 1; resize: none; border: 1px solid var(--line);
  padding: 10px 12px; font-size: 12px; max-height: 96px; min-height: 42px;
  background: transparent;
}
.chat-form textarea:focus { outline: none; border-color: var(--gold); }
.chat-form button {
  width: 42px; height: 42px; flex: none;
  background: var(--deep); color: var(--on-deep);
  display: grid; place-items: center;
  transition: background .2s;
}
.chat-form button:hover { background: var(--gold); color: #1a1a1a; }
.chat-hint { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 9px; color: var(--muted); }
.chat-hint button { color: var(--gold-deep); font-size: 9px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 2px; }

/* ── Aviso de notificaciones ─────────────────────────────── */

.push-prompt {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  width: min(470px, calc(100vw - 24px));
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 40px 16px 16px;
  /* Tema claro → aviso oscuro, para que contraste con la página. */
  background: #17140f;
  color: #f7f1e6;
  border: 1px solid rgba(201, 169, 110, .45);
  box-shadow: 0 28px 70px -18px rgba(10, 8, 6, .65), 0 0 0 1px rgba(201, 169, 110, .12);
  animation: pushIn .5s var(--ease-out) both;
}
.push-prompt::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
}
@keyframes pushIn {
  from { opacity: 0; transform: translate(-50%, 18px); }
}
.push-prompt__icon {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201, 169, 110, .2);
  color: var(--gold-light);
}
.push-prompt__icon svg { width: 19px; height: 19px; }
.push-prompt__copy b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 3px;
}
.push-prompt__copy p { font-size: 11px; line-height: 1.6; color: rgba(247, 241, 230, .72); }
.push-prompt__actions { display: flex; flex-direction: column; gap: 6px; flex: none; margin-left: auto; }
.push-prompt .btn--sm { white-space: nowrap; }
.push-prompt .btn {
  --btn-bg: var(--gold);
  --btn-fg: #1a1a1a;
  border-color: var(--gold);
  min-height: 34px;
}
.push-prompt .btn:hover {
  --btn-bg: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 12px 22px -14px rgba(201, 169, 110, .8);
}
.push-prompt .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #f7f1e6;
  border-color: rgba(247, 241, 230, .32);
}
.push-prompt .btn--ghost:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
}
.push-prompt__close {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: rgba(247, 241, 230, .6);
}
.push-prompt__close:hover { color: #fff; }
.push-prompt__close svg { width: 14px; height: 14px; }

/* Tema oscuro → aviso claro, para que resalte sobre el fondo negro. */
html[data-theme="dark"] .push-prompt {
  background: #f7f1e6;
  color: #17140f;
  border-color: rgba(23, 20, 15, .12);
  box-shadow: 0 28px 70px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(201, 169, 110, .45);
}
html[data-theme="dark"] .push-prompt__copy p { color: #6f665a; }
html[data-theme="dark"] .push-prompt__icon { background: rgba(201, 169, 110, .24); color: #8a6a35; }
html[data-theme="dark"] .push-prompt__close { color: #8a8175; }
html[data-theme="dark"] .push-prompt__close:hover { color: #17140f; }
html[data-theme="dark"] .push-prompt .btn {
  --btn-bg: #17140f;
  --btn-fg: #f7f1e6;
  border-color: #17140f;
}
html[data-theme="dark"] .push-prompt .btn:hover {
  --btn-bg: #2c261e;
  border-color: #2c261e;
  box-shadow: 0 12px 22px -14px rgba(23, 20, 15, .7);
}
html[data-theme="dark"] .push-prompt .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #17140f;
  border-color: rgba(23, 20, 15, .28);
}
html[data-theme="dark"] .push-prompt .btn--ghost:hover {
  background: transparent;
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

@media (max-width: 640px) {
  .push-prompt {
    bottom: 84px;
    width: calc(100vw - 16px);
    padding: 12px 34px 12px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .push-prompt__icon { width: 34px; height: 34px; }
  .push-prompt__actions { flex-direction: row; width: 100%; margin-left: 0; }
  .push-prompt__actions .btn { flex: 1; }
}

/* ── Vistas: tienda, producto, checkout ──────────────────── */

.page-hero { padding: clamp(34px, 5vw, 62px) 0 clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 58px); line-height: 1; text-transform: uppercase; }
.page-hero p { color: var(--muted); font-size: 13px; margin-top: 10px; max-width: 560px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--gold-deep); }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(22px, 3vw, 44px); padding-top: clamp(28px, 4vw, 48px); padding-bottom: 70px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; }
.filters__group h4 { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filters__list { display: grid; gap: 2px; }
.filters__list label, .filters__list button {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 7px 0; font-size: 12px; color: var(--ink-2); text-align: left;
  transition: color .2s, padding .2s; width: 100%;
}
.filters__list button:hover, .filters__list button.is-active { color: var(--gold-deep); padding-left: 4px; }
.filters__list span.count { font-size: 9.5px; color: var(--muted); }
.filters__swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.filters__swatches button { padding: 6px 10px; border: 1px solid var(--line); font-size: 10px; }
.filters__swatches button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-range { display: grid; gap: 8px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--gold-deep); }
.price-range output { font-size: 11px; color: var(--muted); }
.filters__toggle { display: none; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-toolbar__count { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.select {
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6'%3E%3Cpath d='M0 0l4.5 6L9 0z' fill='%238a8378'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips .pill button {
  width: 22px; height: 22px; margin-left: 2px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 14px; line-height: 1;
  color: inherit;
  background: rgba(247, 241, 230, .16);
}
.chips .pill.is-active button { background: rgba(20, 18, 15, .18); }
@media (max-width: 640px) {
  .chips .pill button { width: 26px; height: 26px; font-size: 16px; }
}

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 42px; }
.pagination button {
  min-width: 38px; height: 38px; padding: 0 8px;
  border: 1px solid var(--line); font-size: 11px;
  transition: all .2s;
}
.pagination button:hover { border-color: var(--ink); }
.pagination button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Producto */
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 70px); padding: clamp(26px, 4vw, 54px) 0 70px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 18px); }
.product-gallery__main { position: relative; background: var(--bg-soft); aspect-ratio: 1 / 1.1; overflow: hidden; }
.product-gallery__main svg, .product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.product-gallery__thumb { width: 62px; height: 74px; border: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; opacity: .55; transition: opacity .2s, border-color .2s; }
.product-gallery__thumb.is-active { opacity: 1; border-color: var(--gold); }
.product-gallery__thumb svg { width: 100%; height: 100%; }

.product-info__brand { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.product-info__name { font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 54px); line-height: 1; margin: 10px 0 14px; }
.product-info__rating { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-deep); }
.stars svg { width: 13px; height: 13px; }
.product-info__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.product-info__price b { font-size: 26px; font-weight: 500; }
.product-info__price s { color: var(--muted); font-size: 15px; }
.product-info__price .badge { margin-left: 4px; }
.product-info__tax { font-size: 10.5px; color: var(--muted); margin-bottom: 22px; }
.product-info__desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 18px 0; }
.product-info__attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; padding: 18px; background: var(--bg-soft); }
.product-info__attrs div { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-info__attrs b { display: block; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; margin-top: 3px; }
.product-info__buy { display: flex; gap: 10px; align-items: stretch; margin: 22px 0; flex-wrap: wrap; }
.product-info__buy .qty { height: 50px; }
.product-info__buy .btn { flex: 1; min-width: 200px; }
.product-info__secondary { display: flex; gap: 18px; flex-wrap: wrap; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.product-info__secondary button { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.product-info__secondary button:hover { color: var(--ink); }
.product-info__secondary svg { width: 15px; height: 15px; }
.product-info__shipping { display: flex; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.product-info__shipping div { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--muted); }
.product-info__shipping svg { width: 17px; height: 17px; color: var(--gold-deep); }

.notes-pyramid { display: grid; gap: 14px; margin: 24px 0; }
.notes-pyramid__row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; }
.notes-pyramid__row span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.notes-pyramid__row div { display: flex; flex-wrap: wrap; gap: 6px; }
.notes-pyramid__row i { font-style: normal; font-size: 11px; padding: 3px 10px; background: var(--bg-soft); }

.product-tabs { margin-top: 30px; border-top: 1px solid var(--line); }
.product-tabs__nav { display: flex; gap: 22px; overflow-x: auto; }
.product-tabs__nav button { padding: 16px 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; white-space: nowrap; }
.product-tabs__nav button.is-active { color: var(--ink); border-color: var(--ink); }
.product-tabs__panel { padding: 22px 0; font-size: 13px; color: var(--ink-2); line-height: 1.85; }
.product-tabs__panel ul { display: grid; gap: 8px; }
.product-tabs__panel li { display: flex; gap: 10px; align-items: baseline; }
.product-tabs__panel li::before { content: "—"; color: var(--gold); }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 60px); padding: clamp(24px, 4vw, 46px) 0 70px; align-items: start; }
.checkout-steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.checkout-step { display: flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checkout-step b { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 500; }
.checkout-step.is-active { color: var(--ink); }
.checkout-step.is-active b { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.checkout-step + .checkout-step::before { content: ""; width: 22px; height: 1px; background: var(--line); }

.form-card { border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; background: var(--surface); }
.form-card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 4px; }
.form-card > p { font-size: 11.5px; color: var(--muted); margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--bg-soft); }
.field textarea { min-height: 78px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field small { font-size: 9.5px; color: var(--muted); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--wine); }

.pay-methods { display: grid; gap: 10px; }
.pay-method {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.pay-method:hover { border-color: var(--gold); }
.pay-method.is-active { border-color: var(--ink); background: var(--bg-soft); }
.pay-method input { accent-color: var(--gold-deep); margin: 0; }
.pay-method__name { font-size: 12px; font-weight: 500; }
.pay-method__meta { font-size: 10px; color: var(--muted); }
.pay-method__tag { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }

.summary { border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 28px); background: var(--bg-soft); position: sticky; top: calc(var(--header-h) + 18px); }
.summary h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 18px; }
.summary__items { display: grid; gap: 14px; max-height: 320px; overflow-y: auto; padding-right: 4px; margin-bottom: 18px; }
.summary__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.summary__item-media { width: 52px; height: 62px; background: var(--paper); overflow: hidden; }
.summary__item-media svg { width: 100%; height: 100%; }
.summary__item-name { font-size: 10.5px; font-weight: 500; line-height: 1.35; }
.summary__item-meta { font-size: 9px; color: var(--muted); }
.summary__item-price { font-size: 11px; }

.paybox { margin-top: 18px; border: 1px solid var(--gold); background: var(--cream); padding: 22px; }
html[data-theme="dark"] .paybox { background: rgba(201, 169, 110, .07); }
.paybox__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.paybox__amount { font-family: var(--font-display); font-size: 30px; }
.paybox__qr { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; }
.paybox__qr img { width: 150px; height: 150px; border: 6px solid #fff; }
.paybox__data { display: grid; gap: 10px; }
.paybox__row label { font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; }
.paybox__row div { display: flex; align-items: center; gap: 8px; font-family: ui-monospace, "SF Mono", monospace; font-size: 11px; word-break: break-all; }
.paybox__copy { font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid currentColor; }
.paybox__timer { font-size: 10px; color: var(--wine); letter-spacing: .06em; }
.paybox__status { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-top: 14px; color: var(--muted); }
.paybox__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.paybox__tx { display: flex; gap: 8px; margin-top: 14px; }
.paybox__tx input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 10.5px; }

.success-screen { text-align: center; padding: clamp(38px, 6vw, 80px) 20px; }
.success-screen__icon {
  width: 84px; height: 84px; margin: 0 auto 26px;
  border-radius: 50%; background: var(--cream); color: var(--gold-deep);
  display: grid; place-items: center;
  animation: successPop .7s var(--ease-out);
}
.success-screen__icon svg { width: 38px; height: 38px; }
@keyframes successPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.success-screen h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.success-screen p { color: var(--muted); font-size: 13px; max-width: 520px; margin: 0 auto 26px; }
.success-screen__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Quiz */
.quiz-shell { max-width: 760px; margin: 0 auto; padding: clamp(30px, 5vw, 64px) 20px 80px; }
.quiz-progress { height: 2px; background: var(--line); margin-bottom: 34px; }
.quiz-progress div { height: 100%; background: var(--gold); transition: width .5s var(--ease-out); }
.quiz-question { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin-bottom: 8px; }
.quiz-hint { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-option {
  padding: 22px; border: 1px solid var(--line); text-align: left;
  transition: border-color .25s, background .25s, transform .25s;
}
.quiz-option:hover { border-color: var(--gold); transform: translateY(-2px); }
.quiz-option.is-selected { border-color: var(--ink); background: var(--cream); }
.quiz-option b { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.quiz-option span { font-size: 10.5px; color: var(--muted); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 30px; }

/* Favoritos / comparador / cuenta */
.empty-state { text-align: center; padding: clamp(50px, 8vw, 100px) 20px; }
.empty-state svg { width: 60px; height: 60px; margin: 0 auto 20px; color: var(--line-strong); }
.empty-state h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.compare-table th, .compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.compare-table td:first-child { width: 130px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.compare-head { display: grid; gap: 8px; min-width: 150px; justify-items: center; text-align: center; }
.compare-head__media {
  width: 168px;
  max-width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 6px;
  box-sizing: border-box;
}
.compare-head__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.compare-head__media svg { width: 100%; height: 100%; }
.compare-head b { font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 70px; }
.loyalty-card { background: var(--deep); color: var(--on-deep); padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.progress-bar { height: 3px; background: rgba(247, 241, 230, .18); margin-top: 24px; }
.progress-bar div { height: 100%; background: var(--gold); }

/* Blog article */
.article { max-width: 760px; margin: 0 auto; padding: clamp(30px, 5vw, 60px) 20px 80px; }
.article h1 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; margin-bottom: 16px; }
.article__meta { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.article__cover { height: 280px; background: var(--bg-soft); margin-bottom: 32px; overflow: hidden; }
.article__cover svg { width: 100%; height: 100%; }
.article p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); margin-bottom: 18px; }
.article h2 { font-family: var(--font-display); font-size: 26px; margin: 30px 0 12px; }

/* Instalación PWA */
.install-banner {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 18px; z-index: 75;
  width: min(520px, calc(100vw - 32px));
  background: var(--deep); color: var(--on-deep);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .5s var(--ease-out);
}
.install-banner[hidden] { display: none; }
[hidden] { display: none !important; }
.install-banner svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.install-banner__text { flex: 1; font-size: 11.5px; line-height: 1.5; cursor: pointer; }
.install-banner__text b { display: block; font-size: 12.5px; }
.install-banner button { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.install-banner [data-install-cta] {
  background: var(--gold);
  color: #1a1a1a;
  padding: 9px 14px;
  border-radius: 2px;
  font-weight: 600;
}
.install-banner [data-install-cta]:hover { background: var(--gold-light); }
.install-banner .dismiss { color: rgba(247, 241, 230, .5); font-size: 18px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--bg-soft) 25%, var(--cream) 37%, var(--bg-soft) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold-deep); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.tag { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }

/* Barra de compra fija en móvil */
.mobile-buybar { display: none; }

@media (max-width: 980px) {
  .mobile-buybar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 74;
    align-items: center; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-buybar__price { flex: 1; min-width: 0; }
  .mobile-buybar__price b { display: block; font-size: 15px; font-weight: 500; }
  .mobile-buybar__price span { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .mobile-buybar .btn { flex: 1; min-width: 0; height: 46px; }
  body.has-buybar { padding-bottom: 76px; }
  body.has-buybar .chat-fab { bottom: 88px; }
  body.has-buybar .wa-float { bottom: 88px; }
}

/* El tema oscuro usa botones dorados para mantener el contraste del lujo árabe */
html[data-theme="dark"] .btn { --btn-bg: var(--gold); --btn-fg: #1a1a1a; border-color: var(--gold); }
html[data-theme="dark"] .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
html[data-theme="dark"] .btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
html[data-theme="dark"] .btn--ghost:hover { background: var(--bg-soft); border-color: var(--gold); }
html[data-theme="dark"] .btn--wine { --btn-bg: var(--wine); --btn-fg: #fff; border-color: var(--wine); }
html[data-theme="dark"] .btn--light { --btn-bg: #f7f1e6; --btn-fg: #1a1a1a; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1400px) {
  .nav__menu { gap: 12px; }
  .nav__link { font-size: 9px; letter-spacing: .12em; }
  .nav__tools .icon-btn { width: 38px; }
  .nav__currency { margin-right: 2px; padding: 0 8px; }
}

@media (max-width: 1180px) {
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__title { font-size: clamp(38px, 5.4vw, 66px); }
  .nav__menu { gap: 14px; }
  .nav__link { font-size: 9px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .footer-news > div + div { margin-top: 0; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .topbar .container { justify-content: space-between; }
  .topbar__links { display: flex; gap: 12px; }
  .topbar__links > a { display: none; }
  .topbar__links button { display: inline-flex; }
  .nav__inner { min-height: 66px; }
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__currency { display: none; }
  .card__quick { position: static; opacity: 1; transform: none; margin-top: 10px; }
  .card__fav { opacity: 1; transform: none; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split__visual { aspect-ratio: auto; }
  .duo { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid > :last-child { display: none; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: grid; }
  .filters__toggle { display: inline-flex; }
  .hero { min-height: clamp(520px, 78vh, 720px); }
  .hero__content { padding-top: clamp(34px, 7vh, 70px); padding-bottom: clamp(110px, 17vh, 150px); }
  .hero__title { font-size: clamp(40px, 7.2vw, 62px); }
  .hero__nav { width: 40px; height: 40px; }
  .quickview { grid-template-columns: 1fr; }
  .quickview__media { min-height: 260px; max-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .paybox__qr { grid-template-columns: 120px 1fr; }
  .paybox__qr img { width: 120px; height: 120px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .nav__inner { gap: 6px; }
  .nav .brand {
    position: static; transform: none;
    align-items: flex-start; margin-right: auto;
    font-size: 20px; padding: 4px 0;
  }
  .brand__tag { display: none; }
  .nav__tools { gap: 0; }
  .nav__tools .icon-btn { width: 34px; height: 36px; }
  .nav__tools .icon-btn svg { width: 18px; height: 18px; }
  .nav__toggle { width: 34px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-title { font-size: clamp(26px, 8vw, 38px); }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px 2px 2px; }
  .card__name { font-size: 10.5px; }
  .card__price { font-size: 12px; flex-wrap: wrap; }
  .card__fav { opacity: 1; transform: none; width: 30px; height: 30px; }
  .card__quick { position: static; opacity: 1; transform: none; margin-top: 8px; }
  .card__quick .btn { padding: 9px; font-size: 8px; }
  .card__quick-row .btn--ghost { display: inline-flex; flex: 0 0 34px; padding: 0; }
  /* Hero móvil: la foto del perfume arriba y el texto con los botones debajo. */
  .hero {
    display: block;
    min-height: 0;
  }
  .hero__slides {
    position: relative;
    inset: auto;
    height: auto;
    width: 100%;
  }
  .hero__slide {
    display: flex;
    flex-direction: column;
  }
  .hero__slide.is-active {
    position: relative;
    inset: auto;
  }
  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: min(46vh, 400px);
    min-height: 300px;
    flex: 0 0 auto;
  }
  .hero__bg { object-position: center bottom; }
  .hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: min(46vh, 400px);
    background: linear-gradient(180deg, rgba(10, 8, 6, .22) 0%, rgba(12, 10, 8, .48) 65%, rgba(22, 20, 16, .95) 100%);
  }
  .hero__content {
    height: auto;
    justify-content: flex-start;
    padding-top: 18px;
    padding-bottom: 24px;
  }
  .hero__text { max-width: 100%; }
  .hero .original-seal { display: none; }
  .hero__controls {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    align-self: center;
    margin: 4px auto 44px;
  }
  .hero__curve { height: 44px; }
  .hero__title { font-size: clamp(34px, 9.6vw, 48px); }
  .hero__text { font-size: 12.5px; line-height: 1.7; margin-bottom: 24px; }
  .hero__nav { display: none; }
  .hero__controls { gap: 0; }
  .hero__dot { width: 22px; }
  .hero__dot.is-active { width: 34px; }
  .hero__actions { width: 100%; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; min-width: 0; }
  .hero__actions .link-more {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  border: 1px solid rgba(247, 241, 230, .32);
  border-radius: 2px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light);
  transition: border-color .25s, background .25s, color .25s;
}
.hero__actions .link-more:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, .14);
  color: #fff;
}
  .hero__actions .link-more {
    flex: 1 1 100%;
    padding: 13px 18px;
    font-size: 9.5px;
    letter-spacing: .16em;
  }
  .countdown__box { min-width: 56px; }
  .countdown__box b { font-size: 21px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid > :last-child { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-news { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .drawer { width: 100%; }
  .modal { max-height: 92vh; }
  .chat-backdrop { display: block; }
  .chat-panel {
    left: 0; right: 0; bottom: 0; width: 100%;
    height: min(84dvh, 720px); max-height: calc(100dvh - 10px);
    border-radius: 22px 22px 0 0;
    transform: translateY(100%); transform-origin: bottom center;
  }
  .chat-panel.is-open { transform: none; }
  .chat-sheet__handle {
    display: block; width: 46px; height: 5px; border-radius: 999px;
    background: rgba(247, 241, 230, .35); margin: 8px auto 2px; flex: none;
    touch-action: none;
  }
  .chat-panel__head { padding-top: 10px; }
  .chat-panel__foot { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .chat-fab {
    right: 14px; bottom: max(16px, env(safe-area-inset-bottom));
    width: 58px; height: 58px; padding: 0; gap: 0;
    justify-content: center; border-radius: 50%;
  }
  .chat-fab__logo { width: 46px; height: 46px; }
  .chat-fab__text { display: none; }
  .wa-float { left: 14px; bottom: 14px; }
  .quiz-options { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .product-info__attrs { grid-template-columns: 1fr 1fr; }
  .product-info__buy { flex-direction: column; align-items: stretch; }
  .product-info__buy .qty { width: 100%; justify-content: space-between; }
  .product-info__buy .btn { width: 100%; flex: 1 1 auto; }
  .paybox__qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .install-banner { bottom: 84px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .install-banner { padding: 12px 14px; gap: 10px; }
  .install-banner__text span { display: none; }
  .install-banner [data-install-cta] { padding: 8px 12px; }
  .compare-table td:first-child { width: 96px; font-size: 9px; }
  .compare-head__media { width: 128px; }
}

@media (max-width: 400px) {
  .nav__tools .icon-btn { width: 30px; }
  .nav__tools .icon-btn svg { width: 17px; height: 17px; }
  .nav .brand { font-size: 18px; letter-spacing: .02em; }
}

@media (min-width: 1600px) {
  .hero__title { font-size: 92px; }
}

/* ── Métodos de pago informativos ───────────────────────── */
.pay-info { border: 1px solid var(--line); background: var(--paper); padding: 12px 14px; }
.pay-info__title { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pay-info__title span { color: var(--gold-deep); }
.pay-info__group + .pay-info__group { margin-top: 10px; }
.pay-info__label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.pay-info__note { font-size: 9.5px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.pay-methods-info { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pay-methods-info__item { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 6px 10px; font-size: 10.5px; background: var(--surface); }
.pay-methods-info__icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--gold-deep); flex: none; }
.pay-methods-info__icon svg { width: 13px; height: 13px; }
.pay-methods-info--compact .pay-methods-info__item { padding: 5px 8px; font-size: 9.5px; }

/* ── Notas olfativas con imagen ─────────────────────────── */
.rating-source { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.product-similar { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; }
.product-similar a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ── Sello 100% original ─────────────────────────────────── */
.original-seal { display: flex; flex-direction: row; align-items: center; gap: 12px; margin-top: 26px; color: var(--gold-light); }
.original-seal__ring {
  width: 104px; height: 104px; border-radius: 50%; flex: none;
  border: 1px solid rgba(201, 169, 110, .75);
  box-shadow: inset 0 0 0 4px rgba(201, 169, 110, .14), inset 0 0 0 9px rgba(201, 169, 110, .08);
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: rgba(20, 18, 15, .18);
}
.original-seal__ring b { font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: .02em; }
.original-seal__ring small { display: block; font-size: 8px; letter-spacing: .32em; margin-top: 5px; color: var(--gold-light); }
.original-seal em { font-style: normal; font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: rgba(247, 241, 230, .6); max-width: 100px; line-height: 1.6; }
@media (min-width: 900px) {
  .original-seal { margin-top: 20px; }
}

/* ── Buscador del catálogo ──────────────────────────────── */
.shop-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); padding: 11px 14px; margin-bottom: 16px; }
.shop-search svg { color: var(--muted); flex: none; }
.shop-search input { border: 0; background: transparent; flex: 1; font-size: 12px; outline: none; color: var(--ink); }
.filters__list--scroll { max-height: 190px; overflow: auto; padding-right: 4px; }

/* ── Invitación al quiz ─────────────────────────────────── */
.quiz-prompt__inner { text-align: center; padding: 6px 2px 0; }
.quiz-prompt__logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 8px; display: block; }
.quiz-prompt__title { font-family: var(--font-display); font-size: 30px; line-height: 1.08; margin: 10px 0 12px; }
.quiz-prompt__title em { color: var(--gold-deep); }
.quiz-prompt__text { font-size: 12.5px; line-height: 1.8; color: var(--muted); }
@media (max-width: 600px) {
  .quiz-prompt__logo { width: 78px; height: 78px; }
  .quiz-prompt__title { font-size: 25px; }
  .hero__actions { flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 100%; }
  .original-seal { justify-content: center; }
  .original-seal__ring { width: 88px; height: 88px; }
  .original-seal__ring b { font-size: 23px; }
}

.quiz-prompt__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.quiz-prompt__actions .btn { flex: 1 1 140px; }

.quiz-prompt__logo { border-radius: 50%; }
.sidebar__logo, .login-brand img { border-radius: 50%; }

.chat-avatar img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

/* ── Pantalla de entrada / carga con quiz ────────────────── */
.mia-intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(201, 169, 110, .16), transparent 55%),
    #121110;
  color: #f7f1e6;
  overflow: hidden;
  opacity: 1;
  transition: opacity .45s ease, visibility .45s;
}
.mia-intro.is-leaving { opacity: 0; visibility: hidden; }
.mia-intro__glow {
  position: absolute; width: min(82vw, 720px); height: min(82vw, 720px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, .20), transparent 62%);
  filter: blur(12px);
  animation: introGlow 4.5s ease-in-out infinite;
}
.mia-intro__sparks i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); opacity: 0;
  animation: introSpark 7s linear infinite;
}
.mia-intro__sparks i:nth-child(1) { left: 16%; top: 64%; animation-delay: 0s; }
.mia-intro__sparks i:nth-child(2) { left: 29%; top: 78%; animation-delay: 1.4s; width: 2px; height: 2px; }
.mia-intro__sparks i:nth-child(3) { left: 72%; top: 70%; animation-delay: 2.2s; }
.mia-intro__sparks i:nth-child(4) { left: 84%; top: 46%; animation-delay: 3.1s; width: 2px; height: 2px; }
.mia-intro__sparks i:nth-child(5) { left: 58%; top: 82%; animation-delay: 4.4s; }
.mia-intro__sparks i:nth-child(6) { left: 40%; top: 30%; animation-delay: 5.2s; width: 2px; height: 2px; }
.mia-intro__inner {
  position: relative; z-index: 2;
  width: min(580px, calc(100vw - 36px));
  text-align: center;
  padding: 26px 18px 26px;
}
.mia-intro__stage { transition: transform .8s var(--ease-out); }
.mia-intro__logo-wrap {
  position: relative; width: 156px; height: 156px; margin: 0 auto;
  display: grid; place-items: center;
}
.mia-intro__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .42);
  animation: introPulse 2.8s ease-out infinite;
}
.mia-intro__ring::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .16);
}
.mia-intro__logo {
  width: 132px; height: 132px; object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .55));
  animation: introLogo 1.5s var(--ease-out) both;
}
.mia-intro__wordmark {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: .06em;
  margin-top: 18px;
}
.mia-intro__tag {
  font-size: 8px; letter-spacing: .44em; text-transform: uppercase;
  color: rgba(247, 241, 230, .48); margin-top: 7px;
}
.mia-intro__loading {
  margin-top: 34px; max-height: 120px; overflow: hidden;
  transition: opacity .4s, visibility .4s, max-height .5s, margin .5s;
}
.mia-intro__bar {
  width: 190px; height: 2px; margin: 0 auto;
  background: rgba(201, 169, 110, .16); overflow: hidden;
}
.mia-intro__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), #f0dfb2, var(--gold), transparent);
  box-shadow: 0 0 14px rgba(201, 169, 110, .65);
  transition: width .16s linear;
}
.mia-intro__loading-row {
  display: flex; justify-content: space-between; width: 190px;
  margin: 12px auto 0;
  font-size: 8px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(247, 241, 230, .42);
}
.mia-intro__loading-row b { color: var(--gold-light); font-weight: 500; }
.mia-intro__question {
  opacity: 0; visibility: hidden; transform: translateY(16px);
  max-height: 0; overflow: hidden;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), visibility .7s, max-height .7s, margin .7s;
}
.mia-intro.is-question .mia-intro__loading { opacity: 0; visibility: hidden; max-height: 0; margin-top: 0; }
.mia-intro.is-question .mia-intro__stage { transform: translateY(-8px) scale(.93); }
.mia-intro.is-question .mia-intro__question {
  opacity: 1; visibility: visible; transform: none;
  max-height: 640px; margin-top: 22px;
}
.mia-intro__eyebrow {
  font-size: 8px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-light);
}
.mia-intro__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.04;
  margin: 14px 0 14px;
}
.mia-intro__title em { color: var(--gold-light); font-style: italic; }
.mia-intro__text {
  font-size: 12.5px; line-height: 1.85;
  color: rgba(247, 241, 230, .62);
  max-width: 430px; margin: 0 auto;
}
.mia-intro__actions {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 24px; flex-wrap: wrap;
}
.mia-intro__actions .btn { min-width: 160px; }
.mia-intro .btn--ghost {
  color: #f7f1e6;
  border-color: rgba(247, 241, 230, .32);
  background: transparent;
}
.mia-intro .btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.mia-intro .btn--gold {
  background: linear-gradient(145deg, var(--gold), #b08b4a);
  color: #1a1a1a; border-color: transparent;
}
.mia-intro__hint {
  font-size: 8px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(247, 241, 230, .32); margin-top: 16px;
}
.mia-intro__close {
  position: absolute; top: max(18px, env(safe-area-inset-top)); right: 18px;
  z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(247, 241, 230, .65);
  border: 1px solid rgba(247, 241, 230, .16);
  background: rgba(255, 255, 255, .03);
}
.mia-intro__close:hover { color: var(--gold-light); border-color: rgba(201, 169, 110, .5); }
@keyframes introLogo {
  from { opacity: 0; transform: scale(.82); filter: blur(7px) drop-shadow(0 22px 34px rgba(0,0,0,.55)); }
  to { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 22px 34px rgba(0,0,0,.55)); }
}
@keyframes introPulse {
  0% { transform: scale(.82); opacity: .85; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes introGlow {
  0%, 100% { transform: scale(.96); opacity: .75; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes introSpark {
  0% { transform: translateY(20px) scale(.8); opacity: 0; }
  18% { opacity: .55; }
  80% { opacity: .18; }
  100% { transform: translateY(-90px) scale(1.1); opacity: 0; }
}
@media (max-width: 600px) {
  .mia-intro__inner { padding: 18px 14px 26px; }
  .mia-intro__logo-wrap { width: 126px; height: 126px; }
  .mia-intro__logo { width: 106px; height: 106px; }
  .mia-intro__wordmark { margin-top: 14px; }
  .mia-intro__loading { margin-top: 28px; }
  .mia-intro__actions { flex-direction: column-reverse; }
  .mia-intro__actions .btn { width: 100%; min-width: 0; }
  .mia-intro.is-question .mia-intro__question { max-height: 700px; }
}
@media (prefers-reduced-motion: reduce) {
  .mia-intro *, .mia-intro *::before, .mia-intro *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
.split__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__actions .link-more {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  border: 1px solid rgba(247, 241, 230, .32);
  border-radius: 2px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light);
  transition: border-color .25s, background .25s, color .25s;
}
.hero__actions .link-more:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, .14);
  color: #fff;
}
.hero__actions .link-more { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero__text, .hero__eyebrow { text-shadow: 0 2px 16px rgba(0,0,0,.55); }


/* ── Términos y privacidad: ventana y acordeones ── */
.modal--legal { width: min(760px, 100%); }
.legal-modal { padding: clamp(26px, 4vw, 46px); }
.legal-modal__eyebrow {
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
}
.legal-modal__title {
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 36px);
  font-weight: 400; line-height: 1.1; margin: 0 0 10px;
}
.legal-modal__intro { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); margin: 0 0 16px; }
.legal-acc-list { border-top: 1px solid var(--line); margin-top: 8px; }
.legal-acc { border-bottom: 1px solid var(--line); }
.legal-acc summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; padding: 14px 2px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.legal-acc summary::-webkit-details-marker { display: none; }
.legal-acc summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; }
.legal-acc[open] summary::after { content: '−'; }
.legal-acc__body { padding: 0 2px 16px; }
.legal-acc__body p {
  font-size: 12.5px; line-height: 1.85; color: var(--ink-2);
  margin: 0 0 10px;
}
.legal-acc__body p:last-child { margin-bottom: 0; }
.legal-modal__date {
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 18px 0;
}
.legal-modal .btn { margin-top: 2px; }
@media (max-width: 620px) {
  .legal-modal { padding: 24px 18px 30px; }
  .legal-acc summary { font-size: 12.5px; }
}
