/* ============================================================================
   FRISON PRINT — Landing page storefront (preview / no backend)
   Design tokens
   -------------------------------------------------------------------------
   --ink      #14100d   near-black warm charcoal (base background)
   --ink-2    #1d1712   slightly lifted charcoal (card surfaces)
   --cream    #f6efe1   warm cream (light text / light surfaces)
   --blush    #ddc2ab   dusty blush-tan, lifted straight from the logo circle
   --umber    #241109   deep umber-black, the logo wordmark colour
   --brass    #b98f57   brass/gold accent, the "hardware" colour
   --hunter   #333f2a   deep hunter green, secondary accent (jockey-silk note)
   ========================================================================== */

:root{
  --ink:#14100d;
  --ink-2:#1d1712;
  --ink-3:#26201a;
  --cream:#f6efe1;
  --cream-dim:rgba(246,239,225,0.66);
  --cream-faint:rgba(246,239,225,0.14);
  --blush:#ddc2ab;
  --blush-soft:#e9d7c5;
  --umber:#241109;
  --brass:#b98f57;
  --brass-soft:#c9a875;
  --hunter:#333f2a;
  --hunter-soft:#4a5a3d;

  --font-display:'Fraunces', 'Iowan Old Style', serif;
  --font-body:'Jost', 'Helvetica Neue', sans-serif;

  --container:1220px;
  --radius-lg:26px;
  --radius-md:16px;
  --radius-sm:10px;

  --ease:cubic-bezier(.22,.68,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  background:var(--ink);
  color:var(--cream);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

::selection{ background:var(--brass); color:var(--umber); }

:focus-visible{ outline:2px solid var(--brass); outline-offset:3px; border-radius:4px; }

/* -------------------------------------------------------------------------
   Live background texture — grain + a very faint tiled horse-head motif.
   The grain sits fixed behind everything; the horse tile lives on specific
   sections so it doesn't compete with product photography later.
   ------------------------------------------------------------------------- */
.grain{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  opacity:0.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------
   Live background texture — SVG text watermark pattern ("FRISON")
   ------------------------------------------------------------------------- */
.horse-field {
  position: absolute; 
  inset: 0; 
  z-index: 0; 
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='120' viewBox='0 0 220 120'%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' font-family='Fraunces, Iowan Old Style, serif' font-size='32' font-weight='600' letter-spacing='0.18em' fill='%23ddc2ab'%3EFRISON%3C/text%3E%3C/svg%3E");
  background-size: 200px 100px;
  background-repeat: repeat;
  opacity: 0.05;
}

.horse-field.dense { 
  opacity: 0.07; 
  background-size: 150px 75px; 
}

.horse-field.rotated { 
  background-position: 40px 60px; 
}


/* ===================== HEADER ===================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(20,16,13,0.86);
  backdrop-filter:blur(14px) saturate(1.1);
  border-bottom:1px solid rgba(246,239,225,0.08);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  height:82px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ width:48px; height:48px; border-radius:50%; border:1.5px solid rgba(217,166,92,0.35); }
.brand-word{ font-family:var(--font-display); font-weight:600; font-size:1.28rem; letter-spacing:0.02em; }
.brand-word span{ display:block; font-family:var(--font-body); font-size:0.56rem; letter-spacing:0.32em; text-transform:uppercase; color:var(--brass-soft); font-weight:500; margin-top:2px; }

.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav a{
  font-size:0.86rem; letter-spacing:0.03em; text-transform:uppercase;
  color:var(--cream-dim); position:relative; padding:6px 0; font-weight:500;
  transition:color .2s var(--ease);
}
.main-nav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background:var(--brass); transition:right .28s var(--ease);
}
.main-nav a:hover{ color:var(--cream); }
.main-nav a:hover::after{ right:0; }
.main-nav a.current{ color:var(--cream); }
.main-nav a.current::after{ right:0; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.icon-btn{
  width:42px; height:42px; border-radius:50%;
  border:1px solid rgba(246,239,225,0.18); background:transparent;
  display:flex; align-items:center; justify-content:center; color:var(--cream);
  transition:border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.icon-btn svg{ width:18px; height:18px; }
.icon-btn:hover{ border-color:var(--brass); background:rgba(185,143,87,0.12); transform:translateY(-1px); }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; border-radius:999px;
  font-size:0.82rem; letter-spacing:0.05em; text-transform:uppercase; font-weight:600;
  border:1px solid transparent; transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; transition:transform .25s var(--ease); }
.btn-primary{ background:var(--brass); color:var(--umber); }
.btn-primary:hover{ background:var(--brass-soft); transform:translateY(-2px); box-shadow:0 14px 30px rgba(185,143,87,0.28); }
.btn-primary:hover svg{ transform:translateX(3px); }
.btn-ghost{ border-color:rgba(246,239,225,0.3); color:var(--cream); }
.btn-ghost:hover{ border-color:var(--brass); color:var(--brass-soft); transform:translateY(-2px); }

.nav-toggle{ display:none; }

/* ===================== HERO ===================== */
.hero{
  position:relative; overflow:hidden;
  padding:96px 0 108px;
  isolation:isolate;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.1fr 0.9fr; align-items:center; gap:50px;
}
.eyebrow{
 align-items:center; gap:10px;
  font-size:0.72rem; letter-spacing:0.28em; text-transform:uppercase;
  color:var(--brass-soft); font-weight:600; margin-bottom:22px;
}
.eyebrow::before{ content:''; width:26px; height:1px; background:var(--brass); }

.hero h1{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(2.6rem, 5.2vw, 4.6rem);
  line-height:1.03; letter-spacing:-0.01em; margin:0 0 24px;
  color:var(--cream);
}
.hero h1 em{
  font-style:normal; color:var(--blush);
  position:relative; display:inline-block;
}
.hero h1 .stroke{
  -webkit-text-stroke:1.5px var(--brass-soft); color:transparent;
}

.hero-lede{ font-size:1.06rem; color:var(--cream-dim); max-width:480px; margin:0 0 34px; }

.hero-cta{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:44px; }

.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-stat{ display:flex; flex-direction:column; gap:2px; }
.hero-stat b{ font-family:var(--font-display); font-size:1.5rem; color:var(--brass-soft); font-weight:600; }
.hero-stat span{ font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--cream-dim); }

/* Hero emblem: the logo seal + a trotting horse looping along a brass line */
.hero-emblem{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; }
.seal{
  position:relative; width:min(360px, 86%); aspect-ratio:1;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 32% 28%, rgba(221,194,171,0.18), rgba(20,16,13,0) 60%);
}
.seal::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(185,143,87,0.35);
  animation:spin 60s linear infinite;
}
.seal::after{
  content:''; position:absolute; inset:18px; border-radius:50%;
  border:1px dashed rgba(246,239,225,0.16);
}
.seal img{ width:64%; border-radius:50%; box-shadow:0 30px 60px rgba(0,0,0,0.55); position:relative; z-index:2; }
@keyframes spin{ to{ transform:rotate(360deg); } }

