/* ==========================================================================
   چوبیک — storefront styles
   Warm, minimal, wood-inspired. RTL first.
   ========================================================================== */

@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn-fd-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn-fd-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn-fd-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn-fd-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn-fd-extrabold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #f8f3ec;
  --paper: #fffdf9;
  --sand: #f1e8db;
  --sand-2: #e8dac6;
  --line: #e6d9c8;
  --line-2: #d8c6af;
  --ink: #2a1e15;
  --ink-2: #5b4838;
  --ink-3: #8a7562;
  --walnut: #3d281a;
  --walnut-2: #2c1c11;
  --teak: #9c5f2d;
  --teak-2: #844d22;
  --honey: #d7a066;
  --honey-soft: #f4e3cc;
  --sage: #5c7152;
  --sage-soft: #e5ebdf;
  --danger: #b0442f;
  --danger-soft: #f7e2dc;
  --warning: #b07a1f;
  --warning-soft: #f7ebd2;
  --info: #3f6a86;
  --info-soft: #e1ebf1;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(61, 40, 26, .06);
  --shadow: 0 1px 2px rgba(61, 40, 26, .05), 0 10px 30px -12px rgba(61, 40, 26, .18);
  --shadow-lg: 0 30px 60px -25px rgba(61, 40, 26, .35);
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='3' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.15 0 0 0 0 0.08 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.93 0 0 0 0 0.84 1.6 0 0 0 -0.66'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teak); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--honey); color: var(--walnut-2); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.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; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: embed; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 }
.stack > * + * { margin-top: 12px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--walnut); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--walnut); color: #fbf4ea; box-shadow: 0 8px 20px -10px rgba(44, 28, 17, .7); }
.btn-primary:hover { background: var(--walnut-2); }
.btn-accent { background: var(--teak); color: #fff; box-shadow: 0 8px 20px -10px rgba(156, 95, 45, .8); }
.btn-accent:hover { background: var(--teak-2); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--paper); }
.btn-light { background: var(--paper); color: var(--walnut); }
.btn-light:hover { background: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }
.link { color: var(--teak); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { color: var(--teak-2); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 0; background: transparent; cursor: pointer; color: var(--ink); transition: background .2s;
}
.icon-btn:hover { background: var(--sand); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--walnut); color: #f1e3cf; font-size: 13px; text-align: center; padding: 8px 16px; position: relative; overflow: hidden; }
.announce::before { content: ''; position: absolute; inset: 0; background: var(--grain-light); opacity: .25; pointer-events: none; }
.announce span { position: relative; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 243, 236, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(61, 40, 26, .45); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; color: var(--walnut); letter-spacing: -.02em; }
.logo-mark { width: 38px; height: 38px; color: var(--teak); }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-top: -8px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
.main-nav > a, .main-nav .nav-drop > button {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; background: none; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.main-nav > a:hover, .main-nav .nav-drop > button:hover, .main-nav > a.active { color: var(--walnut); background: var(--sand); }
.nav-drop { position: relative; }
.nav-drop .drop {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 240px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; font-weight: 500; }
.drop a:hover { background: var(--sand); }
.drop img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--sand); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.cart-badge {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--teak); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transition: transform .3s var(--ease);
}
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }
.cart-badge.bump { transform: scale(1.35); }
.menu-toggle { display: none; }

.search-bar { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); border-top: 1px solid transparent; }
.search-bar.open { max-height: 120px; border-color: var(--line); }
.search-bar form { display: flex; gap: 10px; padding: 14px 0 18px; }
.search-bar input { flex: 1; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(30, 20, 12, .45); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 340px); background: var(--paper);
  padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.drawer nav .sub a { padding-inline-start: 16px; color: var(--ink-2); font-weight: 400; font-size: 14px; }

