/* ==========================================================================
   کافه شاهان — سیستم طراحی
   کلاسیک ایرانی × ادیتوریال مدرن. تم پیش‌فرض: تیره.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

:root{
  /* --- پالت تیره (پیش‌فرض) --- */
  --bg:            #120E0B;
  --bg-2:          #1A1410;
  --surface:       #211915;
  --surface-2:     #2A211B;
  --line:          rgba(241,232,218,.10);
  --line-strong:   rgba(241,232,218,.20);
  --ink:           #F3E9DA;
  --ink-dim:       #C9BBA9;
  --ink-faint:     #8C7E6E;
  --copper:        #C97A46;
  --copper-soft:   #E0A268;
  --gold:          #B99351;
  --burgundy:      #7A2E36;
  --burgundy-soft: #9C4048;
  --olive:         #6E6C42;
  --success:       #6E8F5C;

  --shadow-soft: 0 10px 40px rgba(0,0,0,.35);
  --shadow-lift: 0 20px 60px rgba(0,0,0,.5);

  --font-display: 'Noto Naskh Arabic', 'Vazirmatn', serif;
  --font-body: 'Vazirmatn', sans-serif;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 22px;

  --ease: cubic-bezier(.22,.68,0,1);
  --dur: .5s;

  color-scheme: dark;
}

html[data-theme="light"]{
  --bg:            #F6EFE3;
  --bg-2:          #EFE5D3;
  --surface:       #FFFCF6;
  --surface-2:     #F3E9D8;
  --line:          rgba(34,25,19,.12);
  --line-strong:   rgba(34,25,19,.22);
  --ink:           #241B14;
  --ink-dim:       #5B4C3D;
  --ink-faint:     #8C7A64;
  --copper:        #B15F2E;
  --copper-soft:   #96491F;
  --gold:          #93732E;
  --burgundy:      #7A2E36;
  --shadow-soft: 0 10px 30px rgba(60,40,20,.12);
  --shadow-lift: 0 20px 50px rgba(60,40,20,.18);
  color-scheme: light;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  direction:rtl;
  text-align:right;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x:hidden;
}

body.no-scroll{ overflow:hidden; }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; }
ul{ margin:0; padding:0; list-style:none; }

::selection{ background:var(--copper); color:#120E0B; }

:focus-visible{
  outline:2px solid var(--copper-soft);
  outline-offset:3px;
  border-radius:4px;
}

/* --- container --- */
.wrap{ max-width:1320px; margin:0 auto; padding:0 clamp(20px,4vw,64px); }

/* --- typography --- */
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; margin:0; letter-spacing:.2px; }
.eyebrow{
  font-family:var(--font-body); font-weight:600; font-size:.78rem; letter-spacing:.14em;
  text-transform:none; color:var(--copper-soft); display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--copper-soft); display:inline-block; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.8rem); margin-top:14px; }
