:root {
  --bone: #F6F6F4;
  --stone: #FFFFFF;
  --ink: #0E0E0E;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.label { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin: 0; }

/* Logo vectorizado: toma el color del texto (solo blanco o negro) */
.logo { display: block; aspect-ratio: 162.9 / 332.8; background: currentColor;
  -webkit-mask: url(img/logo.svg) center / contain no-repeat; mask: url(img/logo.svg) center / contain no-repeat; }

/* Encabezado */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 10; transition: background .4s, color .4s; display: flex; justify-content: space-between; align-items: center; height: 84px; padding: 0 var(--pad); background: var(--bone); }
.top.away { transform: translateY(-100%); }
.top { transition: background .4s, color .4s, transform .5s var(--ease); }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a { text-decoration: none; font-size: 11px; opacity: .75; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), opacity .3s; }
.nav a:hover { opacity: 1; background-size: 100% 1px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 999px; font-size: 12px; transition: top .2s; }
.skip:focus { top: 12px; }
.brand .logo { height: 58px; }
.cart-btn { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 999px; padding: 11px 18px; display: inline-flex; gap: 10px; align-items: center; transition: background .3s, color .3s; }
.cart-btn:hover { background: var(--ink); color: var(--bone); }
.cart-btn b { font-weight: 500; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* Hero: el logo se abre a los lados con el scroll y queda "One Scent" */
.on-hero .top { background: transparent; color: #fff; }
.on-hero .top .brand { opacity: 0; pointer-events: none; }
.on-hero .cart-btn:hover { background: #fff; color: #000; }
.top .brand { transition: opacity .4s; }
.hero { position: relative; height: 220vh; background: #000; color: #fff; }
.hero-pin { --p: 0; background: #000; position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
@keyframes wordIn { from { opacity: 0; } }
.mark { --open: 34vw; --h: min(60vh, 540px); position: relative; height: var(--h); aspect-ratio: 162.91 / 332.77; animation: fadeUp 1.6s var(--ease) both; }
.part { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; overflow: visible; will-change: transform; }
.part.left { transform: translateX(calc(var(--p) * var(--open) * -1)) rotate(calc(var(--p) * -4deg)); }
.part.right { transform: translateX(calc(var(--p) * var(--open))) rotate(calc(var(--p) * 4deg)); }
/* Ecos: contornos finos de cada frasco que se quedan atrás al separarse, con el mismo trazo del logo */
.part.ghost { fill: none; stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; --q: max(0, calc(var(--p) - var(--d))); opacity: calc(clamp(0, calc(var(--q) * 8), 1) * clamp(0, calc((1 - var(--p)) * 3), 1) * var(--a)); }
.part.ghost path { vector-effect: non-scaling-stroke; }
.part.ghost.left { transform: translateX(calc(var(--q) * var(--open) * -1)) rotate(calc(var(--q) * -4deg)); }
.part.ghost.right { transform: translateX(calc(var(--q) * var(--open))) rotate(calc(var(--q) * 4deg)); }
.part.word { inset: auto 0 0 0; height: auto; display: flex; flex-direction: column; align-items: center; color: #fff; font-family: var(--serif); font-style: italic; line-height: .8; transform-origin: 50% 90%; transform: translateY(calc(var(--p) * var(--h) * -.62)) scale(calc(1 + var(--p) * .9)); }
.part.word .o { font-size: calc(var(--h) * .1); font-weight: 400; letter-spacing: .02em; }
.part.word .s { font-size: calc(var(--h) * .15); font-weight: 500; letter-spacing: -.01em; }
.hero-line { position: absolute; bottom: 14%; left: 0; right: 0; text-align: center; letter-spacing: .3em; --in: clamp(0, calc(1 - var(--p) * 4), 1); animation: fadeUp 1.6s .3s var(--ease) both; }
.hero-line i { font-style: normal; margin: 0 .8em; opacity: .5; }
.hero-copy { position: absolute; left: 0; right: 0; top: 70%; text-align: center; padding: 0 var(--pad); --in: clamp(0, calc((var(--p) - .55) * 3), 1); transform: translateY(calc((1 - var(--p)) * 24px)); }
.hero-copy .lead { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.3vw, 32px); line-height: 1.25; margin: 0 0 14px; }
.hero-copy .label { opacity: .6; }
.hero-facts { position: absolute; left: var(--pad); right: var(--pad); bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-facts p { margin: 0; opacity: .6; }
.hero-cue { text-decoration: none; }
.hero-cue { border-bottom: 1px solid #fff; padding-bottom: 4px; transition: letter-spacing .4s var(--ease); }
.hero-cue:hover { letter-spacing: .26em; }
.hero-cue span { display: inline-block; animation: nudge 2s ease-in-out infinite; }
@media (max-width: 820px) { .hero-facts .mid { display: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* El catálogo sube sobre el hero con esquinas redondeadas */
.catalog { position: relative; z-index: 2; background: var(--bone); }
.wipe { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; border-radius: 50%; background: var(--bone); mix-blend-mode: difference; pointer-events: none; transform: scale(var(--w, 0)); will-change: transform; }
.hero-copy, .hero-line { opacity: var(--in, 1); }
#coleccion { scroll-margin-top: 96px; }

/* Buscador */
.finder { padding: 56px var(--pad) 8px; display: grid; gap: 16px; }
.search { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding: 0 2px; height: 56px; }
.search input { flex: 1; border: 0; background: transparent; outline: none; font-family: var(--serif); font-size: 22px; min-width: 0; height: 100%; }
.search input::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); font-style: italic; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: transparent; border: 1px solid var(--ink); border-radius: 999px; padding: 9px 16px; transition: background .2s, color .2s; }
.chip:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.count { opacity: .55; }

/* Cuadrícula de perfumes */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 18px; padding: 20px var(--pad) 0; }
.card { display: block; text-align: left; background: none; border: 0; padding: 0; }
.rv-c { opacity: 0; transform: translateY(22px); }
.rv-c.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--n) * 70ms); }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--stone); overflow: hidden; display: grid; place-items: center; }
.tag { position: absolute; top: 10px; left: 10px; font-size: 9px; letter-spacing: .16em; opacity: .5; }
.tile img { width: 84%; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.tile .ph { width: 26%; aspect-ratio: 1 / 2; border: 1px solid var(--ink); border-radius: 18px; opacity: .3; display: grid; place-items: center; }
.tile .ph .label { font-size: 8px; writing-mode: vertical-rl; }
.card:hover .tile img, .card:focus-visible .tile img { transform: scale(1.05); }
.card:focus-visible { outline: none; }
.card:focus-visible .tile { box-shadow: 0 0 0 3px var(--bone), 0 0 0 4px var(--ink); }
.meta { padding: 14px 0 0; }
.meta .label { opacity: .55; font-size: 10px; }
.meta h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; margin: 5px 0 5px; }
.meta h3 em { font-weight: 400; }
.meta .from { font-size: 13px; opacity: .7; }
.none { padding: 40px var(--pad); font-family: var(--serif); font-size: 20px; }

/* Ficha de producto */
.sheet { position: fixed; inset: 0; z-index: 25; background: var(--bone); will-change: clip-path; color: var(--ink); overflow-y: auto; overflow-x: hidden; }
.sheet-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad); background: var(--bone); border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }

