/* Noble Perfumería · storefront identity, on top of base.css + store.css.
   From the brand's bag: sky blue, wine, the Bodoni "Noble". A tight grotesk for everything that is not a name.
   Flat fields of colour, square buttons, no glass, no shadows at rest. The home page borrows each perfume's
   colour for the whole field. Only the store loads this file: the admin keeps its own look. */

body.store {
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-name: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --cielo: #c7dcf0; --cielo-2: #dfeaf6; --vino: #6b1e2e; --vino-2: #561623;
  --noche: #0f0c0b; --oro: #d2b27a; --suelo-2: #e8ebef; --suelo-3: #dde2e8;
  --line: rgba(29, 21, 23, .12); --line-strong: rgba(29, 21, 23, .24);
  --radius-pill: 0px;
  --seccion: clamp(88px, 12vw, 180px);
  font-size: 16px; letter-spacing: 0;
}
body.store h1, body.store h2, body.store h3 { font-weight: 500; letter-spacing: -.035em; }
body.store ::selection { background: var(--vino); color: #fff; }
body.store :focus-visible { outline-color: var(--vino); }

/* ---------- no liquid glass in the store: every glass surface is a flat field ---------- */
body.store .glass {
  background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; box-shadow: none;
}
body.store .glass::before, body.store .glass::after { content: none; }
body.store .glass--dark { background: var(--noche); color: #f3ece0; }

/* ---------- buttons: square, flat, wine ---------- */
body.store .btn { --b-bg: var(--accent); --b-fg: #fff; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: -.01em; font: 500 15px/1.2 var(--font-text); min-height: 50px; }
body.store .btn:hover { box-shadow: none; transform: none; filter: brightness(.92); }
body.store .btn--light { --b-bg: #fff; --b-fg: var(--ink); }
body.store .btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
body.store .btn--ghost:hover { --b-bg: var(--ink); --b-fg: #fff; filter: none; }
body.store .btn--wa { --b-bg: #1d7f47; --b-fg: #fff; }
body.store .btn--sm { min-height: 42px; font-size: 14px; }
body.store .glass-btn { border-radius: 0; text-transform: none; letter-spacing: -.01em; }
body.store .icon-btn { border-radius: 50%; }
body.store .count-dot { background: var(--vino); color: #fff; border-radius: 9px; }
body.store .chip { border-radius: 999px; background: var(--suelo-2); box-shadow: none; font: 500 14px/1 var(--font-text); }
body.store .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.accord-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
body.store .input, body.store .select, body.store .textarea { border-radius: 0; }
body.store .link-arrow { color: inherit; font: 500 15px/1.3 var(--font-text); letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* ---------- announcement and header: a plain bar that can take the poster's colour ---------- */
body.store .announce { font: 500 13px/1.3 var(--font-text); letter-spacing: 0; }
body.store .hdr { padding: 0; }
body.store .hdr__bar {
  max-width: none; height: 64px; border-radius: 0; padding: 0 var(--gutter);
  background: var(--hdr-bg, var(--canvas)); color: var(--hdr-ink, var(--ink));
  transition: background-color 160ms linear, color 160ms linear;
}
body.store .hdr.is-over .hdr__bar { background: transparent; }
body.store .hdr__logo { height: 52px; }
body.store .hdr__logo .wordmark { height: 30px; }
body.store .hdr__nav a, body.store .hdr__nav button { font: 500 15px/1 var(--font-text); letter-spacing: -.01em; text-transform: none; padding: 14px 14px; border-radius: 0; }
body.store .hdr__nav a:hover, body.store .hdr__nav button:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
@media (min-width: 900px) { body.store .hdr__bar { height: 72px; } body.store .hdr__logo .wordmark { height: 34px; } }
.announce + .hdr + main .hero { margin-top: 0; }

/* the "Marcas" menu: like the big perfume stores, columns on the left, the houses on the right */
body.store .mega--brands {
  top: 100%; left: 0; right: 0; max-width: none; border-radius: 0; padding: 32px var(--gutter) 36px;
  display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 40px; background: var(--surface);
  box-shadow: 0 30px 60px rgba(15, 12, 11, .14); /* taste-skill-ignore: a menu floats over the page */
}
.mega--brands h2 { font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.mega__cols { display: grid; gap: 28px; align-content: start; }
.mega__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega__cols a { display: block; padding: 6px 0; font: 500 18px/1.2 var(--font-text); letter-spacing: -.02em; text-transform: none; }
.mega__cols a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mega__brands { display: grid; gap: 16px; align-content: start; }
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.store .mega__brand { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px; background: var(--suelo-2); text-transform: none; letter-spacing: 0; transition: background-color 180ms; }
body.store .mega__brand img { grid-row: 1 / span 2; width: 56px; height: 56px; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 0; }
.mega__brand span { font: 500 19px/1.1 var(--font-name); align-self: end; }
.mega__brand small { font: 400 13px/1.2 var(--font-text); color: var(--ink-soft); align-self: start; }
.mega__brand:hover { background: var(--cielo); }

/* ---------- product cards: the bottle on white, the name in Bodoni ---------- */
body.store .card__media { aspect-ratio: 1; border-radius: 0; background: #fff; }
body.store .card__media img { object-fit: contain; padding: 7%; }
body.store .card__name { font: 500 19px/1.15 var(--font-name); letter-spacing: -.01em; }
.card__brand { position: relative; z-index: 2; justify-self: start; font: 500 13px/1.2 var(--font-text); color: var(--ink-soft); text-decoration: none; }
.card__brand:hover { text-decoration: underline; }
.card__out { font: 600 12px/1.2 var(--font-text); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
body.store .fav { border-radius: 50%; background: rgba(255, 255, 255, .9); }
/* quick add: one button (a perfume has one presentation) */
body.store .quick--add {
  left: auto; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 0;
  background: var(--ink); color: #fff; font: 500 14px/1 var(--font-text); opacity: 0; transform: translateY(6px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
body.store .quick--add:disabled { background: var(--suelo-2); color: var(--ink-soft); cursor: not-allowed; }
@media (hover: hover) { body.store .card:hover .quick--add, body.store .quick--add:focus-visible { opacity: 1; transform: none; } }
@media (hover: none) { body.store .quick--add { opacity: 1; transform: none; padding: 9px 11px; } }
body.store .price__now { font: 600 16px/1.2 var(--font-text); }
body.store .card__promo { border-radius: 0; }

/* ---------- collection pages ---------- */
body.store .col-hero h1 { font-weight: 500; letter-spacing: -.045em; }
body.store .toolbar { top: 72px; border-radius: 0; background: var(--canvas); padding: 10px 0; }
body.store .toolbar .select { border-radius: 0; background-color: var(--suelo-2); border: 0; font-weight: 500; }
body.store .sec-title { font-weight: 500; letter-spacing: -.04em; }
body.store .sec-title--caps { text-transform: none; letter-spacing: -.035em; font-size: clamp(26px, 3.4vw, 44px); }
body.store .tabs button { border-radius: 0; }

/* ---------- brands ---------- */
.brands-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 48px; }
@media (min-width: 700px) { .brands-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brand-tile { display: grid; gap: 4px; text-decoration: none; background: var(--surface); padding: 0 0 14px; }
.brand-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10%; background: #fff; transition: transform 600ms var(--ease-out); }
.brand-tile:hover img { transform: scale(1.04); }
.brand-tile__name { font: 500 clamp(20px, 2vw, 26px)/1.1 var(--font-name); padding: 0 14px; }
.brand-tile small { color: var(--ink-soft); font-size: 14px; padding: 0 14px; }
.brands-az { display: grid; gap: 28px; padding-bottom: 40px; }
.brands-az__bar { position: sticky; top: 72px; z-index: 5; display: grid; gap: 12px; background: var(--canvas); padding: 10px 0; }
.brands-az__bar .input { max-width: 420px; }
.brands-az__letters { display: flex; flex-wrap: wrap; gap: 4px; }
.brands-az__letters a { min-width: 40px; height: 40px; display: grid; place-items: center; background: var(--suelo-2); text-decoration: none; font-weight: 600; }
.brands-az__letters a:hover { background: var(--ink); color: #fff; }
.brands-az__group { display: grid; grid-template-columns: 1fr; gap: 10px; scroll-margin-top: 190px; }
@media (min-width: 800px) { .brands-az__group { grid-template-columns: 120px 1fr; } }
.brands-az__group h2 { font: 500 44px/1 var(--font-name); color: var(--vino); }
.brands-az__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.brands-az__group a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); text-decoration: none; font: 500 18px/1.2 var(--font-text); letter-spacing: -.02em; }
.brands-az__group a span { color: var(--ink-soft); font-size: 14px; }
.brands-az__group a:hover { background: var(--ink); color: #fff; }
.brands-az__group a:hover span { color: rgba(255, 255, 255, .7); }

.marcas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .marcas__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .marcas__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.marcas__todas { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.marcas__todas a { display: inline-block; padding: 10px 14px; background: var(--suelo-2); text-decoration: none; font-weight: 500; }
.marcas__todas a:hover { background: var(--ink); color: #fff; }

/* ---------- product page ---------- */
body.store .gallery__track figure { aspect-ratio: 1; background: #fff; }
body.store .gallery__track img { object-fit: contain; padding: 6%; }
body.store .gallery__dots { background: rgba(255, 255, 255, .9); border-radius: 99px; }
.gallery__3d { background: var(--cielo-2) !important; }
.model3d { position: absolute; inset: 0; }
.model3d model-viewer { display: block; }
.model3d__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.model3d__bar > * { pointer-events: auto; }
.model3d__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; background: #fff; padding: 7px 12px; border-radius: 999px; }
.model3d__seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; }
.model3d__seg button { padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.model3d__seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pdp__brand { justify-self: start; font: 500 15px/1.2 var(--font-text); color: var(--vino); text-decoration: none; margin-bottom: -10px; }
.pdp__brand:hover { text-decoration: underline; text-underline-offset: 4px; }
body.store .pdp__name { font: 500 clamp(40px, 5vw, 68px)/1 var(--font-name); letter-spacing: -.025em; }
.pdp__meta { color: var(--ink-soft); font-size: 16px; margin-top: -8px; }
body.store .price--lg .price__now { font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
body.store .pill { border-radius: 0; background: var(--suelo-2); box-shadow: none; }
body.store .qty { border-radius: 0; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
body.store .accordion details { border-radius: 0; }
.accords { display: grid; gap: 10px; }
.accords ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.accords li { width: var(--w); min-width: 46%; background: var(--c); color: var(--t); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 500; animation: barra .8s var(--ease-out) var(--d, 0s) both; transform-origin: left; }
@keyframes barra { from { transform: scaleX(.12); } to { transform: none; } }
body.store .sticky-buy { border-radius: 0; background: var(--surface); box-shadow: 0 -10px 30px rgba(15, 12, 11, .08); } /* taste-skill-ignore: a bar that floats over the page */
@media (min-width: 900px) { body.store .gallery { position: sticky; top: 92px; align-self: start; } }

/* ---------- bag, overlays, pop-ups, cookies: they float, so they may cast a shadow ---------- */
body.store .drawer, body.store .modal, body.store .search { border-radius: 0; }
body.store .line img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 0; }
body.store .toast { background: var(--ink); color: #fff; border-radius: 0; }
body.store .pop__card { border-radius: 0; }
body.store .pop__media img { object-fit: cover; }
body.store .cookies { border-radius: 0; background: var(--surface); box-shadow: 0 10px 40px rgba(15, 12, 11, .18); } /* taste-skill-ignore: a notice floats over the page */
body.store .tabbar { border-radius: 0; left: 0; right: 0; bottom: 0; height: calc(62px + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--surface); box-shadow: 0 -1px 0 var(--line); }
body.store .co__card, body.store .co__summary { border-radius: 0; }
body.store .pay-opt { border-radius: 0; }
body.store .notice, body.store .bank { border-radius: 0; }
.brand-logo--text { display: inline-block; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: #1d1517; }
body.store .pay-logos li { border-radius: 0; box-shadow: none; }

/* ---------- other sections from the designer ---------- */
body.store .promo { border-radius: 0; }
body.store .promo__copy h2 { font-weight: 500; letter-spacing: -.04em; }
body.store .promo__media img { object-fit: contain; background: #fff; padding: 8%; }
body.store .trust__item { border-radius: 0; }
body.store .trust__item .ico-wrap { border-radius: 0; background: var(--cielo-2); color: var(--vino); }
body.store .tile { border-radius: 0; }
body.store .bundle { border-radius: 0; }
body.store .bundle__pick img { aspect-ratio: 1; object-fit: contain; background: #fff; }

/* ---------- footer: wine, the name returns at full width ---------- */
body.store .footer { background: var(--vino); color: #f6ecee; margin-top: 0; overflow: hidden; }
body.store .footer h2, body.store .footer h4 { color: var(--cielo); letter-spacing: .08em; }
body.store .footer__brand .wordmark { height: 64px; color: var(--cielo); }
body.store .footer p, body.store .footer__legal { color: #e9d6da !important; }
body.store .footer__pay { border-top-color: rgba(255, 255, 255, .18); }
body.store .footer .btn--light { --b-bg: #fff; --b-fg: var(--ink); }

/* ================= HOME: Noble's own sections ================= */
/* 1 · the poster: each perfume lends the page its colour. It slides sideways (finger, mouse, arrows) and the
   page keeps scrolling down as always: nothing is pinned */
.portada { position: relative; background: var(--fondo, var(--cielo)); color: var(--tinta-portada, var(--ink)); overflow: hidden; }
.portada__escena { position: relative; height: calc(100svh - 64px); min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; padding: 8px var(--gutter) 20px; }
.portada__palabra { font: 500 31vw/.78 var(--font-name); letter-spacing: -.045em; margin: 0; white-space: nowrap; align-self: start; }
.portada__escenario { position: relative; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; margin-inline: calc(var(--gutter) * -1); container-type: inline-size; }
/* a sideways rail with snap points: the shared piece of the poster and the night */
.carril { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.carril::-webkit-scrollbar { display: none; }
.carril.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carril:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.carril img { -webkit-user-drag: none; user-select: none; }
/* widths in cqi (the stage's width): a percentage would count against the rail's own padding */
.portada__carril { --slide: 72cqi; min-height: 0; padding-inline: calc((100cqi - var(--slide)) / 2); }
.frasco { flex: 0 0 var(--slide); scroll-snap-align: center; display: grid; place-items: center; min-height: 0; padding: 2% 0; }
.frasco img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; transform: scale(calc(1 - var(--d, 0) * .32)); opacity: calc(1 - var(--d, 0) * .5); }
.frasco[aria-hidden="true"] { cursor: pointer; }
.portada__nav { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px var(--gutter) 0; }
.flechas { display: flex; gap: 8px; }
.flecha { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; color: inherit; background: transparent; transition: background-color 200ms, opacity 200ms, transform 200ms var(--ease-out); }
.flecha:hover:not(:disabled) { background: color-mix(in srgb, currentColor 14%, transparent); }
.flecha:active:not(:disabled) { transform: scale(.94); }
.flecha:disabled { opacity: .28; cursor: default; }
.puntos { display: flex; gap: 6px; }
.puntos i { width: 6px; height: 6px; border-radius: 3px; background: currentColor; opacity: .3; transition: width 300ms var(--ease-out), opacity 300ms; }
.puntos i.on { width: 22px; opacity: .9; }
.portada__texto { display: grid; gap: 14px; align-content: end; padding-top: 6px; }
.portada__texto h1, .portada__h { font-size: clamp(2.4rem, 9vw, 4.6rem); margin: 0; max-width: 10ch; line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.portada__actual { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.portada__nombre { display: block; font: 500 clamp(1.6rem, 6vw, 2.6rem)/1 var(--font-name); color: inherit; text-decoration: none; }
.portada__nombre:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.portada__dato { margin: 6px 0 0; font-size: .95rem; }
.portada__actual .btn { min-height: 48px; padding: 12px 18px; }
.portada__sigue { position: absolute; right: var(--gutter); top: 34%; display: grid; justify-items: end; gap: 6px; color: inherit; text-align: right; font-size: .95rem; z-index: 2; }
.portada__sigue span { text-decoration: underline; text-underline-offset: 4px; }
.portada__intro { display: none; }
@media (min-width: 900px) {
  .portada__escena { height: calc(100svh - 72px); grid-template-columns: auto minmax(0, 1fr) minmax(320px, 30vw); grid-template-rows: 1fr auto; column-gap: 32px; padding: 24px var(--gutter) 32px; }
  .portada__palabra { grid-row: 1 / span 2; font-size: min(36svh, 17vw); writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; }
  .portada__escenario { grid-row: 1 / span 2; margin-inline: 0; }
  .portada__carril { --slide: 56cqi; }
  .portada__texto { grid-column: 3; grid-row: 1 / span 2; align-content: space-between; }
  .portada__intro { display: grid; gap: 18px; justify-items: start; }
  .portada__intro p { max-width: 30ch; font-size: 1.1rem; margin: 0; }
  .portada__sigue { right: calc(30vw + 64px); top: auto; bottom: 40px; }
  .portada__texto > .solo-movil { display: none; }
}

/* 1b · the offer cover (a launch or a promotion), like a printed poster: serif title, price pill, crossed-out price */
.oferta { position: relative; background-color: var(--of-bg); color: var(--of-ink); overflow: hidden; }
.oferta--frascos { background-image:
  repeating-linear-gradient(118deg, rgba(255, 255, 255, .05) 0 34px, transparent 34px 112px),
  radial-gradient(70% 85% at 16% 88%, rgba(255, 120, 150, .36), transparent 62%),
  radial-gradient(60% 70% at 92% 6%, rgba(0, 0, 0, .42), transparent 70%),
  linear-gradient(122deg, color-mix(in srgb, var(--of-bg) 78%, #000) 0%, var(--of-bg) 38%, color-mix(in srgb, var(--of-bg) 76%, #ff6b88) 66%, color-mix(in srgb, var(--of-bg) 82%, #000) 100%); }
.oferta__in { position: relative; display: grid; grid-template-areas: "texto" "frascos"; grid-template-rows: auto minmax(0, 1fr); color: inherit; text-decoration: none; min-height: min(calc(100svh - 64px - 62px), 860px); }
.oferta--foto .oferta__in { grid-template-rows: auto; min-height: 0; aspect-ratio: 1 / 1.04; background: var(--of-photo-m, var(--of-photo)) center / cover no-repeat; }
/* every size counts against the text block's own width (cqi), so the poster keeps its proportions anywhere */
.oferta__texto { grid-area: texto; container-type: inline-size; display: grid; justify-items: center; align-content: start; text-align: center; gap: clamp(10px, 2.6cqi, 18px); padding: clamp(26px, 5vw, 56px) var(--gutter) 10px; }
.oferta__eyebrow { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); margin: 0; font: 400 clamp(12px, 3.3cqi, 21px)/1 var(--font-text); letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; }
.oferta__eyebrow span { width: clamp(32px, 17cqi, 170px); height: 1px; background: currentColor; opacity: .55; }
.oferta__titulo { margin: 0; font: 500 calc(clamp(2.6rem, 15.5cqi, 9rem) * var(--of-title, 1))/.88 var(--font-brand); font-variation-settings: "opsz" 96; letter-spacing: -.02em; text-transform: uppercase; color: var(--of-ink); text-shadow: 0 6px 30px rgba(0, 0, 0, .18); }
.oferta__sub { margin: 0; font: 400 clamp(11px, 2.75cqi, 19px)/1.45 var(--font-text); letter-spacing: .26em; text-transform: uppercase; }
.oferta__sub b { font-weight: 800; }
.oferta__precio { display: flex; align-items: center; gap: clamp(12px, 3.6cqi, 28px); margin-top: 4px; }
.oferta__pill { padding: .12em .62em .17em; border-radius: 999px; background: var(--of-pill); color: var(--of-pill-ink); font: 600 clamp(1.9rem, 9.2cqi, 5.2rem)/1 var(--font-brand); font-variation-settings: "opsz" 96; letter-spacing: -.015em; box-shadow: 0 12px 34px rgba(0, 0, 0, .22); white-space: nowrap; }
.oferta__antes { display: grid; gap: 4px; padding-left: clamp(12px, 3.6cqi, 28px); border-left: 1px solid color-mix(in srgb, currentColor 55%, transparent); text-align: left; }
.oferta__antes small { font: 400 clamp(11px, 2.7cqi, 19px)/1.2 var(--font-text); }
.oferta__antes s { font: 500 clamp(1.15rem, 4.6cqi, 2.3rem)/1.1 var(--font-brand); text-decoration-thickness: 2px; }
.oferta__nota { margin: 4px 0 0; padding: 12px 0; width: min(100%, 600px); border-block: 1px solid color-mix(in srgb, currentColor 42%, transparent); font: 400 clamp(10.5px, 2.5cqi, 17px)/1.3 var(--font-text); letter-spacing: .3em; text-transform: uppercase; }
.oferta__badge { display: inline-block; margin-top: 2px; padding: 13px clamp(26px, 8cqi, 58px); border: 1px solid currentColor; border-radius: 999px; font: 500 clamp(10.5px, 2.3cqi, 15px)/1 var(--font-text); letter-spacing: .32em; text-transform: uppercase; transition: background-color 300ms, color 300ms; }
a.oferta__in:hover .oferta__badge, a.oferta__in:focus-visible .oferta__badge { background: var(--of-ink); color: var(--of-bg); }
.oferta__frascos { grid-area: frascos; display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 1.6vw, 22px); padding: 12px var(--gutter) clamp(30px, 5vw, 56px); min-height: 0; }
.oferta__frasco { position: relative; display: flex; align-items: flex-end; height: calc(clamp(190px, 32svh, 520px) * var(--of-zoom, 1)); animation: oferta-sube 900ms var(--ease-out) both; animation-delay: calc(var(--k, 0) * 120ms + 150ms); }
.oferta__frasco img { height: 100%; width: auto; max-width: 30vw; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .38));
  -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgba(255, 255, 255, .22)); }
@keyframes oferta-sube { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .oferta__in { grid-template-areas: "frascos texto"; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto; min-height: clamp(520px, 39vw, 780px); }
  .oferta--izq .oferta__in { grid-template-areas: "texto frascos"; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .oferta--foto .oferta__in { aspect-ratio: 2000 / 770; min-height: 0; background-image: var(--of-photo); grid-template-areas: ". texto"; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .oferta--foto.oferta--izq .oferta__in { grid-template-areas: "texto ."; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .oferta__texto { align-content: center; padding: 48px clamp(24px, 4vw, 72px); }
  .oferta__frascos { align-self: end; padding-bottom: clamp(48px, 6vw, 96px); }
  .oferta__frasco { height: calc(clamp(320px, 32vw, 580px) * var(--of-zoom, 1)); margin-inline: -1vw; }
  .oferta__frasco img { max-width: calc(17vw * var(--of-zoom, 1)); }
}
/* phones: the bottles overlap like a fan, so each one is as big as the screen allows; the middle one in front */
@media (max-width: 899px) {
  .oferta__frascos { gap: 0; padding-inline: 0; }
  .oferta__frasco { height: calc(clamp(250px, 46svh, 460px) * var(--of-zoom, 1)); margin-inline: -6vw; }
  .oferta__frasco img { max-width: calc(40vw * var(--of-zoom, 1)); }
  .oferta__frasco:nth-child(2) { z-index: 2; translate: 0 -3%; scale: 1.07; }
  .oferta__frasco:nth-child(odd) img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .4)) brightness(.95); }
}
/* a cover designed elsewhere, texts included: the picture as it is */
.oferta--solo .oferta__in { display: block; min-height: 0; }
.oferta--solo picture, .oferta--solo img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .oferta__frasco { animation: none; } }

/* 2 · what do you like to smell */
.olfato__cab { display: grid; gap: 14px; margin-bottom: 30px; max-width: 760px; }
.olfato__lede { margin: 0; max-width: 54ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.acordes-elegir { display: flex; flex-wrap: wrap; gap: 10px; }
.acorde { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--suelo-2); color: var(--ink); font-size: 1.1rem; transition: background-color 180ms, transform 180ms var(--ease-out); }
.acorde i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.acorde:hover { background: var(--suelo-3); }
.acorde:active { transform: scale(.97); }
.acorde[aria-pressed="true"] { background: var(--ink); color: #fff; }
.olfato__resp { margin-top: 36px; }
.olfato__frase { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.025em; line-height: 1.2; max-width: 36ch; margin-bottom: 24px; }
.olfato__frase b { font-weight: 500; }

/* 3 · the dark and gold act, and its daylight twin: bottles with their reflection, sliding sideways */
.noche { position: relative; background: var(--noche); color: #f3ece0; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(36px, 5vw, 64px); transition: background-color 600ms var(--ease-out), color 600ms; }
.noche__cab { padding: 0 var(--gutter); display: grid; gap: 20px; margin-bottom: clamp(18px, 3.5vw, 40px); }
.noche__titulo { display: grid; gap: 12px; }
.noche__cab h2 { font-size: clamp(3rem, 11vw, 9.5rem); line-height: .86; color: var(--oro); margin: 0; letter-spacing: -.05em; transition: color 600ms; }
.noche__cab p { max-width: 42ch; margin: 0; font-size: 1.1rem; color: #e6dccb; transition: color 600ms; }
.noche__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (min-width: 900px) { .noche__cab { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .noche__ctrl { justify-content: flex-end; } }
.momento { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(210, 178, 122, .35); transition: background-color 600ms, border-color 600ms; }
.momento button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: 999px; color: inherit; font-size: .98rem; font-weight: 500; transition: background-color 300ms, color 300ms; }
.momento button[aria-pressed="true"] { background: var(--oro); color: var(--noche); }
.noche .flecha { border-color: rgba(210, 178, 122, .55); color: var(--oro); }
.noche__pista { gap: clamp(26px, 5vw, 84px); padding: 12px var(--gutter) 6px; scroll-padding-inline: var(--gutter); align-items: end; scroll-snap-type: x proximity; animation: noche-entra 700ms var(--ease-out); }
@keyframes noche-entra { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.botella { flex: none; scroll-snap-align: start; display: grid; justify-items: center; width: clamp(200px, 27vw, 380px); }
.botella__img { position: relative; height: clamp(210px, 38svh, 420px); display: flex; align-items: end; justify-content: center; }
.botella__img img { max-height: 100%; width: auto; max-width: 100%; }
.botella__reflejo { height: clamp(36px, 6svh, 80px); overflow: hidden; display: flex; justify-content: center; opacity: .16; }
.botella__reflejo img { height: clamp(210px, 38svh, 420px); width: auto; max-width: none; transform: scaleY(-1); }
.botella__txt { display: grid; justify-items: center; gap: 4px; text-align: center; margin-top: 8px; }
.botella__txt a { font: 500 1.5rem/1.1 var(--font-name); color: var(--oro); text-decoration: none; transition: color 600ms; }
.botella__txt a:hover { text-decoration: underline; text-underline-offset: 5px; }
.botella__txt span { font-size: .95rem; color: #e6dccb; transition: color 600ms; }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; margin-top: 8px; background: #2a2320; color: #f3ece0; font-weight: 500; font-size: .95rem; transition: background-color 180ms; }
.btn-mini:hover:not(:disabled) { background: var(--oro); color: var(--noche); }
.btn-mini:disabled { opacity: .5; cursor: not-allowed; }
/* day: morning light, sea green ink; product photos melt their white background into the light */
.noche--dia { background: #e3edef; color: #17323b; }
.noche--dia .noche__cab h2, .noche--dia .botella__txt a { color: #1d4e5f; }
.noche--dia .noche__cab p, .noche--dia .botella__txt span { color: #3a5961; }
.noche--dia .momento { background: rgba(255, 255, 255, .6); border-color: rgba(29, 78, 95, .22); }
.noche--dia .momento button[aria-pressed="true"] { background: #1d4e5f; color: #fff; }
.noche--dia .flecha { color: #1d4e5f; border-color: rgba(29, 78, 95, .4); }
.noche--dia .btn-mini { background: #1d4e5f; color: #fff; }
.noche--dia .btn-mini:hover:not(:disabled) { background: #f2c14e; color: #17323b; }
.noche--dia .botella--foto img { mix-blend-mode: multiply; }
.noche--dia .botella__reflejo { opacity: .1; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .noche__pista { animation: none; } }

/* 4 · every collection as one row */
.indice__lista { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 6px; }
.indice__fila { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; background: var(--suelo-2); text-decoration: none; transition: background-color 180ms; }
.indice__fila:hover { background: var(--ink); color: #fff; }
.indice__txt { display: grid; gap: 6px; }
.indice__txt b { font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.indice__txt span { font-size: 1.05rem; }
.indice__fila svg { transition: transform 420ms var(--ease-out); }
.indice__fila:hover svg { transform: translateX(6px); }
.indice__fila img { position: absolute; right: 24%; top: 50%; width: 150px; height: 150px; object-fit: contain; background: #fff; transform: translateY(-50%) scale(.85); opacity: 0; transition: opacity 180ms, transform 420ms var(--ease-out); pointer-events: none; }
@media (hover: hover) and (min-width: 900px) { .indice__fila:hover img { opacity: 1; transform: translateY(-50%) scale(1); } }

/* phones: the pinned scenes end above the bottom tab bar, so the name and the button are never under it */
@media (max-width: 899px) {
  .portada__escena { height: calc(100svh - 64px - 62px - var(--safe-b)); }
  .portada__texto h1, .portada__h { font-size: clamp(2rem, 8vw, 3rem); }
  .portada__actual { padding-right: 64px; } /* the advisor's round button sits in that corner */
  .portada .flechas, .portada__sigue { display: none; } /* on a phone the finger slides them: the dots and the next bottle peeking say there are more */
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .accords li { animation: none; }
}

/* ---------- brand logos: /img/marcas/<marca>.png; without a file, the name in Bodoni ---------- */
.brand-logo-img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.brand-name { font: 500 1.4em/1.05 var(--font-name); letter-spacing: -.01em; text-align: center; }
body.store .mega__brand { grid-template-columns: 1fr; grid-template-rows: 56px auto; justify-items: center; text-align: center; padding: 14px 10px; background: var(--suelo-2); }
.mega__logo { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; }
.mega__logo .brand-logo-img { max-height: 48px; }
.mega__logo .brand-name { font-size: 20px; }
.brand-tile { padding: 0 0 12px; text-align: center; }
.brand-tile__logo { aspect-ratio: 3 / 2; background: #fff; display: flex; align-items: center; justify-content: center; padding: 12% 14%; transition: background-color 180ms; }
.brand-tile__logo .brand-logo-img { max-height: 100%; transition: transform 600ms var(--ease-out); }
.brand-tile:hover .brand-tile__logo .brand-logo-img { transform: scale(1.05); }
.brand-tile__logo .brand-name { font-size: clamp(20px, 2.2vw, 30px); }
.brand-tile small { padding: 10px 14px 0; }
.brands-az__group a .brand-logo-img { max-height: 30px; max-width: 160px; }
.brands-az__group a:hover .brand-logo-img { filter: invert(1) grayscale(1) brightness(2); }
.brands-az__group a .brand-name { font: 500 18px/1.2 var(--font-text); letter-spacing: -.02em; text-align: left; }
.marcas__todas a { display: inline-flex; align-items: center; min-height: 44px; }
.marcas__todas .brand-logo-img { max-height: 26px; max-width: 120px; }
.marcas__todas .brand-name { font: 500 16px/1 var(--font-text); }
.marcas__todas a:hover .brand-logo-img { filter: invert(1) grayscale(1) brightness(2); }
.brand-h1 { margin: 4px 0; }
.brand-h1 .brand-logo-img { max-height: clamp(60px, 9vw, 110px); max-width: min(100%, 420px); }
.brand-h1 .brand-name { font-size: clamp(40px, 6.5vw, 84px); text-align: left; }
.pdp__brand { display: inline-flex; align-items: center; min-height: 36px; }
.pdp__brand .brand-logo-img { max-height: 34px; max-width: 180px; }
.pdp__brand .brand-name { font: 500 15px/1.2 var(--font-text); color: var(--vino); }

/* ---------- advisor with AI: a floating button and a chat panel (they float, so they cast a shadow) ---------- */
.ase-fab { position: fixed; z-index: 75; right: 16px; bottom: calc(62px + 14px + var(--safe-b)); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; background: var(--vino); color: #fff; font: 500 15px/1 var(--font-text); box-shadow: 0 10px 30px rgba(15, 12, 11, .22); } /* taste-skill-ignore: floats over the page */
.ase-fab:hover { background: var(--vino-2); }
.ase-fab.is-open { background: var(--ink); }
@media (max-width: 899px) { .ase-fab:not(.is-open) span { display: none; } .ase-fab { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; } }
@media (min-width: 900px) { .ase-fab { bottom: 24px; right: 24px; } }
.ase { position: fixed; z-index: 76; right: 16px; left: 16px; bottom: calc(62px + 76px + var(--safe-b)); max-height: min(70svh, 620px); display: grid; grid-template-rows: auto 1fr auto auto; background: var(--canvas); color: var(--ink); box-shadow: 0 24px 70px rgba(15, 12, 11, .28); animation: ase-in 220ms var(--ease-out); } /* taste-skill-ignore: floats over the page */
@media (min-width: 900px) { .ase { left: auto; width: 400px; right: 24px; bottom: 88px; } }
@keyframes ase-in { from { opacity: 0; transform: translateY(12px); } }
.ase__head { padding: 14px 16px; background: var(--vino); color: #fff; display: grid; gap: 2px; }
.ase__head b { font: 500 22px/1.1 var(--font-name); }
.ase__head small { font-size: 12px; opacity: .85; }
.ase__list { overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.ase__msg { max-width: 88%; padding: 10px 13px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.ase__msg--ai { background: var(--surface); justify-self: start; }
.ase__msg--me { background: var(--cielo); justify-self: end; }
.ase__ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.ase__ideas button { padding: 8px 12px; border-radius: 999px; background: var(--suelo-2); font-size: 14px; }
.ase__ideas button:hover { background: var(--ink); color: #fff; }
.ase__picks { display: grid; gap: 6px; margin-top: 8px; white-space: normal; }
.ase-pick { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 6px; background: var(--canvas); }
.ase-pick img { width: 48px; height: 48px; object-fit: contain; background: #fff; }
.ase-pick__name { display: block; font: 500 16px/1.1 var(--font-name); text-decoration: none; }
.ase-pick small { color: var(--ink-soft); font-size: 13px; }
.ase-pick .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
.ase__typing { display: inline-flex; gap: 4px; }
.ase__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: ase-dot 1s infinite ease-in-out; }
.ase__typing i:nth-child(2) { animation-delay: .15s; } .ase__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ase-dot { 50% { opacity: .2; transform: translateY(-3px); } }
.ase__form { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px; background: var(--surface); }
.ase__form .input { min-height: 44px; }
.ase__form .btn { min-height: 44px; width: 48px; padding: 0; }
.ase__foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 12px 12px; background: var(--surface); font-size: 13px; }
.ase__foot a, .ase__foot button { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* store paused by the platform (unpaid bill past its grace days) */
.paused { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; text-align: center; background: var(--canvas, #f6f3ee); }
.paused > div { max-width: 460px; display: grid; gap: 14px; justify-items: center; }
.paused__brand { font-family: var(--font-brand, serif); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0; }
.paused h1 { font-family: var(--font-display, serif); font-size: clamp(36px, 8vw, 56px); margin: 0; line-height: 1; }
.paused p { margin: 0; color: var(--ink-soft); }
.paused__btn { display: inline-block; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--canvas, #fff); text-decoration: none; font-weight: 600; }
