:root {
    --ink: #2f251d;
    --muted: #76685c;
    --cream: #f8f3ea;
    --paper: #fffdf9;
    --gold: #d99b28;
    --gold-soft: #f0c66e;
    --wine: #7e2739;
    --line: rgba(93, 67, 38, .18);
    --display: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.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; }
.page-grain { position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E"); }

.site-header { position: fixed; inset: 0 0 auto; height: 82px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; z-index: 20; color: var(--paper); transition: background .35s, color .35s, box-shadow .35s; }
.site-header.scrolled { background: rgba(255, 253, 249, .9); color: var(--ink); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.04em; white-space: nowrap; }.brand span { color: var(--gold); font-style: italic; }
.main-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }.main-nav a { opacity: .78; transition: opacity .2s; }.main-nav a:hover { opacity: 1; }
.cart-button { border: 1px solid currentColor; color: inherit; background: transparent; border-radius: 999px; padding: .55rem .7rem .55rem 1rem; display: flex; gap: .7rem; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }.cart-button b { background: var(--gold); color: var(--ink); border-radius: 50%; min-width: 1.35rem; height: 1.35rem; display: grid; place-items: center; font-size: .68rem; }

.hero { min-height: 100svh; padding: 8rem clamp(1.25rem, 9vw, 10rem) 4rem; background: #2c231d; color: var(--paper); display: grid; grid-template-columns: minmax(270px, .92fr) minmax(330px, 1.08fr); align-items: center; overflow: hidden; position: relative; }
.hero-copy { position: relative; z-index: 2; }.kicker { margin: 0 0 1rem; color: var(--gold); font-size: .68rem; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.hero h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.065em; }.hero h1 { font-size: clamp(4rem, 7.4vw, 8rem); line-height: .84; }.hero h1 em, h2 em { color: var(--gold-soft); }.hero-intro { max-width: 28rem; margin: 2.1rem 0 2rem; color: #ded4c7; line-height: 1.7; font-size: clamp(.93rem, 1.25vw, 1.1rem); }
.hero-actions { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }.button { border: 0; border-radius: 0; display: inline-flex; justify-content: center; align-items: center; gap: 1.6rem; padding: 1rem 1.25rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .7rem; transition: transform .2s, background .2s, color .2s; }.button:hover { transform: translateY(-3px); }.button-dark { background: var(--gold); color: var(--ink); }.button-light { background: var(--paper); color: var(--ink); }.button span { font-size: 1.1rem; }.text-link { font-size: .73rem; color: #ded4c7; border-bottom: 1px solid var(--gold); padding-bottom: .3rem; }
.hero-bottle-scene { position: relative; height: min(75vh, 720px); min-height: 480px; }.sun-disc { position: absolute; width: min(52vw, 580px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f7dc99, #cf8b18 48%, #8d4e12); top: 3%; left: 50%; transform: translateX(-50%); opacity: .9; }.scene-word { position: absolute; z-index: 1; color: rgba(255,255,255,.14); margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 8vw, 8.5rem); font-style: italic; line-height: .8; letter-spacing: -.09em; }.word-one { top: 8%; left: 2%; }.word-two { bottom: 14%; right: 0; }
.perfume-bottle { --scroll: 0; position: absolute; width: clamp(190px, 23vw, 300px); height: clamp(390px, 53vw, 570px); bottom: 3%; left: 50%; z-index: 2; transform: translateX(calc(-50% + (var(--scroll) * 60px))) translateY(calc(var(--scroll) * -65px)) rotate(calc(var(--scroll) * 10deg)); transition: transform .08s linear; filter: drop-shadow(18px 20px 18px rgba(0,0,0,.35)); }
.bottle-cap { width: 44%; height: 11%; margin: auto; border-radius: 7px 7px 2px 2px; background: linear-gradient(90deg, #8e5a16, #f7d581 35%, #b0731a 61%, #f7d581 83%, #85520e); border: 1px solid rgba(255,255,255,.45); }.bottle-neck { width: 30%; height: 8%; margin: auto; background: linear-gradient(90deg, #b4761d, #efd17b 50%, #8d5712); opacity: .93; }
.bottle-glass { height: 76%; margin: 0 auto; border-radius: 17% 17% 10% 10% / 8% 8% 4% 4%; border: 2px solid rgba(255,255,255,.7); background: linear-gradient(92deg, rgba(255,255,255,.3), rgba(255,238,181,.6) 22%, rgba(171,97,18,.72) 50%, rgba(255,229,152,.45) 77%, rgba(255,255,255,.35)); position: relative; overflow: hidden; box-shadow: inset 12px 0 15px rgba(255,255,255,.28), inset -15px 0 18px rgba(74,36,2,.38); }.bottle-glass::after { content: ''; position: absolute; inset: 40% 7% 4%; background: linear-gradient(90deg, rgba(186,111,20,.65), rgba(250,208,103,.82), rgba(150,77,11,.67)); border-radius: 0 0 10% 10%; border-top: 1px solid rgba(255,240,179,.85); }.bottle-shine { position: absolute; z-index: 2; width: 15%; height: 90%; left: 14%; top: 6%; border-radius: 50%; background: linear-gradient(90deg, rgba(255,255,255,.82), transparent); transform: skewX(-8deg); }
.bottle-label { position: absolute; z-index: 3; left: 12%; right: 12%; top: 29%; min-height: 34%; border-radius: 50%; background: rgba(255,253,247,.91); color: #614213; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: 0 2px 8px rgba(89,49,6,.25); }.bottle-label span { font-size: .43rem; letter-spacing: .22em; }.bottle-label strong { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -.09em; }.bottle-label i { margin-top: .2rem; font-family: var(--display); font-size: .5rem; letter-spacing: .08em; }.bottle-shadow { position: absolute; z-index: -1; width: 120%; height: 7%; bottom: -2%; left: -10%; border-radius: 50%; background: rgba(0,0,0,.36); filter: blur(8px); }.orbit { border: 1px solid rgba(255,236,184,.34); border-radius: 50%; position: absolute; left: 50%; top: 50%; }.orbit-one { width: min(58vw, 660px); height: min(38vw, 430px); transform: translate(-50%, -50%) rotate(-26deg); }.orbit-two { width: min(52vw, 580px); height: min(32vw, 350px); transform: translate(-50%, -50%) rotate(58deg); border-color: rgba(255,255,255,.14); }.hero-scroll { position: absolute; bottom: 1.8rem; left: clamp(1.25rem, 5vw, 5rem); display: flex; gap: .7rem; align-items: center; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #c9b8a6; }.hero-scroll i { height: 1px; width: 3.2rem; background: var(--gold); }

.intro-section, .catalog-section, .steps-section { padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 9vw, 10rem); }.intro-section { display: grid; grid-template-columns: .45fr 1.4fr .75fr; gap: 3rem; background: var(--paper); }.section-number { color: var(--gold); font-size: .7rem; letter-spacing: .15em; }.intro-copy h2, .catalog-heading h2, .steps-heading h2 { font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: .96; }.intro-copy > p:last-child { max-width: 34rem; margin: 2.1rem 0 0; line-height: 1.85; color: var(--muted); }.intro-note { align-self: end; border-left: 1px solid var(--gold); padding-left: 1.2rem; color: var(--muted); font-size: .82rem; line-height: 1.7; }.intro-note span { color: var(--gold); font-size: .67rem; letter-spacing: .12em; }.intro-note p { margin: .8rem 0 0; }

.catalog-section { background: var(--cream); }.catalog-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding-bottom: 3.5rem; }.catalog-heading > p { max-width: 22rem; margin: 0; color: var(--muted); line-height: 1.7; font-size: .9rem; }.catalog-controls { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }.search-field { width: min(100%, 320px); display: flex; align-items: center; border-bottom: 1px solid var(--ink); padding: .35rem 0; }.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .84rem; }.search-field input::placeholder { color: #978a7d; }.search-field span { color: var(--gold); font-size: 1.35rem; }.filter-group { display: flex; gap: .4rem; flex-wrap: wrap; }.filter { padding: .45rem .72rem; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .69rem; letter-spacing: .07em; text-transform: uppercase; }.filter.active, .filter:hover { border-color: var(--gold); color: var(--ink); }.catalog-count { min-height: 1.2rem; margin: 1.2rem 0 1rem; color: var(--muted); font-size: .72rem; }.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.product-card { min-height: 205px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem; display: flex; flex-direction: column; align-items: flex-start; background: transparent; transition: background .25s, color .25s; }.product-card:hover { background: var(--ink); color: var(--paper); }.product-top { width: 100%; display: flex; justify-content: space-between; gap: .5rem; align-items: start; }.product-category { color: var(--gold); text-transform: uppercase; font-size: .59rem; letter-spacing: .13em; }.product-badge { background: var(--wine); color: white; padding: .2rem .35rem; font-size: .49rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.product-brand { margin: auto 0 .4rem; color: var(--gold); font-size: .69rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; }.product-name { margin: 0; max-width: 90%; font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.04; letter-spacing: -.05em; }.add-product { margin-top: 1rem; padding: .45rem 0 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-size: .64rem; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }.catalog-end { text-align: center; padding-top: 2rem; }.load-more { padding: .7rem 1rem; border: 1px solid var(--ink); background: transparent; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }.load-more:hover { background: var(--ink); color: var(--paper); }.catalog-disclaimer { max-width: 42rem; margin: 4rem auto 0; text-align: center; color: var(--muted); font-size: .68rem; line-height: 1.55; }

.steps-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; background: #e7d0a0; }.steps-list { margin: 0; padding: 0; list-style: none; }.steps-list li { display: grid; grid-template-columns: 3rem 1fr 1.2fr; gap: 1rem; padding: 1.45rem 0; border-top: 1px solid rgba(69,48,18,.32); }.steps-list li:last-child { border-bottom: 1px solid rgba(69,48,18,.32); }.steps-list span { color: var(--wine); font-size: .7rem; font-weight: 700; }.steps-list h3 { margin: 0; font-family: var(--display); font-size: 1.45rem; font-weight: 500; }.steps-list p { margin: .25rem 0 0; color: #6d5434; font-size: .8rem; line-height: 1.6; }.closing-section { min-height: 56vh; padding: 5rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--wine); color: var(--paper); }.closing-section h2 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .9; }.closing-section .button { margin-top: 2.4rem; }

.backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(39,27,17,.44); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }.cart-panel { position: fixed; z-index: 30; right: 0; top: 0; width: min(100%, 500px); height: 100dvh; padding: 1.4rem clamp(1.2rem, 3vw, 2.2rem); background: var(--paper); box-shadow: -14px 0 45px rgba(35,24,14,.15); overflow-y: auto; transform: translateX(105%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; }.cart-panel.open { transform: translateX(0); visibility: visible; }.backdrop.visible { opacity: 1; visibility: visible; }.cart-panel-header { display: flex; justify-content: space-between; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }.cart-panel h2 { font-size: 2.4rem; line-height: .9; }.icon-button { width: 2.4rem; height: 2.4rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.7rem; line-height: 1; }.cart-items { display: grid; }.cart-item { padding: 1.15rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: .7rem; }.cart-item small { color: var(--gold); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }.cart-item h3 { margin: .25rem 0 0; font-family: var(--display); font-size: 1.22rem; font-weight: 500; line-height: 1.1; }.cart-item-actions { display: flex; align-items: center; gap: .25rem; }.quantity-button, .remove-item { width: 1.85rem; height: 1.85rem; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); }.remove-item { border: 0; color: var(--wine); font-size: 1.2rem; }.quantity-value { min-width: 1.2rem; text-align: center; font-size: .8rem; }.cart-empty { padding: 3.8rem 0; color: var(--muted); text-align: center; font-size: .84rem; line-height: 1.7; }.cart-empty span { display: block; color: var(--gold); font-size: 1.7rem; }.checkout-form { margin-top: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }.checkout-form.is-disabled { opacity: .45; pointer-events: none; }.form-title { margin: 0 0 .3rem; font-family: var(--display); font-size: 1.7rem; }.checkout-form label { display: grid; gap: .35rem; color: var(--muted); font-size: .69rem; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }.checkout-form input, .checkout-form textarea, .checkout-form select { border: 1px solid var(--line); border-radius: 0; background: var(--cream); color: var(--ink); padding: .7rem; outline-color: var(--gold); font-size: .83rem; text-transform: none; font-weight: 400; letter-spacing: 0; }.checkout-form textarea { resize: vertical; }.button-full { width: 100%; margin-top: .5rem; }.toast { position: fixed; z-index: 40; left: 50%; bottom: 1.5rem; transform: translate(-50%, 130%); opacity: 0; padding: .8rem 1rem; background: var(--ink); color: white; font-size: .78rem; box-shadow: 0 5px 25px rgba(0,0,0,.2); transition: transform .3s, opacity .3s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) { .site-header { height: 70px; padding-inline: 1rem; }.main-nav { display: none; }.cart-button span { display: none; }.hero { min-height: 100svh; padding: 7.2rem 1.25rem 3rem; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }.hero h1 { font-size: clamp(4.15rem, 19vw, 6rem); }.hero-intro { margin: 1.7rem 0; font-size: .9rem; }.hero-bottle-scene { min-height: 400px; height: 52vh; margin-top: -1.3rem; }.sun-disc { width: 115vw; top: 3%; }.perfume-bottle { width: 190px; height: 405px; bottom: 0; }.orbit-one { width: 115vw; height: 50vw; }.orbit-two { width: 90vw; height: 42vw; }.scene-word { font-size: 4rem; }.word-one { top: 10%; }.word-two { bottom: 7%; }.hero-scroll { display: none; }.intro-section, .steps-section { display: block; padding: 5rem 1.25rem; }.section-number { margin-bottom: 2.5rem; }.intro-note { margin-top: 3rem; }.catalog-section { padding: 5rem 1.25rem; }.catalog-heading { display: block; padding-bottom: 2.5rem; }.catalog-heading > p { margin-top: 1.5rem; }.catalog-controls { display: block; }.search-field { width: 100%; }.filter-group { margin-top: .8rem; }.product-grid { grid-template-columns: repeat(2, 1fr); }.product-card { min-height: 190px; padding: .9rem; }.product-name { font-size: 1.45rem; }.steps-heading { margin-bottom: 2.4rem; }.steps-list li { grid-template-columns: 2.2rem 1fr; gap: .6rem; }.steps-list p { grid-column: 2; margin-top: -.2rem; }.closing-section { min-height: 48vh; }.cart-panel { padding: 1.2rem; }.catalog-disclaimer { margin-top: 3rem; } }
@media (max-width: 380px) { .product-grid { grid-template-columns: 1fr; }.hero-actions { gap: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Catálogo agrupado: las marcas mantienen la exploración manejable, especialmente en celular. */
.product-grid { display: grid; gap: .75rem; border: 0; }
.brand-group { border-top: 1px solid var(--line); background: rgba(255, 253, 249, .34); }
.brand-group:last-child { border-bottom: 1px solid var(--line); }
.brand-summary { min-height: 4.5rem; padding: .9rem 1.15rem; display: flex; align-items: center; gap: 1rem; list-style: none; cursor: pointer; }
.brand-summary::-webkit-details-marker { display: none; }
.brand-summary::before { content: '+'; color: var(--gold); font-family: var(--display); font-size: 1.8rem; font-weight: 500; line-height: 1; }
.brand-group[open] .brand-summary::before { content: '−'; }
.brand-name { font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: -.05em; }
.brand-total { margin-left: auto; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-products { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-products .product-card { background: var(--paper); }
.brand-products .product-card:hover { background: var(--ink); }
.product-category[data-category="Dama"] { color: #a74467; }
.product-category[data-category="Caballero"] { color: #2650ae; }
.product-category[data-category="Unisex"] { color: #8752a4; }
.perfume-bottle { width: clamp(220px, 27vw, 310px); height: clamp(440px, 62vh, 620px); bottom: 0; }
.bottle-vector { display: block; width: 100%; height: 100%; overflow: visible; }
.bottle-float { transform-origin: 50% 58%; animation: bottle-float 4.6s ease-in-out infinite; }
.vector-shadow { fill: rgba(0, 0, 0, .34); animation: shadow-breathe 4.6s ease-in-out infinite; }
.sparkles { fill: #f6d476; filter: drop-shadow(0 0 5px rgba(246,212,118,.8)); animation: sparkle 2.8s ease-in-out infinite; transform-origin: center; }
.hero-bottle-scene { --bottle-x: 0px; --bottle-y: 0px; --bottle-tilt: 0deg; --spray-x: 0px; --spray-y: 0px; }
.perfume-bottle { transform: translateX(calc(-50% + (var(--scroll) * 60px) + var(--bottle-x))) translateY(calc((var(--scroll) * -65px) + var(--bottle-y))) rotate(calc((var(--scroll) * 10deg) + var(--bottle-tilt))); }
.mist-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.spray-particles { position: absolute; inset: 4% 0 0; z-index: 3; pointer-events: none; transform: translate(var(--spray-x), var(--spray-y)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.spray-particles i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 225, 151, .86); box-shadow: 0 0 10px rgba(247, 202, 104, .66); animation: mist-drift 5.8s ease-in-out infinite; }
.spray-particles i:nth-child(1) { left: 21%; top: 22%; animation-delay: -1s; }.spray-particles i:nth-child(2) { left: 30%; top: 15%; width: 3px; height: 3px; animation-delay: -3s; }.spray-particles i:nth-child(3) { left: 13%; top: 38%; width: 4px; height: 4px; animation-delay: -4s; }.spray-particles i:nth-child(4) { left: 25%; top: 49%; animation-delay: -2s; }.spray-particles i:nth-child(5) { left: 36%; top: 30%; width: 3px; height: 3px; animation-delay: -.5s; }.spray-particles i:nth-child(6) { right: 23%; top: 20%; animation-delay: -3.5s; }.spray-particles i:nth-child(7) { right: 17%; top: 34%; width: 3px; height: 3px; animation-delay: -1.8s; }.spray-particles i:nth-child(8) { right: 31%; top: 42%; animation-delay: -4.4s; }.spray-particles i:nth-child(9) { right: 19%; top: 55%; width: 4px; height: 4px; animation-delay: -2.4s; }.spray-particles i:nth-child(10) { right: 38%; top: 15%; width: 3px; height: 3px; animation-delay: -3.1s; }.spray-particles i:nth-child(11) { left: 31%; bottom: 20%; animation-delay: -1.6s; }.spray-particles i:nth-child(12) { left: 17%; bottom: 30%; width: 3px; height: 3px; animation-delay: -4.7s; }.spray-particles i:nth-child(13) { right: 29%; bottom: 16%; animation-delay: -2.6s; }.spray-particles i:nth-child(14) { right: 14%; bottom: 29%; width: 3px; height: 3px; animation-delay: -.9s; }.spray-particles i:nth-child(15) { left: 42%; top: 9%; width: 3px; height: 3px; animation-delay: -3.7s; }.spray-particles i:nth-child(16) { right: 43%; bottom: 7%; width: 4px; height: 4px; animation-delay: -1.2s; }
.hero-bottle-scene.spray-burst .spray-particles i { animation: mist-burst .75s cubic-bezier(.15,.75,.25,1) both; }
@keyframes bottle-float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1.2deg); } }
@keyframes shadow-breathe { 0%, 100% { transform: scaleX(1); opacity: .6; } 50% { transform: scaleX(.78); opacity: .28; } }
@keyframes sparkle { 0%, 100% { opacity: .36; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes mist-drift { 0%, 100% { opacity: .18; transform: translate(0, 8px) scale(.72); } 50% { opacity: .95; transform: translate(10px, -15px) scale(1.25); } }
@keyframes mist-burst { 0% { opacity: .3; transform: translate(0, 0) scale(.7); } 55% { opacity: 1; transform: translate(var(--burst-x, 20px), -45px) scale(1.45); } 100% { opacity: 0; transform: translate(var(--burst-x, 35px), -70px) scale(.5); } }
.mobile-cart-bar { display: none; }

@media (max-width: 760px) {
    body { padding-bottom: 4.8rem; }
    .product-grid { gap: .6rem; }
    .brand-summary { min-height: 4rem; padding: .75rem .85rem; }
    .brand-name { font-size: 1.5rem; }
    .brand-total { font-size: .58rem; }
    .brand-products { grid-template-columns: 1fr; }
    .brand-products .product-card { min-height: 150px; }
    .perfume-bottle { width: 205px; height: 410px; }
    .mobile-cart-bar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; min-height: 4.15rem; padding: .7rem 1.1rem; border: 0; background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: .55rem; text-align: left; box-shadow: 0 -5px 18px rgba(43,30,17,.16); }
    .mobile-cart-bar span { color: var(--gold-soft); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .mobile-cart-bar strong { font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
    .mobile-cart-bar strong b { color: var(--gold-soft); }
    .mobile-cart-bar i { margin-left: auto; color: var(--gold-soft); font-style: normal; font-size: 1.25rem; }
    .cart-panel { padding-bottom: 6rem; }
}

.site-credit { margin: 0; padding: 1rem 1.25rem; border-top: 1px solid rgba(255, 253, 249, .18); background: var(--wine); color: rgba(255, 253, 249, .68); text-align: center; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.site-credit p { margin: 0; }
.site-credit a { color: var(--paper); text-decoration: none; border-bottom: 1px solid currentColor; }
.site-credit a:hover, .site-credit a:focus-visible { color: var(--gold-soft); }

.ask-link { display: inline; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--wine); font-size: .74rem; font-weight: 700; line-height: 1.5; }
.ask-link:hover { color: var(--gold); }
.hero-ask { display: block; margin-top: 1.45rem; color: #e7d4b0; font-weight: 400; }
.hero-ask span { color: var(--gold-soft); font-weight: 700; }
.catalog-help { max-width: 48rem; margin: 3.5rem auto 0; padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; background: #ead7ad; }
.catalog-help p { margin: 0; max-width: 21rem; font-family: var(--display); font-size: 1.45rem; line-height: 1.08; letter-spacing: -.04em; }
.catalog-help .button { flex: none; }
@media (max-width: 760px) { .catalog-help { margin-top: 2.5rem; padding: 1.5rem; display: block; }.catalog-help .button { width: 100%; margin-top: 1rem; } }

/* Responsive layout pass: fluid across small phones, tablets and wide desktops. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
.hero-copy, .hero-bottle-scene, .catalog-heading, .catalog-controls, .brand-summary, .cart-panel { min-width: 0; }

@media (min-width: 761px) and (max-width: 1080px) {
    .hero { padding-inline: clamp(2rem, 6vw, 5rem); grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr); }
    .hero h1 { font-size: clamp(4.4rem, 8vw, 6.6rem); }
    .hero-bottle-scene { min-height: 430px; }
    .perfume-bottle { width: clamp(190px, 25vw, 260px); height: clamp(400px, 57vh, 550px); }
    .catalog-section, .intro-section, .steps-section { padding-inline: clamp(2rem, 6vw, 5rem); }
}

@media (max-width: 760px) {
    .site-header { padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }
    .hero {
        min-height: 100svh;
        padding: calc(70px + 2.2rem) 1rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .hero-copy { width: min(100%, 34rem); }
    .hero h1 { font-size: clamp(3.1rem, 15.5vw, 4.8rem); line-height: .87; }
    .hero-intro { max-width: 31rem; margin: 1.25rem 0 1.35rem; font-size: .92rem; line-height: 1.55; }
    .hero-actions { gap: .85rem 1.1rem; }
    .hero-actions .button { padding: .9rem 1rem; }
    .hero-ask { margin-top: 1rem; max-width: 25rem; }
    .hero-bottle-scene {
        width: 100%;
        flex: 1 1 auto;
        min-height: 285px;
        height: clamp(285px, 43svh, 430px);
        margin: .4rem 0 0;
    }
    .sun-disc { width: min(112vw, 470px); top: 4%; }
    .perfume-bottle { width: clamp(158px, 48vw, 220px); height: clamp(320px, 82vw, 430px); bottom: -1%; --scroll: 0 !important; transition: none; will-change: transform; }
    .mist-canvas { inset: 0 -3%; width: 106%; }
    .catalog-section, .intro-section, .steps-section { padding-inline: 1rem; }
    .catalog-controls { padding-block: .8rem; }
    .filter-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: .3rem 0 .45rem; -webkit-overflow-scrolling: touch; }
    .filter-group::-webkit-scrollbar { display: none; }
    .filter { flex: 0 0 auto; min-height: 2.45rem; padding-inline: .8rem; }
    .brand-summary { gap: .7rem; }
    .brand-total { white-space: nowrap; }
    .checkout-form input, .checkout-form textarea, .checkout-form select { font-size: 16px; }
    .cart-panel { width: min(100%, 32rem); padding-left: max(1.15rem, env(safe-area-inset-left)); padding-right: max(1.15rem, env(safe-area-inset-right)); }
}

@media (max-width: 390px) {
    .hero { padding-top: calc(70px + 1.7rem); }
    .hero h1 { font-size: clamp(2.9rem, 15vw, 3.65rem); }
    .hero-intro { font-size: .85rem; }
    .hero-actions .text-link { font-size: .68rem; }
    .hero-bottle-scene { min-height: 260px; height: 39svh; }
    .perfume-bottle { width: 155px; height: 310px; }
}

@media (max-width: 760px) and (max-height: 700px) {
    .hero { padding-top: calc(70px + 1.35rem); }
    .hero-intro { margin-block: .9rem 1rem; }
    .hero-ask { margin-top: .75rem; }
    .hero-bottle-scene { min-height: 245px; height: 38svh; }
    .perfume-bottle { width: 148px; height: 295px; }
}

/* Mobile catalog containment: never let product names or grid tracks widen the page. */
@media (max-width: 760px) {
    html, body, main, .catalog-section { width: 100%; max-width: 100%; }
    .catalog-section { overflow: clip; }
    .catalog-controls, .filter-group, .product-grid, .brand-group, .brand-summary, .brand-products, .product-card { min-width: 0; max-width: 100%; }
    .product-grid { display: block; width: 100%; }
    .brand-group { width: 100%; overflow: clip; }
    .brand-summary { width: 100%; display: flex; }
    .brand-name { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
    .brand-total { flex: 0 0 auto; }
    .brand-products { width: 100%; display: block; border-left: 0; }
    .brand-products .product-card { width: 100%; min-height: 0; padding: 1.1rem; border-right: 0; overflow: hidden; }
    .product-top { min-width: 0; }
    .product-brand, .product-name { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
    .product-name { font-size: clamp(1.35rem, 7vw, 1.7rem); }
    .add-product { max-width: 100%; white-space: normal; text-align: left; }
}
