/* ==========================================================================
   Rovan storefront theme
   Editorial, immersive look: one display face, plum + pastel tints, sticky
   scroll-story hero, tinted collection cards, framed product cards.
   Brand colours come from the admin settings through --primary/--secondary,
   injected inline by layouts/app.blade.php right after this file.
   ========================================================================== */

:root{
  --primary:#a31e51;
  --secondary:#a31e51;
  --gold:#c39043;
  --bg:#fffafc;
  --surface:#fff;
  --ink:color-mix(in srgb,var(--primary) 55%,#1c0b12);
  --ink-soft:color-mix(in srgb,var(--ink) 62%,#fff);
  --muted:color-mix(in srgb,var(--ink) 42%,#fff);
  --primary-dark:color-mix(in srgb,var(--primary) 72%,#1a0a12);
  --primary-soft:color-mix(in srgb,var(--primary) 12%,#fff);
  --primary-tint:color-mix(in srgb,var(--primary) 6%,#fff);
  --line:color-mix(in srgb,var(--primary) 14%,transparent);
  --line-strong:color-mix(in srgb,var(--primary) 30%,transparent);
  --pastel-1:#f4d7e3;--pastel-2:#d6ebe8;--pastel-3:#f3e3cc;--pastel-4:#e9d9ee;--pastel-5:#f9dccd;--pastel-6:#d9e8f4;
  --story-c1:color-mix(in srgb,var(--primary) 18%,#fff);
  --story-c2:color-mix(in srgb,var(--primary) 62%,#ff8f6b);
  --story-c3:color-mix(in srgb,var(--primary) 58%,#14060d);
  --font:'Cairo',Tahoma,Arial,sans-serif;
  --pad:5.2%;
  --radius:16px;--radius-lg:26px;--pill:999px;
  --shadow:0 14px 34px color-mix(in srgb,var(--primary) 14%,transparent);
  --header-h:96px;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:110px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:500 16px/1.75 var(--font);overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default}
input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,p,figure{margin:0}
h1,h2,h3,h4{font-weight:800;line-height:1.35}
::selection{background:var(--primary);color:#fff}
:is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--primary);outline-offset:4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-90px;right:20px;z-index:100;background:var(--primary);color:#fff;padding:10px 18px;border-radius:0 0 12px 12px}
.skip-link:focus{top:0}
.container{max-width:1800px;margin-inline:auto;padding-inline:var(--pad)}
.section{max-width:1800px;margin-inline:auto;padding:80px var(--pad)}
.section--tight{padding-block:40px}
.section--tint{background:var(--primary-tint);max-width:none}
.section--tint>.container{max-width:1800px;margin:auto;padding-inline:0}
.eyebrow{display:block;font-size:13px;font-weight:700;color:var(--ink-soft);letter-spacing:.2px;margin-bottom:10px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:34px}
.section-head h2{font-size:clamp(26px,3vw,42px);font-weight:900;letter-spacing:-.4px}
.section-head p{color:var(--ink-soft);margin-top:6px}
.text-link{display:inline-flex;align-items:center;gap:10px;padding-bottom:5px;border-bottom:1px solid color-mix(in srgb,currentColor 45%,transparent);font-weight:700;font-size:15px;white-space:nowrap}
.text-link svg{width:18px;height:18px;transition:transform .3s}
.text-link:hover svg{transform:translateX(-5px)}
.text-link:hover{color:var(--primary)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 26px;border-radius:var(--pill);font-weight:700;font-size:15px;line-height:1.3;transition:transform .25s,background .2s,color .2s,box-shadow .25s;white-space:nowrap}
.btn svg{width:18px;height:18px;flex-shrink:0}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 10px 24px color-mix(in srgb,var(--primary) 28%,transparent)}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px)}
.btn-dark{background:var(--primary-dark);color:#fff}
.btn-dark:hover{background:var(--primary)}
.btn-light{background:#fff;color:var(--primary)}
.btn-light:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.btn-ghost{border:1px solid var(--line-strong);background:transparent}
.btn-ghost:hover{background:var(--primary-soft)}
.btn-block{width:100%}
.btn-sm{min-height:40px;padding:8px 18px;font-size:14px}
.btn:disabled,.btn.is-disabled{background:var(--primary-soft);color:var(--ink-soft);box-shadow:none;transform:none;cursor:not-allowed}
.btn.is-loading{position:relative;color:transparent!important;pointer-events:none}
.btn.is-loading::after{content:"";position:absolute;width:20px;height:20px;border:2px solid rgba(255,255,255,.55);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}
.btn-light.is-loading::after,.btn-ghost.is-loading::after{border-color:color-mix(in srgb,var(--primary) 35%,transparent);border-top-color:var(--primary)}
@keyframes spin{to{transform:rotate(360deg)}}
.icon-btn{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;transition:background .2s}
.icon-btn svg{width:22px;height:22px}
.icon-btn:hover{background:var(--primary-soft)}
.round-arrow{width:40px;height:40px;border:1px solid color-mix(in srgb,var(--ink) 28%,transparent);border-radius:50%;display:grid;place-items:center;transition:background .3s,transform .3s}
.round-arrow svg{width:20px;height:20px}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:40;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 var(--pad);background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.logo{display:flex;align-items:center;gap:12px;min-width:0}
.logo>span{min-width:0}
.wordmark{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.logo-img{height:54px;width:auto;border-radius:12px}
.wordmark{display:block;font-weight:900;font-size:26px;line-height:1.1;letter-spacing:-.3px;white-space:nowrap}
.wordmark b{color:var(--gold)}
.logo-caption{display:block;font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.main-nav{display:flex;align-items:center;gap:26px}
.nav-link{position:relative;display:inline-flex;align-items:center;gap:6px;padding:12px 0;font-weight:700;font-size:15px;white-space:nowrap}
.nav-link::after{content:"";position:absolute;right:0;bottom:6px;height:2px;width:0;background:currentColor;transition:width .25s}
.nav-link:hover::after,.nav-link.is-active::after,.nav-drop.is-open>.nav-link::after,.nav-drop:hover>.nav-link::after{width:100%}
.nav-link svg{width:16px;height:16px;transition:transform .25s}
.nav-drop{position:relative}
.nav-drop:hover>.nav-link svg,.nav-drop.is-open>.nav-link svg{transform:rotate(180deg)}
.nav-panel{position:absolute;top:calc(100% + 4px);right:0;width:min(940px,92vw);display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 14px;padding:18px;background:#fff;color:var(--ink);border-radius:20px;box-shadow:0 30px 70px rgba(40,5,25,.2);border:1px solid var(--line)}
.nav-drop:hover .nav-panel,.nav-drop.is-open .nav-panel{display:grid}
.nav-panel::before{content:"";position:absolute;top:-16px;left:0;right:0;height:16px}
.nav-cat{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:14px;font-weight:700;font-size:15px;transition:background .2s}
.nav-cat:hover{background:var(--primary-tint);color:var(--primary)}
.nav-cat img,.nav-cat i{width:44px;height:44px;border-radius:12px;object-fit:cover;flex-shrink:0;background:var(--primary-soft);display:grid;place-items:center;font-style:normal;color:var(--primary)}
.nav-cat small{display:block;font-weight:500;color:var(--muted);font-size:12px}
.nav-panel-foot{grid-column:1/-1;margin-top:8px;padding-top:12px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:14px}
.header-actions{display:flex;align-items:center;gap:6px}
.header-search{display:flex;align-items:center;gap:4px;width:250px;padding:4px 6px 4px 6px;border:1px solid var(--line-strong);border-radius:var(--pill);background:color-mix(in srgb,#fff 60%,transparent)}
.header-search input{flex:1;min-width:0;border:0;background:transparent;padding:6px 10px;font-size:14px;color:inherit}
.header-search input::placeholder{color:var(--muted)}
.header-search input:focus{outline:none}
.header-search button{width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;flex-shrink:0}
.header-search button svg{width:17px;height:17px}
.cart-badge{position:absolute;top:-1px;inset-inline-end:-2px;min-width:19px;height:19px;padding:0 5px;border-radius:var(--pill);background:var(--primary);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;line-height:1}
.menu-btn,.search-btn{display:none}

/* header over the story hero */
.home-immersive .site-header{position:absolute;inset:0 0 auto;background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;color:#fff}
.home-immersive .logo-caption{color:rgba(255,255,255,.85)}
.home-immersive .wordmark b{color:#ffe4ac}
.home-immersive .header-search{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.12);color:#fff}
.home-immersive .header-search input::placeholder{color:rgba(255,255,255,.8)}
.home-immersive .header-search button{background:#fff;color:var(--primary)}
.home-immersive .icon-btn:hover{background:rgba(255,255,255,.15)}
.home-immersive .cart-badge{background:#fff;color:var(--primary)}
.home-immersive .nav-panel{color:var(--ink)}
.home-immersive .nav-drop:hover>.nav-link,.home-immersive .nav-link{color:#fff}
/* dark header text when the first slide has a light wash colour */
.home-immersive.hero-ink-dark .site-header{color:var(--ink)}
.home-immersive.hero-ink-dark .logo-caption{color:var(--ink-soft)}
.home-immersive.hero-ink-dark .wordmark b{color:var(--gold)}
.home-immersive.hero-ink-dark .header-search{border-color:var(--line-strong);background:rgba(255,255,255,.55);color:var(--ink)}
.home-immersive.hero-ink-dark .header-search input::placeholder{color:var(--muted)}
.home-immersive.hero-ink-dark .header-search button{background:var(--primary);color:#fff}
.home-immersive.hero-ink-dark .icon-btn:hover{background:color-mix(in srgb,var(--primary) 10%,transparent)}
.home-immersive.hero-ink-dark .cart-badge{background:var(--primary);color:#fff}
.home-immersive.hero-ink-dark .nav-drop:hover>.nav-link,.home-immersive.hero-ink-dark .nav-link{color:var(--ink)}

/* ---------- mobile sheet ---------- */
.sheet-backdrop{position:fixed;inset:0;z-index:60;background:rgba(30,8,20,.5);opacity:0;pointer-events:none;transition:opacity .3s}
.sheet{position:fixed;top:0;bottom:0;right:0;z-index:61;width:min(88vw,420px);background:var(--bg);color:var(--ink);padding:26px 22px 40px;overflow-y:auto;transform:translateX(100%);transition:transform .38s cubic-bezier(.2,.7,.2,1);box-shadow:-12px 0 40px rgba(40,5,25,.18)}
.sheet-backdrop.is-open{opacity:1;pointer-events:auto}
.sheet.is-open{transform:none}
.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.sheet-head .wordmark{font-size:24px}
.sheet-search{display:flex;gap:6px;padding:5px;border:1px solid var(--line-strong);border-radius:var(--pill);margin-bottom:18px;background:#fff}
.sheet-search input{flex:1;min-width:0;border:0;background:transparent;padding:8px 12px}
.sheet-search input:focus{outline:none}
.sheet-search button{width:38px;height:38px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center}
.sheet-search button svg{width:18px;height:18px}
.sheet-nav a,.sheet-cat summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 4px;border-bottom:1px solid var(--line);font-size:18px;font-weight:700}
.sheet-nav a svg,.sheet-cat summary svg{width:20px;height:20px;color:var(--primary)}
.sheet-title{display:block;margin:22px 4px 6px;font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.5px}
.sheet-cat summary{list-style:none;cursor:pointer}
.sheet-cat summary::-webkit-details-marker{display:none}
.sheet-cat summary>span{display:flex;align-items:center;gap:12px}
.sheet-cat summary img{width:38px;height:38px;border-radius:10px;object-fit:cover}
.sheet-cat summary .chev{transition:transform .25s}
.sheet-cat[open] summary .chev{transform:rotate(180deg)}
.sheet-sub{display:flex;flex-wrap:wrap;gap:8px;padding:12px 4px 16px;border-bottom:1px solid var(--line)}
.sheet-sub a{padding:6px 14px;border-radius:var(--pill);background:#fff;border:1px solid var(--line);font-size:14px;font-weight:600}
.sheet-sub a.all{background:var(--primary);color:#fff;border-color:var(--primary)}
.sheet-contact{margin-top:26px;display:grid;gap:8px;font-size:14px;color:var(--ink-soft)}
.sheet-contact a{display:flex;align-items:center;gap:10px}
.sheet-contact svg{width:18px;height:18px;color:var(--primary)}

/* ---------- reveal ---------- */
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.js .reveal.is-revealed{opacity:1;transform:none}

/* ---------- story hero: scroll story / auto slideshow / static ---------- */
.story{position:relative;height:380svh;isolation:isolate;--story-speed:900ms}
.story.is-static,.story.is-auto{height:auto}
.story-pin{position:sticky;top:0;height:100svh;min-height:640px;overflow:hidden;background:var(--primary);color:#fff;--story-ink:#fff;--story-em:rgba(255,255,255,.75)}
.story.is-static .story-pin{position:relative;height:auto;min-height:100svh;padding-bottom:40px}
.story.is-auto .story-pin{position:relative}
.story-wash{position:absolute;inset:0;transform-origin:bottom;transform:scaleY(var(--wash,0));pointer-events:none;will-change:transform}
.story.is-auto .story-wash{transition:transform var(--story-speed) cubic-bezier(.2,.7,.2,1)}
.story-pin::after{content:"";position:absolute;inset:0;background:radial-gradient(at 20% 30%,rgba(255,255,255,.22),transparent 55%);pointer-events:none}
.story-word{position:absolute;bottom:10%;left:50%;z-index:1;transform:translateX(calc(-50% + var(--word-shift,0px)));font-weight:900;font-size:clamp(90px,16vw,280px);line-height:1;color:rgba(255,255,255,.16);white-space:nowrap;pointer-events:none;user-select:none;transition:color .5s}
.story.is-auto .story-word{transition:color .5s,transform var(--story-speed) ease}
.story-copy{position:absolute;top:26%;right:6%;z-index:6;width:44%;max-width:640px;min-height:330px}
.story-chapter{position:absolute;inset:0 0 auto 0;opacity:0;transform:translateY(28px);filter:blur(8px);transition:opacity .4s,transform .65s cubic-bezier(.2,.65,.2,1),filter .5s;pointer-events:none}
.story-chapter.is-visible{opacity:1;transform:none;filter:none;pointer-events:auto}
.story-kicker{display:block;font-size:12px;font-weight:700;letter-spacing:1.6px;opacity:.85;margin-bottom:18px}
.story-chapter h1,.story-chapter h2{font-size:clamp(40px,4.6vw,76px);font-weight:900;line-height:1.28;letter-spacing:-.6px}
.story-chapter em{font-style:normal;color:var(--story-em)}
.story-chapter p{font-size:18px;line-height:1.8;max-width:420px;margin:20px 0 26px;opacity:.92}
.story-link{display:inline-flex;align-items:center;gap:22px;padding-bottom:8px;border-bottom:1px solid currentColor;font-weight:700;font-size:16px}
.story-link svg{width:18px;height:18px;transition:transform .3s}
.story-link:hover svg{transform:translateX(-6px)}
.story-art{position:absolute;top:7%;left:0;z-index:4;width:56%;height:82%;pointer-events:none}
.story-art figure{position:absolute;inset:0;display:grid;grid-template-rows:100%;place-items:center;opacity:0;transform:translateY(24px) rotate(-9deg);transition:opacity calc(var(--story-speed)*.7),transform var(--story-speed) cubic-bezier(.2,.7,.2,1)}
.story-art figure.is-visible{opacity:1;transform:rotate(-6deg)}
.story-art figure.is-prev{transform:translateY(-18px) rotate(-3deg)}
.story-art img{width:auto;height:min(76%,560px);max-width:72%;max-height:100%;aspect-ratio:3/4;object-fit:cover;border-radius:26px;box-shadow:0 34px 70px rgba(40,5,25,.35);background:#fff}
.story-art .story-art-empty{width:min(60%,420px);aspect-ratio:3/4;border-radius:26px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:clamp(40px,6vw,90px);font-weight:900;color:rgba(255,255,255,.8)}
/* transition styles between slide images (chosen in the admin) */
.story[data-anim=fade] .story-art figure{transform:scale(.94)}
.story[data-anim=fade] .story-art figure.is-visible{transform:none}
.story[data-anim=fade] .story-art figure.is-prev{transform:scale(1.04)}
.story[data-anim=slide] .story-art figure{transform:translateX(16%)}
.story[data-anim=slide] .story-art figure.is-visible{transform:none}
.story[data-anim=slide] .story-art figure.is-prev{transform:translateX(-16%)}
.story[data-anim=zoom] .story-art figure{transform:scale(1.16)}
.story[data-anim=zoom] .story-art figure.is-visible{transform:none}
.story[data-anim=zoom] .story-art figure.is-prev{transform:scale(.86)}
.story[data-anim=zoom] .story-art figure.is-visible img{animation:kenburns 14s ease-out forwards}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.07)}}
/* cutout images (transparent PNG/WebP): no frame, floating over the wash colour with a soft glow, like the reference */
.story-art figure[data-style=cutout]{transform:translateY(26px) scale(.96)}
.story-art figure[data-style=cutout].is-visible{transform:none}
.story-art figure[data-style=cutout].is-prev{transform:translateY(-18px) scale(1.03)}
.story-art figure[data-style=cutout]::before{content:"";position:absolute;inset:0;margin:auto;width:min(64%,520px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.55),rgba(255,255,255,0) 68%);filter:blur(14px)}
.story-art figure[data-style=cutout] img{position:relative;height:min(88%,700px);max-width:90%;object-fit:contain;border-radius:0;box-shadow:none;background:transparent;filter:drop-shadow(0 34px 44px rgba(40,5,25,.38));animation:float-img 7s ease-in-out infinite}
@keyframes float-img{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
/* WebGL pour scene (reference hero animation): the canvas fills the art box and the cutout figures become the fallback */
.story.has-scene{height:650svh}
.story-art .pour-canvas{position:absolute;inset:0;pointer-events:none}
.story-art .pour-canvas canvas{width:100%;height:100%;display:block}
.story-art.is-scene-ready figure{opacity:0!important;transition:opacity .5s}
.story-art .pour-canvas.is-lost{display:none}
.story-side{position:absolute;left:26px;top:50%;z-index:8;writing-mode:vertical-rl;transform:rotate(180deg);font-size:11px;font-weight:700;letter-spacing:2px;opacity:.8;white-space:nowrap}
.story-steps{position:absolute;bottom:125px;right:6%;z-index:8;display:flex;gap:24px}
.story-steps button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:58px;padding:0 0 8px;border-bottom:1px solid color-mix(in srgb,currentColor 45%,transparent);font-size:13px;font-weight:700;opacity:.7;transition:opacity .3s,border-color .3s}
.story-steps button span:first-child{font-size:11px;font-weight:600;letter-spacing:1px}
.story-steps button.is-active{opacity:1;border-bottom:2px solid currentColor}
.story-bottom{position:absolute;bottom:30px;left:6%;right:6%;z-index:8;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:14px;font-weight:600}
.story-hint{display:flex;align-items:center;gap:12px}
.story-hint svg{width:20px;height:30px;animation:nudge 2.5s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateY(-3px)}50%{transform:translateY(5px)}}
.story-actions{display:flex;align-items:center;gap:22px}
.story-actions a{display:inline-flex;align-items:center;gap:8px}
.story-actions a svg{width:16px;height:16px}
.story-motion{width:34px;height:34px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;opacity:.9}
.story-motion svg{width:14px;height:14px}
.story-progress{position:absolute;inset:auto 0 0;z-index:9;height:3px;background:rgba(255,255,255,.28);direction:ltr}
.story-progress i{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:0;background:currentColor}
/* text scheme per chapter: data-ink on the pin follows the active slide's wash colour */
.story-pin[data-ink=dark]{--story-ink:var(--ink)}
.story-pin[data-ink=dark] .story-copy,.story-pin[data-ink=dark] .story-steps,.story-pin[data-ink=dark] .story-bottom,.story-pin[data-ink=dark] .story-side,.story-pin[data-ink=dark] .story-progress{color:var(--ink)}
.story-pin[data-ink=dark] .story-word{color:rgba(255,255,255,.6)}
.story-pin[data-ink=dark] .story-progress{background:color-mix(in srgb,var(--ink) 16%,transparent)}
.story-pin[data-ink=dark]::after{background:radial-gradient(at 20% 30%,rgba(255,255,255,.5),transparent 55%)}
.story.is-static .story-steps,.story.is-static .story-hint,.story.is-static .story-progress{display:none}
.story.is-auto .story-hint{display:none}
.story.is-static .story-bottom{justify-content:flex-end}
.story.is-static .story-copy,.story.is-static .story-art{position:absolute}

/* ---------- collections ---------- */
.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.collection-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:440px;padding:22px;border-radius:20px;background:var(--card-tint,var(--pastel-1));color:var(--ink);transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.collection-card:hover{transform:translateY(-8px)}
.collection-top{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;letter-spacing:1.5px}
.collection-card:hover .round-arrow{background:rgba(255,255,255,.75);transform:rotate(-8deg)}
.collection-art{position:absolute;inset:64px 0 88px;display:grid;place-items:center}
.collection-word{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-weight:900;font-size:clamp(60px,6.4vw,110px);line-height:1;color:rgba(255,255,255,.55);white-space:nowrap;pointer-events:none;user-select:none}
.collection-art img,.collection-art i{position:relative;z-index:2;height:264px;width:auto;max-width:78%;aspect-ratio:3/4;object-fit:cover;border-radius:18px;box-shadow:0 18px 34px rgba(60,10,35,.18);transform:rotate(-8deg);transition:transform .8s cubic-bezier(.2,.7,.2,1);background:#fff}
.collection-art i{display:grid;place-items:center;font-style:normal;font-weight:900;font-size:48px;color:var(--primary);width:190px}
.collection-card:nth-child(even) .collection-art img,.collection-card:nth-child(even) .collection-art i{transform:rotate(7deg)}
.collection-card:hover .collection-art img,.collection-card:hover .collection-art i{transform:rotate(-2deg) translateY(-8px) scale(1.03)}
.collection-text{position:relative;z-index:3}
.collection-text span{display:block;font-size:13px;color:var(--ink-soft);font-weight:600}
.collection-text h3{font-size:25px;font-weight:800;margin-top:2px}

/* ---------- product cards ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}
.product-card{display:flex;flex-direction:column;position:relative;text-align:start}
.product-photo{position:relative;display:block;overflow:hidden;border-radius:var(--radius-lg);aspect-ratio:4/5;background:var(--primary-tint);box-shadow:inset 0 0 0 1px var(--line)}
.product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.22,.61,.36,1)}
.product-card:hover .product-photo img{transform:scale(1.05)}
.product-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,color-mix(in srgb,var(--product-color,var(--pastel-1)) 55%,transparent),transparent 45%);opacity:0;transition:opacity .35s;pointer-events:none}
.product-card:hover .product-photo::after{opacity:1}
/* transparent cutout product images: float on a tinted glow instead of a cover crop */
.product-photo.is-cutout{background:radial-gradient(circle at 50% 40%,#fff 0,color-mix(in srgb,var(--product-color,var(--pastel-1)) 70%,#fff) 58%,var(--product-color,var(--pastel-1)) 100%)}
.product-photo.is-cutout img{object-fit:contain;padding:10% 12% 6%;filter:drop-shadow(0 18px 22px rgba(40,5,25,.22))}
.product-card:hover .product-photo.is-cutout img{transform:translateY(-6px) scale(1.04)}
.collection-art img.is-cutout{object-fit:contain;border-radius:0;box-shadow:none;background:transparent;filter:drop-shadow(0 22px 26px rgba(40,5,25,.22))}
.category-hero-art img.is-cutout{object-fit:contain;border-radius:0;box-shadow:none;background:transparent;filter:drop-shadow(0 30px 40px rgba(60,10,35,.28))}
.gallery-main.is-cutout{background:radial-gradient(circle at 50% 42%,#fff 0,var(--primary-tint) 65%)}
.gallery-main.is-cutout img{object-fit:contain;padding:8%;filter:drop-shadow(0 24px 30px rgba(40,5,25,.22))}
.badge{position:absolute;top:14px;inset-inline-start:14px;z-index:2;padding:4px 12px;border-radius:var(--pill);background:rgba(255,255,255,.88);backdrop-filter:blur(6px);font-size:12px;font-weight:800;color:var(--ink)}
.badge-sale{background:var(--primary);color:#fff}
.badge-featured{inset-inline-start:auto;inset-inline-end:14px;background:var(--gold);color:#fff}
.badge-sale+.badge-featured{top:14px}
.product-open{position:absolute;bottom:14px;inset-inline-end:14px;z-index:2;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;transition:background .25s,transform .35s}
.product-open svg{width:18px;height:18px}
.product-card:hover .product-open{background:var(--product-color,var(--pastel-1));transform:rotate(90deg)}
.product-meta{padding:16px 6px 0;display:flex;flex-direction:column;flex:1}
.product-kicker{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.3px}
.product-meta h3{font-size:18px;font-weight:700;line-height:1.5;margin-top:4px;min-height:54px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-meta h3 a:hover{color:var(--primary)}
.price-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:10px 0 12px;font-size:20px;font-weight:800}
.price-row .currency{font-size:14px;font-weight:600;color:var(--ink-soft)}
.price-row del{font-size:14px;font-weight:500;color:var(--muted)}
.price-row .off{font-size:12px;font-weight:800;color:var(--primary);background:var(--primary-soft);padding:3px 10px;border-radius:var(--pill)}
.price-row.is-sale .price-now{color:var(--primary)}
.stock-note{font-size:12px;font-weight:700;color:#c2410c;margin:-4px 0 10px}
.cart-action{margin-top:auto}
.btn-add{min-height:46px}

/* ---------- ribbon ---------- */
.ribbon{overflow:hidden;background:color-mix(in srgb,var(--primary) 13%,#fff);border-block:1px solid var(--line);padding:20px 0}
.ribbon-track{display:flex;gap:56px;width:max-content;animation:marquee 42s linear infinite}
.ribbon-track span{display:flex;align-items:center;gap:40px;white-space:nowrap;font-size:21px;font-weight:800}
.ribbon-track b{font-size:12px;font-weight:700;letter-spacing:2.5px}
.ribbon svg{width:22px;height:22px;color:var(--gold)}
@keyframes marquee{to{transform:translateX(25%)}}

/* ---------- promo banner ---------- */
.promo-banner{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;min-height:500px;margin:80px var(--pad);padding:60px 6%;border-radius:24px;background:var(--primary-dark);color:#fff}
.promo-copy{position:relative;z-index:2}
.promo-copy .eyebrow{color:rgba(255,255,255,.7);letter-spacing:1.5px;font-size:12px}
.promo-copy h2{font-size:clamp(32px,3.6vw,50px);font-weight:900;line-height:1.4;max-width:520px}
.promo-copy p{margin:18px 0 28px;font-size:17px;color:rgba(255,255,255,.8);max-width:460px}
.promo-art{position:relative;height:430px}
.promo-art>span{position:absolute;top:90px;left:-40px;font-size:150px;font-weight:900;line-height:1;color:rgba(255,255,255,.06);transform:rotate(-8deg);white-space:nowrap;user-select:none}
.promo-art img{position:absolute;height:400px;width:auto;aspect-ratio:3/4;object-fit:cover;border-radius:22px;box-shadow:0 30px 50px rgba(0,0,0,.35);background:#fff}
.promo-art img:first-of-type{left:6%;top:20px;transform:rotate(-14deg)}
.promo-art img:last-of-type{right:6%;top:0;transform:rotate(10deg)}

/* ---------- features ---------- */
.features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.feature{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px 20px;text-align:center;transition:transform .3s,box-shadow .3s}
.feature:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.feature-icon{width:60px;height:60px;margin:0 auto 14px;border-radius:50%;background:var(--feature-tint,var(--primary-soft));display:grid;place-items:center;color:var(--primary)}
.feature-icon svg{width:26px;height:26px}
.feature h3{font-size:17px;font-weight:800}
.feature p{font-size:14px;color:var(--ink-soft);margin-top:6px}

/* ---------- footer ---------- */
.site-footer{margin-top:90px;padding:64px var(--pad) 24px;background:color-mix(in srgb,var(--primary) 7%,#fdf6f8)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px;align-items:start}
.footer-grid>*{min-width:0}
.footer-brand .wordmark{font-size:38px}
.footer-brand p{font-size:19px;line-height:1.6;margin:14px 0 18px;max-width:380px}
.socials{display:flex;flex-wrap:wrap;gap:10px}
.socials a{width:42px;height:42px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--primary);transition:transform .25s,background .25s}
.socials a:hover{transform:translateY(-3px);background:var(--primary);color:#fff}
.socials svg{width:19px;height:19px}
.footer-col h4{font-size:15px;font-weight:800;margin-bottom:14px}
.footer-col a,.footer-col li{display:block;padding:5px 0;color:var(--ink-soft);font-size:15px}
.footer-col a:hover{color:var(--primary)}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-contact li{display:flex;align-items:flex-start;gap:10px}
.footer-contact svg{width:18px;height:18px;flex-shrink:0;margin-top:6px;color:var(--primary)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:50px;padding-top:22px;border-top:1px solid var(--line);font-size:13px;color:var(--ink-soft)}
.footer-bottom .slogan{font-size:11px;letter-spacing:2px;font-weight:700}
.footer-bottom a:hover{color:var(--primary)}

/* ---------- page head band ---------- */
.page-head{padding:56px var(--pad) 64px;text-align:center;background:color-mix(in srgb,var(--primary) 13%,#fff)}
.page-head--cream{background:radial-gradient(at 50% 80%,#fbf2dc,#f6e8d1)}
.page-head--mint{background:radial-gradient(at 50% 80%,#e6f5f3,#d3ebe8)}
.page-head--dark{background:var(--primary-dark);color:#fff}
.page-head--dark .eyebrow,.page-head--dark p{color:rgba(255,255,255,.8)}
.page-head .eyebrow{letter-spacing:1.5px;font-size:12px;margin-bottom:14px}
.page-head h1{font-size:clamp(34px,5vw,62px);font-weight:900;line-height:1.3}
.page-head p{max-width:640px;margin:16px auto 0;font-size:18px;color:var(--ink-soft)}

/* ---------- category page ---------- */
.category-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:460px;padding:48px 8%;background:var(--hero-tint,var(--pastel-1))}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;font-weight:600;color:var(--ink-soft);margin-bottom:26px}
.breadcrumb i{opacity:.45;font-style:normal}
.breadcrumb a:hover{color:var(--primary)}
.category-copy{position:relative;z-index:2}
.category-copy .eyebrow{letter-spacing:1.5px;font-size:12px}
.category-copy h1{font-size:clamp(34px,4vw,56px);font-weight:900;line-height:1.35;max-width:620px}
.category-copy p{max-width:460px;margin:14px 0 24px;font-size:17px;color:var(--ink-soft)}
.category-hero-art{position:relative;display:grid;place-items:center;min-height:380px}
.category-hero-art>span{position:absolute;bottom:34px;left:50%;transform:translateX(-50%);font-size:clamp(90px,12vw,190px);font-weight:900;line-height:1;color:rgba(255,255,255,.5);white-space:nowrap;user-select:none}
.category-hero-art img,.category-hero-art i{position:relative;height:400px;width:auto;max-width:78%;aspect-ratio:3/4;object-fit:cover;border-radius:24px;box-shadow:0 24px 44px rgba(60,10,35,.2);transform:rotate(-7deg);animation:float 7s ease-in-out infinite;background:#fff}
.category-hero-art i{display:grid;place-items:center;font-style:normal;font-weight:900;font-size:64px;color:var(--primary);width:260px}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -14px}}
.subcat-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:40px}
.subcat{display:flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:var(--pill);background:#fff;border:1px solid var(--line);font-weight:700;font-size:14px;transition:background .2s,border-color .2s}
.subcat:hover{background:var(--primary-soft);border-color:var(--primary)}
.subcat img,.subcat i{width:34px;height:34px;border-radius:50%;object-fit:cover;background:var(--primary-soft);display:grid;place-items:center;font-style:normal;color:var(--primary);font-weight:800}
.catalog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:30px;border-bottom:1px solid var(--line)}
.catalog-head h2{font-size:26px;font-weight:800}
.catalog-head .count{font-size:14px;color:var(--ink-soft);margin-inline-start:12px;font-weight:600}
.sort{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
.select{appearance:none;-webkit-appearance:none;border:1px solid var(--line-strong);border-radius:var(--pill);padding:10px 16px 10px 40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a5566' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center;font-weight:600;min-width:180px}
.empty-state{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:60px 20px;color:var(--ink-soft)}
.empty-state .empty-icon{width:96px;height:96px;border-radius:50%;background:var(--primary-soft);display:grid;place-items:center;color:var(--primary)}
.empty-state .empty-icon svg{width:40px;height:40px}
.empty-state h3{font-size:24px;font-weight:800;color:var(--ink)}

/* ---------- pagination ---------- */
.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:44px}
.pagination a,.pagination span{min-width:42px;height:42px;padding:0 12px;border-radius:var(--pill);display:grid;place-items:center;border:1px solid var(--line);background:#fff;font-weight:700;font-size:14px;transition:background .2s}
.pagination a:hover{background:var(--primary-soft);border-color:var(--primary)}
.pagination .is-current{background:var(--primary);color:#fff;border-color:var(--primary)}
.pagination .is-disabled{opacity:.4}
.pagination svg{width:18px;height:18px}
.pagination-info{text-align:center;font-size:13px;color:var(--muted);margin-top:12px}

/* ---------- product page ---------- */
.product-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;padding-top:36px}
.gallery{position:sticky;top:120px}
.gallery-main{position:relative;overflow:hidden;border-radius:var(--radius-lg);aspect-ratio:4/5;background:var(--primary-tint);box-shadow:inset 0 0 0 1px var(--line)}
.gallery-main img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.gallery-main:hover img{transform:scale(1.03)}
.gallery-zoom{position:absolute;top:16px;left:16px;z-index:2;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.12);transition:transform .25s}
.gallery-zoom:hover{transform:scale(1.08)}
.gallery-zoom svg{width:20px;height:20px}
.gallery-main .badge{top:16px;inset-inline-start:16px;font-size:13px;padding:6px 14px}
.thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.thumbs button{aspect-ratio:1;border-radius:14px;overflow:hidden;border:2px solid transparent;background:var(--primary-tint);transition:border-color .2s}
.thumbs button.is-active{border-color:var(--primary)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.product-info .eyebrow{letter-spacing:1px;font-size:12px}
.product-info h1{font-size:clamp(28px,3vw,42px);font-weight:900;line-height:1.35;margin:4px 0 16px}
.product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.product-price .price-now{font-size:34px;font-weight:900;line-height:1}
.product-price .price-now small{font-size:16px;font-weight:600;color:var(--ink-soft);margin-inline-start:4px}
.product-price del{font-size:18px;color:var(--muted)}
.product-price .off{padding:5px 12px;border-radius:var(--pill);background:var(--primary);color:#fff;font-size:13px;font-weight:800}
.product-price.is-sale .price-now{color:var(--primary)}
.sale-badge-line{font-size:14px;color:var(--ink-soft);margin:-4px 0 12px}
.stock-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:var(--pill);font-size:13px;font-weight:700;margin-bottom:24px}
.stock-pill.in{background:#e6f5ec;color:#1d7a46}
.stock-pill.out{background:#fdecec;color:#b91c1c}
.stock-pill svg{width:16px;height:16px}
.option-group{margin-bottom:22px}
.option-label{display:block;font-weight:800;margin-bottom:10px}
.color-options{display:flex;flex-wrap:wrap;gap:14px}
.color-option{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--ink-soft)}
.color-option i{width:46px;height:46px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--line-strong);display:grid;place-items:center;color:#fff;transition:box-shadow .2s,transform .2s}
.color-option i svg{width:20px;height:20px;opacity:0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.color-option:hover i{transform:scale(1.06)}
.color-option.is-selected i{box-shadow:0 0 0 2px var(--primary)}
.color-option.is-selected i svg{opacity:1}
.color-option.is-selected{color:var(--primary)}
.size-options{display:flex;flex-wrap:wrap;gap:8px}
.size-option{min-width:54px;padding:9px 18px;border-radius:var(--pill);border:1px solid var(--line-strong);background:#fff;font-weight:700;transition:background .2s,color .2s,border-color .2s}
.size-option:hover{border-color:var(--primary);color:var(--primary)}
.size-option.is-selected{background:var(--primary);color:#fff;border-color:var(--primary)}
.size-option.is-disabled{opacity:.4;text-decoration:line-through;cursor:not-allowed;border-color:var(--line)}
.variation-info{background:var(--primary-tint);border:1px solid var(--line);border-radius:18px;padding:16px 18px;margin-bottom:22px;display:grid;gap:8px;font-size:15px}
.variation-info b{font-size:20px}
.variation-info .in{color:#1d7a46;font-weight:700}
.variation-info .out{color:#b91c1c;font-weight:700}
.qty{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line-strong);border-radius:var(--pill);background:#fff}
.qty button{width:36px;height:36px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:800;font-size:18px}
.qty button:hover{background:var(--primary);color:#fff}
.qty input{width:56px;text-align:center;border:0;background:transparent;font-weight:800;font-size:16px;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty input:focus{outline:none}
.buy-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px}
.buy-row .btn{flex:1;min-width:200px;min-height:54px;font-size:16px}
.product-desc{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.product-desc h2{font-size:20px;font-weight:800;margin-bottom:12px}
.product-desc p{color:var(--ink-soft);line-height:1.95}
.lightbox{position:fixed;inset:0;z-index:80;display:none;place-items:center;background:rgba(20,5,12,.94);padding:16px}
.lightbox.is-open{display:grid}
.lightbox img{max-width:min(92vw,1100px);max-height:82vh;object-fit:contain;border-radius:14px}
.lightbox-close{position:absolute;top:18px;right:18px;color:#fff;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center;backdrop-filter:blur(4px)}
.lightbox-nav svg,.lightbox-close svg{width:24px;height:24px}
.lightbox-prev{left:18px}.lightbox-next{right:18px}
.lightbox-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:#fff;background:rgba(0,0,0,.5);padding:6px 16px;border-radius:var(--pill);font-size:14px;font-weight:700}

/* ---------- cart ---------- */
.cart-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:36px;align-items:start}
.cart-lines{background:#fff;border:1px solid var(--line);border-radius:22px;padding:6px 24px}
.cart-line{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}
.cart-line:last-child{border-bottom:0}
.cart-line img{width:92px;height:118px;object-fit:cover;border-radius:16px;background:var(--primary-tint)}
.cart-line h3{font-size:17px;font-weight:700;line-height:1.5}
.cart-line .variant{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.cart-line .unit{font-size:15px;font-weight:700;color:var(--primary);margin-top:6px}
.cart-line-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.line-total{font-size:19px;font-weight:900;white-space:nowrap}
.remove-btn{display:inline-flex;align-items:center;gap:6px;color:#b91c1c;font-size:13px;font-weight:700;padding:6px 10px;border-radius:var(--pill)}
.remove-btn:hover{background:#fdecec}
.remove-btn svg{width:16px;height:16px}
.cart-line.is-loading{opacity:.5;pointer-events:none}
.summary-card{position:sticky;top:120px;background:color-mix(in srgb,var(--primary) 8%,#fff);border:1px solid var(--line);border-radius:22px;padding:28px}
.summary-card h2{font-size:22px;font-weight:800;margin-bottom:16px}
.summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:15px}
.summary-row .muted{color:var(--ink-soft);font-size:13px;font-weight:600}
.summary-total{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:16px;border-top:1px solid var(--line-strong);font-size:22px;font-weight:900}
.summary-total span:last-child{color:var(--primary)}
.summary-actions{display:grid;gap:10px;margin-top:20px}
.trust-list{margin:22px 0 0;padding:18px 0 0;border-top:1px solid var(--line);list-style:none;display:grid;gap:8px;font-size:13px;color:var(--ink-soft)}
.trust-list li{display:flex;align-items:center;gap:8px}
.trust-list svg{width:16px;height:16px;color:#1d7a46;flex-shrink:0}
.summary-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.summary-item b{white-space:nowrap}
.summary-item small{display:block;color:var(--muted);font-size:12px}
.loader{width:36px;height:36px;margin:24px auto;border:3px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:spin .9s linear infinite}

/* ---------- forms / checkout ---------- */
.checkout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:start}
.form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px}
.form-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;margin-bottom:24px}
.form-title svg{width:22px;height:22px;color:var(--primary)}
.field{margin-bottom:20px}
.field label{display:block;font-weight:700;margin-bottom:8px}
.field .hint{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.input,.textarea,.field .select{width:100%;border:1px solid var(--line-strong);border-radius:12px;background:#fff;padding:0 16px;height:50px;transition:border-color .2s,box-shadow .2s}
.textarea{height:auto;padding:12px 16px;resize:vertical;min-height:96px;line-height:1.7}
.input:focus,.textarea:focus,.select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 18%,transparent)}
.input.error,.textarea.error,.select.error{border-color:#dc2626;background:#fff7f7}
label.error,.error-text{display:block;color:#dc2626;font-size:13px;font-weight:600;margin-top:6px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.payment-box{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line-strong);border-radius:16px;background:var(--primary-tint);margin-bottom:22px}
.payment-box svg{width:24px;height:24px;flex-shrink:0;color:#1d7a46;margin-top:4px}
.payment-box b{display:block;font-size:16px}
.payment-box p{font-size:14px;color:var(--ink-soft);margin-top:2px}
.alert{display:flex;align-items:center;gap:10px;padding:14px 18px;border-radius:14px;font-weight:600;margin-bottom:20px}
.alert svg{width:20px;height:20px;flex-shrink:0}
.alert-success{background:#e6f5ec;color:#1d7a46}
.alert-error{background:#fdecec;color:#b91c1c}

/* ---------- search ---------- */
.search-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start}
.filter-card{position:sticky;top:120px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}
.filter-card h2{font-size:20px;font-weight:800;margin-bottom:18px;display:flex;align-items:center;gap:8px}
.filter-card h2 svg{width:20px;height:20px;color:var(--primary)}
.check{display:flex;align-items:center;gap:10px;padding:7px 0;font-weight:600;cursor:pointer}
.check input{width:18px;height:18px;accent-color:var(--primary)}
.results-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 20px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:24px}
.results-head .pill{padding:5px 14px;border-radius:var(--pill);background:var(--primary-soft);color:var(--primary);font-weight:800;font-size:14px}
.filter-toggle summary{display:none}

/* ---------- track order ---------- */
.track-box{max-width:760px;margin:-40px auto 0;position:relative;z-index:2}
.track-form{display:flex;gap:10px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:14px;box-shadow:var(--shadow)}
.track-form .input{flex:1}
.order-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;margin-top:28px}
.order-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:22px}
.order-card h2{font-size:22px;font-weight:800}
.order-card header p{color:var(--ink-soft);font-size:14px;margin-top:4px}
.status-pill{display:inline-flex;align-items:center;padding:7px 16px;border-radius:var(--pill);font-weight:800;font-size:13px;background:var(--primary-soft);color:var(--primary)}
.status-pill.pending{background:#fff4e0;color:#b45309}
.status-pill.delivered{background:#e6f5ec;color:#1d7a46}
.status-pill.cancelled{background:#fdecec;color:#b91c1c}
.timeline{position:relative;display:grid;gap:18px;padding-inline-start:30px;margin:8px 0 26px}
.timeline::before{content:"";position:absolute;top:8px;bottom:8px;inset-inline-start:9px;width:2px;background:var(--line-strong)}
.timeline-step{position:relative;color:var(--muted)}
.timeline-step::before{content:"";position:absolute;inset-inline-start:-30px;top:6px;width:20px;height:20px;border-radius:50%;background:#e5dde1;border:4px solid #fff;box-shadow:0 0 0 2px var(--line)}
.timeline-step.is-done{color:var(--ink)}
.timeline-step.is-done::before{background:#1d7a46;box-shadow:0 0 0 2px #1d7a46}
.timeline-step.is-cancel{color:#b91c1c}
.timeline-step.is-cancel::before{background:#dc2626;box-shadow:0 0 0 2px #dc2626}
.timeline-step b{display:block;font-size:15px}
.timeline-step span{font-size:13px}
.info-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin-bottom:22px}
.info-list div{background:var(--primary-tint);border-radius:14px;padding:12px 16px}
.info-list span{display:block;font-size:12px;color:var(--muted)}
.info-list b{font-size:15px}
.info-list .full{grid-column:1/-1}
.order-items{list-style:none;margin:0;padding:0}
.order-items li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.order-items li span{color:var(--muted);font-size:13px;display:block}

/* ---------- static pages ---------- */
.info-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;display:flex;gap:18px;align-items:flex-start}
.info-card .info-icon{flex-shrink:0;width:56px;height:56px;border-radius:16px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}
.info-card .info-icon svg{width:26px;height:26px}
.info-card h2{font-size:22px;font-weight:800;margin-bottom:8px}
.info-card p{color:var(--ink-soft);line-height:1.9;white-space:pre-line}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}
.info-grid .info-card{background:var(--card-tint,var(--pastel-1));border:0}
.info-grid .info-card .info-icon{background:#fff}
.narrow{max-width:960px;margin-inline:auto}
.cta-card{margin-top:28px;padding:44px 32px;border-radius:24px;background:var(--primary-dark);color:#fff;text-align:center}
.cta-card h2{font-size:30px;font-weight:900}
.cta-card p{color:rgba(255,255,255,.8);margin:10px 0 22px}
.cta-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px 22px;text-align:center;transition:transform .3s,box-shadow .3s}
.contact-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.contact-card .info-icon{margin:0 auto 12px;width:60px;height:60px;border-radius:50%;background:var(--card-tint,var(--pastel-1));color:var(--primary);display:grid;place-items:center}
.contact-card .info-icon svg{width:26px;height:26px}
.contact-card h3{font-size:18px;font-weight:800}
.contact-card a,.contact-card p{display:block;margin-top:6px;color:var(--ink-soft);font-weight:600}
.contact-card a:hover{color:var(--primary)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.map-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}
.map-card h2,.info-panel h2{font-size:20px;font-weight:800;padding:18px 24px;background:var(--primary-tint);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}
.map-card h2 svg,.info-panel h2 svg{width:20px;height:20px;color:var(--primary)}
#map{height:400px;background:var(--primary-tint)}
.info-panel{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}
.info-panel ul{list-style:none;margin:0;padding:8px 24px 18px}
.info-panel li{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.info-panel li:last-child{border:0}
.info-panel li svg{width:22px;height:22px;flex-shrink:0;color:var(--primary);margin-top:4px}
.info-panel li b{display:block;font-size:15px}
.info-panel li span{color:var(--ink-soft);font-size:14px}
.policy-list{display:grid;gap:16px}

/* ---------- modals & toast ---------- */
.modal{position:fixed;inset:0;z-index:70;display:none;place-items:center;padding:16px;background:rgba(30,8,20,.5);backdrop-filter:blur(4px)}
.modal.is-open{display:grid}
.modal-card{width:min(520px,100%);max-height:90svh;overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(20,5,12,.35);animation:pop .25s cubic-bezier(.2,.7,.2,1)}
@keyframes pop{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;background:var(--primary);color:#fff}
.modal-head h3{font-size:20px;font-weight:800}
.modal-head p{font-size:13px;opacity:.85;margin-top:2px}
.modal-head .icon-btn{color:#fff}
.modal-head .icon-btn:hover{background:rgba(255,255,255,.18)}
.modal-body{padding:24px}
.modal-body .stack{display:grid;gap:10px;margin-top:18px}
.modal-body .note{background:var(--primary-tint);border:1px solid var(--line);border-radius:16px;padding:16px;font-size:14px;color:var(--ink-soft)}
.modal-body .note b{display:block;color:var(--ink);font-size:16px;margin-bottom:4px}
.modal-body .option-label{font-size:15px}
.toast{position:fixed;top:24px;left:50%;z-index:90;transform:translate(-50%,-16px);padding:12px 22px;border-radius:var(--pill);background:var(--ink);color:#fff;font-weight:700;font-size:14px;box-shadow:0 14px 34px rgba(20,5,12,.3);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s;max-width:calc(100vw - 32px)}
.toast.is-show{opacity:1;transform:translate(-50%,0)}
.toast--error{background:#b91c1c}
.toast--info,.toast--warning{background:var(--primary)}
.toast--success{background:#1d7a46}

/* ---------- PWA banner, WhatsApp float ---------- */
.pwa-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:65;display:none;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:#fff;border-radius:20px;box-shadow:0 -6px 40px rgba(20,5,12,.2);border:1px solid var(--line)}
.pwa-banner.is-show{display:flex}
.pwa-banner .pwa-text{display:flex;align-items:center;gap:12px}
.pwa-banner .pwa-icon{width:46px;height:46px;border-radius:14px;background:var(--primary);color:#fff;display:grid;place-items:center;flex-shrink:0}
.pwa-banner .pwa-icon svg{width:24px;height:24px}
.pwa-banner h4{font-size:15px;font-weight:800}
.pwa-banner p{font-size:13px;color:var(--ink-soft)}
.pwa-banner .pwa-actions{display:flex;align-items:center;gap:6px}
.ios-steps{display:grid;gap:14px;margin-top:14px}
.ios-steps div{display:flex;align-items:flex-start;gap:12px}
.ios-steps i{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-style:normal;font-weight:800}
.wa-float{position:fixed;bottom:22px;inset-inline-start:22px;z-index:55;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(37,211,102,.4);transition:transform .25s}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:28px;height:28px}

/* ---------- home extras ---------- */
.home-immersive .collections-section{padding-top:90px}
.category-section .section-head h2{font-size:clamp(24px,2.6vw,34px)}
.category-section+.category-section{padding-top:0}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width:1600px){
  .story-copy{right:8%}
  .story-steps{right:8%}
  .story-art{width:54%;left:2%}
}
@media (max-width:1150px){
  .main-nav{gap:18px}
  .nav-link{font-size:14px}
  .header-search{display:none}
  .search-btn{display:grid}
  .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .story-copy{width:46%;right:5%}
  .story-chapter h1,.story-chapter h2{font-size:48px}
  .story-art{width:56%;left:-3%}
  .story-steps{right:5%}
  .promo-banner{padding:44px}
  .promo-art img{height:360px}
  .checkout-grid,.cart-layout{gap:24px}
  .features{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:30px}
  .footer-contact{grid-column:1/-1}
}
@media (max-width:900px){
  :root{--header-h:80px}
  .site-header{gap:12px}
  .main-nav{display:none}
  .menu-btn{display:grid}
  .wordmark{font-size:22px}
  .logo-img{height:44px}
  .logo-caption{max-width:150px;font-size:10px}
  .section{padding:56px 6%}
  .section-head{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:26px}
  .section-head .text-link{align-self:flex-end}
  .story{height:330svh}
  .story-pin{min-height:680px}
  .story-copy{width:88%;max-width:none;min-height:190px;top:104px;right:6%;text-align:center}
  .story-kicker{margin-bottom:10px;font-size:11px}
  .story-chapter h1,.story-chapter h2{font-size:40px;line-height:1.25;letter-spacing:-.4px}
  .story-chapter p{max-width:340px;margin:12px auto;font-size:16px;line-height:1.65}
  .story-art{top:320px;left:0;width:100%;bottom:172px;height:auto}
  .story-art figure{transform:translateY(20px) rotate(-6deg)}
  .story-art figure.is-visible{transform:rotate(-4deg)}
  .story-art img{height:92%;max-width:64%}
  .story-art figure[data-style=cutout] img{height:96%;max-width:84%}
  .story-word{font-size:22vw;bottom:26%}
  .story-side{left:14px;font-size:9px}
  .story-steps{bottom:82px;left:50%;right:auto;transform:translateX(-50%);gap:20px}
  .story-steps button{align-items:center;min-width:48px;font-size:12px;padding-bottom:6px}
  .story-bottom{bottom:22px;left:6%;right:6%;gap:10px;font-size:12px}
  .story-actions{gap:12px}
  .story.is-static .story-pin{min-height:auto;padding-bottom:70px}
  .story.is-static .story-copy,.story.is-static .story-art{position:relative;inset:auto;width:auto;height:auto;transform:none}
  .story.is-static .story-copy{padding:120px 6% 0;min-height:0}
  .story.is-static .story-chapter{position:relative}
  .story.is-static .story-art{height:420px;margin-top:20px}
  .story.is-static .story-art figure{position:relative}
  .story.is-static .story-bottom{position:relative;inset:auto;margin-top:24px;justify-content:center}
  .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .collection-card{min-height:380px;padding:18px;border-radius:16px}
  .collection-art{inset:56px 0 70px}
  .collection-art img,.collection-art i{height:220px}
  .collection-word{font-size:80px}
  .collection-text h3{font-size:22px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
  .promo-banner{grid-template-columns:1fr;text-align:center;margin:56px 6%;padding:38px 26px 24px;min-height:0}
  .promo-copy h2,.promo-copy p{margin-inline:auto}
  .promo-art{height:340px;width:min(100%,420px);margin:16px auto 0}
  .promo-art img{height:320px}
  .promo-art>span{font-size:110px;left:0}
  .page-head{padding:40px 6% 48px}
  .category-hero{grid-template-columns:1fr;text-align:center;padding:30px 6% 0}
  .category-copy p{margin-inline:auto}
  .category-copy .breadcrumb{justify-content:center;margin-bottom:18px}
  .category-hero-art{min-height:330px;margin-top:8px}
  .category-hero-art img,.category-hero-art i{height:330px}
  .category-hero-art>span{font-size:150px;bottom:30px}
  .subcat-grid{flex-wrap:nowrap;overflow-x:auto;margin:0 -6% 28px;padding:4px 6% 10px;scrollbar-width:none}
  .subcat-grid::-webkit-scrollbar{display:none}
  .subcat{flex-shrink:0}
  .product-page{grid-template-columns:1fr;gap:28px;padding-top:20px}
  .gallery{position:static}
  .cart-layout,.checkout-grid,.search-layout,.contact-grid,.info-grid{grid-template-columns:1fr}
  .summary-card,.filter-card{position:static}
  .filter-card{padding:0;border:0;background:transparent}
  .filter-toggle summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:14px 20px;background:#fff;border:1px solid var(--line);border-radius:18px;font-weight:800;cursor:pointer}
  .filter-toggle summary::-webkit-details-marker{display:none}
  .filter-toggle>div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin-top:10px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{flex-direction:column;text-align:center;margin-top:34px}
  .contact-cards{grid-template-columns:1fr}
  .cta-card{padding:34px 22px}
  .track-box{margin-top:-30px}
}
@media (max-width:600px){
  .site-header{padding:0 4%;gap:8px}
  .logo{gap:8px}
  .logo-img{height:38px}
  .site-header .wordmark{white-space:normal;overflow:visible;font-size:clamp(14px,4.2vw,18px);line-height:1.15}
  .logo-caption{display:none}
  .header-actions{gap:2px}
  .icon-btn{width:38px;height:38px}
  .section{padding:44px 5%}
  .subcat-grid{margin-inline:-5%;padding-inline:5%}
  .story-copy{top:96px}
  .story-chapter h1,.story-chapter h2{font-size:34px}
  .story-chapter p{font-size:15px}
  .story-art{top:300px;bottom:168px}
  .story-art img{max-width:70%}
  .collection-card{min-height:330px;padding:14px}
  .collection-art{inset:50px 0 62px}
  .collection-art img,.collection-art i{height:180px}
  .collection-word{font-size:64px}
  .collection-text h3{font-size:19px}
  .product-grid{gap:20px 12px}
  .product-photo{border-radius:18px}
  .product-meta{padding:12px 2px 0}
  .product-meta h3{font-size:15px;min-height:46px}
  .product-kicker{font-size:11px}
  .price-row{font-size:17px;margin:8px 0 10px}
  .btn-add{min-height:42px;font-size:14px;padding-inline:14px}
  .ribbon{padding:16px 0}
  .ribbon-track span{font-size:18px;gap:24px}
  .ribbon-track{gap:32px}
  .features{gap:10px}
  .feature{padding:18px 12px}
  .feature h3{font-size:15px}
  .feature p{font-size:12px}
  .page-head h1{font-size:34px}
  .catalog-head h2{font-size:22px}
  .thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .product-price .price-now{font-size:28px}
  .cart-lines{padding:4px 16px}
  .cart-line{grid-template-columns:76px minmax(0,1fr);gap:12px}
  .cart-line img{width:76px;height:98px}
  .cart-line-actions{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .form-card,.summary-card{padding:22px 18px;border-radius:18px}
  .form-row{grid-template-columns:1fr}
  .info-list{grid-template-columns:1fr}
  .track-form{flex-direction:column}
  .info-card{padding:22px 18px;flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid>*{min-width:0}
  .footer-brand .wordmark{white-space:normal;font-size:clamp(24px,7.5vw,34px);line-height:1.2}
  .sheet{width:88vw}
}
@media (max-width:420px){
  .story-chapter h1,.story-chapter h2{font-size:30px}
  .collection-card{min-height:290px}
  .collection-art img,.collection-art i{height:160px}
  .wordmark{font-size:19px}
}
@media (max-height:720px) and (min-width:901px){
  .story-copy{top:22%}
  .story-chapter h1,.story-chapter h2{font-size:44px}
  .story-steps{bottom:100px}
  .story-pin{min-height:560px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .js .reveal{opacity:1;transform:none}
  .story-chapter{transition:none}
}
@media print{
  .site-header,.site-footer,.sheet,.sheet-backdrop,.wa-float,.pwa-banner,.toast{display:none!important}
}