.trot-track{ position:relative; width:min(340px, 80%); margin-top:34px; }
.trot-line{ height:1px; background:linear-gradient(90deg, transparent, rgba(185,143,87,0.55) 15%, rgba(185,143,87,0.55) 85%, transparent); }
.trot-horse{
  position:absolute; top:-19px; left:0; width:34px; height:auto; color:var(--brass-soft);
  animation:trot 7s linear infinite;
}
.trot-horse svg{ width:100%; height:auto; display:block; }
@keyframes trot{
  0%{ left:-4%; transform:scaleX(1); }
  48%{ left:96%; transform:scaleX(1); }
  50%{ left:96%; transform:scaleX(-1); }
  98%{ left:-4%; transform:scaleX(-1); }
  100%{ left:-4%; transform:scaleX(1); }
}
.trot-caption{ text-align:center; margin-top:14px; font-size:0.7rem; letter-spacing:0.24em; text-transform:uppercase; color:var(--cream-dim); }

/* ===================== MARQUEE ===================== */
.marquee-strip{
  position:relative; overflow:hidden;
  background:var(--brass); color:var(--umber);
  padding:16px 0;
  transform:rotate(-1.1deg); margin:-14px 0 44px;
  border-top:1px solid var(--umber); border-bottom:1px solid var(--umber);
}
.marquee-strip.alt{ background:var(--umber); color:var(--blush); transform:rotate(1.1deg); border-color:var(--brass); margin:44px 0 -14px; }
.marquee-track{ display:flex; width:max-content; animation:marquee 32s linear infinite; }
.marquee-strip:hover .marquee-track{ animation-play-state:paused; }
.marquee-track span{
  display:inline-flex; align-items:center; gap:14px;
  font-family:var(--font-display); font-weight:600; font-size:1.15rem;
  text-transform:uppercase; letter-spacing:0.03em; padding:0 22px; white-space:nowrap;
}
.marquee-track span::after{ content:'✦'; font-size:0.8rem; opacity:0.7; margin-left:14px; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ===================== SECTION SCAFFOLDING ===================== */
section{ position:relative; }
.section-pad{ padding:104px 0; }
.section-head{ max-width:640px; margin:0 0 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(2rem, 3.4vw, 2.9rem); margin:14px 0 16px; letter-spacing:-0.01em;
}
.section-head p{ color:var(--cream-dim); font-size:1.02rem; }
.on-cream .section-head p{ color:rgba(36,17,9,0.68); }

/* ===================== CATEGORIES ===================== */
.categories{ background:var(--cream); color:var(--umber); }
.on-cream .eyebrow{ color:var(--hunter); }
.on-cream .eyebrow::before{ background:var(--hunter); }
.cat-grid{
  display:grid; grid-template-columns:repeat(5, 1fr); gap:18px;
}
.cat-card{
  background:#fff; border:1px solid rgba(36,17,9,0.09);
  border-radius:var(--radius-md); padding:30px 20px 26px; text-align:center;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cat-card:hover{ transform:translateY(-8px); box-shadow:0 24px 40px rgba(36,17,9,0.12); border-color:var(--brass); }
.cat-icon{
  width:56px; height:56px; margin:0 auto 18px; color:var(--hunter);
}
.cat-icon svg{ width:100%; height:100%; }
.cat-card h3{ font-family:var(--font-display); font-size:1.05rem; font-weight:600; margin:0 0 6px; }
.cat-card p{ font-size:0.78rem; color:rgba(36,17,9,0.55); margin:0; }

/* ===================== PRODUCTS ===================== */
.products{ background:var(--ink-2); }
.product-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.product-card{
  position:relative; border-radius:var(--radius-md); overflow:hidden;
  background:var(--ink-3); border:1px solid rgba(246,239,225,0.08);
  transition:transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover{ transform:translateY(-8px); border-color:rgba(185,143,87,0.4); box-shadow:0 26px 46px rgba(0,0,0,0.4); }

.product-media{
  position:relative; aspect-ratio:4/5; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.product-media .motif{ position:absolute; inset:0; opacity:0.9; }
.product-media .garment{
  position:relative; width:52%; color:rgba(20,16,13,0.9);
  filter:drop-shadow(0 14px 18px rgba(0,0,0,0.28));
}
.product-media .garment svg{ width:100%; height:auto; }
.product-card:hover .garment{ transform:scale(1.04) translateY(-3px); }
.product-media .garment{ transition:transform .4s var(--ease); }

.badge-row{ position:absolute; top:14px; left:14px; display:flex; gap:8px; z-index:3; }
.badge{ padding:5px 11px; border-radius:999px; font-size:0.64rem; letter-spacing:0.08em; text-transform:uppercase; font-weight:600; }
.badge.new{ background:var(--hunter); color:var(--cream); }
.badge.soon{ background:rgba(20,16,13,0.72); color:var(--cream-dim); border:1px solid rgba(246,239,225,0.2); backdrop-filter:blur(4px); }

.product-body{ padding:20px 20px 22px; }
.product-cat{ font-size:0.68rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--brass-soft); margin-bottom:6px; }
.product-body h3{ font-family:var(--font-display); font-size:1.12rem; font-weight:600; margin:0 0 10px; }
.product-price{ display:flex; align-items:baseline; gap:9px; }
.product-price b{ font-size:1.05rem; color:var(--cream); }
.product-price s{ font-size:0.86rem; color:rgba(246,239,225,0.4); }

.products-foot{ margin-top:52px; display:flex; justify-content:center; }

/* ===================== BRAND STORY ===================== */
.story{ background:var(--ink); overflow:hidden; }
.story-grid{ display:grid; grid-template-columns:1fr 0.85fr; gap:60px; align-items:center; }
.story-copy p{ color:var(--cream-dim); margin:0 0 18px; font-size:1.02rem; }
.story-copy p:last-of-type{ margin-bottom:30px; }
.story-list{ display:flex; flex-direction:column; gap:16px; margin-bottom:34px; }
.story-list li{ display:flex; gap:14px; align-items:flex-start; font-size:0.94rem; color:var(--cream-dim); }
.story-list svg{ width:20px; height:20px; flex:0 0 auto; margin-top:2px; color:var(--brass); }

.story-visual{ position:relative; aspect-ratio:1; display:flex; align-items:center; justify-content:center; }
.story-ring{
  position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(185,143,87,0.3);
}
.story-ring.r2{ inset:34px; border-style:dashed; border-color:rgba(246,239,225,0.14); animation:spin 90s linear infinite reverse; }
.story-horse{ width:58%; color:var(--blush); opacity:0.92; }
.story-horse svg{ width:100%; height:auto; }

/* ===================== CTA / FOLLOW ===================== */
.follow{ background:var(--blush); color:var(--umber); }
.follow-grid{ display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.follow h2{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.7rem, 3vw, 2.4rem); margin:0 0 10px; max-width:520px; }
.follow p{ color:rgba(36,17,9,0.65); margin:0; max-width:460px; }
.follow-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.follow .btn-primary{ background:var(--umber); color:var(--blush-soft); }
.follow .btn-primary:hover{ background:#331a0d; }
.follow .btn-ghost{ border-color:rgba(36,17,9,0.3); color:var(--umber); }
.follow .btn-ghost:hover{ border-color:var(--umber); color:var(--umber); background:rgba(36,17,9,0.06); }

/* ===================== FOOTER ===================== */
.site-footer{ background:var(--umber); color:var(--blush-soft); padding:76px 0 0; position:relative; overflow:hidden; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(246,239,225,0.12); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(217,166,92,0.4); }
.footer-brand span{ font-family:var(--font-display); font-size:1.15rem; font-weight:600; color:var(--cream); }
.footer-col p{ color:rgba(246,239,225,0.55); font-size:0.9rem; max-width:280px; }
.footer-col h4{ font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--brass-soft); margin:0 0 18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:0.92rem; color:rgba(246,239,225,0.75); transition:color .2s; }
.footer-col a:hover{ color:var(--brass-soft); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding:24px 0; flex-wrap:wrap; gap:10px; }
.footer-bottom p{ margin:0; font-size:0.8rem; color:rgba(246,239,225,0.45); }
.footer-bottom a{ color:rgba(246,239,225,0.6); }
.footer-bottom a:hover{ color:var(--brass-soft); }

/* ===================== PLACEHOLDER NOTICE (dev-only banner) ===================== */
.preview-banner{
  position:fixed; bottom:18px; left:50%; transform:translateX(-50%);
  z-index:60; background:rgba(20,16,13,0.92); color:var(--cream);
  border:1px solid rgba(185,143,87,0.4); border-radius:999px;
  padding:10px 18px; font-size:0.76rem; letter-spacing:0.02em;
  display:flex; align-items:center; gap:10px; backdrop-filter:blur(10px);
  box-shadow:0 14px 30px rgba(0,0,0,0.4);
}
.preview-banner b{ color:var(--brass-soft); }
.preview-banner button{ background:none; border:none; color:rgba(246,239,225,0.5); font-size:1rem; line-height:1; padding:0 2px; }
.preview-banner button:hover{ color:var(--cream); }

/* ===================== REVEAL-ON-SCROLL ===================== */
[data-reveal]{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible{ opacity:1; transform:none; }
[data-reveal="stagger"] > *{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal="stagger"].is-visible > *{ opacity:1; transform:none; }
[data-reveal="stagger"].is-visible > *:nth-child(1){ transition-delay:.02s; }
[data-reveal="stagger"].is-visible > *:nth-child(2){ transition-delay:.08s; }
[data-reveal="stagger"].is-visible > *:nth-child(3){ transition-delay:.14s; }
[data-reveal="stagger"].is-visible > *:nth-child(4){ transition-delay:.2s; }
[data-reveal="stagger"].is-visible > *:nth-child(5){ transition-delay:.26s; }
[data-reveal="stagger"].is-visible > *:nth-child(6){ transition-delay:.32s; }

.preview-banner{ transition:opacity .25s var(--ease), transform .25s var(--ease); }

/* ===================== CART BADGE ===================== */
.icon-btn{ position:relative; }
.cart-count{
  position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; padding:0 4px;
  border-radius:999px; background:var(--brass); color:var(--umber);
  font-size:0.62rem; font-weight:700; line-height:18px; text-align:center;
  opacity:0; transform:scale(0.6); transition:opacity .2s var(--ease), transform .2s var(--ease);
}
.cart-count.is-visible{ opacity:1; transform:scale(1); }

/* ===================== QUICK ADD (product card) ===================== */
.quick-add{
  position:absolute; bottom:14px; right:14px; z-index:3;
  width:40px; height:40px; border-radius:50%; border:none;
  background:var(--brass); color:var(--umber);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:translateY(8px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
}
.quick-add svg{ width:18px; height:18px; }
.product-card:hover .quick-add{ opacity:1; transform:translateY(0); }
.quick-add:hover{ background:var(--brass-soft); }
.quick-add.is-added{ background:var(--hunter); color:var(--cream); opacity:1; transform:translateY(0); }

/* ===================== CART DRAWER ===================== */
body.cart-open{ overflow:hidden; }
.cart-overlay{
  position:fixed; inset:0; z-index:90; background:rgba(20,16,13,0.55);
  backdrop-filter:blur(2px);
  opacity:0; pointer-events:none; transition:opacity .3s var(--ease);
}
.cart-overlay.open{ opacity:1; pointer-events:auto; }

.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:91;
  width:min(420px, 100%); background:var(--ink-2); color:var(--cream);
  display:flex; flex-direction:column;
  border-left:1px solid rgba(246,239,225,0.1);
  transform:translateX(100%); transition:transform .38s var(--ease);
  box-shadow:-24px 0 60px rgba(0,0,0,0.4);
}
.cart-drawer.open{ transform:translateX(0); }

.cart-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:24px 24px 18px; border-bottom:1px solid rgba(246,239,225,0.1);
}
.cart-head h3{ font-family:var(--font-display); font-weight:600; font-size:1.3rem; margin:0; }
.cart-close{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(246,239,225,0.18);
  background:transparent; color:var(--cream); display:flex; align-items:center; justify-content:center;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.cart-close svg{ width:16px; height:16px; }
.cart-close:hover{ border-color:var(--brass); background:rgba(185,143,87,0.12); }

.cart-body{ flex:1; overflow-y:auto; padding:18px 24px; }

.cart-empty{
  height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px; text-align:center; padding:40px 0; color:var(--cream-dim);
}
.cart-empty svg{ width:52px; height:52px; opacity:0.5; }
.cart-empty p{ margin:0; font-size:0.94rem; }

.cart-line{
  display:flex; gap:14px; padding:16px 0; border-bottom:1px solid rgba(246,239,225,0.08);
}
.cart-line-media{
  position:relative; width:76px; height:88px; flex:0 0 auto; border-radius:var(--radius-sm);
  overflow:hidden; background:var(--ink-3); display:flex; align-items:center; justify-content:center;
}
.cart-line-media img{ width:100%; height:100%; object-fit:cover; }
.cart-line-media .motif{ position:absolute; inset:0; }
.cart-line-media .garment{ position:relative; width:60%; color:rgba(20,16,13,0.85); }
.cart-line-media .garment svg{ width:100%; height:auto; }

.cart-line-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.cart-line-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.cart-line-top h4{ font-family:var(--font-display); font-size:0.98rem; font-weight:600; margin:0; line-height:1.25; }
.cart-line-remove{
  flex:0 0 auto; width:26px; height:26px; border-radius:50%; border:none; background:transparent;
  color:rgba(246,239,225,0.45); display:flex; align-items:center; justify-content:center;
  transition:color .2s var(--ease), background .2s var(--ease);
}
.cart-line-remove svg{ width:14px; height:14px; }
.cart-line-remove:hover{ color:var(--cream); background:rgba(246,239,225,0.08); }
.cart-line-size{ font-size:0.76rem; color:var(--cream-dim); letter-spacing:0.02em; }
.cart-line-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:4px; }
.cart-line-bottom b{ font-size:0.92rem; color:var(--brass-soft); }

.qty-stepper{
  display:inline-flex; align-items:center; gap:0; border:1px solid rgba(246,239,225,0.18);
  border-radius:999px; overflow:hidden;
}
.qty-stepper button{
  width:28px; height:28px; border:none; background:transparent; color:var(--cream);
  font-size:1rem; display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease);
}
.qty-stepper button:hover{ background:rgba(185,143,87,0.16); }
.qty-stepper span{ min-width:26px; text-align:center; font-size:0.86rem; }
.qty-stepper.large button{ width:40px; height:40px; font-size:1.15rem; }
.qty-stepper.large span{ min-width:36px; font-size:0.98rem; }

.cart-foot{ padding:20px 24px 26px; border-top:1px solid rgba(246,239,225,0.1); }
.cart-subtotal{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.cart-subtotal span{ font-size:0.86rem; color:var(--cream-dim); text-transform:uppercase; letter-spacing:0.06em; }
.cart-subtotal b{ font-family:var(--font-display); font-size:1.3rem; color:var(--cream); }
.cart-checkout{ width:100%; justify-content:center; }
.cart-note{ margin:12px 0 0; font-size:0.72rem; color:rgba(246,239,225,0.4); text-align:center; }

/* ===================== PRODUCT PAGE ===================== */
.breadcrumb{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  font-size:0.78rem; color:var(--cream-dim); padding:22px 0 0;
}
.breadcrumb a{ color:var(--cream-dim); transition:color .2s var(--ease); }
.breadcrumb a:hover{ color:var(--brass-soft); }
.breadcrumb span.sep{ opacity:0.4; }
.breadcrumb span.current{ color:var(--cream); }

.pd-section{ padding:34px 0 90px; }
.pd-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:flex-start; }

.pd-media{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--ink-3); border:1px solid rgba(246,239,225,0.08);
  display:flex; align-items:center; justify-content:center;
}
.pd-media .motif{ position:absolute; inset:0; opacity:0.9; }
.pd-media .garment{ position:relative; width:46%; color:rgba(20,16,13,0.9); filter:drop-shadow(0 18px 24px rgba(0,0,0,0.3)); }
.pd-media .garment svg{ width:100%; height:auto; }

.pd-info{ padding-top:6px; }
.pd-info .product-cat{ font-size:0.72rem; letter-spacing:0.16em; }
.pd-info h1{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.9rem, 2.8vw, 2.5rem); margin:8px 0 18px; line-height:1.1; }
.pd-price{ display:flex; align-items:baseline; gap:12px; margin-bottom:24px; }
.pd-price b{ font-family:var(--font-display); font-size:1.7rem; color:var(--cream); font-weight:600; }
.pd-price s{ font-size:1rem; color:rgba(246,239,225,0.4); }
.pd-desc{ color:var(--cream-dim); font-size:1rem; max-width:480px; margin:0 0 32px; }

