/* =========================================================================
   CASTAINGS DECANTS · Landing page
   Paleta: negro, blanco y dorado (la del logo). Tipografía de marca Cinzel,
   titulares Cormorant Garamond y textos Montserrat.
   Movimiento: curvas fuertes (ease-out para entradas, ease-in-out para
   movimiento en pantalla), solo transform/opacity/clip-path, hover solo en
   dispositivos con mouse y versión suave con prefers-reduced-motion.
   ========================================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #101010;
  --surface: #151515;
  --surface-2: #1c1c1c;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --ink: #f7f5f1;
  --ink-2: #cfcbc4;
  --muted: #8d8984;
  --gold: #d0a650;
  --gold-2: #ecd08e;
  --gold-ink: #1a1306;
  --wa: #25d366;

  --glass-fill: rgba(255, 255, 255, 0.07);
  --glass-edge: rgba(255, 255, 255, 0.34);

  --font-brand: "Cinzel", "Times New Roman", serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-gutter: stable;
}
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-ui);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 136px) 0; }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Texto del tamaño en la etiqueta del decant */
.vial__ml { font: 600 3.4px var(--font-ui); letter-spacing: 0.5px; fill: #3a332b; text-anchor: middle; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-brand); font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1; letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-lead { color: var(--ink-2); max-width: 46ch; font-size: clamp(15px, 1.3vw, 17px); text-wrap: pretty; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 40px; }
  .section-head--split .section-lead { justify-self: end; }
}

/* ---------- Botones ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: var(--h); padding: 0 1.5em; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  user-select: none; -webkit-tap-highlight-color: transparent;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    opacity 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; font-size: 13.5px; padding: 0 1.15em; }
.btn--block { width: 100%; }
.btn--gold { background: linear-gradient(180deg, #e2bc6a, var(--gold)); color: var(--gold-ink); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--text { color: var(--ink-2); padding: 0 0.8em; }

.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.icon-btn:active { transform: scale(0.96); }

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: linear-gradient(180deg, var(--gold-2), #d8b062); }
  .btn--ghost:hover { color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold); }
  .btn--text:hover { color: var(--ink); }
  .icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
}

/* ---------- Barra de anuncios (marquee) ---------- */
.announce {
  overflow: hidden; background: #050505; border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.announce__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.announce__list { display: flex; }
.announce__list li { display: flex; align-items: center; gap: 30px; padding: 10px 0 10px 30px; white-space: nowrap; }
.announce__list li::after { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) {
  .announce:hover .announce__track { animation-play-state: paused; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  transition: background-color 250ms ease, box-shadow 250ms ease;
}
.header.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__crown { width: 30px; height: 22px; fill: url(#crown-gold); }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name {
  font-family: var(--font-brand); font-weight: 600; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 20%, #c9c4bb 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__tag { margin-top: 4px; padding-left: 0.62em; font-family: var(--font-brand); font-size: 8px; font-weight: 600; letter-spacing: 0.62em; text-transform: uppercase; color: var(--gold); }

.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { position: relative; padding: 8px 0; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: color 200ms ease; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); }
}
.header__cta { display: none; }
.header__bag { margin-left: auto; }
.header__menu { margin-right: -10px; }
.bag-count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-size: 10.5px; font-weight: 700;
  transition: transform 200ms var(--ease-out);
}
.bag-count.is-bump { transform: scale(1.2); transition-duration: 120ms; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; margin-left: 20px; }
  .header__bag { margin-left: 4px; margin-right: -10px; }
  .header__menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 28px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 58% at 74% 48%, rgba(208, 166, 80, 0.16), transparent 70%),
    radial-gradient(36% 40% at 4% 0%, rgba(208, 166, 80, 0.06), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.hero__title {
  margin-top: 20px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(46px, 7vw, 94px); line-height: 0.96; letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-2); }
