/* ============================================================
   YOUTAB COLLECTION — design system
   Palette: Petal rose + deep plum + gold on warm porcelain
   Type: Vazirmatn (display + body) · RTL/Persian
   Archetype: overlap-cards hero + asymmetric offset grids
   ============================================================ */

:root {
  /* color */
  --ink: #1b1420;
  --ink-soft: #3a2f3d;
  --plum: #3e1329;
  --plum-2: #571b3c;
  --petal: #e6447a;
  --petal-deep: #c32c64;
  --petal-soft: #fce4ed;
  --gold: #bb8a3b;
  --gold-soft: #f4e9d4;
  --cream: #fbf5f0;
  --sand: #f4e9e0;
  --surface: #ffffff;
  --line: #ecdccf;
  --line-2: #e3d2c6;
  --muted: #6f6069;
  --muted-2: #9a8b92;

  --grad-petal: linear-gradient(135deg, #ef5b8c 0%, #c32c64 100%);
  --grad-plum: linear-gradient(155deg, #3e1329 0%, #611e43 100%);

  /* type scale */
  --ff-body: "Vazirmatn", "Tahoma", system-ui, sans-serif;
  --ff-display: "Vazirmatn", "Tahoma", system-ui, sans-serif;
  --fs-hero: clamp(2.3rem, 6.2vw, 4.3rem);
  --fs-h1: clamp(2rem, 4.6vw, 3.2rem);
  --fs-h2: clamp(1.6rem, 3.6vw, 2.6rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;
  --lh: 1.85;

  /* spacing scale (8px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 7vw, 6rem);

  /* radius + shadow */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;
  --sh-1: 0 2px 10px rgba(62, 19, 41, 0.06);
  --sh-2: 0 14px 40px -18px rgba(62, 19, 41, 0.28);
  --sh-3: 0 30px 70px -30px rgba(62, 19, 41, 0.42);
  --sh-petal: 0 16px 34px -14px rgba(195, 44, 100, 0.5);

  --wrap: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.18; }
em { font-style: normal; color: var(--petal); }
::selection { background: var(--petal); color: #fff; }

.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: absolute; inset-inline-start: -999px; top: 0; z-index: 200;
  background: var(--plum); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { inset-inline-start: 0; }

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

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  color: var(--petal-deep); background: var(--petal-soft);
  padding: 0.4rem 0.9rem; border-radius: var(--pill);
}
.eyebrow svg { color: var(--petal); }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, 0.14); }
.eyebrow--light svg { color: var(--gold-soft); }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-5); margin-bottom: var(--sp-7); flex-wrap: wrap;
}
.sec-head-main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
.sec-title { font-size: var(--fs-h2); }
.sec-title--light { color: #fff; }
.sec-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; color: var(--petal-deep); white-space: nowrap;
  padding-bottom: 2px; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.sec-link:hover { border-color: var(--petal); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-weight: 700; padding: 0.85rem 1.6rem; border-radius: var(--pill);
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: var(--fs-sm); }
.btn-primary { background: var(--grad-petal); color: #fff; box-shadow: var(--sh-petal); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(195, 44, 100, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--petal); color: var(--petal-deep); transform: translateY(-2px); }
.page-hero--offers .btn-ghost, .hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.page-hero--offers .btn-ghost:hover, .hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- top bar ---------- */
.topbar { background: var(--grad-plum); color: #fff; font-size: var(--fs-sm); }
.topbar-in { display: flex; align-items: center; gap: var(--sp-3); padding-block: 0.55rem; }
.topbar-spark { display: inline-flex; color: var(--gold-soft); flex-shrink: 0; }
.topbar-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-link { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--gold-soft); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.topbar-link:hover { color: #fff; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: var(--sp-5); padding-block: var(--sp-4); }
.logo { display: inline-flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.logo-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--grad-petal); color: #fff; border-radius: 12px;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--sh-petal);
}
.logo-text { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.logo-dot { color: var(--petal); }
.nav-main { display: flex; align-items: center; gap: var(--sp-2); margin-inline-end: auto; }
.nav-link {
  position: relative; padding: 0.5rem 0.9rem; border-radius: var(--pill);
  font-weight: 600; color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--petal-deep); background: var(--petal-soft); }
.nav-link.is-active { color: var(--petal-deep); }
.nav-link.is-active::after {
  content: ""; position: absolute; inset-inline: 0.9rem; bottom: 0.1rem; height: 2px;
  background: var(--petal); border-radius: 2px;
}
.head-actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--pill); color: var(--ink); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--sand); color: var(--petal-deep); }
.cart-badge {
  position: absolute; top: 4px; inset-inline-end: 4px; min-width: 18px; height: 18px;
  display: grid; place-items: center; padding: 0 4px; background: var(--petal); color: #fff;
  font-size: 0.7rem; font-weight: 700; border-radius: var(--pill); line-height: 1;
}
.cart-badge.is-empty { display: none; }
.burger { display: none; }