.pd-block{ margin-bottom:28px; }
.pd-block-label{ font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--brass-soft); margin-bottom:12px; font-weight:600; }
.size-row{ display:flex; flex-wrap:wrap; gap:10px; }
.size-pill{
  padding:10px 18px; border-radius:999px; border:1px solid rgba(246,239,225,0.22);
  background:transparent; color:var(--cream); font-size:0.84rem; letter-spacing:0.02em;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.size-pill:hover{ border-color:var(--brass); }
.size-pill.active{ background:var(--brass); border-color:var(--brass); color:var(--umber); font-weight:600; }

.pd-actions{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:32px; }
.pd-actions .btn-primary.is-added{ background:var(--hunter); color:var(--cream); }

.pd-perks{ display:flex; flex-direction:column; gap:12px; }
.pd-perks li{ display:flex; gap:12px; align-items:flex-start; font-size:0.88rem; color:var(--cream-dim); }
.pd-perks svg{ width:18px; height:18px; flex:0 0 auto; margin-top:1px; color:var(--brass); }

.related-section{ background:var(--ink-2); padding:80px 0 96px; }

/* ===================== BOUTIQUE ===================== */
.boutique-head{ padding:36px 0 8px; }
.boutique-head h1{ font-family:var(--font-display); font-weight:600; font-size:clamp(2.1rem, 3.6vw, 3.1rem); margin:10px 0 12px; }
.boutique-head p{ color:var(--cream-dim); max-width:520px; margin:0; }

.boutique-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  padding:32px 0 8px; margin-bottom:20px; border-bottom:1px solid rgba(246,239,225,0.1);
}
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  padding:9px 18px; border-radius:999px; border:1px solid rgba(246,239,225,0.2);
  font-size:0.8rem; letter-spacing:0.02em; color:var(--cream-dim);
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.chip:hover{ border-color:var(--brass); color:var(--cream); }
.chip.active{ background:var(--brass); border-color:var(--brass); color:var(--umber); font-weight:600; }