.hero__lead { margin-top: 22px; max-width: 34em; color: var(--ink-2); font-size: clamp(15.5px, 1.4vw, 17.5px); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: flex; max-width: 540px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__stats > div { flex: 1; padding-right: 14px; }
.hero__stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__stats > div:last-child { padding-right: 0; }
@media (max-width: 380px) { .hero__stats > div + div { padding-left: 14px; } }
.hero__stats dt { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; line-height: 1; white-space: nowrap; }
.hero__stats dd { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.hero__stage { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1.04; margin-inline: auto; }
.hero__halo {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 166, 80, 0.2), rgba(208, 166, 80, 0.05) 62%, transparent);
}
.hero__layer { position: absolute; will-change: transform; }
.hero__layer--logo { inset: 0 0 6% 0; }
.hero__logo { position: relative; width: 100%; height: 100%; }
.hero__logo img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
}
/* Brillo: una banda de luz cruza el emblema una sola vez */
.hero__shine { position: absolute; inset: 16%; border-radius: 50%; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.hero__shine::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 190, 0.3), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.hero__layer--vials { left: 50%; bottom: 0; width: 44%; translate: -50% 0; z-index: 2; }
.hero__vials { display: flex; align-items: flex-end; justify-content: center; gap: 6%; }
.hero__vial { height: auto; aspect-ratio: 60 / 200; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.65)); }
.hero__vial--2 { width: 19%; }
.hero__vial--5 { width: 23%; }
.hero__vial--10 { width: 28%; }

/* Móvil: título → emblema → CTA, para que la marca se vea sin hacer scroll */
@media (max-width: 959px) {
  .hero__grid { gap: 0; }
  .hero__copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__stage { order: 3; width: min(100%, 380px); margin-top: 8px; }
  .hero__actions { order: 4; margin-top: 6px; }
  .hero__lead { order: 5; margin-top: 26px; }
  .hero__stats { order: 6; margin-top: 30px; }
  .hero__actions .btn { flex: 1 1 auto; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 96px; }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 32px; min-height: min(calc(100svh - 120px), 720px); }
  .hero__stage { width: 100%; }
}

/* Entrada del hero (se ve una vez por visita) */
@keyframes enter-up { from { opacity: 0; translate: 0 14px; } }
@keyframes logo-in { from { opacity: 0; scale: 0.96; } }
@keyframes vial-rise { from { opacity: 0; translate: 0 36px; } }
@keyframes shine-x { from { opacity: 1; translate: 0 0; } to { opacity: 1; translate: 520% 0; } }
.js [data-enter] { animation: enter-up 900ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
.js .hero__logo { animation: logo-in 1200ms var(--ease-out) 160ms both; }
.js .hero__vial { animation: vial-rise 1000ms var(--ease-out) both; animation-delay: var(--d, 500ms); }
.js .hero__shine::before { animation: shine-x 1300ms var(--ease-in-out) 1500ms both; }

/* ---------- Tamaños ---------- */
.sizes { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.sizes__grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .sizes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.size-card {
  position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 4px 18px; align-items: center;
  padding: 22px 20px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 90% at 0% 100%, rgba(208, 166, 80, 0.12), transparent 70%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.size-card__art { grid-row: span 6; display: grid; place-items: end center; height: 150px; }
.size-card__vial { width: auto; aspect-ratio: 60 / 200; height: var(--h, 100%); filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.55)); }
.size-card__ml { font-family: var(--font-display); font-size: 48px; font-weight: 500; line-height: 1; }
.size-card__ml span { margin-left: 4px; font-size: 22px; color: var(--muted); }
.size-card h3 { font-family: var(--font-brand); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.size-card__text { font-size: 14px; color: var(--ink-2); }
.size-card__meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.size-card__meta .i { width: 16px; height: 16px; color: var(--gold); }
.size-card__from { font-size: 13px; color: var(--ink-2); }
.size-card__from strong { font-size: 17px; color: var(--ink); }
@media (min-width: 760px) {
  .size-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 30px 24px 28px; }
  .size-card__art { grid-row: auto; height: 190px; margin-bottom: 10px; }
}

/* ---------- Familias ---------- */
.families__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .families__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1080px) { .families__grid { grid-template-columns: repeat(5, 1fr); } }
.family {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 20px 18px 18px; min-height: 220px; text-align: left; overflow: hidden; border-radius: 20px;
  background:
    radial-gradient(70% 80% at 100% 100%, color-mix(in srgb, var(--c) 24%, transparent), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.family:active { transform: scale(0.98); }
.family__vial {
  position: absolute; right: 16px; bottom: -18px; width: 34px; height: auto; aspect-ratio: 60 / 200;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5));
  transition: transform 250ms var(--ease-out);
}
.family__name { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; line-height: 1.05; }
.family__desc { max-width: 30ch; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.family__examples { max-width: calc(100% - 46px); font-size: 12px; color: var(--muted); }
.family__count {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--c);
}
.family__count .i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .family:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
  .family:hover .family__vial { transform: translateY(-5px) rotate(-5deg); }
  .family:hover .family__count .i { transform: translateX(4px); }
}
@media (max-width: 520px) {
  .family { min-height: 176px; padding: 16px 14px; }
  .family__desc { display: none; }
  .family__vial { width: 28px; right: 12px; }
}