.section-head p{ color:var(--ink-dim); margin-top:14px; font-size:1.02rem; max-width:52ch; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before,.section-head.center .eyebrow::after{ content:""; width:26px; height:1px; background:var(--copper-soft); }

section{ padding:clamp(64px,9vw,120px) 0; position:relative; }

/* --- buttons --- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 30px; border-radius:2px; border:1px solid transparent;
  font-size:.92rem; font-weight:600; letter-spacing:.02em; white-space:nowrap;
  transition:transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  position:relative; overflow:hidden;
}
.btn svg{ width:17px; height:17px; flex:none; }
.btn-primary{ background:var(--copper); color:#160F0A; }
.btn-primary:hover{ background:var(--copper-soft); transform:translateY(-2px); box-shadow:0 12px 30px -8px rgba(201,122,70,.55); }
.btn-ghost{ border-color:var(--line-strong); color:var(--ink); background:transparent; }
.btn-ghost:hover{ border-color:var(--copper); color:var(--copper-soft); transform:translateY(-2px); }
.btn-dark{ background:var(--ink); color:var(--bg); }
.btn-dark:hover{ transform:translateY(-2px); }
.btn-sm{ padding:9px 18px; font-size:.82rem; }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.4; cursor:not-allowed; transform:none !important; }
.btn-icon{
  width:42px; height:42px; padding:0; border-radius:50%; border:1px solid var(--line-strong);
  background:transparent; color:var(--ink); display:inline-flex; align-items:center; justify-content:center;
  transition:.3s var(--ease); position:relative;
}
.btn-icon:hover{ border-color:var(--copper); color:var(--copper-soft); }
.btn-icon svg{ width:19px; height:19px; }
.badge-count{
  position:absolute; top:-4px; left:-4px; background:var(--copper); color:#160F0A;
  font-size:.66rem; font-weight:800; min-width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
  transform:scale(0); transition:transform .3s var(--ease);
}
.badge-count.show{ transform:scale(1); }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-header{
  position:fixed; inset-inline:0; top:0; z-index:60;
  background:transparent; transition:background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(14px);
  border-color:var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:20px clamp(20px,4vw,64px); }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:42px; height:42px; color:var(--copper-soft); flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text b{ font-family:var(--font-display); font-size:1.28rem; font-weight:700; }
.brand-text span{ font-size:.62rem; letter-spacing:.24em; color:var(--ink-faint); }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-size:.92rem; color:var(--ink-dim); position:relative; padding:6px 0; font-weight:500;
  transition:color .3s;
}
.nav-links a::after{
  content:""; position:absolute; bottom:0; right:0; width:0; height:1px; background:var(--copper);
  transition:width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color:var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; }

/* mobile nav */
.mobile-nav{
  position:fixed; inset:0; z-index:90; background:var(--bg);
  transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity .35s var(--ease), transform .35s var(--ease);
  display:flex; flex-direction:column;
}
.mobile-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-nav-top{ display:flex; justify-content:space-between; align-items:center; padding:20px; border-bottom:1px solid var(--line); }
.mobile-nav ul{ padding:20px; display:flex; flex-direction:column; gap:4px; overflow:auto; }
.mobile-nav a{ display:block; padding:16px 6px; font-size:1.3rem; font-family:var(--font-display); border-bottom:1px solid var(--line); }

/* bottom mobile bar */
.bottom-bar{
  display:none; position:fixed; bottom:0; inset-inline:0; z-index:55;
  background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(14px);
  border-top:1px solid var(--line); padding:8px 6px calc(8px + env(safe-area-inset-bottom));
}
.bottom-bar ul{ display:flex; justify-content:space-around; }
.bottom-bar a,.bottom-bar button{
  background:none; border:none; color:var(--ink-faint); display:flex; flex-direction:column;
  align-items:center; gap:4px; font-size:.65rem; padding:6px 10px; position:relative;
}
.bottom-bar a svg,.bottom-bar button svg{ width:22px; height:22px; }
.bottom-bar a.active,.bottom-bar button.active{ color:var(--copper-soft); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  min-height:100vh; display:flex; align-items:center; position:relative; padding-top:96px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, color-mix(in srgb, var(--copper) 18%, transparent), transparent 60%),
    radial-gradient(ellipse 55% 60% at 10% 90%, color-mix(in srgb, var(--burgundy) 22%, transparent), transparent 65%),
    var(--bg);
  overflow:hidden;
}
.hero-grain{ position:absolute; inset:0; opacity:.05; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; width:100%; }
.hero-eyebrow{ margin-bottom:22px; }
.hero h1{
  font-size:clamp(2.6rem,6vw,5.1rem); line-height:1.14; font-weight:600;
}
.hero h1 em{ font-style:normal; color:var(--copper-soft); display:block; }
.hero-sub{ color:var(--ink-dim); font-size:1.12rem; max-width:44ch; margin:26px 0 38px; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:44px; margin-top:64px; }
.hero-stats div b{ font-family:var(--font-display); font-size:1.9rem; color:var(--ink); display:block; }
.hero-stats div span{ font-size:.78rem; color:var(--ink-faint); }

.hero-art{ position:relative; height:560px; }
.hero-art .ring{
  position:absolute; border-radius:50%; border:1px solid var(--line-strong);
}
.hero-art .ring.r1{ width:440px; height:440px; inset:10% 10% auto auto; animation:spin 60s linear infinite; }
.hero-art .ring.r2{ width:330px; height:330px; inset:20% 20% auto auto; border-style:dashed; animation:spin 90s linear infinite reverse; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.hero-cup{
  position:absolute; inset:0; margin:auto; width:230px; height:230px;
  filter:drop-shadow(0 30px 40px rgba(0,0,0,.5));
  animation:float 6s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-16px); } }