.boutique-meta{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.boutique-count{ font-size:0.8rem; color:var(--cream-dim); white-space:nowrap; }
.sort-select{
  appearance:none; -webkit-appearance:none;
  padding:10px 36px 10px 16px; border-radius:999px; border:1px solid rgba(246,239,225,0.2);
  background:var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6efe1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size:16px; color:var(--cream); font-family:inherit; font-size:0.8rem; letter-spacing:0.02em;
  cursor:pointer; transition:border-color .2s var(--ease);
}
.sort-select:hover{ border-color:var(--brass); }

.boutique-section{ padding:0 0 96px; }
.boutique-empty{
  grid-column:1 / -1; text-align:center; padding:70px 20px; color:var(--cream-dim);
  display:flex; flex-direction:column; align-items:center; gap:18px;
}

/* ===================== CART: CUSTOM-DESIGN THUMBNAIL ===================== */
.mini-mockup{ position:relative; width:100%; height:100%; }
.mini-mockup svg{ width:100%; height:100%; display:block; }
.mini-print-area{ position:absolute; overflow:hidden; }
.mini-print-area img{ position:absolute; width:60%; max-width:none; pointer-events:none; }
.mini-face-flag{
  position:absolute; left:2px; bottom:2px; padding:1px 4px; border-radius:4px;
  background:rgba(20,16,13,0.75); color:var(--cream); font-size:0.52rem; letter-spacing:0.02em;
  white-space:nowrap;
}

/* ===================== ATELIER (design studio) ===================== */
.atelier-head{ padding:36px 0 8px; }
.atelier-head h1{ font-family:var(--font-display); font-weight:600; font-size:clamp(2.1rem, 3.6vw, 3.1rem); margin:10px 0 12px; }
.atelier-head p{ color:var(--cream-dim); max-width:560px; margin:0; }

.atelier-section{ padding:32px 0 100px; }
.atelier-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }

.face-tabs{ display:flex; gap:8px; margin-bottom:14px; }
.face-tab{
  padding:8px 18px; border-radius:999px; border:1px solid rgba(246,239,225,0.2);
  background:transparent; color:var(--cream-dim); font-size:0.78rem; letter-spacing:0.02em;
  display:flex; align-items:center; gap:8px;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.face-tab:hover{ border-color:var(--brass); color:var(--cream); }
.face-tab.active{ background:var(--brass); border-color:var(--brass); color:var(--umber); font-weight:600; }
.face-tab-count{
  min-width:16px; height:16px; padding:0 4px; border-radius:999px; background:rgba(20,16,13,0.25);
  font-size:0.62rem; line-height:16px; text-align:center;
}
.face-tab.active .face-tab-count{ background:rgba(20,16,13,0.35); }

.mockup-stage{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--ink-3); border:1px solid rgba(246,239,225,0.08);
  display:flex; align-items:center; justify-content:center;
}
.mockup-shape{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:8%;
  transition:transform .3s var(--ease);
}
.mockup-shape svg{ width:100%; height:100%; }

.print-area{
  position:absolute; border:1.5px dashed rgba(246,239,225,0.35); border-radius:10px;
  touch-action:none;
}
.print-area-empty{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; color:rgba(246,239,225,0.5); text-align:center; padding:10px; pointer-events:none;
}
.print-area-empty svg{ width:30px; height:30px; opacity:0.7; }
.print-area-empty span{ font-size:0.72rem; letter-spacing:0.03em; max-width:150px; }