/* ---------- mobile drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(27, 20, 32, 0.5); z-index: 110; opacity: 0; transition: opacity .25s; }
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: min(86vw, 340px); z-index: 120;
  background: var(--cream); padding: var(--sp-5); transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column; gap: var(--sp-4);
  box-shadow: var(--sh-3);
}
.drawer.is-open { transform: translateX(0); }
[hidden] { display: none !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; gap: var(--sp-1); }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4); border-radius: var(--r); font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
}
.drawer-link svg { color: var(--muted-2); }
.drawer-link.is-active { color: var(--petal-deep); border-color: var(--petal); }
.drawer-call {
  margin-top: auto; display: flex; align-items: center; gap: var(--sp-2); justify-content: center;
  background: var(--grad-petal); color: #fff; padding: var(--sp-4); border-radius: var(--r); font-weight: 700;
}

/* ---------- flash ---------- */
.flash {
  position: fixed; inset-block-start: 84px; inset-inline-end: var(--sp-5); z-index: 150;
  display: flex; align-items: center; gap: var(--sp-2);
  background: var(--plum); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--pill); box-shadow: var(--sh-3); font-weight: 600; font-size: var(--fs-sm);
  animation: flashIn .4s ease both;
}
.flash svg { color: #8ee6a6; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-12px); } }

/* ============================================================
   HERO — overlap cards
   ============================================================ */
.hero { position: relative; padding-top: var(--sp-7); padding-bottom: 0; background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-bottom: var(--sp-7);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
.hero-copy .eyebrow { background: var(--plum); }
.hero-title { font-size: var(--fs-hero); color: var(--ink); letter-spacing: -0.01em; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero .btn-ghost { color: var(--ink); border-color: var(--line-2); }
.hero .btn-ghost:hover { background: var(--surface); color: var(--petal-deep); border-color: var(--petal); }
.hero-stats { display: flex; gap: var(--sp-6); margin-top: var(--sp-3); flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; }
.hstat-n { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; color: var(--petal-deep); }
.hstat-l { font-size: var(--fs-sm); color: var(--muted); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: var(--sh-3);
}
.hero-tag {
  position: absolute; display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: var(--fs-sm);
  padding: 0.6rem 1.1rem; border-radius: var(--pill); box-shadow: var(--sh-2);
}
.hero-tag svg { color: var(--gold); }
.hero-tag--a { top: var(--sp-5); inset-inline-start: calc(-1 * var(--sp-4)); }

/* overlapping offset cards */
.overlap-row {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5); margin-top: calc(-1 * var(--sp-8)); padding-bottom: var(--sp-8);
}
.ocard {
  background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-5);
  box-shadow: var(--sh-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3);
}
.ocard--shift { transform: translateY(var(--sp-6)); }
.ocard--offer { background: var(--grad-plum); color: #fff; border: none; box-shadow: var(--sh-3); transform: translateY(calc(-1 * var(--sp-4))); }
.ocard-kicker { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; color: var(--gold-soft); }
.ocard--feature .ocard-kicker { color: var(--petal-deep); }
.ocard-title { font-family: var(--ff-display); font-size: 1.3rem; }
.ocard-disc { font-weight: 700; color: var(--gold-soft); font-size: 1.05rem; }
.ocard-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--petal-soft); color: var(--petal-deep); }
.ocard--feature strong { font-family: var(--ff-display); font-size: 1.1rem; }
.ocard--feature p { font-size: var(--fs-sm); color: var(--muted); }

/* countdown */
.ocard-count { display: flex; gap: var(--sp-2); margin-top: var(--sp-1); }
.cu { display: flex; flex-direction: column; align-items: center; background: rgba(255, 255, 255, 0.12); border-radius: var(--r-sm); padding: 0.4rem 0.3rem; min-width: 48px; }
.cu b { font-family: var(--ff-display); font-size: 1.25rem; line-height: 1; }
.cu i { font-style: normal; font-size: 0.68rem; opacity: 0.8; margin-top: 2px; }
.bigoffer .cu { background: var(--sand); color: var(--ink); }
.bigoffer--lead .cu { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
.cat-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--sh-1); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.cat-card--tall { transform: translateY(var(--sp-6)); }
.cat-card--tall:hover { transform: translateY(calc(var(--sp-6) - 6px)); }
.cat-img { aspect-ratio: 3 / 4; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.cat-name { font-size: var(--fs-h3); }
.cat-go { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-sm); font-weight: 600; color: var(--petal-deep); }

/* ============================================================
   PRODUCT GRID + CARD
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.prod-grid--offset > .pcard:nth-child(even) { transform: translateY(var(--sp-6)); }
.pcard {
  display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-1); transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.pcard-media { position: relative; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.pcard-imglink { display: block; height: 100%; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badge { position: absolute; top: var(--sp-3); inset-inline-start: var(--sp-3); background: var(--plum); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 0.35rem 0.75rem; border-radius: var(--pill); }
.pcard-off { position: absolute; top: var(--sp-3); inset-inline-end: var(--sp-3); display: inline-flex; align-items: center; gap: 4px; background: var(--grad-petal); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 0.35rem 0.6rem; border-radius: var(--pill); }
.pcard-acts { position: absolute; inset-block-start: 50%; inset-inline-end: var(--sp-3); transform: translateY(-50%); display: flex; flex-direction: column; gap: var(--sp-2); opacity: 0; transition: opacity .25s; }
.pcard:hover .pcard-acts { opacity: 1; }
.act-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pill); background: var(--surface); color: var(--ink); box-shadow: var(--sh-2); transition: background .2s, color .2s; }
.act-btn:hover { background: var(--petal); color: #fff; }
.pcard-info { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); flex: 1; }
.p-brand { font-size: var(--fs-xs); font-weight: 700; color: var(--gold); letter-spacing: .03em; }
.p-name { font-size: 1.05rem; line-height: 1.5; font-family: var(--ff-body); font-weight: 600; }
.p-name a:hover { color: var(--petal-deep); }
.p-rating { display: flex; align-items: center; gap: var(--sp-2); }
.stars { display: inline-flex; gap: 1px; }
.star { fill: var(--line-2); }
.star.on { fill: var(--gold); }
.rcount { font-size: var(--fs-xs); color: var(--muted-2); }
.pcard-foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); border-top: 1px dashed var(--line); }
.p-prices { display: flex; flex-direction: column; gap: 1px; }
.p-old { color: var(--muted-2); text-decoration: line-through; font-size: var(--fs-xs); }
.p-price { font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.p-unit { font-family: var(--ff-body); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.add-form { flex-shrink: 0; }
.btn-add {
  display: inline-flex; align-items: center; gap: var(--sp-2); background: var(--ink); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--pill); font-weight: 700; font-size: var(--fs-sm);
  transition: background .2s, transform .15s;
}
.btn-add:hover { background: var(--petal-deep); transform: translateY(-2px); }
.btn-add svg { width: 17px; height: 17px; }

/* ============================================================
   EDITORIAL
   ============================================================ */