.sheet-bar .logo { height: 46px; }
.sheet-home { display: block; line-height: 0; transition: opacity .3s; }
.sheet-home:hover { opacity: .6; }
.sheet-actions { display: flex; align-items: center; gap: 10px; }
.sheet .cart-btn { border-color: var(--ink); color: var(--ink); }
.sheet .cart-btn:hover { background: var(--ink); color: var(--bone); }
.sheet-nav { display: flex; align-items: center; gap: 14px; }
.sheet-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; line-height: 1; transition: background .25s, color .25s; }
.sheet-nav button:hover { background: var(--ink); color: var(--bone); }
.sheet-nav .label { min-width: 54px; text-align: center; opacity: .7; }
.close { width: 40px; height: 40px; display: grid; place-items: center; font-size: 13px; background: transparent; border: 1px solid var(--ink); border-radius: 50%; padding: 0; transition: background .3s, color .3s, transform .4s var(--ease); }
.close:hover { background: var(--ink); color: var(--bone); transform: rotate(90deg); }
.sheet-grid { display: grid; grid-template-columns: minmax(280px, 520px) minmax(320px, 480px); gap: clamp(28px, 6vw, 100px); align-items: start; justify-content: center; padding: 0 var(--pad) 48px; margin-top: -86px; min-height: 100svh; }
.stage { display: flex; gap: 14px; align-items: flex-end; padding-top: 86px; align-self: start; position: sticky; top: 0; }
.frame { background: var(--stone); border-radius: 4px; overflow: hidden; position: relative; }
.frame.main { flex: 1; aspect-ratio: 4 / 5; max-height: 72vh; display: grid; place-items: center; }
.frame.main img { width: 88%; mix-blend-mode: multiply; }
.frame.main .ph { width: 26%; aspect-ratio: 1 / 2; border: 1px solid var(--ink); border-radius: 22px; display: grid; place-items: center; opacity: .3; }
.frame.main .ph .label { writing-mode: vertical-rl; }
.frame.side { width: clamp(70px, 9vw, 120px); height: clamp(180px, 34vh, 300px); display: flex; flex-direction: column; align-items: center; padding: 14px 0 12px; }
.ml { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1; text-align: center; }
.ml small { display: block; font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; opacity: .65; }
.vwrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; min-height: 0; margin-top: 8px; }
.vwrap img { height: 40%; width: auto; mix-blend-mode: multiply; transition: height .7s var(--ease), opacity .4s; }
.sheet-info h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 68px); line-height: 1; margin: 12px 0 10px; letter-spacing: -.01em; }
.sheet-info h2 em { font-weight: 400; }
.sheet-info .mood { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.5vw, 20px); margin: 0 0 24px; opacity: .8; }
.notes { margin: 0 0 26px; }
.notes div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); padding: 11px 0; }
.notes div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.notes dt { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; opacity: .7; }
.notes dd { margin: 0; font-size: 15px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.size { background: transparent; border: 1px solid var(--ink); border-radius: 4px; padding: 12px 6px 10px; display: grid; justify-items: center; gap: 6px; transition: background .25s, color .25s; }
.size:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.size .vi { width: 12px; height: 26px; border: 1px solid currentColor; border-radius: 5px; position: relative; overflow: hidden; }
.size .vi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--l); background: currentColor; }
.size b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1; }
.size b span { font-family: var(--sans); font-size: 9px; letter-spacing: .12em; margin-left: 3px; opacity: .75; }
.size small { font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.price { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; }
.add { background: var(--ink); color: var(--bone); border: 1px solid var(--ink); border-radius: 999px; padding: 17px 24px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: background .3s, color .3s; }
.add:hover { background: transparent; color: var(--ink); }
.add:active { transform: scale(.98); }
.add.wide { width: 100%; }
.add.wide:hover { background: var(--bone); }
.rv { opacity: 0; transform: translateY(18px); }
.sheet.open .rv { opacity: 1; transform: none; transition: opacity .7s, transform .9s var(--ease); transition-delay: calc(.25s + var(--i, 0) * 70ms); }

.sheet-info { padding-top: 110px; }
.sheet-info .desc { margin: 0 0 22px; font-size: 15px; line-height: 1.55; max-width: 46ch; opacity: .85; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0 0 20px; }
.facts dd { margin: 3px 0 0; font-size: 15px; }
.facts dt { opacity: .55; font-size: 10px; }
.meters { display: grid; gap: 10px; margin: 0 0 24px; }
.meter { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
.meter .label { font-size: 10px; opacity: .7; }
.bars { display: flex; gap: 4px; }
.bars i { flex: 0 0 28px; height: 3px; background: color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 2px; }
.bars i.on { background: var(--ink); }
.size[data-out] { opacity: .4; }
.add:disabled { opacity: .35; cursor: not-allowed; }
.ship-note { margin: 16px 0 6px; font-size: 13px; opacity: .75; }
.ship-note a { text-underline-offset: 3px; }
.fine { font-size: 11px; line-height: 1.5; opacity: .5; margin: 0; }
.related { padding: 20px var(--pad) 80px; max-width: 1180px; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.related > .label { opacity: .6; margin-bottom: 18px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel { background: none; border: 0; padding: 0; text-align: left; display: grid; gap: 4px; }
.rel .tile { aspect-ratio: 4 / 5; margin-bottom: 8px; }
.rel .tile img { width: 76%; }
.rel .label { font-size: 9px; opacity: .55; }
.rel b { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.rel:hover .tile img { transform: scale(1.05); }

/* Decants */
.decants { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 6vw, 100px); padding: clamp(60px, 9vw, 120px) var(--pad); align-items: end; }
.d-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; margin: 14px 0 32px; max-width: 14ch; }
.steps { list-style: none; margin: 0; padding: 0; max-width: 480px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); padding: 14px 0; font-size: 17px; }
.steps li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.steps p { margin: 0; }
.steps .label { padding-top: 5px; }
.d-vials { display: flex; gap: 12px; align-items: flex-end; justify-content: center; }
.vframe { margin: 0; background: var(--stone); border-radius: 4px; width: clamp(80px, 11vw, 140px); display: flex; flex-direction: column; align-items: center; padding: 14px 0 0; overflow: hidden; }
.vframe figcaption { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1; text-align: center; }
.vframe small { display: block; font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin-top: 3px; }
.vframe img { mix-blend-mode: multiply; width: auto; margin-top: auto; }
.f3 { height: clamp(200px, 24vw, 300px); } .f3 img { height: 34%; }
.f5 { height: clamp(260px, 30vw, 380px); } .f5 img { height: 48%; }
.f10 { height: clamp(320px, 37vw, 460px); } .f10 img { height: 64%; }
.rv-s { opacity: 0; transform: translateY(28px); }
.rv-s.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.sec-head { max-width: 760px; }
.sec-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; margin: 14px 0 0; }
.ship, .faq { padding: clamp(40px, 6vw, 80px) var(--pad); }
.ship-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 0; border-top: 1px solid var(--ink); }
.ship-grid > div { padding: 22px 22px 8px 0; }
.ship-grid > div + div { padding-left: 22px; border-left: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
.ship-grid dt { opacity: .55; margin-bottom: 10px; }
.ship-grid dd { margin: 0; font-size: 16px; line-height: 1.5; }
.faq-list { margin-top: 32px; max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; flex: 0 0 14px; height: 14px; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: none; }
.faq details p { margin: 0 0 22px; max-width: 62ch; line-height: 1.6; opacity: .8; animation: fadeUp .5s var(--ease); }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.foot-links { display: flex; gap: 26px; justify-content: center; margin: 22px 0 28px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; opacity: .7; }
.foot-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
footer .fine { max-width: 560px; margin: 0 auto; }
footer { text-align: center; padding: 40px 20px 80px; border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); margin: 0 var(--pad); }
footer .logo.big { height: 130px; margin: 0 auto 26px; }
footer .label { opacity: .6; }