.design-item{
  position:absolute; width:60%; cursor:grab; touch-action:none;
}
.design-item.dragging{ cursor:grabbing; }
.design-item img{
  display:block; width:100%; height:auto; pointer-events:none;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.design-item::after{
  content:''; position:absolute; inset:-8%; border-radius:8px; border:1.5px solid transparent;
  transition:border-color .15s var(--ease);
}
.design-item.active::after{ border-color:var(--brass); }

.design-controls{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:20px; }
.design-controls label{ display:flex; align-items:center; gap:10px; font-size:0.78rem; color:var(--cream-dim); flex:1 1 160px; }
.design-controls input[type="range"]{ flex:1; accent-color:var(--brass); }
.btn-sm{ padding:9px 16px; font-size:0.72rem; }
.btn-danger{ border-color:rgba(200,90,70,0.4); color:#e0a08f; }
.btn-danger:hover{ border-color:#c85a46; color:#f0b8ab; }

.layer-list-wrap{ margin-top:22px; }
.layer-list{ display:flex; flex-wrap:wrap; gap:10px; }
.layer-list-empty{ font-size:0.78rem; color:rgba(246,239,225,0.4); margin:0; }
.layer-chip{
  position:relative; width:56px; height:56px; border-radius:10px; overflow:hidden; cursor:pointer;
  border:2px solid rgba(246,239,225,0.15); background:var(--ink-3);
  transition:border-color .2s var(--ease);
}
.layer-chip:hover{ border-color:rgba(246,239,225,0.4); }
.layer-chip.active{ border-color:var(--brass); }
.layer-chip img{ width:100%; height:100%; object-fit:contain; padding:6px; }
.layer-chip-face{
  position:absolute; left:2px; bottom:2px; padding:1px 5px; border-radius:5px;
  background:rgba(20,16,13,0.7); color:var(--cream); font-size:0.56rem; letter-spacing:0.03em;
}
.layer-chip-remove{
  position:absolute; top:2px; right:2px; width:18px; height:18px; border-radius:50%; border:none;
  background:rgba(20,16,13,0.75); color:var(--cream); display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .15s var(--ease);
}
.layer-chip-remove svg{ width:10px; height:10px; }
.layer-chip:hover .layer-chip-remove{ opacity:1; }

.atelier-panel{ padding-top:4px; }
.garment-row{ display:flex; flex-wrap:wrap; gap:10px; }
.garment-pill{
  display:flex; align-items:center; gap:8px; padding:9px 16px 9px 10px;
  border-radius:999px; border:1px solid rgba(246,239,225,0.2); background:transparent; color:var(--cream);
  font-size:0.8rem; transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.garment-pill-icon{ width:20px; height:20px; color:var(--brass-soft); }
.garment-pill-icon svg{ width:100%; height:100%; }
.garment-pill:hover{ border-color:var(--brass); }
.garment-pill.active{ background:var(--brass); border-color:var(--brass); color:var(--umber); font-weight:600; }
.garment-pill.active .garment-pill-icon{ color:var(--umber); }

.color-row{ display:flex; flex-wrap:wrap; gap:12px; }
.color-swatch{
  width:34px; height:34px; border-radius:50%; border:2px solid transparent;
  box-shadow:0 0 0 1px rgba(246,239,225,0.25); cursor:pointer; transition:box-shadow .2s var(--ease), transform .2s var(--ease);
}
.color-swatch:hover{ transform:translateY(-2px); }
.color-swatch.active{ box-shadow:0 0 0 2px var(--ink), 0 0 0 4px var(--brass); }

.upload-drop{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  padding:32px 20px; border-radius:var(--radius-md); border:1.5px dashed rgba(246,239,225,0.25);
  color:var(--cream-dim); text-align:center; cursor:pointer;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.upload-drop svg{ width:28px; height:28px; color:var(--brass-soft); }
.upload-drop span{ font-size:0.82rem; max-width:280px; }
.upload-drop:hover, .upload-drop.drag{ border-color:var(--brass); background:rgba(185,143,87,0.06); }
.field-hint{ margin:10px 2px 0; font-size:0.72rem; color:rgba(246,239,225,0.4); }

.atelier-price{ display:flex; align-items:center; justify-content:space-between; margin:26px 0 4px; }
.atelier-price span{ font-size:0.8rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--cream-dim); }
.atelier-price b{ font-family:var(--font-display); font-size:1.4rem; color:var(--cream); }
.atelier-price-breakdown{ margin:0 0 12px; font-size:0.72rem; color:rgba(246,239,225,0.4); text-align:right; }
.atelier-fine{ margin:14px 0 0; font-size:0.76rem; color:rgba(246,239,225,0.45); }

.ticket-preview{
  margin-top:44px; padding:26px 28px; border-radius:var(--radius-md);
  background:var(--ink-3); border:1px solid rgba(246,239,225,0.1);
}
.ticket-preview h3{ font-family:var(--font-display); font-weight:600; font-size:1rem; margin:0 0 16px; color:var(--brass-soft); }
.ticket-summary{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin:0 0 20px; padding-bottom:20px; border-bottom:1px solid rgba(246,239,225,0.08); }
.ticket-summary > div{ display:flex; flex-direction:column; gap:4px; }
.ticket-summary dt{ font-size:0.66rem; letter-spacing:0.1em; text-transform:uppercase; color:rgba(246,239,225,0.45); }
.ticket-summary dd{ margin:0; font-size:0.9rem; color:var(--cream); font-weight:500; }
.ticket-table{ width:100%; border-collapse:collapse; }
.ticket-table th{
  text-align:left; font-size:0.62rem; letter-spacing:0.08em; text-transform:uppercase;
  color:rgba(246,239,225,0.4); font-weight:500; padding:0 10px 8px 0;
}
.ticket-table td{ font-size:0.84rem; color:var(--cream); padding:8px 10px 8px 0; border-top:1px solid rgba(246,239,225,0.06); }

.atelier-promo{ background:var(--hunter); color:var(--cream); }
.atelier-promo .follow-grid{ align-items:center; }
.atelier-promo h2{ color:var(--cream); }
.atelier-promo p{ color:rgba(246,239,225,0.72); }
.atelier-promo .btn-primary{ background:var(--brass); color:var(--umber); }
.atelier-promo .btn-primary:hover{ background:var(--brass-soft); }
.atelier-promo .btn-ghost{ border-color:rgba(246,239,225,0.3); color:var(--cream); }
.atelier-promo .btn-ghost:hover{ border-color:var(--cream); }

/* ===================== CHECKOUT ===================== */
.checkout-head{ padding:36px 0 8px; }
.checkout-head h1{ font-family:var(--font-display); font-weight:600; font-size:clamp(2rem, 3.2vw, 2.7rem); margin:10px 0 12px; }
.checkout-head p{ color:var(--cream-dim); max-width:520px; margin:0; }

.checkout-section{ padding:24px 0 100px; }

.checkout-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:44px; align-items:start; }

.co-block{ margin-bottom:36px; }
.co-block h2{ font-family:var(--font-display); font-weight:600; font-size:1.2rem; margin:0 0 18px; }
.co-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.co-field{ display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.co-field > span{ font-size:0.76rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--cream-dim); font-weight:500; }
.co-field em{ font-style:normal; color:var(--brass-soft); margin-left:3px; }
.co-field input, .co-field select, .co-field textarea{
  width:100%; padding:13px 16px; border-radius:var(--radius-sm);
  border:1px solid rgba(246,239,225,0.18); background:var(--ink-3); color:var(--cream);
  font-family:inherit; font-size:0.92rem; transition:border-color .2s var(--ease), background .2s var(--ease);
  resize:vertical;
}
.co-field input:focus, .co-field select:focus, .co-field textarea:focus{
  outline:none; border-color:var(--brass); background:var(--ink-2);
}
.co-field input:invalid:not(:placeholder-shown), .co-field select:invalid, .co-field textarea:invalid:not(:placeholder-shown){
  border-color:rgba(200,90,70,0.5);
}
.co-field select{
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6efe1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
  padding-right:40px;
}

.delivery-options{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
.delivery-option{
  position:relative; display:flex; flex-direction:column; gap:4px;
  padding:16px 18px; border-radius:var(--radius-sm); border:1px solid rgba(246,239,225,0.18);
  cursor:pointer; transition:border-color .2s var(--ease), background .2s var(--ease);
}
.delivery-option input{ position:absolute; opacity:0; pointer-events:none; }
.delivery-option .do-title{ font-size:0.9rem; font-weight:600; color:var(--cream); }
.delivery-option .do-note{ font-size:0.76rem; color:var(--cream-dim); }
.delivery-option.active{ border-color:var(--brass); background:rgba(185,143,87,0.08); }
.delivery-option:hover{ border-color:var(--brass); }

.pay-note{
  display:flex; gap:16px; align-items:flex-start; padding:18px 20px;
  border-radius:var(--radius-sm); background:var(--ink-3); border:1px solid rgba(246,239,225,0.1);
}
.pay-note svg{ width:26px; height:26px; flex:0 0 auto; color:var(--brass); margin-top:2px; }
.pay-note b{ display:block; font-size:0.94rem; margin-bottom:4px; }
.pay-note p{ margin:0; font-size:0.82rem; color:var(--cream-dim); }

.co-summary{
  position:sticky; top:100px; background:var(--ink-2); border:1px solid rgba(246,239,225,0.08);
  border-radius:var(--radius-lg); padding:28px 26px 26px;
}
.co-summary h2{ font-family:var(--font-display); font-weight:600; font-size:1.15rem; margin:0 0 18px; }
.co-lines{ display:flex; flex-direction:column; gap:14px; margin-bottom:20px; max-height:320px; overflow-y:auto; }
.co-line{ display:flex; align-items:center; gap:12px; }
.co-line-media{
  position:relative; width:52px; height:60px; flex:0 0 auto; border-radius:8px; overflow:hidden;
  background:var(--ink-3); display:flex; align-items:center; justify-content:center;
}
.co-line-media img{ width:100%; height:100%; object-fit:cover; }
.co-line-media .motif{ position:absolute; inset:0; }
.co-line-media .garment{ position:relative; width:60%; color:rgba(20,16,13,0.85); }
.co-line-media .garment svg{ width:100%; height:auto; }
.co-line-body{ flex:1; min-width:0; }
.co-line-body h4{ font-family:var(--font-display); font-size:0.86rem; font-weight:600; margin:0 0 2px; }
.co-line-body span{ font-size:0.72rem; color:var(--cream-dim); }
.co-line > b{ font-size:0.84rem; color:var(--brass-soft); white-space:nowrap; }

.co-totals{ border-top:1px solid rgba(246,239,225,0.1); padding-top:16px; margin-bottom:8px; }
.co-total-row{ display:flex; align-items:center; justify-content:space-between; font-size:0.86rem; margin-bottom:8px; }
.co-total-row.muted{ color:rgba(246,239,225,0.45); font-size:0.76rem; }
.co-grand-total{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; border-top:1px solid rgba(246,239,225,0.1); margin-bottom:18px;
}
.co-grand-total span{ font-size:0.9rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--cream-dim); }
.co-grand-total b{ font-family:var(--font-display); font-size:1.4rem; color:var(--cream); }
.co-submit{ width:100%; justify-content:center; }
.co-fine{ margin:14px 0 0; font-size:0.72rem; color:rgba(246,239,225,0.4); text-align:center; }

.checkout-empty, .checkout-confirm{
  max-width:520px; margin:40px auto; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:16px;
  padding:60px 30px; border-radius:var(--radius-lg); background:var(--ink-2); border:1px solid rgba(246,239,225,0.08);
}
.checkout-empty svg{ width:56px; height:56px; opacity:0.5; color:var(--cream-dim); }
.checkout-empty h2, .checkout-confirm h2{ font-family:var(--font-display); font-weight:600; font-size:1.6rem; margin:0; }
.checkout-empty p, .checkout-confirm p{ color:var(--cream-dim); margin:0; }

.confirm-icon{
  width:64px; height:64px; border-radius:50%; background:var(--hunter); color:var(--cream);
  display:flex; align-items:center; justify-content:center; margin-bottom:4px;
}
.confirm-icon svg{ width:28px; height:28px; }
.checkout-confirm .confirm-note{ font-size:0.78rem; color:rgba(246,239,225,0.4); margin-top:-4px; }

.whatsapp-cta{ display:flex; flex-direction:column; align-items:center; gap:10px; margin:6px 0 20px; }
.btn-whatsapp{
  display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:999px;
  background:#25D366; color:#04341f; font-weight:600; font-size:0.92rem;
  transition:background .2s var(--ease), transform .2s var(--ease);
}
.btn-whatsapp svg{ width:20px; height:20px; }
.btn-whatsapp:hover{ background:#2fe377; transform:translateY(-1px); }
.whatsapp-note{ max-width:380px; margin:0; font-size:0.76rem; color:rgba(246,239,225,0.5); text-align:center; }

.confirm-actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:10px; }

/* ===================== RESPONSIVE ===================== */
/* Header/nav collapses earlier (1180px) than the content breakpoints below,
   since 6 nav items + icon buttons + the Boutique CTA need more room than a
   typical tablet/small-laptop viewport gives them. */
@media (max-width: 1180px){
  .main-nav{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background:var(--ink-2); border-bottom:1px solid rgba(246,239,225,0.1);
    padding:8px 28px 20px; max-height:calc(100vh - 82px); overflow-y:auto;
  }
  .main-nav.open{ display:flex; }
  .main-nav a{ width:100%; padding:14px 0; border-bottom:1px solid rgba(246,239,225,0.06); }
  .nav-toggle{
    display:flex; width:42px; height:42px; align-items:center; justify-content:center;
    border-radius:50%; border:1px solid rgba(246,239,225,0.18); background:transparent; color:var(--cream);
    flex:0 0 auto;
  }
  .nav-toggle svg{ width:20px; height:20px; }
}
body.nav-open{ overflow:hidden; }

@media (max-width: 1080px){
  .cat-grid{ grid-template-columns:repeat(3, 1fr); }
  .product-grid{ grid-template-columns:repeat(2, 1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 900px){
  .pd-grid{ grid-template-columns:1fr; gap:34px; }
  .pd-media{ aspect-ratio:1/1; }
  .cart-drawer{ width:100%; }
  .checkout-grid{ grid-template-columns:1fr; }
  .co-summary{ position:static; order:-1; }
  .atelier-grid{ grid-template-columns:1fr; gap:34px; }
  .ticket-summary{ grid-template-columns:repeat(2, 1fr); }
  .ticket-table{ font-size:0.8rem; }
  .hero-grid{ grid-template-columns:1fr; text-align:center; }
  .eyebrow{ justify-content:center; }
  .hero-lede{ margin-left:auto; margin-right:auto; }
  .hero-cta{ justify-content:center; }
  .hero-stats{ justify-content:center; }
  .hero-emblem{ margin-top:20px; }
  .story-grid{ grid-template-columns:1fr; }
  .story-visual{ order:-1; max-width:320px; margin:0 auto; }
  .follow-grid{ text-align:center; justify-content:center; }
  .follow-grid > div:first-child{ margin:0 auto; }
}

@media (max-width: 640px){
  .container{ padding:0 20px; }
  .header-row{ height:70px; gap:10px; }
  .header-actions{ gap:10px; }
  .header-actions .btn-primary{ display:none; } /* redundant: already in the nav */
  .brand-word{ font-size:1.1rem; }
  .cat-grid{ grid-template-columns:repeat(2, 1fr); }
  .product-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .section-pad{ padding:74px 0; }
  .marquee-track span{ font-size:0.94rem; }
  .preview-banner{ font-size:0.7rem; padding:9px 14px; width:calc(100% - 32px); justify-content:center; }
  .pd-section{ padding:26px 0 64px; }
  .pd-actions{ flex-direction:column; align-items:stretch; }
  .pd-actions .btn{ justify-content:center; }
  .boutique-toolbar{ flex-direction:column; align-items:flex-start; }
  .boutique-meta{ width:100%; justify-content:space-between; }
  .co-row{ grid-template-columns:1fr; }
  .delivery-options{ grid-template-columns:1fr; }
  .confirm-actions{ flex-direction:column; width:100%; }
  .confirm-actions .btn{ justify-content:center; }
  .ticket-summary{ grid-template-columns:1fr; }
  .ticket-table th:nth-child(3), .ticket-table td:nth-child(3){ display:none; }
}

@media (max-width: 420px){
  .brand img{ width:38px; height:38px; }
  .brand-word{ font-size:0.98rem; }
  .brand-word span{ display:none; }
  .icon-btn{ width:38px; height:38px; }
  .icon-btn svg{ width:16px; height:16px; }
  .header-actions{ gap:8px; }
}