/* ---------- Forms ---------- */
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--paper); transition: border-color .2s, box-shadow .2s; outline: none;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.8; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238a7562' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; padding-inline-end: 40px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--teak); box-shadow: 0 0 0 4px rgba(156, 95, 45, .12); }
.input::placeholder, .textarea::placeholder { color: #b3a291; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); }
.field .error { font-size: 12.5px; color: var(--danger); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.req { color: var(--danger); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--teak); }

/* ---------- Alerts / toast ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; border: 1px solid; }
.alert .icon { margin-top: 3px; }
.alert-success { background: var(--sage-soft); border-color: #cbd7c2; color: #3c4d34; }
.alert-error { background: var(--danger-soft); border-color: #eec5bb; color: #85301f; }
.alert-warning { background: var(--warning-soft); border-color: #ead7ad; color: #7a5513; }
.alert-info { background: var(--info-soft); border-color: #c8d9e4; color: #2d4e63; }
.toast-wrap { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translateX(50%); z-index: 80; display: grid; gap: 10px; width: min(92vw, 420px); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--walnut); color: #fbf1e3;
  box-shadow: var(--shadow-lg); animation: toast-in .35s var(--ease); font-size: 14px;
}
.toast.error { background: var(--danger); }
.toast a { margin-inline-start: auto; color: var(--honey); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teak); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.3; margin-bottom: 20px; color: var(--walnut-2); }
.hero h1 em { font-style: normal; color: var(--teak); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; inset-inline: 0; bottom: .08em; height: .22em; background: var(--honey-soft); z-index: -1; border-radius: 4px; }
.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 24px; font-weight: 800; color: var(--walnut); line-height: 1.3; }
.hero-stats span { font-size: 13px; color: var(--ink-3); }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-board {
  position: absolute; inset: 0 0 0 8%; border-radius: 48% 48% 32px 32px / 40% 40% 32px 32px; overflow: hidden;
  background: linear-gradient(160deg, #c98d55, #a8693a 55%, #8a5329);
  box-shadow: var(--shadow-lg);
}
.hero-board::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .55; mix-blend-mode: multiply; }
.hero-board::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 10%, rgba(255, 233, 200, .35), transparent 60%); }
.hero-board img { position: absolute; inset: 8% 6% 4%; width: 88%; height: 88%; object-fit: contain; z-index: 1; filter: drop-shadow(0 30px 30px rgba(40, 20, 8, .35)); }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 253, 249, .94); backdrop-filter: blur(8px); box-shadow: var(--shadow); font-size: 13px;
}
.hero-chip b { display: block; font-size: 14px; color: var(--walnut); }
.hero-chip .chip-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--honey-soft); color: var(--teak); }
.hero-chip.one { bottom: 12%; inset-inline-end: -2%; }
.hero-chip.two { top: 10%; inset-inline-start: 0; }
.hero-deco { position: absolute; width: 520px; height: 520px; inset-inline-start: -180px; top: -160px; color: var(--sand-2); opacity: .7; pointer-events: none; }

/* ---------- Features strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { display: flex; gap: 14px; align-items: center; padding: 22px; background: var(--paper); }
.feature .f-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--teak); flex: none; }
.feature b { display: block; font-size: 15px; }
.feature span { font-size: 13px; color: var(--ink-3); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { position: relative; display: block; text-align: center; }
.cat-card .cat-img {
  aspect-ratio: 1; border-radius: 50%; background: var(--sand); overflow: hidden; margin-bottom: 12px;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-img { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card b { display: block; font-size: 15px; }
.cat-card span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard-media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand);
  margin-bottom: 14px; isolation: isolate;
}
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.pcard-media .img-2 { opacity: 0; }
.pcard:hover .pcard-media .img-1 { transform: scale(1.05); }
.pcard:hover .pcard-media .img-2 { opacity: 1; }
.pcard-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.badge-sale { background: var(--teak); color: #fff; }
.badge-new { background: var(--paper); color: var(--walnut); }
.badge-out { background: rgba(42, 30, 21, .82); color: #fff; }
.pcard-add {
  position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 12px; border: 0;
  display: grid; place-items: center; background: var(--paper); color: var(--walnut); cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(8px); transition: .3s var(--ease);
}
.pcard:hover .pcard-add, .pcard-add:focus-visible { opacity: 1; transform: none; }
.pcard-add:hover { background: var(--walnut); color: #fff; }
.pcard.is-out .pcard-media img { filter: grayscale(.4) opacity(.8); }
.pcard-meta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.pcard-title { font-size: 15px; font-weight: 700; margin: 0 0 6px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price b { font-size: 16px; font-weight: 800; color: var(--walnut); }
.price b small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.price del { font-size: 13px; color: var(--ink-3); }

/* ---------- Story band ---------- */
.story { position: relative; background: var(--walnut); color: #f0e2cf; border-radius: var(--radius-lg); overflow: hidden; padding: 64px; }
.story::before { content: ''; position: absolute; inset: 0; background: var(--grain-light); opacity: .18; }
.story > * { position: relative; }
.story-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.story h2 { color: #fff7ec; font-size: clamp(24px, 3vw, 36px); }
.story p { color: #d9c5ac; }
.story .eyebrow { color: var(--honey); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 22px; border-radius: var(--radius); background: rgba(255, 245, 230, .06); border: 1px solid rgba(255, 245, 230, .1); }
.step .num { font-size: 13px; font-weight: 800; color: var(--honey); }
.step b { display: block; color: #fff7ec; margin: 6px 0; }
.step span { font-size: 13.5px; color: #cdb79c; line-height: 1.8; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.quote p { color: var(--ink-2); flex: 1; }
.quote footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 14px; }
.quote footer b { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--honey); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.stars .off { color: var(--sand-2); }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px 24px; }
.post-card h3 { font-size: 17px; margin-bottom: 8px; }
.post-card p { font-size: 14px; color: var(--ink-3); margin: 0; }
.post-card time { font-size: 12.5px; color: var(--ink-3); display: block; margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; border-radius: var(--radius-lg); background: var(--honey-soft); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .08; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 24px; margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 72px; background: var(--walnut-2); color: #cdb89e; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background: var(--grain-light); opacity: .12; pointer-events: none; }
.site-footer > * { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 40px; }
.site-footer h3 { color: #fff3e2; font-size: 15px; margin-bottom: 16px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer .logo { color: #fff3e2; margin-bottom: 14px; }
.site-footer .logo-mark { color: var(--honey); }
.footer-about { font-size: 14px; line-height: 2; max-width: 360px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--honey); margin-top: 4px; width: 18px; height: 18px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 243, 226, .07); transition: background .2s; }
.socials a:hover { background: rgba(255, 243, 226, .15); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 243, 226, .1); font-size: 13px; }
.trust-badges { display: flex; gap: 12px; align-items: center; }
.trust-badges img { max-height: 80px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }

/* ---------- Breadcrumbs / page head ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin: 0 0 18px; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: '/'; color: var(--line-2); }
.breadcrumb a:hover { color: var(--teak); }
.page-head { padding: 36px 0 28px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }
.page-head p { color: var(--ink-2); max-width: 720px; margin: 0; }
.page-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); padding: 40px; margin-bottom: 8px; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; }
.page-banner > * { position: relative; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filters h3 { font-size: 15px; margin-bottom: 10px; }
.filter-group + .filter-group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.filter-links { display: grid; gap: 2px; }
.filter-links a { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.filter-links a:hover { background: var(--sand); }
.filter-links a.active { background: var(--walnut); color: #fff; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range .input { height: 40px; font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { color: var(--ink-3); font-size: 14px; }
.sort-tabs { display: flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: 12px; }
.sort-tabs a { padding: 6px 14px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2); }
.sort-tabs a.active { background: var(--paper); color: var(--walnut); font-weight: 700; box-shadow: var(--shadow-sm); }
.filter-toggle { display: none; }
.empty-state { text-align: center; padding: 64px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty-state .icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--honey); }
.empty-state h2, .empty-state h3 { font-size: 20px; }
.empty-state p { color: var(--ink-3); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.pagination a:hover { border-color: var(--teak); color: var(--teak); }
.pagination .current { background: var(--walnut); border-color: var(--walnut); color: #fff; }
.pagination .gap { border: 0; background: none; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 82px; height: 82px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--sand); cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--teak); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.product-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.product-sub a { color: var(--teak); }
.product-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 20px; }
.product-price .now { font-size: 30px; font-weight: 800; color: var(--walnut); line-height: 1.2; }
.product-price .now small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.product-price del { color: var(--ink-3); font-size: 16px; }
.product-lead { color: var(--ink-2); font-size: 16px; }
.spec-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.spec-chip { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.spec-chip span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.spec-chip span .icon { width: 15px; height: 15px; color: var(--teak); }
.spec-chip b { font-size: 14px; }
.buy-box { display: flex; gap: 12px; align-items: stretch; margin: 24px 0 12px; }
.qty { display: inline-flex; align-items: center; height: 56px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { color: var(--teak); }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; font-size: 16px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 34px; font-size: 14px; }
.buy-box .btn { flex: 1; height: 56px; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sage); font-weight: 600; }
.stock-line::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(92, 113, 82, .15); }
.stock-line.low { color: var(--warning); }
.stock-line.out { color: var(--danger); }
.assurance { display: grid; gap: 12px; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: var(--sand); }
.assurance div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.assurance .icon { color: var(--teak); }
.product-tabs { margin-top: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 19px; margin-bottom: 16px; }
.prose { font-size: 15.5px; line-height: 2.1; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose h2 { font-size: 22px; } .prose h3 { font-size: 18px; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--teak); text-decoration: underline; text-underline-offset: 4px; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-inline-start: 3px solid var(--honey); background: var(--sand); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px dashed var(--line); text-align: start; }
.spec-table th { color: var(--ink-3); font-weight: 500; width: 40%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.reviews-summary { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.reviews-summary .big { font-size: 42px; font-weight: 800; color: var(--walnut); line-height: 1; }
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.review-head b { font-size: 14px; }
.review p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: var(--sand-2); }
.rating-input label .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--honey); }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; align-items: center; }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-item .thumb { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--sand); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-size: 15px; margin-bottom: 4px; }
.cart-item .unit { font-size: 13px; color: var(--ink-3); }
.cart-item .actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.cart-item .line-total { font-weight: 800; color: var(--walnut); white-space: nowrap; }
.remove-btn { border: 0; background: none; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; padding: 4px; }
.remove-btn:hover { color: var(--danger); }
.summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.summary h2 { font-size: 18px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.summary-row.discount { color: var(--sage); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 10px; border-top: 1px dashed var(--line-2); font-weight: 800; font-size: 17px; }
.summary-total b { font-size: 22px; color: var(--walnut); }
.coupon-form { display: flex; gap: 8px; margin: 18px 0; }
.coupon-form .input { height: 44px; }
.coupon-form .btn { height: 44px; }
.ship-progress { margin: 4px 0 16px; padding: 14px; border-radius: 12px; background: var(--sand); font-size: 13px; color: var(--ink-2); }
.ship-progress .bar { height: 6px; border-radius: 6px; background: var(--sand-2); margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--teak)); border-radius: 6px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }

.checkout-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
.checkout-steps span { display: inline-flex; align-items: center; gap: 8px; }
.checkout-steps i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--sand); }
.checkout-steps .done i { background: var(--sage); color: #fff; }
.checkout-steps .now { color: var(--walnut); font-weight: 700; }
.checkout-steps .now i { background: var(--walnut); color: #fff; }
.checkout-steps .sep { width: 32px; height: 1px; background: var(--line-2); }
.ship-options { display: grid; gap: 10px; }
.ship-option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; background: var(--paper); transition: border-color .2s, background .2s; }
.ship-option:has(input:checked) { border-color: var(--teak); background: #fffaf3; box-shadow: 0 0 0 3px rgba(156, 95, 45, .1); }
.ship-option input { width: 18px; height: 18px; accent-color: var(--teak); }
.ship-option .info { flex: 1; }
.ship-option b { display: block; font-size: 15px; }
.ship-option span { font-size: 13px; color: var(--ink-3); }
.ship-option .cost { font-weight: 700; color: var(--walnut); white-space: nowrap; }
.mini-items { display: grid; gap: 12px; margin-bottom: 16px; max-height: 280px; overflow-y: auto; }
.mini-item { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.mini-item .thumb { position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--sand); flex: none; }
.mini-item .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.mini-item .thumb i { position: absolute; top: -6px; inset-inline-start: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--walnut); color: #fff; font-size: 11px; font-style: normal; display: grid; place-items: center; padding: 0 5px; }
.mini-item .t { flex: 1; line-height: 1.6; }
.mini-item b { white-space: nowrap; }
.zarinpal-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fffaf2; border: 1px solid var(--honey-soft); font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- Order page ---------- */
.order-hero { text-align: center; padding: 40px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 24px; }
.order-hero .ok { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage); }
.order-hero .ok .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.order-hero h1 { font-size: 26px; }
.order-code { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 10px; background: var(--sand); font-weight: 700; letter-spacing: .05em; }
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 8px 0 4px; }
.tracker::before { content: ''; position: absolute; top: 19px; inset-inline: 10%; height: 2px; background: var(--line); }
.tracker .bar { position: absolute; top: 19px; inset-inline-start: 10%; height: 2px; background: var(--sage); transition: width .6s var(--ease); }
.tracker .st { position: relative; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.tracker .dot { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); color: var(--ink-3); }
.tracker .dot .icon { width: 18px; height: 18px; }
.tracker .st.done .dot { background: var(--sage); border-color: var(--sage); color: #fff; }
.tracker .st.done { color: var(--ink); }
.tracker .st.current .dot { background: var(--walnut); border-color: var(--walnut); color: #fff; box-shadow: 0 0 0 6px rgba(61, 40, 26, .1); }
.tracker .st.current { color: var(--walnut); font-weight: 700; }
.order-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 22px 18px 0; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--teak); }
.timeline li::after { content: ''; position: absolute; inset-inline-start: 4px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: 12.5px; color: var(--ink-3); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.tone-muted { background: var(--sand); color: var(--ink-2); }
.tone-info { background: var(--info-soft); color: var(--info); }
.tone-warning { background: var(--warning-soft); color: var(--warning); }
.tone-accent { background: var(--honey-soft); color: var(--teak-2); }
.tone-success { background: var(--sage-soft); color: var(--sage); }
.tone-danger { background: var(--danger-soft); color: var(--danger); }

/* ---------- Auth / small cards ---------- */
.narrow { max-width: 480px; margin-inline: auto; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--sand); border-radius: 12px; margin-bottom: 24px; }
.auth-tabs a { text-align: center; padding: 8px; border-radius: 9px; font-weight: 600; color: var(--ink-2); }
.auth-tabs a.active { background: var(--paper); color: var(--walnut); box-shadow: var(--shadow-sm); }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-nav { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; width: 100%; border: 0; background: none; cursor: pointer; font-weight: 500; text-align: start; }
.account-nav a.active { background: var(--sand); color: var(--walnut); font-weight: 700; }
.account-nav a:hover, .account-nav button:hover { background: var(--sand); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: start; font-weight: 600; color: var(--ink-3); font-size: 13px; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .f-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--teak); flex: none; }
.contact-card b { display: block; }
.contact-card span { color: var(--ink-2); font-size: 14px; }