/* Pedido */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 30; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--bone); color: var(--ink); z-index: 40; transform: translateX(104%); transition: transform .55s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 28px 0; }
.drawer-head .label { opacity: .5; }
.drawer-head h3 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; margin: 4px 0 0; }
.drawer-head button { background: none; border: 1px solid var(--ink); width: 38px; height: 38px; border-radius: 50%; font-size: 14px; transition: background .25s, color .25s; }
.drawer-head button:hover { background: var(--ink); color: var(--bone); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 28px 6px; padding: 0; }
.stepper li { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .35; padding-top: 10px; border-top: 2px solid color-mix(in srgb, var(--ink) 30%, transparent); display: flex; gap: 8px; align-items: center; transition: opacity .3s, border-color .3s; }
.stepper li b { font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.stepper li.on { opacity: 1; border-top-color: var(--ink); }
.d-main { flex: 1; display: flex; flex-direction: column; }
.pane { padding: 8px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.thumb { position: relative; width: 78px; aspect-ratio: 4 / 5; background: #fff; border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.thumb img { width: 84%; mix-blend-mode: multiply; }
.li-info { display: grid; gap: 3px; min-width: 0; }
.li-info .label { opacity: .5; font-size: 9px; }
.li-info b { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.15; }
.li-kind { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .85; }
.kind { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 4px 9px; border: 1px solid var(--ink); }
.kind.decant { background: var(--ink); color: var(--bone); }
.kind.frasco { background: transparent; }
.kind .vi { width: 7px; height: 12px; border: 1px solid currentColor; border-radius: 3px; position: relative; overflow: hidden; flex: none; }
.kind .vi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; background: currentColor; height: 38%; }
.kind.frasco .vi::after { height: 86%; }
.qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ink); background: none; line-height: 1; transition: background .2s, color .2s; }
.qty button:hover { background: var(--ink); color: var(--bone); }
.line .p { font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.empty { opacity: .65; margin: 40px 0; line-height: 1.8; }
.empty a { text-underline-offset: 3px; }
.cart-foot { margin-top: auto; padding-top: 22px; }
.free { margin: 0 0 14px; opacity: .65; font-size: 10px; }
.sum { margin: 0 0 18px; display: grid; gap: 8px; }
.sum > div { display: flex; justify-content: space-between; align-items: baseline; }
.sum dd { margin: 0; font-family: var(--serif); font-size: 17px; }
.sum .grand { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--ink); }
.sum .grand dt { max-width: 22ch; line-height: 1.4; }
.sum .grand dd { font-weight: 500; font-size: 30px; }
.trust { text-align: center; margin: 14px 0 0; opacity: .5; font-size: 10px; }
.order { gap: 0; }
.order .back { background: none; border: 0; padding: 4px 0; text-align: left; opacity: .6; width: fit-content; }
.order .back:hover { opacity: 1; }
.mini { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; margin: 14px 0 6px; background: #fff; border-radius: 4px; font-size: 13px; }
.mini b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.order fieldset { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; min-width: 0; }
.order legend { padding: 0; margin-bottom: 14px; opacity: .55; font-size: 10px; }
.order label { display: grid; gap: 6px; font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.order input { border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: #fff; border-radius: 4px; padding: 14px; font-family: var(--sans); font-size: 16px; text-transform: none; letter-spacing: 0; outline: none; width: 100%; transition: border-color .2s, box-shadow .2s; }
.order input::placeholder { opacity: .35; }
.order input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 400; color: #B00020; }
.err:empty { display: none; }
.order input[aria-invalid="true"] { border-color: #B00020; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cod { margin: 22px 0 16px; font-size: 13px; opacity: .8; padding-left: 12px; border-left: 2px solid var(--ink); }
.order .add { margin-top: auto; }
.d-done { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; animation: fadeUp .6s var(--ease); }
.d-done h4 { font-family: var(--serif); font-weight: 500; font-size: 48px; margin: 0; letter-spacing: .02em; }
.d-done p { margin: 0; line-height: 1.55; }
.d-done .cod { margin: 4px 0 8px; }
a.add { text-align: center; text-decoration: none; display: block; }
.ghost { background: transparent; border: 1px solid var(--ink); border-radius: 999px; padding: 16px 24px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: background .3s, color .3s; }
.ghost:hover { background: var(--ink); color: var(--bone); }
.ghost.wide { width: 100%; }

/* Cuadro "agregado al pedido" */
.added { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; background: rgba(0, 0, 0, 0); transition: background .35s; padding: 20px; }
.added.show { background: rgba(0, 0, 0, .45); }
.added-in { position: relative; background: var(--bone); width: min(440px, 100%); border-radius: 6px; padding: 28px; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.added.show .added-in { opacity: 1; transform: none; }
.added-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 12px; }
.added-in > .label { display: flex; align-items: center; gap: 10px; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--bone); font-size: 11px; }
.added-item { display: grid; grid-template-columns: 78px 1fr; gap: 16px; align-items: center; margin: 20px 0; }
.added-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); margin-bottom: 18px; }
.added-sum b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.added-btns { display: grid; gap: 10px; }
.added-btns .add, .added-btns .ghost { width: 100%; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: var(--bone); padding: 12px 20px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: .4s var(--ease); z-index: 50; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .nav { display: none; }
  .ship-grid { grid-template-columns: 1fr 1fr; }
  .ship-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ship-grid > div:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sheet-bar { padding: 19px var(--pad); gap: 8px; }
  .sheet-bar .logo { height: 42px; }
  .sheet-nav { gap: 8px; } .sheet-nav button { width: 34px; height: 34px; }
  .sheet-actions { gap: 8px; } .sheet .cart-btn { padding: 10px 14px; letter-spacing: .12em; }
  .sheet-info { display: flex; flex-direction: column; }
  #shBrand { order: 0; } #shName { order: 1; } #shMood { order: 2; }
  #shSizes { order: 3; margin-bottom: 14px; } .sheet-info > .buy { order: 4; margin: 0 0 6px; }
  #shShip { order: 5; margin-top: 6px; } #shDesc { order: 6; margin-top: 14px; } #shFacts { order: 7; } #shMeters { order: 8; } #shNotes { order: 9; }
  .sheet-info > .fine { order: 10; }
  .sheet-info h2 { font-size: clamp(34px, 10vw, 46px); margin: 8px 0 6px; }
  .sheet-info .mood { margin-bottom: 18px; }
  .sheet .stage .frame.main { max-height: 42vh; }
  .frame.side { height: clamp(150px, 26vh, 220px); }
  .sheet-nav .label { display: none; }
  .sheet-info { padding-top: 0; }
  .stage { position: static; }
  .ship-grid { grid-template-columns: 1fr; }
  .ship-grid > div, .ship-grid > div + div { padding: 18px 0; border-left: 0; }
  .ship-grid > div + div { border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
  .bars i { flex: 0 0 24px; }
  .hero-line { letter-spacing: .16em; font-size: 10px; }
  .hero-line i { margin: 0 .4em; }
  .mark { --h: min(44vh, 380px); --open: 24vw; }
  .part.word { transform: translateY(calc(var(--p) * var(--h) * -.62)) scale(calc(1 + var(--p) * .25)); }
  .finder { padding-top: 44px; }
  
  .top { height: 72px; }
  .brand .logo { height: 50px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .meta h3 { font-size: 17px; }
  .sheet-grid { grid-template-columns: 1fr; padding-bottom: 40px; min-height: 0; margin-top: -80px; }
  .stage { padding-top: 80px; }
  .size b { font-size: 18px; }
  .decants { grid-template-columns: 1fr; }
  .d-vials { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Frasco completo: solo la foto del perfume */
.frame.side { transition: width .6s var(--ease), opacity .4s, margin .6s var(--ease), padding .6s var(--ease); }
.stage.solo .frame.side { width: 0; opacity: 0; margin-left: -14px; padding-left: 0; padding-right: 0; border: 0; }
.stage.solo .frame.main { max-height: 72vh; }

/* Sobre este perfume */
.about { padding: 8px var(--pad) 56px; max-width: 1180px; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.about-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 90px); padding-top: 44px; }
.about-copy .label { opacity: .6; }
.about-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; margin: 12px 0 18px; }
.about-copy h3 span { font-style: italic; font-weight: 400; opacity: .7; font-size: .6em; display: block; margin-top: 6px; }
.about-copy p { line-height: 1.7; max-width: 56ch; margin: 0 0 16px; }
.about-copy .tip { font-size: 14px; opacity: .75; border-left: 1px solid var(--ink); padding-left: 14px; }
.about-qa { border-top: 1px solid var(--ink); align-self: start; }
.about-qa details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.about-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--serif); font-size: 18px; }
.about-qa summary::-webkit-details-marker { display: none; }
.about-qa summary span { position: relative; flex: 0 0 12px; height: 12px; }
.about-qa summary span::before, .about-qa summary span::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.about-qa summary span::after { transform: rotate(90deg); }
.about-qa details[open] summary span::after { transform: none; }
.about-qa details p { margin: 0 0 18px; line-height: 1.6; font-size: 14.5px; opacity: .8; animation: fadeUp .5s var(--ease); }
@media (max-width: 820px) { .about-in { grid-template-columns: 1fr; } }
.foot-perfumes { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 0 auto 24px; max-width: 760px; font-size: 12px; }
.foot-perfumes a { opacity: .6; text-decoration: none; } .foot-perfumes a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }


/* Enlace a Revtile */
.sister { margin: 0 0 26px; opacity: .6; font-size: 10px; }
.sister a { text-underline-offset: 4px; }
.sister a:hover { opacity: 1; }
.sister-done { margin: 10px 0 0; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); font-size: 13px; opacity: .75; text-align: center; }
.sister-done a { text-underline-offset: 3px; }

/* Cierre de la ficha: el contenido se desvanece rápido para no verse congelado */
.sheet .rv { transition: opacity .25s; }
.sheet.closing .sheet-bar, .sheet.closing .sheet-body, .sheet.closing .buybar { opacity: 0; transition: opacity .2s ease-out; }
.sheet.closing { pointer-events: none; }

/* Tarjetas: respuesta al pasar y al presionar */
.tile { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover .tile { transform: translateY(-5px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .35); }
.card:active .tile { transform: scale(.975); transition-duration: .15s; }
.card .meta h3 { transition: letter-spacing .5s var(--ease); }
.card:hover .meta h3 { letter-spacing: .015em; }

/* Barra de compra: aparece al perder de vista el precio y acompaña el scroll */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; background: var(--bone); border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); box-shadow: 0 -14px 30px -18px rgba(0, 0, 0, .25); transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.buybar.show { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.bb-in { max-width: 1180px; margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 18px; }
.bb-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bb-info b { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-info .label { opacity: .55; font-size: 9px; }
.buybar .price { font-size: 24px; }
.buybar .add { padding: 14px 22px; }
@media (max-width: 520px) { .bb-in { gap: 12px; } .bb-info b { font-size: 16px; } .buybar .price { font-size: 20px; } .buybar .add { padding: 13px 16px; font-size: 11px; } }

/* ===== Estilo recto: botones y cajas sin forma de píldora ===== */
.skip, .cart-btn, .chip, .add, .ghost, .kind, .toast, .added-x, .tick, .drawer-head button, .qty button, .sheet-nav button, .close { border-radius: 0; }
.tile, .frame, .thumb, .size, .vframe, .order input, .mini, .added-in { border-radius: 2px; }
.tile .ph, .frame.main .ph { border-radius: 2px; }
.cart-btn { padding: 12px 18px; }
.chip { padding: 10px 16px; }
.add { padding: 18px 26px; letter-spacing: .2em; }
.ghost { padding: 17px 26px; }
.tick { width: 18px; height: 18px; }
.qty button { width: 28px; height: 28px; }
.drawer-head button { width: 38px; height: 38px; }
.added-x { width: 32px; height: 32px; }

/* ===== Encabezado de la ficha ===== */
.sheet-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px var(--pad); }
.sb-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.sheet-bar .logo { height: 50px; }
.crumb { display: flex; align-items: center; gap: 10px; opacity: .65; font-size: 10px; white-space: nowrap; overflow: hidden; }
.crumb button { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.crumb button:hover { background-size: 100% 1px; }
.crumb b { font-weight: 500; opacity: 1; overflow: hidden; text-overflow: ellipsis; }
.sheet-nav { gap: 6px; }
.sheet-nav button { width: 38px; height: 38px; border: 0; font-size: 18px; background: none; transition: transform .35s var(--ease), opacity .2s; }
.sheet-nav button:hover { background: none; color: var(--ink); opacity: .55; }
.sheet-nav button:first-child:hover { transform: translateX(-3px); }
.sheet-nav button:last-child:hover { transform: translateX(3px); }
.sheet-actions { justify-self: end; gap: 18px; }
.sheet .cart-btn { background: var(--ink); color: var(--bone); border: 1px solid var(--ink); }
.sheet .cart-btn:hover { background: transparent; color: var(--ink); }
.close { width: auto; height: auto; padding: 6px 0; border: 0; background: none; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; transition: opacity .2s; }
.close:hover { background: none; color: var(--ink); transform: none; opacity: .55; }
@media (max-width: 820px) {
  .sheet-bar { grid-template-columns: auto 1fr auto; padding: 18px var(--pad); gap: 10px; }
  .crumb { display: none; }
  .sheet-bar .logo { height: 44px; }
  .sheet-nav { justify-self: center; }
  .sheet-actions { gap: 12px; }
  .sheet .cart-btn { padding: 11px 14px; }
}

/* ===== Mi estuche: botón flotante ===== */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 28; display: flex; align-items: center; gap: 14px; padding: 11px 18px 11px 14px; background: var(--ink); color: var(--bone); border: 0; border-radius: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 34px -14px rgba(0, 0, 0, .55); transform: translateY(170%); visibility: hidden; transition: transform .7s var(--ease), bottom .5s var(--ease), background .3s, color .3s, visibility 0s .7s; }
.fab.show { transform: none; visibility: visible; transition: transform .7s var(--ease), bottom .5s var(--ease), background .3s, color .3s; }
.fab:hover { background: var(--bone); color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 18px 34px -14px rgba(0, 0, 0, .45); }
.fab-vial { width: 15px; height: 30px; border: 1px solid currentColor; border-radius: 4px 4px 3px 3px; position: relative; overflow: hidden; flex: none; }
.fab-vial::before { content: ""; position: absolute; top: -1px; left: 3px; right: 3px; height: 4px; background: currentColor; opacity: .5; z-index: 1; }
.fab-vial i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--l, 20%); background: currentColor; transition: height .8s var(--ease); }
.fab-txt { display: grid; gap: 3px; text-align: left; line-height: 1; }
.fab-txt small { font-size: 9px; opacity: .7; }
.fab-txt b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.fab.bump { animation: fabBump .6s var(--ease); }
@keyframes fabBump { 30% { transform: translateY(-8px) scale(1.05); } }
body.has-buybar .fab { bottom: 92px; }
@media (max-width: 820px) { .fab { right: 14px; bottom: 14px; padding: 9px 14px 9px 12px; } body.has-buybar .fab { bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .fab, .fab.show { transition-duration: .01ms !important; } }