.hero-steam path{ stroke-dasharray:60; stroke-dashoffset:60; animation:steam 4s ease-in-out infinite; }
.hero-steam path:nth-child(2){ animation-delay:.6s; }
.hero-steam path:nth-child(3){ animation-delay:1.2s; }
@keyframes steam{ 0%{ stroke-dashoffset:60; opacity:0; } 30%{ opacity:.6; } 100%{ stroke-dashoffset:0; opacity:0; } }
.hero-bean{ position:absolute; color:var(--copper); opacity:.5; }
.hero-bean.b1{ top:8%; left:6%; width:26px; animation:float 5s ease-in-out infinite .3s; }
.hero-bean.b2{ bottom:14%; left:16%; width:18px; animation:float 7s ease-in-out infinite .8s; }
.hero-scroll{
  position:absolute; bottom:36px; right:clamp(20px,4vw,64px); display:flex; flex-direction:column;
  align-items:center; gap:10px; color:var(--ink-faint); font-size:.72rem; letter-spacing:.1em;
}
.hero-scroll .line{ width:1px; height:46px; background:linear-gradient(var(--copper),transparent); animation:scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse{ 0%,100%{ opacity:.3; } 50%{ opacity:1; } }

/* reveal utility */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.12s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.33s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay:.4s; }

/* ==========================================================================
   MARQUEE strip
   ========================================================================== */
.strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:20px 0; overflow:hidden; }
.strip-track{ display:flex; gap:60px; white-space:nowrap; width:max-content; animation:marquee 32s linear infinite; }
.strip-track span{ font-family:var(--font-display); font-size:1.1rem; color:var(--ink-faint); display:flex; align-items:center; gap:60px; }
.strip-track span::after{ content:"—"; color:var(--copper); margin-inline-start:60px; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.cat-row{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.cat-card{
  border:1px solid var(--line); border-radius:var(--radius-m); padding:26px 16px; text-align:center;
  background:var(--surface); transition:.4s var(--ease); position:relative; overflow:hidden;
}
.cat-card:hover{ transform:translateY(-6px); border-color:var(--copper); box-shadow:var(--shadow-soft); }
.cat-card svg{ width:34px; height:34px; color:var(--copper-soft); margin:0 auto 14px; }
.cat-card b{ display:block; font-size:.95rem; font-weight:600; }
.cat-card span{ font-size:.72rem; color:var(--ink-faint); }
.cat-card.active{ border-color:var(--copper); background:color-mix(in srgb, var(--copper) 10%, var(--surface)); }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.shop-toolbar{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; margin-bottom:34px; }
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  border:1px solid var(--line-strong); background:transparent; color:var(--ink-dim); padding:9px 18px;
  border-radius:999px; font-size:.82rem; transition:.3s; white-space:nowrap;
}
.chip:hover{ border-color:var(--copper); color:var(--ink); }
.chip.active{ background:var(--copper); border-color:var(--copper); color:#160F0A; font-weight:600; }
.sort-select{
  background:var(--surface); border:1px solid var(--line-strong); color:var(--ink); padding:10px 14px;
  border-radius:999px; font-size:.82rem;
}
.search-mini{ position:relative; }
.search-mini input{
  background:var(--surface); border:1px solid var(--line-strong); color:var(--ink); padding:10px 40px 10px 14px;
  border-radius:999px; font-size:.85rem; width:220px; transition:.3s;
}
.search-mini input:focus{ width:270px; border-color:var(--copper); }
.search-mini svg{ position:absolute; inset-inline-end:12px; top:50%; translate:0 -50%; width:16px; height:16px; color:var(--ink-faint); }

.product-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.product-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden;
  transition:transform .45s var(--ease), border-color .3s, box-shadow .4s; position:relative; display:flex; flex-direction:column;
}
.product-card:hover{ transform:translateY(-8px); border-color:var(--line-strong); box-shadow:var(--shadow-lift); }
.product-media{ position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--surface-2); }
.product-media .ph{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.product-media .ph svg{ width:64px; height:64px; color:var(--line-strong); }
.product-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .6s var(--ease), transform .7s var(--ease); }
.product-media img.loaded{ opacity:1; }
.product-card:hover .product-media img{ transform:scale(1.06); }
.badges{ position:absolute; top:12px; inset-inline-start:12px; display:flex; flex-direction:column; gap:6px; z-index:2; }
.badge{ font-size:.68rem; font-weight:700; padding:5px 10px; border-radius:4px; letter-spacing:.02em; }
.badge.new{ background:var(--olive); color:#101006; }
.badge.hot{ background:var(--burgundy-soft); color:#fff; }
.badge.sale{ background:var(--copper); color:#160F0A; }
.badge.soldout{ background:var(--ink-faint); color:#160F0A; }
.fav-btn{
  position:absolute; top:12px; inset-inline-end:12px; z-index:2; width:36px; height:36px; border-radius:50%;
  background:color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter:blur(6px); border:1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center; color:var(--ink); transition:.3s;
}
.fav-btn svg{ width:17px; height:17px; transition:transform .35s var(--ease); }
.fav-btn:hover svg{ transform:scale(1.15); }
.fav-btn.active{ color:var(--burgundy-soft); border-color:var(--burgundy-soft); }
.fav-btn.active svg{ fill:currentColor; }
.quick-view{
  position:absolute; bottom:-46px; inset-inline:10px; background:var(--ink); color:var(--bg);
  border:none; padding:11px; border-radius:6px; font-size:.8rem; font-weight:600; transition:bottom .4s var(--ease);
  display:flex; align-items:center; justify-content:center; gap:8px; z-index:2;
}
.product-card:hover .quick-view{ bottom:10px; }
.product-body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-cat{ font-size:.7rem; color:var(--ink-faint); letter-spacing:.06em; }
.product-name{ font-family:var(--font-display); font-size:1.12rem; font-weight:600; }
.product-desc{ font-size:.82rem; color:var(--ink-dim); }
.product-rating{ display:flex; align-items:center; gap:6px; font-size:.78rem; color:var(--ink-faint); }
.product-rating svg{ width:13px; height:13px; color:var(--gold); }
.product-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:10px; }
.price-row{ display:flex; align-items:baseline; gap:8px; }
.price{ font-family:var(--font-display); font-weight:700; font-size:1.14rem; color:var(--copper-soft); }
.price-old{ font-size:.82rem; color:var(--ink-faint); text-decoration:line-through; }
.add-btn{
  width:40px; height:40px; border-radius:50%; background:var(--surface-2); border:1px solid var(--line-strong);
  color:var(--ink); display:flex; align-items:center; justify-content:center; transition:.3s var(--ease);
}
.add-btn svg{ width:18px; height:18px; }
.add-btn:hover{ background:var(--copper); border-color:var(--copper); color:#160F0A; transform:rotate(90deg); }
.add-btn.done{ background:var(--success); border-color:var(--success); color:#101006; }
.product-card.unavailable .product-media img,.product-card.unavailable .product-media .ph{ opacity:.35; filter:grayscale(1); }
.product-card.unavailable .add-btn{ pointer-events:none; opacity:.4; }
.unavail-tag{ font-size:.82rem; font-weight:700; color:var(--ink-faint); }

.grid-empty{
  grid-column:1/-1; text-align:center; padding:70px 20px; color:var(--ink-faint);
  border:1px dashed var(--line-strong); border-radius:var(--radius-m);
}
.grid-empty svg{ width:44px; height:44px; margin:0 auto 16px; color:var(--ink-faint); }

.shop-more{ text-align:center; margin-top:48px; }

/* skeletons */
.skeleton{ background:linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size:200% 100%; animation:shimmer 1.6s infinite; }
@keyframes shimmer{ to{ background-position:-200% 0; } }
.skel-card{ height:390px; border-radius:var(--radius-m); border:1px solid var(--line); }

/* ==========================================================================
   JOURNEY (signature scroll section)
   ========================================================================== */
.journey{ background:var(--bg-2); }
.journey-track{
  display:grid; grid-auto-flow:column; grid-auto-columns:min(78vw,420px); gap:26px; overflow-x:auto;
  padding:10px clamp(20px,4vw,64px) 26px; scroll-snap-type:x mandatory; scrollbar-width:none;
}
.journey-track::-webkit-scrollbar{ display:none; }
.journey-step{
  scroll-snap-align:start; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-l);
  padding:34px 30px; position:relative;
}
.journey-step .num{ font-family:var(--font-display); font-size:3.4rem; color:var(--copper); opacity:.35; line-height:1; }
.journey-step h3{ font-size:1.3rem; margin-top:16px; }
.journey-step p{ color:var(--ink-dim); margin-top:12px; font-size:.92rem; }

/* ==========================================================================
   ATMOSPHERE / STORY
   ========================================================================== */
.story{ display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.story-media{ position:relative; height:520px; border-radius:var(--radius-l); overflow:hidden; border:1px solid var(--line); background:var(--surface); }
.story-media .ph-fill{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.story-media .ph-fill svg{ width:90px; height:90px; color:var(--line-strong); }
.story-card{
  position:absolute; bottom:22px; inset-inline-start:22px; background:var(--bg); border:1px solid var(--line-strong);
  padding:18px 22px; border-radius:var(--radius-m); box-shadow:var(--shadow-lift);
}
.story-card b{ font-family:var(--font-display); font-size:1.6rem; color:var(--copper-soft); display:block; }
.story-card span{ font-size:.74rem; color:var(--ink-faint); }
.story-list{ margin-top:32px; display:flex; flex-direction:column; gap:22px; }
.story-list li{ display:flex; gap:16px; align-items:flex-start; }
.story-list svg{ width:22px; height:22px; color:var(--copper-soft); flex:none; margin-top:2px; }
.story-list b{ display:block; margin-bottom:4px; }
.story-list span{ color:var(--ink-dim); font-size:.9rem; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.review-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-m); padding:28px; }
.review-stars{ display:flex; gap:3px; margin-bottom:16px; }
.review-stars svg{ width:15px; height:15px; color:var(--gold); }
.review-card p{ color:var(--ink-dim); font-size:.95rem; }
.review-who{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.avatar-ring{ width:42px; height:42px; border-radius:50%; background:var(--surface-2); border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); color:var(--copper-soft); font-weight:700; }
.review-who b{ display:block; font-size:.88rem; }
.review-who span{ font-size:.72rem; color:var(--ink-faint); }
.verified{ display:inline-flex; align-items:center; gap:4px; font-size:.68rem; color:var(--success); margin-top:4px; }
.verified svg{ width:12px; height:12px; }
.review-empty{ text-align:center; padding:60px; color:var(--ink-faint); border:1px dashed var(--line-strong); border-radius:var(--radius-m); }

/* ==========================================================================
   RESERVATION + LOYALTY
   ========================================================================== */
.split-cta{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.cta-panel{
  border-radius:var(--radius-l); padding:44px; position:relative; overflow:hidden; border:1px solid var(--line);
  display:flex; flex-direction:column; justify-content:space-between; min-height:320px;
}
.cta-panel.dark{ background:linear-gradient(155deg,#221912,#171008); }
.cta-panel.wine{ background:linear-gradient(155deg,#3A181B,#221012); }
.cta-panel h3{ font-size:1.9rem; max-width:18ch; }
.cta-panel p{ color:var(--ink-dim); margin-top:14px; max-width:40ch; }
.cta-panel .btn{ margin-top:26px; align-self:flex-start; }
.cta-deco{ position:absolute; left:-30px; bottom:-30px; width:180px; height:180px; opacity:.12; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.blog-card{ border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; background:var(--surface); transition:.4s var(--ease); }
.blog-card:hover{ transform:translateY(-6px); border-color:var(--line-strong); }
.blog-media{ aspect-ratio:16/10; background:var(--surface-2); display:flex; align-items:center; justify-content:center; }
.blog-media svg{ width:40px; height:40px; color:var(--line-strong); }
.blog-body{ padding:22px; }
.blog-cat{ font-size:.7rem; color:var(--copper-soft); font-weight:700; }
.blog-body h3{ font-size:1.08rem; margin-top:10px; font-family:var(--font-display); }
.blog-body span{ font-size:.76rem; color:var(--ink-faint); margin-top:12px; display:block; }

/* ==========================================================================
   NEWSLETTER / LOCATION
   ========================================================================== */
.newsletter{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-l); padding:48px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.newsletter h3{ font-size:1.5rem; }
.newsletter p{ color:var(--ink-dim); margin-top:8px; }
.nl-form{ display:flex; gap:10px; }
.nl-form input{ background:var(--bg); border:1px solid var(--line-strong); color:var(--ink); padding:13px 18px; border-radius:2px; width:260px; }

.location-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.info-list{ display:flex; flex-direction:column; gap:20px; }
.info-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.info-item svg{ width:22px; height:22px; color:var(--copper-soft); flex:none; }
.info-item b{ display:block; margin-bottom:4px; }
.info-item span{ color:var(--ink-dim); font-size:.9rem; }
.map-fake{ border:1px solid var(--line); border-radius:var(--radius-l); height:360px; background:
  linear-gradient(var(--line) 1px,transparent 1px) 0 0/40px 40px, linear-gradient(90deg,var(--line) 1px,transparent 1px) 0 0/40px 40px, var(--surface);
  display:flex; align-items:center; justify-content:center; position:relative; }
.map-pin{ display:flex; }
.map-pin svg{ width:46px; height:46px; color:var(--burgundy-soft); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer{ border-top:1px solid var(--line); padding:70px 0 28px; background:var(--bg-2); }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.foot-brand p{ color:var(--ink-dim); font-size:.9rem; margin-top:14px; max-width:32ch; }
.foot-social{ display:flex; gap:10px; margin-top:22px; }
footer h4{ font-family:var(--font-body); font-size:.82rem; font-weight:700; margin-bottom:18px; color:var(--ink-faint); letter-spacing:.05em; }
footer ul li{ margin-bottom:11px; }
footer ul a{ color:var(--ink-dim); font-size:.88rem; transition:.3s; }
footer ul a:hover{ color:var(--copper-soft); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; margin-top:60px; padding-top:24px; border-top:1px solid var(--line); font-size:.78rem; color:var(--ink-faint); flex-wrap:wrap; gap:12px; }
.theme-mini{ display:flex; gap:8px; align-items:center; }

/* ==========================================================================
   DRAWER (cart)
   ========================================================================== */
.overlay{ position:fixed; inset:0; background:rgba(8,6,4,.6); backdrop-filter:blur(2px); z-index:80; opacity:0; pointer-events:none; transition:opacity .4s var(--ease); }
.overlay.show{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; bottom:0; inset-inline-end:0; width:min(430px,92vw); background:var(--bg-2); z-index:95;
  border-inline-start:1px solid var(--line); display:flex; flex-direction:column;
  transform:translateX(105%); transition:transform .5s var(--ease);
}
html[dir="rtl"] .drawer{ transform:translateX(-105%); }
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:22px 24px; border-bottom:1px solid var(--line); }
.drawer-head h3{ font-size:1.2rem; }
.drawer-body{ flex:1; overflow-y:auto; padding:18px 24px; display:flex; flex-direction:column; gap:16px; }
.cart-item{ display:flex; gap:14px; padding-bottom:16px; border-bottom:1px solid var(--line); align-items:center; }
.cart-thumb{ width:66px; height:66px; border-radius:var(--radius-s); background:var(--surface-2); flex:none; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.cart-thumb svg{ width:26px; height:26px; color:var(--line-strong); }
.cart-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cart-info{ flex:1; min-width:0; }
.cart-info b{ font-size:.9rem; display:block; }
.cart-info span{ font-size:.75rem; color:var(--ink-faint); }
.qty-ctrl{ display:flex; align-items:center; gap:10px; margin-top:8px; }
.qty-ctrl button{ width:24px; height:24px; border-radius:50%; border:1px solid var(--line-strong); background:none; color:var(--ink); display:flex; align-items:center; justify-content:center; }
.qty-ctrl button svg{ width:12px; height:12px; }
.qty-ctrl span{ font-size:.85rem; min-width:16px; text-align:center; }
.cart-remove{ background:none; border:none; color:var(--ink-faint); }
.cart-remove svg{ width:16px; height:16px; }
.cart-remove:hover{ color:var(--burgundy-soft); }
.cart-empty{ text-align:center; padding:60px 20px; color:var(--ink-faint); }
.cart-empty svg{ width:50px; height:50px; margin:0 auto 16px; }
.drawer-foot{ padding:20px 24px calc(20px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); display:flex; flex-direction:column; gap:12px; }
.coupon-row{ display:flex; gap:8px; }
.coupon-row input{ flex:1; background:var(--surface); border:1px solid var(--line-strong); color:var(--ink); padding:10px 12px; border-radius:4px; font-size:.85rem; }
.sum-row{ display:flex; justify-content:space-between; font-size:.88rem; color:var(--ink-dim); }
.sum-row.total{ color:var(--ink); font-weight:700; font-size:1.05rem; padding-top:10px; border-top:1px solid var(--line); }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal{
  position:fixed; z-index:100; top:50%; left:50%; transform:translate(-50%,-46%); width:min(560px,92vw);
  background:var(--bg-2); border:1px solid var(--line-strong); border-radius:var(--radius-l); box-shadow:var(--shadow-lift);
  opacity:0; pointer-events:none; transition:opacity .4s var(--ease), transform .4s var(--ease); max-height:88vh; overflow-y:auto;
}
.modal.open{ opacity:1; pointer-events:auto; transform:translate(-50%,-50%); }
.modal.wide{ width:min(920px,94vw); }
.modal-head{ display:flex; justify-content:space-between; align-items:center; padding:22px 26px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--bg-2); z-index:2;}
.modal-head h3{ font-size:1.25rem; }
.modal-body{ padding:26px; }
.modal-close{ background:none; border:none; color:var(--ink-faint); }
.modal-close svg{ width:20px; height:20px; }

.tab-row{ display:flex; gap:6px; background:var(--surface); border-radius:999px; padding:4px; margin-bottom:24px; }
.tab-btn{ flex:1; background:none; border:none; padding:11px; border-radius:999px; color:var(--ink-faint); font-size:.88rem; font-weight:600; transition:.3s; }
.tab-btn.active{ background:var(--copper); color:#160F0A; }
.form-field{ margin-bottom:16px; }
.form-field label{ display:block; font-size:.82rem; color:var(--ink-dim); margin-bottom:8px; }
.form-field input,.form-field select,.form-field textarea{
  width:100%; background:var(--surface); border:1px solid var(--line-strong); color:var(--ink); padding:13px 16px;
  border-radius:6px; font-size:.92rem; transition:.3s;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{ border-color:var(--copper); }
.form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-hint{ font-size:.76rem; color:var(--ink-faint); margin-top:6px; }
.form-err{ font-size:.76rem; color:#D97575; margin-top:6px; display:none; }
.form-field.error input{ border-color:#D97575; }
.form-field.error .form-err{ display:block; }

/* quick view */
.qv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0; }
.qv-media{ aspect-ratio:1/1; background:var(--surface); display:flex; align-items:center; justify-content:center; }
.qv-media svg{ width:80px; height:80px; color:var(--line-strong); }
.qv-info{ padding:28px; }
.qv-opts{ display:flex; gap:8px; flex-wrap:wrap; margin:14px 0; }
.opt-chip{ border:1px solid var(--line-strong); padding:8px 16px; border-radius:8px; font-size:.82rem; background:transparent; color:var(--ink-dim); }
.opt-chip.active{ border-color:var(--copper); color:var(--copper-soft); background:color-mix(in srgb, var(--copper) 12%, transparent); }
.qty-box{ display:flex; align-items:center; gap:16px; border:1px solid var(--line-strong); border-radius:8px; padding:6px 8px; width:fit-content; margin:18px 0; }
.qty-box button{ width:30px; height:30px; border-radius:6px; border:none; background:var(--surface-2); color:var(--ink); display:inline-flex; align-items:center; justify-content:center; }
.qty-box button svg{ width:14px; height:14px; }
.result-icon{ display:flex; }
.result-icon svg{ width:30px; height:30px; }

/* checkout steps */
.steps-row{ display:flex; justify-content:space-between; margin-bottom:30px; position:relative; }
.steps-row::before{ content:""; position:absolute; top:15px; inset-inline:6%; height:1px; background:var(--line); z-index:0; }
.step-dot{ display:flex; flex-direction:column; align-items:center; gap:8px; position:relative; z-index:1; }
.step-dot .n{ width:30px; height:30px; border-radius:50%; background:var(--surface); border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; font-size:.82rem; color:var(--ink-faint); transition:.4s; }
.step-dot.active .n{ background:var(--copper); border-color:var(--copper); color:#160F0A; }
.step-dot.done .n{ background:var(--success); border-color:var(--success); color:#101006; }
.step-dot span{ font-size:.68rem; color:var(--ink-faint); }
.step-pane{ display:none; }
.step-pane.active{ display:block; animation:fadeUp .5s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }
.slot-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:8px; }
.slot-btn{ padding:10px; border-radius:6px; border:1px solid var(--line-strong); background:var(--surface); font-size:.82rem; color:var(--ink-dim); }
.slot-btn.active{ border-color:var(--copper); color:var(--copper-soft); background:color-mix(in srgb, var(--copper) 12%, transparent); }
.slot-btn:disabled{ opacity:.3; text-decoration:line-through; }
.delivery-choice{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
.dc-card{ border:1px solid var(--line-strong); border-radius:10px; padding:18px; text-align:center; }
.dc-card.active{ border-color:var(--copper); background:color-mix(in srgb, var(--copper) 10%, transparent); }
.dc-card svg{ width:26px; height:26px; margin:0 auto 10px; color:var(--copper-soft); }
.order-status-track{ display:flex; flex-direction:column; gap:0; margin-top:10px; }
.os-item{ display:flex; gap:14px; padding:10px 0; position:relative; }
.os-item .dot{ width:26px; height:26px; border-radius:50%; background:var(--surface-2); border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; flex:none; z-index:1; }
.os-item.done .dot{ background:var(--success); border-color:var(--success); }
.os-item .dot svg{ width:13px; height:13px; color:transparent; }
.os-item.done .dot svg{ color:#0d1a08; }
.os-item::before{ content:""; position:absolute; top:36px; right:12.5px; width:1px; height:calc(100% - 10px); background:var(--line-strong); }
.os-item:last-child::before{ display:none; }
.os-item b{ font-size:.9rem; }
.os-item span{ display:block; font-size:.76rem; color:var(--ink-faint); }

/* toast */
.toast-stack{ position:fixed; bottom:26px; left:50%; transform:translateX(-50%); z-index:120; display:flex; flex-direction:column; gap:10px; width:min(360px,90vw); }
.toast{
  background:var(--ink); color:var(--bg); padding:14px 18px; border-radius:8px; font-size:.86rem; display:flex; align-items:center; gap:10px;
  box-shadow:var(--shadow-lift); opacity:0; transform:translateY(14px); transition:.4s var(--ease);
}
.toast.show{ opacity:1; transform:translateY(0); }
.toast svg{ width:18px; height:18px; flex:none; color:var(--success); }
.toast.err svg{ color:#D97575; }

/* misc */
.loading-bar{ position:fixed; top:0; inset-inline:0; height:2px; background:var(--copper); z-index:200; transform:scaleX(0); transform-origin:right; transition:transform .4s var(--ease); }
.loading-bar.active{ transform:scaleX(1); }

.stars-input{ display:flex; gap:4px; }
.stars-input button{ background:none; border:none; color:var(--line-strong); }
.stars-input button svg{ width:26px; height:26px; }
.stars-input button.active{ color:var(--gold); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1100px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ height:340px; order:-1; }
  .product-grid{ grid-template-columns:repeat(3,1fr); }
  .cat-row{ grid-template-columns:repeat(3,1fr); }
  .review-grid,.blog-grid{ grid-template-columns:repeat(2,1fr); }
  .story{ grid-template-columns:1fr; }
  .story-media{ height:380px; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .location-grid{ grid-template-columns:1fr; }
  .split-cta{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .cat-row{ grid-template-columns:repeat(3,1fr); gap:10px; }
  .cat-card{ padding:16px 8px; }
  .cat-card svg{ width:26px; height:26px; }
  .review-grid,.blog-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; gap:32px; }
  section{ padding:52px 0; }
  .bottom-bar{ display:block; }
  body{ padding-bottom:64px; }
  .newsletter{ flex-direction:column; align-items:flex-start; }
  .nl-form{ width:100%; }
  .nl-form input{ flex:1; width:auto; }
  .qv-grid{ grid-template-columns:1fr; }
  .qv-media{ aspect-ratio:16/10; }
  .delivery-choice{ grid-template-columns:1fr; }
  .form-row-2{ grid-template-columns:1fr; }
  .slot-grid{ grid-template-columns:repeat(3,1fr); }
  .steps-row span{ display:none; }
  .hero-stats{ gap:26px; flex-wrap:wrap; }
}
@media (max-width:420px){
  .product-grid{ grid-template-columns:1fr 1fr; }
}