/* ---------- Catálogo con filtros ---------- */
.shop { display: grid; gap: 24px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 236px minmax(0, 1fr); gap: 36px; } }
.shop__aside { display: none; }
@media (min-width: 1024px) {
  .shop__aside {
    display: block; position: sticky; top: calc(var(--header-h) + 20px); align-self: start;
    max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 4px 8px 4px 2px;
    scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
  }
}
.shop__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.shop__bar .search { flex: 1 1 240px; }
.shop__filter-btn { --h: 50px; padding: 0 1.1em; }
@media (min-width: 1024px) { .shop__filter-btn { display: none; } }

.search {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted); transition: box-shadow 200ms ease;
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--gold); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }

.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; height: 50px; padding: 0 44px 0 18px; border: 0; border-radius: 999px;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.select select option { background: var(--surface-2); color: var(--ink); }
.select select:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.select .i { position: absolute; right: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }

.dot-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 700; }

.filters { display: grid; gap: 24px; }
.filter-group { display: grid; gap: 4px; margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-group h3 { margin-bottom: 6px; font-family: var(--font-brand); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.opt__box .i { width: 14px; height: 14px; color: var(--gold-ink); stroke-width: 2.6; opacity: 0; transform: scale(0.8); transition: opacity 150ms ease, transform 150ms var(--ease-out); }
.opt input:checked + .opt__box { background: var(--gold); box-shadow: none; }
.opt input:checked + .opt__box .i { opacity: 1; transform: none; }
.opt input:checked ~ .opt__label { color: var(--ink); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.opt__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.opt__icon { width: 16px; height: 16px; color: var(--muted); }
.opt__label { flex: 1; }
.opt__count { font-size: 12px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .opt:hover .opt__label { color: var(--ink); }
  .opt:hover .opt__box { box-shadow: inset 0 0 0 1.5px var(--gold); }
}

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.active-filters:empty { display: none; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border-radius: 999px;
  background: rgba(208, 166, 80, 0.14); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(208, 166, 80, 0.35);
  font-size: 12.5px; font-weight: 600;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.tag:active { transform: scale(0.96); }
.tag .i { width: 15px; height: 15px; opacity: 0.8; }
.tag--clear { padding: 0 12px; background: none; box-shadow: none; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .tag:not(.tag--clear):hover { background: rgba(208, 166, 80, 0.24); } }

.catalog__count { margin: 16px 0; font-size: 13px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: var(--surface);
  transition: opacity 180ms var(--ease-out);
}
/* Borde en una capa encima: el fondo de la foto ya no lo tapa */
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease;
}
/* Tarjetas nuevas (al filtrar o "ver más") entran con un fundido corto */
@starting-style { .card { opacity: 0; } }
.card.is-in-cart::after { box-shadow: inset 0 0 0 1.5px rgba(208, 166, 80, 0.6); }
.card__media {
  position: relative; aspect-ratio: 1 / 0.96; cursor: pointer; container: card-media / inline-size;
  background:
    radial-gradient(46% 52% at 50% 60%, color-mix(in srgb, var(--liquid) 34%, transparent), transparent 72%),
    linear-gradient(180deg, #1c1c1c, #121212);
}
/* Absoluto: el alto en % se calcula sobre la tarjeta y el SVG no crece con el ancho */
.card__media .vial { position: absolute; left: 50%; top: 13%; translate: -50% 0; width: auto; height: 78%; aspect-ratio: 60 / 200; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.55)); transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media .vial, .card:hover .duo__orig { transform: translateY(-5px); }
}
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 5px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(208, 166, 80, 0.18); color: var(--gold-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge--offer { background: var(--gold); color: var(--gold-ink); }
.card__incart {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); font-size: 10.5px; font-weight: 700;
  transition: opacity 200ms var(--ease-out), scale 200ms var(--ease-out);
}
.card__incart .i { width: 12px; height: 12px; stroke-width: 2.6; }
@starting-style { .card__incart { opacity: 0; scale: 0.9; } }
/* Tarjeta angosta: etiquetas más chicas y el decant más abajo para que no se tapen */
@container card-media (max-width: 260px) {
  .card__media .vial { top: 22%; height: 70%; }
  .badge, .card__incart { top: 8px; padding-block: 3px; font-size: 9.5px; }
  .badge { left: 8px; padding-inline: 7px; }
  .card__incart { right: 8px; }
}
@container card-media (max-width: 160px) { .card__media .vial { top: 26%; height: 66%; } }

/* Frasco original + decant: foto del perfume (sin fondo) con su decant al costado */
.duo { position: absolute; inset: 15% 8% 9%; display: flex; align-items: flex-end; justify-content: center; gap: 7%; }
.duo::after {
  content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -3%; height: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent);
}
.duo__orig {
  min-width: 0; max-width: 58%; height: 100%; width: auto; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); transition: transform 250ms var(--ease-out);
}
/* .vial.duo__vial gana a las reglas que centran el decant solo en tarjeta y ficha */
.card__media .vial.duo__vial, .qv__media .vial.duo__vial { position: static; translate: none; flex: none; height: 64%; }
/* Tarjetas angostas (celular): más aire arriba para no tocar las etiquetas */
@container card-media (max-width: 260px) { .duo { inset: 23% 7% 8%; } }
/* Ficha: la misma proporción de la tarjeta, ampliada (la columna es alta y angosta) */
.qv__media .duo { inset: auto; left: 50%; top: 50%; translate: -50% -50%; width: 96%; aspect-ratio: 1 / 1.1; }
@media (max-width: 759px) { .qv__media .duo { width: auto; height: 84%; } }