.article { max-width: 780px; margin-inline: auto; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0 36px; aspect-ratio: 16 / 9; background: var(--sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.mock-gateway { max-width: 440px; margin: 40px auto; }
.mock-banner { background: repeating-linear-gradient(-45deg, #f7ebd2, #f7ebd2 10px, #f3e2bf 10px, #f3e2bf 20px); border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; color: #7a5513; margin-bottom: 18px; }

.error-page { text-align: center; padding: 80px 20px; }
.error-page .code { font-size: 120px; font-weight: 800; line-height: 1; color: var(--sand-2); }

/* ---------- Reveal animation ---------- */
/* Scroll-driven and CSS-only, so content is never hidden when JS is unavailable */
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story { padding: 48px 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 70; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .product-layout, .product-tabs, .cart-layout, .order-grid, .contact-grid, .account-layout { grid-template-columns: 1fr; }
  .gallery, .summary, .filters-sticky { position: static; }
  .quotes, .post-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding-inline: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 24px 0 48px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 20px; }
  .hero-chip.two { display: none; }
  .features { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .pcard-add { opacity: 1; transform: none; width: 38px; height: 38px; }
  .quotes, .post-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-chips { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .thumb { width: 72px; height: 72px; }
  .cart-item .line-total { grid-column: 2; }
  .card { padding: 22px; }
  .tracker .st { font-size: 11px; }
  .tracker .dot { width: 32px; height: 32px; }
  .tracker::before, .tracker .bar { top: 15px; }
  .story { padding: 36px 22px; border-radius: var(--radius); }
  .sort-tabs { overflow-x: auto; max-width: 100%; }
  .buy-box { flex-wrap: wrap; }
  .page-banner { padding: 28px 22px; }
}

@media print {
  .site-header, .site-footer, .announce, .toast-wrap { display: none !important; }
}