.editorial-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.editorial-media { position: relative; }
.editorial-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.editorial-float {
  position: absolute; inset-block-end: var(--sp-6); inset-inline-start: calc(-1 * var(--sp-5));
  background: var(--grad-petal); color: #fff; border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--sh-petal); display: flex; flex-direction: column; gap: 2px;
}
.ef-n { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.ef-l { font-size: var(--fs-sm); }
.editorial-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.editorial-lead { color: var(--muted); }
.editorial-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.editorial-list li { display: flex; align-items: center; gap: var(--sp-3); font-weight: 500; }
.editorial-list svg { color: var(--petal); background: var(--petal-soft); border-radius: var(--pill); padding: 4px; width: 26px; height: 26px; flex-shrink: 0; }

/* ============================================================
   PERKS
   ============================================================ */
.perks-section { padding-block: var(--sp-7); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.perk { display: flex; align-items: center; gap: var(--sp-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.perk-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--plum); color: var(--gold-soft); flex-shrink: 0; }
.perk strong { display: block; font-family: var(--ff-display); font-size: 1.1rem; }
.perk p { font-size: var(--fs-sm); color: var(--muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-section { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.tcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); box-shadow: var(--sh-1); }
.tcard:nth-child(2) { transform: translateY(var(--sp-5)); }
.t-quote-ic { position: absolute; top: var(--sp-5); inset-inline-end: var(--sp-5); color: var(--petal-soft); }
.t-q { font-size: 1.05rem; line-height: 1.9; color: var(--ink-soft); }
.t-author { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.t-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--pill); background: var(--grad-petal); color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; }
.t-meta { display: flex; flex-direction: column; }
.t-meta b { font-weight: 700; }
.t-meta i { font-style: normal; font-size: var(--fs-sm); color: var(--muted); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--grad-plum); color: #fff; }
.nl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: var(--sp-8); }
.nl-copy { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.nl-ttl { font-size: var(--fs-h2); color: #fff; }
.nl-desc { color: rgba(255, 255, 255, 0.82); }
.nl-form { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.nl-field { position: relative; flex: 1; min-width: 220px; display: flex; align-items: center; background: #fff; border-radius: var(--pill); padding-inline: var(--sp-4); border: 1.5px solid transparent; }
.nl-field svg { color: var(--muted-2); flex-shrink: 0; }
.nl-field input { flex: 1; min-width: 0; border: none; outline: none; padding: 0.95rem var(--sp-3); background: transparent; color: var(--ink); }
.nl-field:focus-within { border-color: var(--petal); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { background: var(--ink); color: #cfc3c9; padding-top: var(--sp-8); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.logo--foot .logo-text { color: #fff; }
.foot-about { font-size: var(--fs-sm); line-height: 1.9; margin-top: var(--sp-4); max-width: 34ch; }
.socials { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); color: #fff; transition: background .2s, transform .2s; }
.soc:hover { background: var(--petal); transform: translateY(-3px); }
.foot-h { font-family: var(--ff-display); font-size: 1.05rem; color: #fff; margin-bottom: var(--sp-4); }
.foot-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.foot-links a, .foot-links li { font-size: var(--fs-sm); transition: color .2s; }
.foot-links a:hover { color: var(--petal); }
.foot-links--icon li { display: flex; align-items: flex-start; gap: var(--sp-2); }
.foot-links--icon svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.foot-links--icon a { display: flex; align-items: flex-start; gap: var(--sp-2); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding-block: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.foot-copy, .foot-trust { font-size: var(--fs-xs); color: var(--muted-2); }
.foot-trust { display: inline-flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.foot-trust svg { color: var(--gold); }

/* back to top */
.to-top { position: fixed; inset-block-end: calc(var(--sp-5) + 5vh); inset-inline-start: var(--sp-5); z-index: 80; width: 48px; height: 48px; border-radius: var(--pill); background: var(--grad-petal); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-petal); transition: transform .2s, opacity .3s; }
.to-top:hover { transform: translateY(-3px); }
.to-top .up { transform: rotate(90deg); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding-block: var(--sp-8) var(--sp-7); background: linear-gradient(180deg, var(--cream), var(--sand)); }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--sp-6); align-items: center; }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.about-hero-media { position: relative; }
.crumbs { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.crumbs a:hover { color: var(--petal-deep); }
.crumbs svg { color: var(--muted-2); }
.crumbs--light, .crumbs--light a { color: rgba(255, 255, 255, 0.8); }
.page-title { font-size: var(--fs-h1); margin-block: var(--sp-3); }
.page-title--light { color: #fff; }
.page-lead { color: var(--muted); max-width: 60ch; font-size: 1.08rem; }
.page-lead a { color: var(--petal-deep); font-weight: 600; border-bottom: 1px solid currentColor; }
.page-lead--light { color: rgba(255, 255, 255, 0.85); }
.page-hero--offers, .page-hero--contact, .page-hero--faq { color: #fff; }
.page-hero--offers { background: var(--grad-plum); }
.chip { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.4rem 0.9rem; border-radius: var(--pill); font-size: var(--fs-sm); font-weight: 600; background: var(--petal-soft); color: var(--petal-deep); }
.chip--count { margin-top: var(--sp-4); }

/* ============================================================
   SHOP
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-6); align-items: start; }
.shop-side { display: flex; flex-direction: column; gap: var(--sp-5); position: sticky; top: 90px; }
.side-search .nl-field { background: var(--surface); border: 1px solid var(--line); }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.side-h { font-family: var(--ff-display); font-size: 1.05rem; margin-bottom: var(--sp-4); }
.side-cats { display: flex; flex-direction: column; gap: var(--sp-1); }
.side-cat { display: block; padding: 0.6rem var(--sp-3); border-radius: var(--r-sm); font-weight: 500; color: var(--ink-soft); transition: background .2s, color .2s; }
.side-cat:hover { background: var(--sand); }
.side-cat.is-active { background: var(--petal-soft); color: var(--petal-deep); font-weight: 700; }
.side-promo { background: var(--grad-plum); color: #fff; border-radius: var(--r-lg); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.side-promo strong { font-family: var(--ff-display); font-size: 1.25rem; }
.side-promo p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.shop-count { font-weight: 600; color: var(--muted); }
.sort-form { display: flex; align-items: center; gap: var(--sp-3); }
.sort-label { font-size: var(--fs-sm); color: var(--muted); }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select { appearance: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 0.6rem 2.4rem 0.6rem var(--sp-4); font-weight: 600; cursor: pointer; }
.select-wrap svg { position: absolute; inset-inline-start: var(--sp-3); pointer-events: none; color: var(--muted); }
.empty-state { text-align: center; padding: var(--sp-8) var(--sp-4); display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.empty-ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: var(--pill); background: var(--petal-soft); color: var(--petal-deep); margin-bottom: var(--sp-2); }
.empty-state h2 { font-size: var(--fs-h3); }
.empty-state p { color: var(--muted); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: var(--sp-5); }
.pg-main { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); background: var(--sand); }
.pg-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pg-off { position: absolute; top: var(--sp-4); inset-inline-end: var(--sp-4); }
.pg-perks { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); flex-wrap: wrap; }
.pg-perks li { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--muted); }
.pg-perks svg { color: var(--petal); }
.product-info { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.pi-brand { font-weight: 700; color: var(--gold); letter-spacing: .03em; }
.pi-name { font-size: var(--fs-h1); }
.pi-rating { display: flex; align-items: center; gap: var(--sp-2); }
.pi-price-row { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; padding-block: var(--sp-3); }
.pi-price { font-family: var(--ff-display); font-size: 2rem; font-weight: 700; color: var(--petal-deep); }
.pi-old { font-size: 1.1rem; }
.pi-save { background: var(--gold-soft); color: var(--gold); font-weight: 700; font-size: var(--fs-sm); padding: 0.3rem 0.8rem; border-radius: var(--pill); }
.pi-desc { color: var(--muted); }
.pi-stock { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; font-size: var(--fs-sm); padding: 0.5rem 1rem; border-radius: var(--pill); }
.pi-stock.in { background: #e9f7ee; color: #1f8a4c; }
.pi-stock.out { background: #fdeaea; color: #c0392b; }
.pi-buy { display: flex; gap: var(--sp-3); align-items: stretch; flex-wrap: wrap; width: 100%; }
.qty { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--pill); overflow: hidden; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 48px; color: var(--ink); transition: background .2s; }
.qty-btn:hover { background: var(--sand); color: var(--petal-deep); }
.qty-in { width: 44px; text-align: center; border: none; background: transparent; font-weight: 700; }
.pi-add { flex: 1; min-width: 220px; }
.pi-meta { display: flex; gap: var(--sp-5); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); padding-top: var(--sp-3); border-top: 1px solid var(--line); width: 100%; }
.pi-meta span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.pi-meta svg { color: var(--muted-2); }
.pi-meta a { color: var(--petal-deep); font-weight: 600; }
.product-detail-cols { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--sp-6); margin-top: var(--sp-8); }
.pd-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); }
.pd-h { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-h3); margin-bottom: var(--sp-4); }
.pd-h svg { color: var(--petal); }
.pd-block p { color: var(--muted); margin-bottom: var(--sp-3); }
.spec-list { display: flex; flex-direction: column; }
.spec-list li { display: flex; justify-content: space-between; padding-block: var(--sp-3); border-bottom: 1px dashed var(--line); }
.spec-list li:last-child { border-bottom: none; }
.spec-list span { color: var(--muted); }
.related { margin-top: var(--sp-8); }

/* ============================================================
   OFFERS
   ============================================================ */
.offers-big { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.bigoffer { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s, box-shadow .25s; }
.bigoffer:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.bigoffer--lead { grid-column: 1 / -1; flex-direction: row; background: var(--grad-plum); color: #fff; border: none; }
.bigoffer-media { position: relative; }
.bigoffer--lead .bigoffer-media { flex: 1; }
.bigoffer-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bigoffer--lead .bigoffer-media img { height: 100%; aspect-ratio: auto; }
.bigoffer-disc { position: absolute; top: var(--sp-4); inset-inline-start: var(--sp-4); background: var(--grad-petal); color: #fff; font-family: var(--ff-display); font-weight: 700; padding: 0.5rem 1rem; border-radius: var(--pill); box-shadow: var(--sh-petal); }
.bigoffer-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.bigoffer--lead .bigoffer-body { flex: 1; justify-content: center; gap: var(--sp-4); }
.bigoffer-title { font-family: var(--ff-display); font-size: 1.5rem; }
.bigoffer-sub { color: var(--muted); }
.bigoffer--lead .bigoffer-sub { color: rgba(255, 255, 255, 0.82); }
.club-section { background: var(--sand); }
.club-band { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--sp-6); align-items: center; background: var(--grad-plum); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); }
.club-copy { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.club-desc { color: rgba(255, 255, 255, 0.82); }

/* ============================================================
   CART
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--sp-6); align-items: start; margin-top: var(--sp-5); }
.cart-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cart-thead, .cart-row { display: grid; grid-template-columns: 2.2fr 1fr 1.2fr 1fr 0.4fr; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); }
.cart-thead { background: var(--sand); font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.cart-row { border-top: 1px solid var(--line); }
.ct-prod { display: flex; align-items: center; gap: var(--sp-4); }
.ct-thumb { flex-shrink: 0; width: 72px; border-radius: var(--r-sm); overflow: hidden; }
.ct-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ct-info { display: flex; flex-direction: column; gap: 2px; }
.ct-brand { font-size: var(--fs-xs); color: var(--gold); font-weight: 700; }
.ct-name { font-weight: 600; }
.ct-name:hover { color: var(--petal-deep); }
.ct-price, .ct-line { font-weight: 600; }
.ct-line { color: var(--petal-deep); font-family: var(--ff-display); }
.qty--cart { border-radius: var(--pill); }
.qty--cart .qty-btn { width: 38px; height: 40px; }
.qty--cart .qty-in { width: 36px; }
.rm-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pill); color: var(--muted-2); transition: background .2s, color .2s; }
.rm-btn:hover { background: #fdeaea; color: #c0392b; }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-4); flex-wrap: wrap; }
.link-btn { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.link-btn:hover { color: #c0392b; }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); position: sticky; top: 90px; }
.cs-h { font-family: var(--ff-display); font-size: 1.2rem; }
.cs-ship-note { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--muted); }
.cs-ship-note svg { color: var(--petal); }
.cs-ship-note--ok { color: #1f8a4c; }
.cs-ship-note--ok svg { color: #1f8a4c; }
.cs-bar { height: 8px; background: var(--sand); border-radius: var(--pill); overflow: hidden; }
.cs-bar span { display: block; height: 100%; background: var(--grad-petal); border-radius: var(--pill); }
.cs-rows { display: flex; flex-direction: column; gap: var(--sp-3); }
.cs-rows li { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--muted); }
.cs-rows b { color: var(--ink); }
.cs-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.cs-total b { font-family: var(--ff-display); font-size: 1.4rem; color: var(--petal-deep); }
.cs-checkout { width: 100%; }
.cs-safe { display: flex; align-items: center; gap: var(--sp-2); justify-content: center; font-size: var(--fs-xs); color: var(--muted); }
.cs-safe svg { color: var(--gold); }
.empty-state--cart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); margin-top: var(--sp-5); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-stats-section { padding-block: var(--sp-7); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.astat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); text-align: center; }
.astat b { display: block; font-family: var(--ff-display); font-size: 1.9rem; color: var(--petal-deep); }
.astat span { font-size: var(--fs-sm); color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.value-card:nth-child(even) { transform: translateY(var(--sp-5)); }
.value-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--petal-soft); color: var(--petal-deep); }
.value-card h3 { font-size: var(--fs-h3); }
.value-card p { font-size: var(--fs-sm); color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.team-img { aspect-ratio: 1; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card figcaption { padding: var(--sp-5); }
.team-name { font-size: var(--fs-h3); }
.team-role { font-size: var(--fs-sm); color: var(--petal-deep); font-weight: 600; margin-top: 4px; }
.cta-strip { }
.cta-strip-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); background: var(--grad-plum); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-6); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }
.ci-card { display: flex; align-items: center; gap: var(--sp-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); transition: border-color .2s, transform .2s; }
.ci-card:hover { border-color: var(--petal); transform: translateX(-4px); }
.ci-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--petal-soft); color: var(--petal-deep); flex-shrink: 0; }
.ci-card b { font-family: var(--ff-display); }
.ci-card p { font-size: var(--fs-sm); color: var(--muted); }
.ci-socials { display: flex; gap: var(--sp-2); }
.ci-socials .soc { background: var(--sand); color: var(--ink); }
.ci-socials .soc:hover { background: var(--petal); color: #fff; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: var(--sp-4); box-shadow: var(--sh-1); }
.cf-h { font-size: var(--fs-h3); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field > span { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field textarea { background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r); padding: 0.85rem var(--sp-4); outline: none; transition: border-color .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--petal); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: 1.5fr 0.6fr; gap: var(--sp-6); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--petal); box-shadow: var(--sh-1); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--pill); background: var(--petal-soft); color: var(--petal-deep); flex-shrink: 0; transition: transform .25s, background .25s, color .25s; }
.faq-item[open] .faq-ic { transform: rotate(45deg); background: var(--petal); color: #fff; }
.faq-a { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted); }
.faq-aside { background: var(--grad-plum); color: #fff; border-radius: var(--r-xl); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; position: sticky; top: 90px; }
.faq-aside .ci-ic { background: rgba(255, 255, 255, 0.12); color: var(--gold-soft); }
.faq-aside h2 { font-size: var(--fs-h3); color: #fff; }
.faq-aside p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); }
.faq-aside .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }

/* ============================================================
   404
   ============================================================ */
.notfound { text-align: center; }
.nf-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.nf-code { font-family: var(--ff-display); font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: 1; background: var(--grad-petal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-cta { justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .shop-side > * { flex: 1; min-width: 200px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 860px) {
  .nav-main { display: none; }
  .burger { display: grid; }
  .only-wide { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 12; }
  .hero-tag--a { inset-inline-start: var(--sp-4); }
  .overlap-row { grid-template-columns: 1fr; margin-top: calc(-1 * var(--sp-6)); gap: var(--sp-4); }
  .ocard--shift, .ocard--offer { transform: none; }
  .editorial-grid, .nl-wrap, .product-grid, .product-detail-cols, .page-hero-grid,
  .contact-grid, .faq-wrap, .club-band, .offers-big, .bigoffer--lead { grid-template-columns: 1fr; }
  .bigoffer--lead { flex-direction: column; }
  .prod-grid--offset > .pcard:nth-child(even), .tcard:nth-child(2),
  .value-card:nth-child(even), .cat-card--tall { transform: none; }
  .editorial-float { inset-inline-start: var(--sp-4); }
  .perks-grid, .values-grid, .about-stats { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --section-y: 3rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .sec-head { margin-bottom: var(--sp-6); }
  /* product card foot stacks: price over full-width button */
  .pcard-foot { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .p-prices { flex-direction: row; align-items: baseline; gap: var(--sp-2); }
  .add-form { width: 100%; }
  .btn-add { width: 100%; justify-content: center; }
  .pcard-acts { opacity: 1; flex-direction: row; inset-block-start: var(--sp-3); inset-block-end: auto; transform: none; }
  /* cart → cards */
  .cart-thead { display: none; }
  .cart-row { grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-4); padding: var(--sp-4); }
  .ct-prod { grid-column: 1 / -1; }
  .ct-cell { display: flex; flex-direction: column; gap: 2px; }
  .ct-cell[data-label]::before { content: attr(data-label); font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
  .ct-rm { grid-column: 2; align-items: flex-end; }
  .ct-rm::before { content: none; }
  .pi-price { font-size: 1.7rem; }
  .cf-row { grid-template-columns: 1fr; }
  .flash { inset-inline: var(--sp-4); inset-block-start: 76px; justify-content: center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}

@media (max-width: 540px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .perks-grid, .values-grid, .about-stats, .team-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--sp-5); }
  .pi-buy { flex-direction: column; }
  .pi-add { width: 100%; }
  .qty { width: 100%; justify-content: space-between; }
  .topbar-link { display: none; }
  .ocard-count { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .prod-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  :root { --fs-body: 1rem; }
}

/* on-load fade — opacity only (preserves offset-grid transforms); self-completes off-screen */
@keyframes ytRise { from { opacity: 0; } to { opacity: 1; } }
.reveal { animation: ytRise 0.55s ease-out both; }

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

/* product page gallery strip */
.pg-thumbs { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .6rem; }
.pg-thumb { background: var(--sand); border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; padding: 0; transition: border-color .2s; }
.pg-thumb img { width: 72px; height: 88px; object-fit: cover; display: block; }
.pg-thumb:hover, .pg-thumb.is-active { border-color: var(--petal); }

/* ============================================================
   HERO — side rail: cards tucked under the image edge
   resting: 30% under the image, 70% outside · hover: fully out
   ============================================================ */
.hero-media { margin-inline-end: clamp(0px, 14vw, 10rem); }
.hero-media > img { position: relative; z-index: 2; }
.hero-rail {
  position: absolute; top: 50%; left: 0; z-index: 1;
  transform: translateY(-50%);
  width: clamp(180px, 13vw, 235px);
  display: flex; flex-direction: column; gap: 6px;
}
.hero-rail .ocard {
  margin-right: 87%;
  width: 100%;
  padding-block: var(--sp-2);
  padding-inline-start: calc(30% + var(--sp-2));
  padding-inline-end: var(--sp-4);
  gap: 6px;
  /* the 87% margin pulls the card left of the rail, +16% brings its right edge ≈30% back under the image; hover → 0 slides it fully out */
  transform: translateX(16%);
  transition: transform .4s cubic-bezier(.222, .621, .326, 1), box-shadow .4s ease;
  will-change: transform;
}
.hero-rail .ocard:hover,
.hero-rail .ocard:focus-visible {
  transform: translateX(0);
  box-shadow: var(--sh-3);
}
.hero-rail .ocard-title { font-size: 1.05rem; }
.hero-rail .ocard--feature strong { font-size: 1rem; }
.hero-rail .ocard--feature p { font-size: 0.78rem; line-height: 1.6; }
.hero-rail .ocard-ic { width: 34px; height: 34px; border-radius: 11px; }
.hero-rail .ocard-count { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; }
.hero-rail .cu { padding: 0.3rem 0.2rem; }
.hero-rail .cu b { font-size: 1rem; }
.hero-rail .cu i { font-size: 0.58rem; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-inline-end: 0; }
  .hero-media img { aspect-ratio: 16 / 12; }
  .hero-tag--a { inset-inline-start: var(--sp-4); }
  .hero-rail {
    position: static; transform: none; width: 100%;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    margin-top: calc(-1 * var(--sp-6));
    padding-bottom: var(--sp-6);
  }
  .hero-rail .ocard { padding: var(--sp-5); margin-right: 0; transform: none; gap: var(--sp-3); }
  .hero-rail .ocard:hover,
  .hero-rail .ocard:focus-visible { transform: translateY(-4px); }
  .hero-rail .ocard-count { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
  .hero-rail .cu { flex: 0 1 auto; min-width: 44px; }
}

@media (max-width: 860px) {
  .hero-rail { grid-template-columns: 1fr; }
}

/* HERO — side cards restored (rail above); keep tag on top of the image */
.hero-media > .hero-tag { z-index: 3; }
.hero-rail .ocard--offer { color: #fff; }

/* ---- shop attribute filters ---- */
.side-attrs { display: grid; gap: 0.65rem; }
.side-attr { border-top: 1px solid var(--line); padding-top: 0.55rem; }
.side-attr:first-of-type { border-top: 0; padding-top: 0; }
.side-attr summary { cursor: pointer; font-weight: 700; font-size: 0.88rem; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.side-attr summary::-webkit-details-marker { display: none; }
.side-attr summary::after { content: "⌄"; color: var(--muted); font-size: 0.9rem; }
.side-attr[open] summary::after { content: "⌃"; }
.side-attr-vals { display: grid; gap: 0.3rem; padding-top: 0.45rem; }
.side-attr-check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; cursor: pointer; color: var(--ink-soft); }
.side-attr-check input { width: 16px; height: 16px; accent-color: var(--petal); margin: 0; }
.side-attr-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.7rem; }
.side-attr-clear { font-size: 0.78rem; color: var(--petal-deep); font-weight: 700; }

/* ---- product variations ---- */
.pv-block { margin-top: var(--sp-6, 2rem); border: 1px solid var(--line); border-radius: var(--r, 16px); background: var(--surface); padding: 1.2rem 1.35rem; }
.pv-table-wrap { overflow-x: auto; margin-top: 0.8rem; }
.pv-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.pv-table th { text-align: start; font-size: 0.78rem; color: var(--muted); font-weight: 700; padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--line); }
.pv-table td { padding: 0.7rem 0.65rem; border-bottom: 1px solid var(--line); font-size: 0.88rem; vertical-align: middle; }
.pv-table tr:last-child td { border-bottom: 0; }
.pv-sku { font-size: 0.8rem; color: var(--muted); }
.pv-stock { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; font-weight: 700; border-radius: var(--pill, 999px); padding: 0.18rem 0.6rem; }
.pv-stock--in { background: #d8f0e1; color: #1f8a4c; }
.pv-stock--out { background: #fdeaea; color: #c0392b; }

/* ---- category navigation (header + shop tree) ---- */
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 0.35rem); inset-inline-start: 0; z-index: 95;
  display: none; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.35rem 1.4rem;
  min-width: 340px; max-width: min(90vw, 720px); padding: 1rem 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3);
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel { display: grid; }
.nav-drop-col { display: flex; flex-direction: column; gap: 0.15rem; padding-block: 0.25rem; }
.nav-drop-main { font-weight: 700; color: var(--ink); padding: 0.3rem 0; border-bottom: 1px solid var(--line); margin-bottom: 0.2rem; }
.nav-drop-main:hover { color: var(--petal-deep); }
.nav-drop-sub { font-size: 0.86rem; color: var(--muted); padding: 0.22rem 0; }
.nav-drop-sub:hover { color: var(--petal-deep); }

.side-cats--sub { margin: 0.1rem 0 0.2rem; padding-inline-start: 0.7rem; border-inline-start: 1px dashed var(--line-2); }
.side-cat--sub { font-size: 0.86rem; padding-block: 0.42rem; color: var(--muted); }

.cat-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.cat-chip { display: inline-flex; align-items: center; padding: 0.35rem 0.85rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); transition: border-color .2s, color .2s; }
.cat-chip:hover { border-color: var(--petal); color: var(--petal-deep); }

.drawer-cats { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.4rem; border-top: 1px solid var(--line); max-height: 38vh; overflow-y: auto; }
.drawer-cats-h { font-size: 0.78rem; font-weight: 700; color: var(--muted); padding: 0.3rem 0.75rem; }
.drawer-cat { display: block; padding: 0.45rem 0.75rem; border-radius: var(--r-sm); font-size: 0.9rem; color: var(--ink-soft); }
.drawer-cat:hover { background: var(--sand); color: var(--petal-deep); }

/* cart: discount rule prices */
.ct-price--old { text-decoration: line-through; color: var(--muted); font-weight: 400; font-size: 0.82rem; display: block; }
.ct-price--disc { color: var(--petal-deep); font-weight: 700; }

/* cart: coupon code form */
.cs-coupon-form { display: flex; gap: 0.4rem; margin: 0.9rem 0 0.5rem; }
.cs-coupon-in { flex: 1; min-width: 0; padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.88rem; background: var(--surface); color: var(--ink); font-family: inherit; }
.cs-coupon-in:focus { outline: none; border-color: var(--petal); }
.cs-coupon-btn { flex: none; padding: 0.55rem 1rem; border-radius: var(--r-sm); background: var(--plum); color: #fff; border: none; font-size: 0.88rem; cursor: pointer; font-family: inherit; }
.cs-coupon-btn:hover { background: var(--petal-deep); }
.cs-coupon-applied { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.75rem; background: #d8f0e1; border-radius: var(--r-sm); font-size: 0.88rem; color: #1f5c37; margin: 0.9rem 0 0.5rem; }
.cs-coupon-rm { margin-right: auto; }
.cs-coupon-rm-btn { background: none; border: none; cursor: pointer; color: inherit; padding: 0; display: grid; place-items: center; opacity: 0.7; }
.cs-coupon-rm-btn:hover { opacity: 1; }

/* ── featured collection — inverted-radius cards ── */
.yt-defs { position: absolute; pointer-events: none; width: 0; height: 0; }
.yt-coll-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; margin-top: 2rem; }
.yt-coll-card { width: calc((100% - 60px) / 4); min-width: 0; position: relative; isolation: isolate; filter: drop-shadow(0 9px 12px rgba(84,35,40,.08)); transition: transform .22s; }
.yt-coll-card:hover { transform: translateY(-4px); }
.yt-cphoto { height: 250px; position: relative; clip-path: url(#yt-photo-cut); overflow: hidden; background: var(--photo-bg, #ead8c9); }
.yt-cphoto > a { display: block; width: 100%; height: 100%; }
.yt-cphoto img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s; }
.yt-coll-card:hover .yt-cphoto img { transform: scale(1.035); }
.yt-cbadge { position: absolute; top: 12px; border-radius: 30px; background: #49152e; color: #fff; padding: 8px 11px; font-size: 11px; font-weight: 700; line-height: 1.25; }
.yt-cbadge--type { right: 12px; }
.yt-cbadge--disc { left: 12px; background: linear-gradient(110deg, #f54e86, #c8225c); display: flex; align-items: center; gap: 4px; }
.yt-cbadge--disc svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.yt-cacts { position: absolute; top: 72px; left: 12px; display: grid; gap: 8px; }
.yt-cfav { width: 35px; height: 35px; border: 0; border-radius: 50%; background: rgba(255,253,251,.93); color: #49152e; display: grid; place-items: center; cursor: pointer; transition: color .2s; }
.yt-cfav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.yt-cfav[aria-pressed=true] { color: #d92d68; }
.yt-cfav[aria-pressed=true] svg { fill: currentColor; }
.yt-cinfo { position: relative; margin-top: -22.5px; min-height: 180px; height: 180px; padding: 17px 16px 15px; background: #fff; clip-path: url(#yt-info-cut); display: flex; flex-direction: column; }
.yt-cmaker { font-size: 11px; color: #bd842d; font-weight: 700; min-height: 15px; align-self: flex-start; }
.yt-cname { font-size: 14px; margin: 8px 0; line-height: 1.5; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #211622; }
.yt-cname a { color: inherit; text-decoration: none; }
.yt-crating { display: flex; align-items: center; gap: 7px; color: #bd842d; font-size: 15px; letter-spacing: 1px; }
.yt-crating small { color: #8c7681; font-size: 11px; letter-spacing: 0; }
.yt-cprice-row { margin-top: auto; border-top: 1px dashed #edd9cf; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; }
.yt-cprice { display: grid; gap: 5px; white-space: nowrap; }
.yt-cold { color: #a4949b; font-size: 10px; text-decoration: line-through; }
.yt-cprice-amt { font-size: 16px; font-weight: 900; color: #211622; }
.yt-cprice-amt small { font-size: 10px; font-weight: 400; color: #8c7681; }
.yt-cadd { display: flex; align-items: center; gap: 5px; border: 0; background: #49152e; color: #fff; border-radius: 28px; padding: 11px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .2s; cursor: pointer; font-family: inherit; }
.yt-cadd:hover { background: #d92d68; }
.yt-cadd svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
@media (max-width: 900px) { .yt-coll-card { width: calc((100% - 40px) / 3); } }
@media (max-width: 680px) {
  .yt-coll-grid { gap: 12px; }
  .yt-coll-card { width: calc((100% - 12px) / 2); }
  .yt-cphoto { height: 210px; }
  .yt-cinfo { margin-top: -18.9px; padding: 15px 10px 12px; height: 168px; min-height: 168px; }
  .yt-cname { font-size: 12px; }
  .yt-cprice-amt { font-size: 13px; }
  .yt-cadd { padding: 8px; font-size: 10px; }
  .yt-cbadge { font-size: 9px; padding: 6px 8px; top: 9px; }
  .yt-cbadge--type { right: 8px; }
  .yt-cbadge--disc { left: 8px; }
  .yt-cacts { left: 8px; top: 52px; }
  .yt-cfav { width: 28px; height: 28px; }
}
@media (max-width: 380px) {
  .yt-cphoto { height: 180px; }
  .yt-cinfo { margin-top: -16.2px; }
}
/* Shipping method selector in cart */
.cs-ship-select { margin: 0.9rem 0 0.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.cs-ship-label { font-size: var(--fs-sm); font-weight: 600; color: var(--plum); display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.2rem; }
.cs-ship-opt { }
.cs-ship-btn { width: 100%; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.75rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; font-family: inherit; font-size: 0.88rem; color: var(--ink); text-align: right; transition: border-color .15s; }
.cs-ship-btn:hover { border-color: var(--petal); }
.cs-ship-opt.is-selected .cs-ship-btn { border-color: var(--petal); background: color-mix(in srgb, var(--petal) 7%, var(--surface)); }
.cs-ship-radio { font-size: 1rem; color: var(--petal); flex-shrink: 0; }
.cs-ship-info { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; text-align: right; }
.cs-ship-info b { font-weight: 600; }
.cs-ship-info small { font-size: 0.76rem; color: var(--muted); }
.cs-ship-price { font-weight: 600; white-space: nowrap; color: var(--plum); }
.cs-ship-hint { font-size: var(--fs-xs); color: var(--petal-deep); display: flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; }

/* ---- Customer ticket portal ---- */
.tk-portal { max-width: 860px; margin: 2rem auto 3rem; padding: 0 1rem; }
.tk-portal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tk-portal-head h1 { font-size: 1.4rem; }
.tk-auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; max-width: 900px; margin: 2rem auto 0; }
.tk-auth-wrap .tk-login-card { margin: 0; max-width: none; }
.tk-login-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 2rem; max-width: 420px; margin: 3rem auto; }
.tk-login-card h2 { font-size: 1.15rem; margin-bottom: .35rem; color: var(--plum); display: flex; align-items: center; gap: .45rem; }
.tk-login-card p { font-size: .86rem; color: var(--muted); margin-bottom: 1.4rem; line-height: 1.8; }
.tk-form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.tk-form-field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.tk-form-field input, .tk-form-field textarea, .tk-form-field select { background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem 1rem; font: inherit; color: var(--ink); width: 100%; box-sizing: border-box; }
.tk-form-field input:focus, .tk-form-field textarea:focus, .tk-form-field select:focus { border-color: var(--petal); outline: none; }
.tk-list { display: flex; flex-direction: column; gap: .7rem; }
.tk-list-item { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.tk-list-item:hover { border-color: var(--petal); }
.tk-list-title { font-weight: 700; font-size: .95rem; }
.tk-list-meta { font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.tk-portal-conv { display: flex; flex-direction: column; gap: .85rem; margin: 1.5rem 0; }
.tk-portal-bubble { max-width: 82%; }
.tk-portal-bubble--admin { background: var(--petal-soft); border: 1.5px solid #f4bcd3; border-radius: 4px 14px 14px 14px; padding: .75rem 1rem; }
.tk-portal-bubble--cust { background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px 4px 14px 14px; padding: .75rem 1rem; margin-inline-start: auto; }
.tk-portal-bubble .tk-msg-meta { font-size: .72rem; color: var(--muted); margin-bottom: .3rem; }
.tk-portal-bubble p { font-size: .88rem; line-height: 1.75; white-space: pre-wrap; word-break: break-word; margin: 0; }
.tk-portal-reply { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 1.2rem; }
.tk-status-open, .tk-status-pending { background: #fff3e8; color: #c06b15; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.tk-status-answered { background: #e9f7ee; color: #1f8a4c; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.tk-status-closed { background: #f0ebe6; color: var(--muted); padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
@media (max-width: 760px) {
  .tk-auth-wrap { grid-template-columns: 1fr; }
  .tk-auth-wrap .tk-login-card { padding: 1.4rem; }
  .tk-portal-bubble { max-width: 92%; }
}

/* ---- CMS pages ---- */
.page-hero--cms { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.cms-content { max-width: 860px; margin-inline: auto; padding-block: var(--sp-6) var(--sp-8); }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 { font-weight: 700; margin-block: 1.5rem .6rem; line-height: 1.35; color: var(--plum); }
.cms-content h2 { font-size: 1.35rem; }
.cms-content h3 { font-size: 1.15rem; }
.cms-content p { margin-bottom: 1rem; color: var(--ink-soft); }
.cms-content ul, .cms-content ol { padding-inline-start: 1.5rem; margin-bottom: 1rem; color: var(--ink-soft); }
.cms-content li { margin-bottom: .4rem; }
.cms-content a { color: var(--petal-deep); font-weight: 600; }
.cms-content a:hover { text-decoration: underline; }
.cms-content img { max-width: 100%; height: auto; border-radius: var(--r-lg); margin-block: 1rem; }
.cms-content blockquote { border-inline-start: 4px solid var(--petal); padding: .8rem 1.2rem; margin-block: 1.2rem; background: var(--sand); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); font-style: italic; }
.cms-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: .95rem; }
.cms-content table th, .cms-content table td { text-align: start; padding: .6rem .9rem; border: 1px solid var(--line); }
.cms-content table th { background: var(--sand); font-weight: 700; }
.cms-content hr { border: none; border-top: 1px solid var(--line); margin-block: 1.5rem; }

/* ---- Blog ---- */
.blog-cat-link { display: inline-block; padding: .35rem .9rem; border-radius: var(--pill); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); background: var(--cream); transition: all .2s; }
.blog-cat-link:hover, .blog-cat-link.is-active { background: var(--petal-soft); border-color: var(--petal); color: var(--petal-deep); font-weight: 600; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: var(--surface, #fff); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(62,19,41,.1); transform: translateY(-2px); }
.blog-card__img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.blog-card__img--placeholder { width: 100%; height: 100%; background: var(--sand); display: block; }
.blog-card:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.blog-card__cat { font-size: .78rem; font-weight: 700; color: var(--petal-deep); background: var(--petal-soft); border-radius: var(--pill); padding: .2rem .65rem; align-self: flex-start; }
.blog-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; color: var(--plum); margin: 0; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--petal-deep); }
.blog-card__excerpt { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.blog-card__meta { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted-2); align-items: center; }
.blog-card__meta .ico { vertical-align: middle; opacity: .7; }
.blog-card__more { align-self: flex-start; font-size: .85rem; font-weight: 600; color: var(--petal-deep); display: flex; align-items: center; gap: .3rem; margin-top: auto; }
.blog-card__more:hover { text-decoration: underline; }
.pagination__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 .5rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: .9rem; transition: all .2s; }
.pagination__btn:hover, .pagination__btn.is-active { background: var(--petal); border-color: var(--petal); color: #fff; }

/* ---- Blog post single ---- */
.blog-post__header { background: linear-gradient(180deg, var(--cream), var(--sand)); padding-block: var(--sp-6) var(--sp-4); }
.blog-post__cat { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--petal-deep); background: var(--petal-soft); border-radius: var(--pill); padding: .2rem .75rem; margin-bottom: .75rem; }
.blog-post__title { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.3; color: var(--plum); margin-block: .5rem .75rem; }
.blog-post__lead { font-size: 1.08rem; color: var(--muted); line-height: 1.65; max-width: 720px; }
.blog-post__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted-2); margin-top: .75rem; align-items: center; }
.blog-post__meta .ico { vertical-align: middle; opacity: .7; }
.blog-post__hero { padding-block: var(--sp-4); background: var(--sand); }
.blog-post__layout { padding-block: var(--sp-6) var(--sp-8); }
.blog-post__content { max-width: 860px; margin-inline: auto; }
.blog-post__footer { max-width: 860px; margin-inline: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.blog-post__tags { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted); }
.blog-post__tags .ico { vertical-align: middle; opacity: .7; }
.blog-tag { display: inline-block; padding: .2rem .7rem; border-radius: var(--pill); background: var(--sand); border: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; }
.blog-post__back { max-width: 860px; margin-inline: auto; }

/* Hero photos (landscape): keep the model in frame when cropped */
.hero-media img[src$="hero-winter-woman.jpg"] { object-position: 28% center; }
.about-hero-media img.about-hero-photo { object-position: 30% center; }

/* ---------- Typography: Vazirmatn everywhere, Persian-friendly rhythm ---------- */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 { font-family: var(--ff-body); }
body { font-feature-settings: "kern" 1; font-kerning: normal; }
h1, h2, h3, h4, h5, h6 { line-height: 1.45; font-weight: 800; letter-spacing: 0; text-wrap: balance; }
h3, h4, h5, h6 { font-weight: 700; }
p, li { text-wrap: pretty; }
/* letter-spacing breaks joined Persian letters */
.eyebrow, .hero-title, .p-brand, .pi-brand { letter-spacing: 0; }
.hero-title { line-height: 1.35; }
.cu b, .ef-n, .nf-code { line-height: 1.15; }
.ocard-title, .bigoffer-title, .cs-h, .faq-q, .foot-h, .side-h { line-height: 1.5; }