.card__body { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 14px; }
.card__eyebrow { font-family: var(--font-brand); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.card__title { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 23px); font-weight: 600; line-height: 1.08; text-wrap: balance; }
.card__link { font: inherit; text-align: left; text-wrap: balance; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .card__link:hover { text-decoration-color: var(--gold); } }
.card__meta { font-size: 12.5px; color: var(--ink-2); }
.card__notes { font-size: 12px; color: var(--muted); }
.card__sizes { display: flex; gap: 6px; margin-top: auto; padding-top: 12px; }
.chip-size {
  flex: 1; min-width: 0; height: 34px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
}
.chip-size:active { transform: scale(0.95); }
.chip-size[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .chip-size[aria-pressed="false"]:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); } }
.card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; }
.card__price strong { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__price span { font-size: 12.5px; color: var(--muted); }
.card__price s, .size-opt s { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.card__price--ask strong { font-size: 15px; color: var(--gold-2); }
.card__actions { margin-top: 10px; }
.btn--add { position: relative; width: 100%; --h: 42px; padding: 0 12px; font-size: 13.5px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--add::after { content: ""; position: absolute; inset: -1px 0; } /* área táctil de 44px */
@media (hover: hover) and (pointer: fine) {
  .btn--add:hover { background: var(--gold); color: var(--gold-ink); box-shadow: none; }
}
@media (max-width: 520px) {
  .card__body { padding: 12px; }
  .chip-size { font-size: 12px; }
}

.catalog__more { display: flex; justify-content: center; margin-top: 32px; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 48px 16px; text-align: center; color: var(--ink-2); }
.empty__icon { width: 48px; height: 35px; fill: url(#crown-gold); margin-bottom: 6px; }
.empty__title { font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

/* ---------- Nosotros ---------- */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.about__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
/* Mismo emblema circular del inicio: logo con máscara redonda y luz dorada detrás */
.about__art { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.about__halo {
  position: absolute; inset: -6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 166, 80, 0.26), rgba(208, 166, 80, 0.07) 60%, transparent);
}
.about__art img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
}
.about__copy h2 {
  margin: 16px 0 18px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; text-wrap: balance;
}
.about__copy h2 em { font-style: italic; color: var(--gold-2); }
.about__text { margin-top: 14px; max-width: 52ch; color: var(--ink-2); }
.pillars { display: grid; gap: 12px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.pillars li { padding: 24px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pillars .i { width: 26px; height: 26px; color: var(--gold); }
.pillars h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 600; }
.pillars p { font-size: 14px; color: var(--ink-2); }

/* ---------- ¿Qué es un decant? ---------- */
.quality { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.quality__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .quality__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.quality__copy h2 {
  margin: 16px 0 18px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 5vw, 62px); line-height: 1; text-wrap: balance;
}
.quality__note { margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.quality__note h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.quality__note p { font-size: 14px; color: var(--ink-2); }
.quality__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quality__stats li {
  display: grid; gap: 4px; padding: 22px 18px; border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line);
}
.quality__stats .i { width: 26px; height: 26px; color: var(--gold); margin-bottom: 10px; }
.quality__stats strong { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1; white-space: nowrap; }
.quality__stats span { font-size: 13px; color: var(--ink-2); }

/* ---------- Pasos ---------- */
.steps__list { display: grid; gap: 14px; }
@media (min-width: 640px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps__list { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.steps__list li { position: relative; padding: 26px 22px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.steps__n { display: block; font-family: var(--font-brand); font-size: 36px; line-height: 1; font-weight: 500; color: var(--gold); }
.steps__list h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; }
.steps__list p { font-size: 14px; color: var(--ink-2); }

/* ---------- Preguntas ---------- */
.faq__list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(21px, 2.3vw, 27px); font-weight: 500; line-height: 1.2;
  transition: color 200ms ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { color: var(--gold); transition: transform 200ms var(--ease-out); }
.faq__item[open] summary .i { transform: rotate(180deg); }
.faq__item p { padding: 0 2px 24px; max-width: 64ch; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .faq__item summary:hover { color: var(--gold-2); } }
/* Acordeón animado donde el navegador lo soporta (si no, abre al instante) */
.faq__item::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 220ms var(--ease-out), content-visibility 220ms allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

/* ---------- CTA final ---------- */
.cta { position: relative; isolation: isolate; overflow: clip; text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(46% 60% at 50% 50%, rgba(208, 166, 80, 0.14), transparent 70%);
}
.cta__inner { display: grid; justify-items: center; gap: 16px; }
.cta__icon { width: 64px; height: 46px; fill: url(#crown-gold); margin-bottom: 8px; }
.cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6vw, 74px); line-height: 1; text-wrap: balance; }
.cta .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); background: #050505; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand { display: grid; justify-items: start; }
.footer__crown { width: 44px; height: 32px; fill: url(#crown-gold); }
.footer__name {
  margin-top: 12px; font-family: var(--font-brand); font-size: 28px; font-weight: 600; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 20%, #c9c4bb 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__tag { margin-top: 6px; font-family: var(--font-brand); font-size: 10px; font-weight: 600; letter-spacing: 0.6em; text-transform: uppercase; color: var(--gold); }
.footer__about { margin-top: 16px; max-width: 34ch; font-size: 14px; color: var(--ink-2); }
.footer__col { display: grid; align-content: start; gap: 4px; }
.footer__col h3 { margin-bottom: 8px; font-family: var(--font-brand); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; color: var(--ink-2); transition: color 200ms ease; }
.footer__col a .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--ink); } }
.footer__bottom { display: grid; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ---------- Instagram flotante ---------- */
.ig-float {
  position: fixed; z-index: 45; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(214, 36, 159, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: scale 160ms var(--ease-out);
}
.ig-float .i { width: 28px; height: 28px; stroke-width: 2; }
.ig-float:active { scale: 0.95; }

/* ---------- Toasts ---------- */
.toaster {
  position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: min(100% - 32px, 420px); pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: var(--ink); color: #121212; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  transition: opacity 400ms ease, transform 400ms ease;
}
.toast .i { color: #8a6a2a; }
@starting-style { .toast { opacity: 0; transform: translateY(100%); } }
.toast[data-leaving] { opacity: 0; transform: translateY(8px); transition-duration: 200ms; }

/* ---------- Menú móvil (dialog) ---------- */
.sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden;
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.6); opacity: 1; transition: opacity 300ms ease; }
.sheet__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 20px max(24px, env(safe-area-inset-bottom));
  background: var(--bg-2); box-shadow: -1px 0 0 var(--line);
  transition: transform 450ms var(--ease-drawer);
}
@starting-style {
  .sheet[open] .sheet__panel { transform: translateX(100%); }
  .sheet[open]::backdrop { opacity: 0; }
}
.sheet.is-closing .sheet__panel { transform: translateX(100%); transition: transform 240ms var(--ease-out); }
.sheet.is-closing::backdrop { opacity: 0; transition-duration: 240ms; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.sheet__nav { display: grid; margin-top: 12px; }
.sheet__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 28px; font-weight: 500; }
.sheet__foot { display: grid; gap: 16px; margin-top: auto; }
.sheet__social { display: flex; gap: 6px; justify-content: center; }

/* ---------- Drawers: carrito (derecha) y filtros (abajo) ---------- */
.drawer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden;
}
.drawer::backdrop { background: rgba(0, 0, 0, 0.6); opacity: 1; transition: opacity 300ms ease; }
.drawer__panel {
  position: absolute; display: flex; flex-direction: column; background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line), 0 0 80px rgba(0, 0, 0, 0.6);
  transition: transform 450ms var(--ease-drawer);
}
.drawer--right .drawer__panel { top: 0; right: 0; bottom: 0; width: min(100%, 440px); }
.drawer--bottom .drawer__panel { left: 0; right: 0; bottom: 0; max-height: 88vh; border-radius: 24px 24px 0 0; }
@starting-style {
  .drawer[open]::backdrop { opacity: 0; }
  .drawer--right[open] .drawer__panel { transform: translateX(100%); }
  .drawer--bottom[open] .drawer__panel { transform: translateY(100%); }
}
.drawer.is-closing::backdrop { opacity: 0; transition-duration: 240ms; }
.drawer.is-closing .drawer__panel { transition: transform 240ms var(--ease-out); }
.drawer--right.is-closing .drawer__panel { transform: translateX(100%); }
.drawer--bottom.is-closing .drawer__panel { transform: translateY(100%); }
.drawer.is-dragging .drawer__panel { transition: none; }

.drawer__grip { flex: none; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 999px; background: var(--line-2); }
.drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.drawer--bottom .drawer__head { touch-action: none; cursor: grab; }
.drawer__title { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.drawer__title span { font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.drawer__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 16px 22px; }
.drawer__foot { flex: none; display: grid; gap: 12px; padding: 16px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer__foot--row { grid-template-columns: auto 1fr; }

/* Carrito */
.cart-empty { display: grid; justify-items: center; gap: 10px; padding: 48px 8px; text-align: center; color: var(--ink-2); }
.cart-empty .i { width: 40px; height: 40px; color: var(--gold); }
.cart-empty strong { font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--ink); }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__media {
  display: grid; place-items: center; width: 56px; height: 80px; border-radius: 12px; cursor: pointer;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--liquid, #d0a650) 35%, transparent), transparent), var(--surface-2);
  transition: transform 160ms var(--ease-out);
}
.line__media:active { transform: scale(0.96); }
.line__media .vial { height: 70px; width: auto; aspect-ratio: 60 / 200; }
.line__eyebrow { font-family: var(--font-brand); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.line__name { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.15; text-align: left; }
.line__meta { margin-top: 2px; font-size: 12px; color: var(--muted); }
.line__controls { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.line__end { display: grid; justify-items: end; align-content: space-between; }
.line__end strong { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.stepper button { width: 34px; height: 100%; display: grid; place-items: center; border-radius: 999px; transition: transform 160ms var(--ease-out); }
.stepper button:active { transform: scale(0.9); }
.stepper button .i { width: 16px; height: 16px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.cart-ship { min-width: 0; margin: 0; padding: 0; border: 0; }
.cart-ship legend { margin-bottom: 8px; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.cart-ship__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.cart-field { display: grid; gap: 4px; min-width: 0; font-size: 11.5px; color: var(--muted); }
.cart-field__select { position: relative; display: flex; align-items: center; }
.cart-field select {
  appearance: none; width: 100%; height: 44px; padding: 0 34px 0 12px; border: 0; border-radius: 12px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 14px; font-weight: 500;
  text-overflow: ellipsis; cursor: pointer; transition: box-shadow 150ms ease;
}
.cart-field select option { background: var(--surface-2); color: var(--ink); }
.cart-field select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--gold); }
.cart-field select:disabled { color: var(--muted); cursor: not-allowed; }
.cart-field .i { position: absolute; right: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.cart-sum { display: grid; gap: 6px; }
.cart-sum > div { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.cart-sum dd { margin: 0; }
.cart-sum__total dt { color: var(--ink); font-weight: 600; }
.cart-sum__total dd { font-size: 24px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-note { font-size: 12px; color: var(--muted); }

/* ---------- Ventana emergente del perfume ---------- */
.qv {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden;
}
.qv::backdrop { background: rgba(0, 0, 0, 0.7); opacity: 1; transition: opacity 250ms ease; }
.qv__panel {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: min(100% - 32px, 940px); max-height: min(92vh, 800px); overflow: auto; overscroll-behavior: contain;
  border-radius: 24px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -20px rgba(0, 0, 0, 0.9);
  transform-origin: center; /* modal: sin disparador de origen, se queda centrado */
  transition: opacity 250ms var(--ease-out), scale 250ms var(--ease-out);
}
@starting-style {
  .qv[open] .qv__panel { opacity: 0; scale: 0.96; }
  .qv[open]::backdrop { opacity: 0; }
}
.qv.is-closing .qv__panel { opacity: 0; scale: 0.97; transition-duration: 180ms; }
.qv.is-closing::backdrop { opacity: 0; transition-duration: 180ms; }
.qv__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(10, 10, 10, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qv__content { display: grid; }
.qv__media {
  position: relative; min-height: 320px;
  background:
    radial-gradient(46% 46% at 50% 56%, color-mix(in srgb, var(--liquid, #d0a650) 38%, transparent), transparent 74%),
    linear-gradient(180deg, #1c1c1c, #0e0e0e);
}
.qv__media .vial { position: absolute; left: 50%; top: 50%; translate: -50% -46%; width: auto; height: min(74%, 420px); aspect-ratio: 60 / 200; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.65)); }
/* Escritorio: el decant queda fijo mientras se lee la ficha */
@media (min-width: 760px) {
  .qv__content { grid-template-columns: 0.8fr 1.2fr; }
  .qv__media { position: sticky; top: 0; align-self: start; height: min(92vh, 800px); }
}
.qv__info { display: grid; align-content: start; gap: 16px; padding: 24px 24px 22px; }
.qv__added {
  display: flex; align-items: center; gap: 12px; margin-right: 40px; padding: 10px 14px; border-radius: 14px;
  background: rgba(208, 166, 80, 0.14); box-shadow: inset 0 0 0 1px rgba(208, 166, 80, 0.4);
  font-size: 13px; color: var(--ink-2);
  transition: opacity 220ms var(--ease-out), translate 220ms var(--ease-out);
}
@starting-style { .qv__added { opacity: 0; translate: 0 -6px; } }
.qv__added > .i { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); stroke-width: 2.6; }
.qv__added strong { display: block; color: var(--ink); font-size: 14px; }
.qv__head { padding-right: 44px; }
.qv__title { margin-top: 6px; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1; text-wrap: balance; }
.qv__meta { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.qv__desc { color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.qv__block h3 { margin-bottom: 9px; font-family: var(--font-brand); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.sizes-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.size-opt { position: relative; cursor: pointer; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt > span {
  display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; text-align: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
}
.size-opt:active > span { transform: scale(0.97); }
.size-opt strong { font-size: 15px; font-weight: 600; }
.size-opt em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.size-opt small { font-size: 11px; color: var(--muted); }
.size-opt input:checked + span { background: rgba(208, 166, 80, 0.14); box-shadow: inset 0 0 0 1.5px var(--gold); }
.size-opt input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .size-opt:hover input:not(:checked) + span { box-shadow: inset 0 0 0 1px var(--gold); } }
.qv__ask { padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); }
.qv__ask strong { color: var(--gold-2); }

/* Acordes con su intensidad */
.accords { display: grid; gap: 7px; }
.accord { display: grid; grid-template-columns: 1fr 38px; align-items: center; gap: 10px; }
.accord__bar { position: relative; height: 30px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.accord__fill {
  position: absolute; inset: 0; border-radius: 9px; background: var(--c);
  transform-origin: left; transform: scaleX(var(--w));
  transition: transform 700ms var(--ease-out); transition-delay: var(--d, 0ms);
}
@starting-style { .qv[open] .accord__fill { transform: scaleX(0); } }
.accord__name { position: relative; display: flex; align-items: center; height: 100%; padding: 0 12px; font-size: 12.5px; font-weight: 600; color: #141414; }
.accord__value { font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* Pirámide olfativa */
.pyramid { display: grid; gap: 10px; }
.pyramid__row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: start; }
.pyramid__row > span { padding-top: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  font-size: 12.5px; color: var(--ink); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line);
}
.chips .i { width: 14px; height: 14px; color: var(--gold); }
.chips--gold li { background: rgba(208, 166, 80, 0.12); box-shadow: inset 0 0 0 1px rgba(208, 166, 80, 0.32); color: var(--gold-2); }
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seasons li {
  display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px;
  font-size: 11.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); opacity: 0.55;
}
.seasons .i { width: 20px; height: 20px; }
.seasons li.is-on { opacity: 1; color: var(--gold-2); background: rgba(208, 166, 80, 0.12); box-shadow: inset 0 0 0 1px rgba(208, 166, 80, 0.4); }
.qv__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.qv__facts dt { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.qv__facts dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; }
.qv__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qv__actions .btn { flex: 1 1 200px; }
.qv__incart { width: 100%; font-size: 12.5px; color: var(--muted); }
.qv__incart button { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.qv__fine { font-size: 11.5px; color: var(--muted); }
@media (max-width: 759px) {
  .qv__panel {
    left: 0; right: 0; top: auto; bottom: 0; translate: none; width: 100%; max-height: 92vh;
    border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom);
    transition: transform 450ms var(--ease-drawer);
  }
  @starting-style { .qv[open] .qv__panel { transform: translateY(100%); opacity: 1; scale: 1; } }
  .qv.is-closing .qv__panel { transform: translateY(100%); opacity: 1; scale: 1; transition: transform 240ms var(--ease-out); }
  .qv__media { height: 250px; min-height: 0; touch-action: none; cursor: grab; }
  .qv__media .vial { height: 82%; }
  .qv__info { padding: 20px 18px 22px; }
  .qv__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Revelado al hacer scroll (una sola vez) ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 18px;
  transition: opacity 800ms var(--ease-out), translate 800ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal][data-visible] { opacity: 1; translate: 0 0; }

/* ---------- Movimiento reducido: menos y más suave, no cero ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .announce__track { animation: none; }
  .js [data-enter], .js .hero__logo, .js .hero__vial { animation-name: fade-in; animation-duration: 400ms; }
  .hero__shine { display: none; }
  .js [data-reveal] { translate: none; transition: opacity 400ms ease; }
  .sheet__panel, .sheet.is-closing .sheet__panel { transition: opacity 200ms ease; transform: none; }
  .sheet.is-closing .sheet__panel { opacity: 0; }
  .drawer__panel, .drawer.is-closing .drawer__panel { transition: opacity 200ms ease; transform: none !important; }
  .drawer.is-closing .drawer__panel { opacity: 0; }
  @starting-style { .drawer[open] .drawer__panel { opacity: 0; } }
  .qv__panel, .qv.is-closing .qv__panel { transition: opacity 200ms ease; scale: 1; transform: none; }
  @starting-style { .qv[open] .qv__panel { opacity: 0; scale: 1; transform: none; } }
  .qv__added { transition: opacity 200ms ease; translate: none; }
  @starting-style { .qv__added { translate: none; } }
  .accord__fill { transition: none; }
  @starting-style { .qv[open] .accord__fill { transform: scaleX(var(--w)); } }
  .toast { transition: opacity 200ms ease; transform: none; }
  @starting-style { .toast { transform: none; } }
}
@keyframes fade-in { from { opacity: 0; } }
