/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDBImdTk3j6zbXWjgevT5.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDBImdTA3j6zbXWjgevT5.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDBImdTs3j6zbXWjgevT5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDBImdTo3j6zbXWjgevT5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDBImdTQ3j6zbXWjgeg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/Dxxo8j6PP2D_kU2muijlGMWWIGroe7ll.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/Dxxo8j6PP2D_kU2muijlE8WWIGroe7ll.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/Dxxo8j6PP2D_kU2muijlHcWWIGroew.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   تفال ایران — design system
   Mirrors tefal.com (Sep 2026): light-grey page ground with white surfaces,
   Tefal red, uppercase-bold labels, red pill buttons, 10/16px radii,
   1240px container — flipped to RTL with Vazirmatn.
   Tokens on :root are shared with pages.css / commerce.css — keep the names.
   ========================================================================== */
:root {
  --red: #e30613; --red-dark: #c20511; --red-soft: #fdecec;
  --ink: #1d1d1b; --muted: #5f5f5f; --muted-2: #8a8a8a;
  --line: #dcdcdc; --line-soft: #e5e5e5;
  --surface: #ffffff; --ground: #f2f2f2; --soft: #f7f7f7; --footer: #e9e9e9;
  --green: #1b8a5a; --gold: #f5a623; --teal: #dff1ef; --blue: #1f4e9c;
  --radius: 10px; --radius-lg: 16px; --radius-sm: 6px; --pill: 999px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.25); --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, 0.2);
  --container: 1240px; --container-lg: 1240px; --container-md: 1000px; --container-sm: 760px; --content: 720px;
  --gutter: clamp(16px, 3vw, 32px);
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-logo: "Nunito", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 15px; --lh-body: 1.8;
  --header-h: 72px; --catnav-h: 48px; --announce-h: 36px;
  /* height of the whole sticky header (bar + category nav) — sticky panels sit below this */
  --header-stack: calc(var(--header-h) + var(--catnav-h));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* legacy aliases (eufy-era class vocabulary) */
  --ink-2: var(--muted); --ink-3: var(--muted-2); --ink-4: #b3b3b3;
  --line-2: var(--line); --bg: var(--surface); --bg-2: var(--soft); --bg-3: #ececec;
  --dark: var(--ink); --dark-2: #2b2b29;
  --accent: var(--red); --accent-strong: var(--red-dark); --accent-soft: var(--red-soft);
  --new: var(--red); --hot: var(--ink); --sale: var(--red); --ok: var(--green); --star: var(--gold);
  --radius-sm: 6px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); background: var(--ground); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.35; }
table { border-collapse: collapse; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { top: 8px; }
::selection { background: var(--red); color: #fff; }
[dir="ltr"] { unicode-bidi: isolate; }
.u-upper, .upper { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- layout ---------- */
.container-lg, .container-md, .container-sm, .container-xs { width: min(100% - var(--gutter) * 2, var(--container-lg)); margin-inline: auto; }
.container-md { max-width: var(--container-md); }
.container-sm { max-width: var(--container-sm); }
.container-xs { max-width: var(--content); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section--flush { padding-block: 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--gray { background: var(--ground); }
.section--white { background: var(--surface); }
.section--red { background: var(--red); color: #fff; }
.section__head { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: clamp(22px, 3.5vw, 36px); }
.section__head--start { text-align: start; margin-inline: 0; max-width: none; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; text-align: start; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: 0.01em; }
.section__head h2 [dir="ltr"] { text-transform: uppercase; letter-spacing: 0.06em; }
.section__head p { color: var(--muted); font-size: clamp(14px, 1.1vw, 16px); margin-top: 8px; }
.section--dark .section__head p, .section--red .section__head p { color: rgba(255, 255, 255, 0.78); }
.section__foot { text-align: center; margin-top: clamp(24px, 3.5vw, 40px); }
.section__link { font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.section__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; color: var(--red); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.section--dark .eyebrow, .section--red .eyebrow { color: rgba(255, 255, 255, 0.85); }
.display { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.2; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.section--dark .lead, .section--red .lead, .story .lead { color: rgba(255, 255, 255, 0.78); }
.muted { color: var(--muted); }
.page-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 6px; font-size: 12px; color: var(--muted-2); margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.crumbs li + li::before, .crumbs span + span::before, .crumbs a + a::before { content: "›"; margin-inline-end: 6px; color: var(--line); }
.crumbs a:hover { color: var(--red); }
.empty { text-align: center; padding: 48px 16px; }
.empty h3 { font-size: 20px; margin-bottom: 14px; }
.surface { background: var(--surface); border-radius: var(--radius-lg); }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }

/* ---------- buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: var(--pill); font-weight: 700; font-size: 14px; line-height: 1; border: 1.5px solid transparent; transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--red, .btn--dark, .btn--accent { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover, .btn--dark:hover, .btn--accent:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: #000; border-color: #000; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #f0f0f0; border-color: #f0f0f0; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline-red:hover { background: var(--red); color: #fff; }
.btn--outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--red); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { min-height: 52px; padding-inline: 34px; font-size: 15px; }
.btn--sm { min-height: 36px; padding-inline: 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); font-size: 14px; }
.link-arrow::after { content: "←"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(-4px); }
.link-danger { color: var(--red); font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; font-weight: 800; line-height: 1; padding: 5px 8px; border-radius: 4px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.badge--new { background: var(--red); }
.badge--hot { background: var(--ink); }
.badge--sale { background: var(--red); }
.badge--excl { background: #7a3cff; }
.badge--ok { background: var(--green); }
.badge--fr { background: var(--blue); }
.badge--fr::before { content: ""; width: 14px; height: 9px; border-radius: 2px; flex: none; background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }

/* ---------- announce strip ---------- */
.announce { height: var(--announce-h); background: var(--ground); color: var(--muted); font-size: 12.5px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.announce__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; height: 100%; gap: 16px; }
.announce__track { position: relative; height: 100%; overflow: hidden; }
.announce__item { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.announce__item.is-active { opacity: 1; transform: none; }
.announce__item:hover { color: var(--ink); }
.announce__links { display: flex; gap: 18px; font-size: 12px; }
.announce__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.announce__links a:hover { color: var(--red); }
.announce__links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, 0.25); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header__start { display: flex; align-items: center; gap: 4px; }
.header__actions { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; justify-self: center; }
.logo__word { font-family: var(--font-logo); font-weight: 900; font-size: 36px; letter-spacing: -0.03em; line-height: 1; color: var(--red); text-transform: none; }
.logo__img { display: block; height: 30px; width: auto; }
.drawer__head .logo__img { height: 24px; }
.footer__brand .logo__img { height: 28px; }
.logo__fa { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--pill); position: relative; transition: background 0.2s, color 0.2s; color: var(--ink); }
.icon-btn:hover { background: var(--soft); color: var(--red); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 4px; inset-inline-start: 24px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.cart-count.is-empty { display: none; }
.header__burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.header__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* uppercase category nav */
.catnav { border-top: 1px solid var(--line-soft); position: relative; }
.catnav__list { display: flex; justify-content: center; align-items: center; gap: 4px; height: var(--catnav-h); }
/* static, not relative: the mega panel must size itself against .catnav (full width), not the <li> */
.catnav__item { position: static; }
.catnav__link { display: inline-flex; align-items: center; height: var(--catnav-h); padding: 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink); position: relative; white-space: nowrap; text-transform: uppercase; }
.catnav__link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: center; transition: transform 0.25s var(--ease); }
.catnav__item:hover .catnav__link::after, .catnav__item.is-open .catnav__link::after, .catnav__link[aria-current]::after, .catnav__item:focus-within .catnav__link::after { transform: scaleX(1); }
.catnav__item:hover .catnav__link, .catnav__link[aria-current] { color: var(--red); }
.catnav__link--sale { color: var(--red); }
.catnav__sep { width: 1px; height: 18px; background: var(--line); margin-inline: 8px; }

/* mega menu — one full-width white panel under the nav, page dimmed behind it */
.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-soft); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s; z-index: 50; }
.catnav__item:hover .mega, .catnav__item:focus-within .mega, .catnav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.catnav::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 100vh; background: rgba(29, 29, 27, 0.32); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s var(--ease), visibility 0s 0.2s; z-index: 40; }
.catnav:has(.has-mega:hover, .has-mega:focus-within, .has-mega.is-open)::after { opacity: 1; visibility: visible; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 1.35fr 0.9fr 1.6fr 0.95fr; padding-block: 28px 32px; }
.mega__col { padding-inline: 28px; border-inline-start: 1px solid var(--line-soft); min-width: 0; }
.mega__col:first-child { padding-inline-start: 0; border-inline-start: 0; }
.mega__col h4 { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: 0.04em; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
/* subcategories: thumbnail · Persian name over English name · product count */
.mega__list { display: flex; flex-direction: column; gap: 2px; }
.mega__list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 6px 8px; margin-inline: -8px; border-radius: var(--radius-sm); transition: background 0.2s; }
.mega__thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; overflow: hidden; transition: background 0.2s; }
.mega__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.mega__name { display: flex; flex-direction: column; gap: 1px; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; transition: color 0.2s; }
.mega__name em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted-2); text-align: end; direction: ltr; }
.mega__list a small { min-width: 26px; padding: 2px 8px; border-radius: var(--pill); background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; transition: background 0.2s; }
.mega__list a:hover { background: var(--soft); }
.mega__list a:hover .mega__name { color: var(--red); }
.mega__list a:hover .mega__thumb, .mega__list a:hover small { background: #fff; }
.mega__list a.is-all { display: flex; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); border-radius: 0; color: var(--red); font-size: 13.5px; font-weight: 800; background: none; }
.mega__list a.is-all:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.mega__ranges { display: flex; flex-wrap: wrap; gap: 6px; }
.mega__ranges a { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.mega__ranges a:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.mega__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mega__product { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line-soft); transition: border-color 0.2s, box-shadow 0.2s; min-width: 0; }
.mega__product:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.mega__product img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.mega__product strong { font-size: 12.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__product small { color: var(--red); font-size: 12px; font-weight: 800; }
.mega__product .badge { font-size: 9.5px; padding: 3px 5px; align-self: flex-start; }
.mega__image { margin-inline-start: 28px; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.mega__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.6s var(--ease); }
.mega__image:hover img { transform: scale(1.05); }
.mega__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%); z-index: -1; }
.mega__image span { padding: 16px; font-size: 14px; font-weight: 800; }
.mega__image span b { display: block; font-size: 11px; font-weight: 600; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.mega__links { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.mega__links a:hover { color: var(--red); }
.mega__inner--links { grid-template-columns: repeat(3, max-content); gap: 80px; }
.mega__series { display: flex; flex-direction: column; padding: 8px 10px; margin-inline: -10px; border-radius: var(--radius-sm); transition: background 0.2s; }
.mega__series:hover { background: var(--soft); }
.mega__series strong { font-size: 15px; }
.mega__series small { color: var(--muted); font-size: 12px; }

/* drawer (mobile nav) */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 0.3s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 400px); background: var(--surface); padding: 20px 22px 32px; overflow-y: auto; transform: translateX(100%); transition: transform 0.35s var(--ease); }
.drawer[aria-hidden="false"] .drawer__panel { transform: none; }
.drawer[aria-hidden="false"] .drawer__backdrop { opacity: 1; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer__head .logo__word { font-size: 28px; }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; border-radius: 50%; }
.drawer__close:hover { background: var(--soft); }
.drawer details, .drawer__link { border-bottom: 1px solid var(--line-soft); }
.drawer summary, .drawer__link { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 14px; font-weight: 800; cursor: pointer; text-transform: uppercase; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 22px; color: var(--muted-2); font-weight: 400; }
.drawer details[open] summary::after { content: "–"; }
.drawer details[open] summary { color: var(--red); }
.drawer details a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0 8px 12px; color: var(--muted); font-size: 14px; }
.drawer details a small { color: var(--muted-2); font-size: 11px; }
.drawer details a:last-of-type { padding-bottom: 14px; }
.drawer details a.is-all { color: var(--red); font-weight: 700; }
.drawer__link--sale { color: var(--red); }
.drawer__foot { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; font-weight: 600; font-size: 14px; color: var(--muted); }
.drawer__foot a:hover { color: var(--red); }

/* search overlay */
.search { position: fixed; inset: 0; z-index: 300; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0s 0.25s; overflow-y: auto; }
.search[aria-hidden="false"] { visibility: visible; opacity: 1; transition-delay: 0s; }
.search__panel { padding-block: 10vh 40px; }
.search__form { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--red); padding-bottom: 12px; }
.search__form svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 2; flex: none; }
.search__form input { flex: 1; border: 0; background: none; font-size: clamp(20px, 3vw, 30px); font-weight: 700; outline: none; min-width: 0; }
.search__form input::placeholder { color: var(--muted-2); font-weight: 500; }
.search__close { font-size: 22px; padding: 8px; color: var(--muted); }
.search__close:hover { color: var(--red); }
.search__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 32px; }
.search__cols h3 { font-size: 11.5px; color: var(--muted-2); font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.search__cols li { padding: 4px 0; font-size: 15px; }
.search__cols li a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; margin-inline: -8px; border-radius: var(--radius-sm); }
.search__cols li a:hover { background: var(--soft); color: var(--red); }
.search__cols li img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; flex: none; }
.search__cols li small { color: var(--muted-2); font-size: 12px; margin-inline-start: auto; }
.search__cols li.is-hidden { display: none; }
.search__empty { color: var(--muted-2); font-size: 14px; padding: 8px 0; display: none; }
.search__cols ul.is-empty + .search__empty { display: block; }

/* flash */
.flash { padding: 12px 0; font-size: 14px; font-weight: 600; }
.flash--ok, .flash--success { background: #e7f6ef; color: var(--green); }
.flash--error { background: var(--red-soft); color: var(--red); }
.flash--info { background: #eef3fb; color: var(--blue); }
.flash--inline { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.flash ul { padding-inline-start: 18px; list-style: disc; }

/* ==========================================================================
   HOME
   ========================================================================== */
/* category round tiles (tefal.sa "Discover our categories") */
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.cat-tile__img { width: min(100%, 160px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #e6e6e6; border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line-soft); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-tile:hover .cat-tile__img { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--red), var(--shadow-sm); }
.cat-tile:hover .cat-tile__img img { transform: scale(1.06); }
.cat-tile h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; }
.cat-tile p { font-size: 12px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile small { font-size: 11px; color: var(--muted-2); }

/* hero carousel (tefal.com rounded 1240×420) */
.hero-carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); aspect-ratio: 1240 / 420; min-height: 300px; isolation: isolate; box-shadow: var(--shadow-sm); }
.hero-carousel__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s 0.7s; color: #fff; }
.hero-carousel__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero-carousel__slide--light { color: var(--ink); }
.hero-carousel__bg { position: absolute; inset: 0; z-index: -1; }
.hero-carousel__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-carousel__slide.is-active .hero-carousel__bg img { transform: scale(1); }
.hero-carousel__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0) 75%); }
.hero-carousel__slide--light .hero-carousel__bg::after { background: linear-gradient(to left, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0) 75%); }
.hero-carousel__content { position: relative; z-index: 2; padding: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 72px); max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; }
.hero-carousel__content .eyebrow { color: inherit; opacity: 0.85; margin-bottom: 10px; }
.hero-carousel__slide--dark .hero-carousel__content .eyebrow { color: #ffb3b8; }
.hero-carousel__content h2 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 900; line-height: 1.25; }
.hero-carousel__content p { font-size: clamp(13px, 1.2vw, 16px); margin-top: 12px; opacity: 0.9; max-width: 44ch; }
.hero-carousel__content .btn { margin-top: 20px; }
.hero-carousel__slide.is-active .hero-carousel__content > * { animation: rise 0.8s var(--ease) both; }
.hero-carousel__slide.is-active .hero-carousel__content > :nth-child(2) { animation-delay: 0.08s; }
.hero-carousel__slide.is-active .hero-carousel__content > :nth-child(3) { animation-delay: 0.16s; }
.hero-carousel__slide.is-active .hero-carousel__content > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-carousel__dots { position: absolute; bottom: 16px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-carousel__dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(0, 0, 0, 0.15); transition: transform 0.25s, background 0.25s; }
.hero-carousel__dot.is-active { background: var(--red); transform: scale(1.25); border-color: transparent; }
.hero-carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background 0.2s, color 0.2s; }
.hero-carousel__arrow:hover { background: var(--red); color: #fff; }
.hero-carousel__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-carousel__arrow--prev { inset-inline-start: 14px; }
.hero-carousel__arrow--next { inset-inline-end: 14px; }

/* legacy hero (kept for other views) */
.hero { position: relative; overflow: hidden; background: var(--soft); color: var(--ink); }
.hero__slide { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }

/* promo tiles (tefal.com 4 tiles under hero) */
.promo-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promo-tile { display: flex; flex-direction: column; text-align: center; gap: 10px; }
.promo-tile__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--soft); box-shadow: var(--shadow-sm); }
.promo-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.promo-tile:hover .promo-tile__media img { transform: scale(1.05); }
.promo-tile h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 4px; }
.promo-tile:hover h3 { color: var(--red); }
.promo-tile p { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* legacy promo grid */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; min-height: 320px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo--wide { grid-column: span 2; grid-template-rows: none; grid-template-columns: 1fr 1fr; align-items: center; }
.promo__text { padding: 28px 28px 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.promo--wide .promo__text { padding: 40px; }
.promo__text h3 { font-size: 22px; font-weight: 800; }
.promo__text p { color: var(--muted); font-size: 14px; }
.promo__price { font-weight: 700; margin-top: 6px; }
.promo__price del { color: var(--muted-2); font-weight: 400; font-size: 13px; margin-inline-start: 6px; }
.promo img { width: 100%; height: 100%; object-fit: contain; padding: 16px 24px 24px; max-height: 260px; align-self: end; }

/* ranges strip */
.range-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.range-strip--6 { grid-template-columns: repeat(6, 1fr); }
.range-tile { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.range-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.range-tile__media { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.range-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.range-tile:hover .range-tile__media img { transform: scale(1.05); }
.range-tile__body { padding: 14px 14px 16px; }
.range-tile__body h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.range-tile__body h3 span[dir="ltr"] { display: inline-block; }
.range-tile__body p { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.range-tile__body .link-arrow { margin-top: 8px; font-size: 12px; }

/* innovation story */
.innovation { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-soft); }
.innovation__intro h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; line-height: 1.3; }
.innovation__intro p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.innovation__intro .btn { margin-top: 20px; }
.innovation__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.innovation-card { padding: 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line-soft); transition: border-color 0.25s, background 0.25s; }
.innovation-card:hover { border-color: var(--red); background: #fff; }
.innovation-card svg { width: 36px; height: 36px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.innovation-card h3 { font-size: 15px; font-weight: 800; }
.innovation-card h3 [dir="ltr"] { font-size: 13px; }
.innovation-card p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.7; }

/* capsule tabs */
.tabs-center { text-align: center; }
.capsule-tabs { display: inline-flex; gap: 4px; background: #e6e6e6; border-radius: var(--pill); padding: 4px; margin-bottom: 28px; max-width: 100%; }
.capsule-tabs button { padding: 8px 20px; border-radius: var(--pill); color: var(--muted); font-weight: 700; font-size: 13px; transition: background 0.25s, color 0.25s; white-space: nowrap; text-transform: uppercase; }
.capsule-tabs button.is-active { background: var(--red); color: #fff; }
.capsule-tabs button:not(.is-active):hover { color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* sale band */
.sale-band { background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.sale-band .section__head h2 { color: #fff; }
.sale-band .section__head p { color: rgba(255, 255, 255, 0.85); }
.sale-band .product-grid { gap: 16px; }
.sale-band .section__foot { margin-top: 24px; }

/* blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-grid--4 { grid-template-columns: repeat(4, 1fr); }
.post { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post__media--hero { aspect-ratio: 16 / 8; border-radius: var(--radius-lg); margin-block: 20px 28px; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 11px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; }
.post h3 { font-size: 15px; font-weight: 800; margin-top: 6px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post p { font-size: 13px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__meta { font-size: 12px; color: var(--muted-2); margin-top: auto; padding-top: 10px; }
.post--featured { grid-column: span 2; grid-row: span 2; }
.post--featured h3 { font-size: 22px; }
.prose { font-size: 16px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-inline-start: 22px; }
.prose ol { list-style: decimal; padding-inline-start: 22px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }

/* consumer services bar (tefal.com signature) */
.services-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px); border: 1px solid var(--line-soft); }
.service { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px; border-radius: var(--radius); transition: background 0.2s; }
.service:hover { background: var(--soft); }
.service__icon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; color: var(--red); transition: background 0.2s, color 0.2s; }
.service:hover .service__icon { background: var(--red); color: #fff; }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 12.5px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.service p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* perks (kept) */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perks--4 { grid-template-columns: repeat(4, 1fr); }
.perk { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 22px; background: var(--surface); }
.perk svg { width: 32px; height: 32px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.perk h3 { font-size: 16px; font-weight: 800; }
.perk p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- newsletter + footer ---------- */
.newsletter { background: var(--teal); padding-block: clamp(40px, 6vw, 72px); text-align: center; }
.newsletter__inner { max-width: 760px; margin-inline: auto; }
.newsletter__form { max-width: 560px; margin-inline: auto; }
.newsletter h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }
.newsletter h2 em { font-style: normal; color: var(--red); }
.newsletter p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 22px; }
.newsletter__form input { min-height: 48px; padding: 0 20px; border: 1.5px solid #fff; border-radius: var(--pill); background: #fff; outline: none; min-width: 0; }
.newsletter__form input:focus { border-color: var(--red); }
.newsletter__form small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.newsletter__form small a { text-decoration: underline; text-underline-offset: 3px; }

.footer { background: var(--footer); padding-block: clamp(36px, 5vw, 56px) 28px; font-size: 13px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 20px; }
.footer__col h2 { font-size: 12px; font-weight: 800; margin-bottom: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; }
.footer__col li { padding: 3px 0; }
.footer__col li a:hover { color: var(--red); }
.footer__col--wide { grid-column: span 2; }
.footer__meta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid #d4d4d4; }
.footer__brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__brand .logo__word { font-size: 30px; }
.footer__contact { display: block; font-weight: 700; font-size: 14px; color: var(--ink); padding: 1px 0; }
.footer__hours { color: var(--muted-2); margin-top: 4px; font-size: 12px; }
.footer__rate { display: inline-block; padding: 8px 14px; border-radius: var(--pill); background: #fff; font-size: 12.5px; color: var(--ink); }
.footer__rate strong { color: var(--red); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: background 0.2s, transform 0.2s; }
.socials a:hover { background: var(--red-dark); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
/* فروشگاه‌های دیگر ما — a plain, static list of the sibling shops */
.footer__family { border-top: 1px solid #d4d4d4; margin-top: 24px; padding-top: 20px; }
.footer__family h2 { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.footer__family ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 22px; }
.footer__family li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--muted-2); font-size: 13px; line-height: 1.7; }
.footer__family li a { font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.footer__family li a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { border-top: 1px solid #d4d4d4; margin-top: 24px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 12px; }
.footer__bottom ul { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__bottom ul a:hover { color: var(--red); }
.payments { display: flex; gap: 6px; flex-wrap: wrap; }
.payments span { border: 1px solid #d4d4d4; background: #fff; border-radius: 6px; padding: 3px 10px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.footer__perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 24px; border-bottom: 1px solid #d4d4d4; margin-bottom: 32px; }
.footer__perks a { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; color: var(--ink); }
.footer__perks svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.footer__stores { display: flex; gap: 8px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.footer__region { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d4d4d4; border-radius: var(--pill); padding: 6px 14px; font-weight: 600; background: #fff; }

/* toast / to-top / reveal */
.toast { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translate(50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--pill); font-size: 14px; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s; z-index: 500; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(50%, 0); transition-delay: 0s; }
.toast.is-error { background: var(--red); }
.to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s; z-index: 90; box-shadow: var(--shadow-sm); }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { color: var(--red); border-color: var(--red); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > :nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > :nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > :nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > :nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > :nth-child(6) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; } .hero-carousel__bg img { transition: none; } .hero-carousel__slide.is-active .hero-carousel__content > * { animation: none; } }

/* ==========================================================================
   PRODUCT CARD / PRICE / STARS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-grid--2 { grid-template-columns: repeat(2, 1fr); }
.product-card { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; min-width: 0; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__tags { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; display: flex; gap: 5px; flex-wrap: wrap; max-width: calc(100% - 24px); }
.product-card__media { background: #fff; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 2px; }
.product-card__series, .product-card__family { font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; display: flex; gap: 6px; align-items: center; }
.product-card__family [dir="ltr"] { display: inline-block; }
.product-card h3 { font-size: 14.5px; font-weight: 800; margin-top: 2px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card h3 a:hover { color: var(--red); }
.product-card__en { font-size: 11px; color: var(--muted-2); direction: ltr; text-align: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__bullets { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); flex: 1; }
.product-card__bullets li { display: flex; gap: 6px; line-height: 1.6; }
.product-card__bullets li::before { content: "✓"; color: var(--red); font-weight: 800; flex: none; }
.product-card .price { margin-top: 10px; }
.product-card__actions { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.product-card__actions form { flex: 1; }
.product-card__actions .btn { min-height: 40px; padding-inline: 14px; font-size: 13px; width: 100%; }
.product-card__more { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; padding: 0 6px; }
.product-card__more:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.product-card--compact .product-card__body { padding: 12px 14px 14px; }
.product-card--compact h3 { font-size: 13.5px; }
.product-card--compact .product-card__bullets { display: none; }
.stars { display: inline-flex; align-items: center; gap: 1px; font-size: 13px; color: #d5d5d5; margin-top: 2px; line-height: 1; }
.stars i { font-style: normal; }
.stars i.on { color: var(--gold); }
.stars i.half { background: linear-gradient(to left, var(--gold) 50%, #d5d5d5 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars small { color: var(--muted-2); margin-inline-start: 6px; font-size: 11.5px; }

/* price */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 800; font-size: 16px; color: var(--ink); }
.price--sale .price__toman { color: var(--red); }
.price__toman small { font-size: 11px; font-weight: 600; color: var(--muted); }
.price del { color: var(--muted-2); font-weight: 400; font-size: 13px; }
.price__save { font-size: 11px; font-weight: 800; color: var(--red); }
.price__usd { font-size: 11.5px; font-weight: 600; color: var(--muted-2); }
.price--big { font-size: 28px; }
.price--big .price__toman small { font-size: 14px; }
.price--big del { font-size: 16px; }
.price--big .price__save { font-size: 13px; padding: 3px 9px; }
.price--big .price__usd { font-size: 13px; }
.price--hero { font-size: 22px; }
.section--dark .price__toman small, .section--dark .price del, .section--dark .price__usd { color: rgba(255, 255, 255, 0.7); }

/* row scroll */
.row-scroll { position: relative; }
.row-scroll__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.row-scroll__track::-webkit-scrollbar { display: none; }
.row-scroll__track > * { flex: 0 0 min(76vw, 282px); scroll-snap-align: start; }
.row-scroll__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.row-scroll__nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.row-scroll__nav button:hover { border-color: var(--red); color: var(--red); }
.row-scroll__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row-scroll--float .row-scroll__nav { position: absolute; inset: 0; margin: 0; pointer-events: none; align-items: center; justify-content: space-between; }
.row-scroll--float .row-scroll__nav button { pointer-events: auto; box-shadow: var(--shadow-sm); }

/* cta band */
.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.cta-band h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; }
.cta-band p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.cta-band .btn-row { margin: 0; }

/* series cards (kept) */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.series-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; min-height: 400px; display: flex; align-items: flex-end; isolation: isolate; }
.series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.series-card:hover img { transform: scale(1.05); }
.series-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 65%); z-index: -1; }
.series-card__body { padding: 28px; }
.series-card__body h3 { font-size: 22px; font-weight: 800; }
.series-card .link-arrow { color: #fff; margin-top: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%); z-index: -1; }
.video__body { padding: 16px; }
.video__body h3 { font-size: 15px; }

/* ==========================================================================
   LISTING (tefal.com category page)
   ========================================================================== */
.collection-hero, .listing-head { padding-block: clamp(16px, 3vw, 28px) clamp(16px, 2vw, 24px); }
.collection-hero h1, .listing-head h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; text-transform: uppercase; }
.collection-hero p, .listing-head p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 80ch; }
/* sub-category icon strip */
.subnav-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px 14px; justify-content: safe center; }
.subnav-strip::-webkit-scrollbar { display: none; }
.subnav-strip a { flex: 0 0 auto; width: 110px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 8px 4px; border-radius: var(--radius); border: 1px solid transparent; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.subnav-strip a:hover, .subnav-strip a.is-active { color: var(--red); border-color: var(--line-soft); background: var(--surface); }
.subnav-strip img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; border: 1px solid var(--line-soft); }
.subnav-strip a.is-active img { border-color: var(--red); box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.15); }
.series-tabs { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.series-tabs a { padding: 8px 18px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.series-tabs a.is-active, .series-tabs a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.collection, .listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.filters { position: sticky; top: calc(var(--header-stack) + 12px); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); max-height: calc(100vh - var(--header-stack) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.filters__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.filters__head a { font-size: 12px; color: #fff; opacity: 0.85; text-transform: none; letter-spacing: 0; }
.filters__head a:hover { opacity: 1; text-decoration: underline; }
.filters__sub { padding: 10px 16px; background: var(--soft); text-align: center; font-size: 12px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--line-soft); }
.filters details { border-bottom: 1px solid var(--line-soft); padding-inline: 16px; }
.filters details:last-of-type { border-bottom: 0; }
.filters summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 800; cursor: pointer; font-size: 13.5px; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: ""; width: 8px; height: 8px; border-inline-end: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2); transform: rotate(45deg); margin-bottom: 4px; transition: transform 0.25s; }
.filters details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.filters details[open] summary { color: var(--red); }
.filters__opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; color: var(--muted); }
.filters__opt:last-of-type { padding-bottom: 14px; }
.filters__opt:hover { color: var(--ink); }
.filters__opt i { width: 17px; height: 17px; border: 1.5px solid var(--line); border-radius: 4px; flex: none; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; background: #fff; }
.filters__opt small { margin-inline-start: auto; font-size: 11px; color: var(--muted-2); }
.filters__opt.is-on { color: var(--red); font-weight: 700; }
.filters__opt.is-on i { background: var(--red); border-color: var(--red); }
.filters__opt.is-on i::after { content: "✓"; color: #fff; font-size: 11px; }
.filters__opt.is-off { opacity: 0.45; }
.filters__toggle { display: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 13px; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 10px 14px; }
.toolbar select { border: 1.5px solid var(--line); border-radius: var(--pill); padding: 7px 12px; background: #fff; font-size: 13px; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 700; }
.chips a.is-on, .chips span.is-on { background: var(--red); color: #fff; border-color: var(--red); }
.chips a:hover { border-color: var(--red); color: var(--red); }
.chips a.is-on:hover { color: #fff; }
.family-band { background: var(--red); color: #fff; font-size: 14px; font-weight: 800; padding: 8px 16px; border-radius: 6px; margin: 24px 0 14px; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: 0.03em; }
.family-band:first-child { margin-top: 0; }
.family-band small { font-weight: 600; font-size: 12px; opacity: 0.85; text-transform: none; letter-spacing: 0; }
.family-band a:hover { text-decoration: underline; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp { padding-block: 16px 48px; }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; position: sticky; top: calc(var(--header-stack) + 16px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery__thumbs button { width: 72px; height: 72px; border-radius: 8px; border: 1.5px solid var(--line-soft); background: #fff; padding: 6px; transition: border-color 0.2s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main { position: relative; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); aspect-ratio: 1; display: grid; place-items: center; padding: 28px; overflow: hidden; }
.gallery__main .badge { position: absolute; top: 16px; inset-inline-start: 16px; }
.gallery__main .product-card__tags { top: 16px; inset-inline-start: 16px; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s, transform 0.5s var(--ease); }
.gallery__main:hover img { transform: scale(1.08); }
.buybox { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); }
.buybox__series, .buybox__family { font-size: 12px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; display: flex; gap: 8px; align-items: center; }
.buybox__series span, .buybox__family span { color: var(--muted-2); font-weight: 600; letter-spacing: 0; }
.buybox h1 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; margin-top: 6px; line-height: 1.4; }
.buybox__en { font-size: 13px; color: var(--muted-2); direction: ltr; text-align: end; display: block; margin-top: 2px; }
.buybox__tagline { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.buybox__rating { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.buybox__rating a { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.buybox__price { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.buybox__rate { display: block; font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.choice { margin-top: 20px; }
.choice h3 { font-size: 13.5px; font-weight: 800; margin-bottom: 10px; }
.choice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice__opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s, background 0.2s; background: #fff; }
.choice__opt:hover { border-color: var(--red); }
.choice__opt.is-active { border-color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red); }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opt img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.choice__opt span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice__opt strong { font-size: 13.5px; }
.choice__opt small { font-size: 12px; color: var(--muted); }
.choice__opt em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--red); }
.buybox__qty { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.buybox__qty label { font-weight: 700; font-size: 13.5px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--pill); overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 40px; font-size: 20px; display: grid; place-items: center; }
.qty button:hover { background: var(--soft); color: var(--red); }
.qty input { width: 48px; height: 40px; text-align: center; border: 0; outline: none; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty span { width: 40px; text-align: center; font-weight: 700; }
.qty--sm button, .qty--sm span { width: 32px; height: 32px; font-size: 16px; line-height: 32px; }
.buybox__stock { font-size: 13px; font-weight: 700; }
.buybox__stock.in { color: var(--green); }
.buybox__stock.out { color: var(--red); }
.buybox__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.buybox__perks { margin-top: 18px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); padding: 14px 16px; border-radius: var(--radius); background: var(--soft); }
.buybox__perks li { display: flex; align-items: center; gap: 10px; }
.buybox__perks svg { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.buybox__features { margin-top: 20px; }
.buybox__features h3 { font-size: 13.5px; font-weight: 800; margin-bottom: 8px; }
.buybox__features ul { display: flex; flex-wrap: wrap; gap: 6px; }
.buybox__features li { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: var(--pill); background: var(--soft); border: 1px solid var(--line-soft); color: var(--muted); }
.buybar { position: sticky; top: var(--header-stack); z-index: 80; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(14px); border-block: 1px solid var(--line-soft); transform: translateY(-110%); transition: transform 0.3s var(--ease); }
.buybar.is-stuck { transform: none; }
.buybar__inner { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.buybar__name { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.buybar__links a:hover { color: var(--red); }
.buybar__cta { display: flex; align-items: center; gap: 14px; }
.buybar__price { font-weight: 800; font-size: 15px; white-space: nowrap; color: var(--red); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14.5px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: "✓"; color: #fff; background: var(--red); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; margin-top: 3px; }
.ksp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ksp__item { text-align: center; padding: 20px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.ksp__item strong { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.1; color: var(--red); }
.ksp__item span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 900; }
.split p { margin-top: 14px; color: var(--muted); max-width: 52ch; font-size: 15.5px; }
.section--dark .split p { color: rgba(255, 255, 255, 0.75); }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dim { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); padding: 24px; }
.dim > img { width: 100%; max-width: 320px; margin-inline: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.dim h3 { font-size: 18px; font-weight: 800; margin-block: 10px 8px; }
.dim p { color: var(--muted); font-size: 14px; }
.box-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.box-list li::before { content: "✓ "; color: var(--red); font-weight: 800; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
.table-wrap--plain { border: 0; border-radius: 0; }
.spec { width: 100%; min-width: 640px; font-size: 13.5px; }
.spec th, .spec td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec thead th { background: #fff; font-size: 14px; font-weight: 800; }
.spec thead th img { width: 88px; height: 88px; object-fit: contain; margin-bottom: 6px; }
.spec thead th small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.spec tbody th { font-weight: 700; color: var(--muted); background: var(--soft); width: 190px; position: sticky; inset-inline-start: 0; }
.spec tbody tr:last-child td, .spec tbody tr:last-child th { border-bottom: 0; }
.spec .is-this { background: var(--red-soft); }
.spec .is-best { color: var(--red); font-weight: 800; }
.spec--single { min-width: 0; }
.spec--single th { width: 40%; }
.spec--sticky-head thead th { position: sticky; top: var(--header-h); z-index: 1; }
.kol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kol { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.kol__body { padding: 20px 22px 22px; }
.kol__body blockquote { font-size: 14.5px; line-height: 1.8; margin-top: 8px; }
.kol__body cite { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--muted); }
.kol__body cite i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #ff7a82); flex: none; }
.accordion { border-top: 1px solid var(--line-soft); }
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; font-size: 15.5px; font-weight: 800; cursor: pointer; }
.accordion summary:hover { color: var(--red); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 10px; height: 10px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex: none; transition: transform 0.3s var(--ease); margin-bottom: 5px; }
.accordion details[open] summary::after { transform: rotate(-135deg); margin-bottom: -5px; }
.accordion details[open] summary { color: var(--red); }
.accordion .acc__body { padding: 0 0 20px; color: var(--muted); max-width: 80ch; font-size: 14.5px; }
.accordion--card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding-inline: 20px; border-top-color: var(--line-soft); }

/* ==========================================================================
   COMPARE / QUIZ
   ========================================================================== */
.quiz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quiz__q { border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--radius); padding: 20px; }
.quiz__q h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz__opts button { padding: 7px 14px; border-radius: var(--pill); border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; background: #fff; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.quiz__opts button.is-active, .quiz__opts button:hover { background: var(--red); color: #fff; border-color: var(--red); }
.quiz__result { margin-top: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--red); }
.quiz__pick { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.quiz__pick img { width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.quiz__pick h3 { font-size: 22px; font-weight: 800; }
.quiz__pick p { color: var(--muted); }
.quiz__pick strong { display: block; margin-top: 6px; color: var(--red); }

/* ==========================================================================
   CART / CHECKOUT / ORDER
   ========================================================================== */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-lines { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 0 20px; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); aspect-ratio: 1; display: grid; place-items: center; padding: 8px; }
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__body h3 { font-size: 15.5px; font-weight: 800; }
.cart-line__body p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.cart-line__total { text-align: end; font-size: 16px; font-weight: 800; white-space: nowrap; }
.cart-line__total small { font-size: 12px; color: var(--muted); font-weight: 500; }
.cart-line__total del { display: block; color: var(--muted-2); font-size: 12.5px; font-weight: 400; }
.summary { position: sticky; top: calc(var(--header-stack) + 16px); max-height: calc(100vh - var(--header-stack) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.summary h2 { font-size: 16px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--muted); }
.summary__total { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 14px !important; font-weight: 800; color: var(--ink) !important; font-size: 17px !important; }
.summary .btn { margin-top: 12px; }
.summary__note { font-size: 12px; color: var(--muted-2); margin-top: 12px; }
.summary__perks { margin-top: 14px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.summary__perks li::before { content: "✓ "; color: var(--red); font-weight: 800; }
.summary__lines { display: grid; gap: 10px; margin-bottom: 12px; }
.summary__lines li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.summary__lines img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; flex: none; }
.summary__lines span { flex: 1; display: flex; flex-direction: column; }
.summary__lines small { color: var(--muted-2); font-size: 12px; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
fieldset { border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--radius); padding: 20px 22px 22px; margin: 0 0 18px; }
legend { font-weight: 800; padding: 0 8px; font-size: 15.5px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field small { font-size: 12px; color: var(--muted-2); }
.field input, .field select, .field textarea { min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field--full { grid-column: 1 / -1; }
.form-stack { max-width: 480px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid__foot { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.pay-opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.pay-opt input { accent-color: var(--red); width: 18px; height: 18px; }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); font-size: 12px; }
.order-head { text-align: center; margin-bottom: 28px; }
.order-head h1 { margin-bottom: 6px; }
.status { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 800; background: #ececec; }
.status--pending { background: #fff4e5; color: #b25e00; }
.status--paid, .status--delivered { background: #e7f6ef; color: var(--green); }
.status--processing, .status--shipped { background: #eef3fb; color: var(--blue); }
.status--cancelled { background: var(--red-soft); color: var(--red); }
.paybox { border: 1.5px solid var(--red); background: var(--surface); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.paybox h2 { font-size: 18px; margin-bottom: 8px; }
.paybox__card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; background: var(--soft); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 22px; font-weight: 800; letter-spacing: 0.06em; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 8px; }
.card { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; background: var(--surface); margin-bottom: 18px; }
.card h2 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.card dl > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   SUPPORT / ABOUT
   ========================================================================== */
.support-hero { background: var(--red); color: #fff; padding-block: clamp(48px, 7vw, 88px); text-align: center; }
.support-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; text-transform: uppercase; }
.support-hero p { color: rgba(255, 255, 255, 0.85); margin-top: 10px; }
.support-search { display: flex; margin: 26px auto 0; max-width: 620px; background: #fff; border-radius: var(--pill); padding: 6px 6px 6px 20px; color: var(--ink); gap: 8px; }
.support-search input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; min-width: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); transition: border-color 0.3s, transform 0.3s var(--ease); }
.cat:hover { border-color: var(--red); transform: translateY(-4px); }
.cat svg { width: 32px; height: 32px; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.cat h3 { font-size: 17px; font-weight: 800; }
.cat p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.manuals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.manual { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }
.manual img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; }
.manual strong { display: block; font-size: 14px; }
.manual span { font-size: 12px; color: var(--muted-2); }
.manual a { margin-inline-start: auto; font-size: 13px; font-weight: 800; color: var(--red); white-space: nowrap; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.value h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); text-align: center; }
.contact strong { display: block; font-size: 19px; margin-bottom: 4px; }
.contact span { color: var(--muted); font-size: 14px; display: block; }
.contact .btn { margin-top: 16px; }
.story { background: var(--ink); color: #fff; }
.story__hero { min-height: 52svh; display: grid; place-items: center; text-align: center; padding-block: 72px; position: relative; overflow: hidden; }
.story__hero::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(55% 45% at 50% 60%, rgba(227, 6, 19, 0.45), transparent 70%); }
.story__hero > * { position: relative; max-width: 780px; }
.story__hero .lead { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.stat strong { display: block; font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; line-height: 1.1; color: var(--red); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.timeline { display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.timeline strong { color: var(--red); font-size: 18px; font-weight: 900; }

/* ==========================================================================
   ADMIN
   ========================================================================== */
body.is-admin { background: var(--ground); }
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin__side { background: var(--surface); border-inline-end: 1px solid var(--line-soft); padding: 24px 20px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 24px; }
.admin__side .logo__word { font-size: 28px; }
.admin__nav { display: flex; flex-direction: column; gap: 2px; }
.admin__nav a { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.admin__nav a:hover { background: var(--soft); color: var(--ink); }
.admin__nav a.is-active { background: var(--red); color: #fff; }
.admin__logout { margin-top: auto; }
.admin__main { padding: 32px clamp(16px, 3vw, 40px); min-width: 0; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats--admin { margin-bottom: 20px; }
.stats--admin .stat strong { font-size: clamp(20px, 2vw, 28px); }
.login { min-height: 100vh; display: grid; place-items: center; background: var(--ground); padding: 24px; }
.login__box { background: var(--surface); border-radius: var(--radius-lg); padding: 40px; width: min(100%, 420px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.login__box h1 { font-size: 20px; }
.table { width: 100%; font-size: 13.5px; }
.table th, .table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table thead th { font-size: 11.5px; color: var(--muted-2); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.table tfoot th, .table tfoot td { border-bottom: 0; font-weight: 800; }
.table .thumb { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; float: inline-start; margin-inline-end: 10px; }
.table td small { display: block; font-size: 12px; }
.table--edit input:not([type="checkbox"]) { width: 120px; min-height: 38px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 6px; }
.table--edit input.w-sm { width: 80px; }
.table--edit input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--red); }
.table .is-sub td { background: #fafafa; font-size: 13px; color: var(--muted); }
.table .is-off td { opacity: 0.5; }
.table .num { font-weight: 800; white-space: nowrap; }
.table .up { color: var(--red); font-weight: 800; }
.table .down { color: var(--green); font-weight: 800; }
.rate-form__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.rate-form__grid .check { grid-column: 1 / -1; }
.rate-form__live { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red-dark); font-size: 14px; margin-top: 4px; }
.rate-form__live strong { font-size: 18px; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; background: #ececec; padding: 2px 6px; border-radius: 4px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .mega__inner { grid-template-columns: 1.35fr 0.9fr 1.6fr; }
  .mega__image { display: none; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid--4, .video-grid, .perks--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .ksp, .stats { grid-template-columns: repeat(2, 1fr); }
  .rate-form__grid { grid-template-columns: 1fr 1fr; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .innovation { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 60px; --announce-h: 32px; --header-stack: var(--header-h); }
  .catnav { display: none; }
  .header__burger { display: flex; }
  .announce__links { display: none; }
  .announce__inner { grid-template-columns: 1fr; }
  .announce__item { justify-content: center; }
  .hero-carousel { aspect-ratio: 4 / 3; min-height: 0; }
  .hero-carousel__slide { align-items: flex-end; }
  .hero-carousel__bg::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 100%); }
  .hero-carousel__slide--light .hero-carousel__bg::after { background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 100%); }
  .hero-carousel__content { padding-bottom: 44px; max-width: none; }
  .hero-carousel__arrow { display: none; }
  .promo-tiles { grid-template-columns: repeat(2, 1fr); }
  .services-bar { grid-template-columns: repeat(3, 1fr); }
  .services-bar .service:nth-child(4), .services-bar .service:nth-child(5) { grid-column: span 1; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo--wide { grid-column: auto; grid-template-columns: 1fr; }
  .series-grid, .kol-grid, .quiz, .cat-grid, .contact-grid, .manuals, .values, .perks, .blog-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .newsletter__inner, .dims, .cart, .checkout, .order-grid, .admin-grid, .cta-band, .checklist { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .collection, .listing { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters__toggle { display: inline-flex; }
  .pdp__grid { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .buybar__links { display: none; }
  .summary { position: static; }
  .footer__perks { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__meta { grid-template-columns: 1fr; }
  .admin { grid-template-columns: 1fr; }
  .admin__side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin__nav { flex-direction: row; flex-wrap: wrap; }
  .admin__logout { margin: 0; }
  .form-grid, .field-row { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  :root { --fs-body: 14.5px; }
  .logo__word { font-size: 30px; }
  .logo__fa { display: none; }
  .logo__img { height: 24px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cat-tile h3 { font-size: 12px; }
  .cat-tile p { display: none; }
  .hero-carousel { aspect-ratio: 1; border-radius: 12px; }
  .hero-carousel__content h2 { font-size: 22px; }
  .hero-carousel__content p { font-size: 13px; }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__body { padding: 10px 12px 12px; }
  .product-card h3 { font-size: 13px; }
  .product-card__bullets { display: none; }
  .product-card__actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .product-card__more { text-align: center; }
  .price { font-size: 14px; }
  .range-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .innovation__grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-grid--4, .video-grid, .perks--4, .ksp, .stats, .box-list, .choice__grid, .footer__perks { grid-template-columns: 1fr; }
  .services-bar { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 20px 12px; }
  .services-bar .service:last-child { grid-column: span 2; }
  .service__icon { width: 48px; height: 48px; }
  .service__icon svg { width: 24px; height: 24px; }
  .sale-band { padding: 20px 14px; border-radius: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--wide { grid-column: span 2; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .newsletter__form { grid-template-columns: 1fr; }
  .search__cols { grid-template-columns: 1fr; gap: 28px; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 auto; }
  .capsule-tabs { width: 100%; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .capsule-tabs button { flex: 0 0 auto; padding-inline: 14px; }
  .post--featured { grid-column: auto; grid-row: auto; }
  .post--featured h3 { font-size: 18px; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-line__total { grid-column: 2; text-align: start; }
  .buybox__cta { grid-template-columns: 1fr; }
  .rate-form__grid { grid-template-columns: 1fr; }
  .to-top { bottom: 84px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--4 { grid-template-columns: 1fr; }
  .promo-tiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__family ul { grid-template-columns: 1fr; }
  .footer__col--wide { grid-column: auto; }
}

/* Slim scrollbars for sticky side panels that scroll on their own (filters, order summary, post sidebar). */
.filters::-webkit-scrollbar, .summary::-webkit-scrollbar, .post-page__side::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb, .summary::-webkit-scrollbar-thumb, .post-page__side::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* Add to cart — Amazon's yellow, so the primary purchase action reads the same way shoppers already know. */
.btn--cart { background: #ffd814; color: #0f1111; border-color: #fcd200; box-shadow: 0 2px 5px 0 rgba(213, 217, 217, 0.5); }
.btn--cart:hover { background: #f7ca00; border-color: #f2c200; color: #0f1111; }
.btn--cart:focus-visible { outline: 2px solid #008296; outline-offset: 2px; }

/* ==========================================================================
   تفال ایران — page styles for the catalogue pages
   (listing, PDP, ranges, needs, compare, blog). Shared tokens + classes live in style.css.
   ========================================================================== */

/* ---------- listing head ---------- */
.listing-head { background: var(--ground); }
.listing-intro { margin-top: 6px; }
.listing-intro h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; text-transform: uppercase; letter-spacing: 0.01em; }
.listing-intro p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 90ch; line-height: 1.8; }
.subnav-strip a span { display: block; line-height: 1.4; }
.subnav-strip a small { font-size: 10.5px; font-weight: 600; color: var(--muted-2); }
.listing-banner { position: relative; display: block; margin-top: 18px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1240 / 260; max-height: 300px; background: var(--ink); color: #fff; isolation: isolate; }
.listing-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.listing-banner:hover img { transform: scale(1.03); }
.listing-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 70%); z-index: -1; }
.listing-banner__text { position: absolute; inset-inline-start: clamp(20px, 4vw, 48px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; max-width: 60%; }
.listing-banner__text .eyebrow { color: #fff; opacity: 0.85; margin: 0; }
.listing-banner__text strong { font-size: clamp(20px, 2.8vw, 34px); font-weight: 900; line-height: 1.3; text-transform: uppercase; }
.listing-banner__text span:last-child { font-size: 13px; opacity: 0.85; }

/* ---------- sidebar filters ---------- */
.filters__head strong { display: flex; align-items: center; gap: 8px; }
.filters__close { display: none; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: #fff; place-items: center; }
.filters__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-inline-start: auto; margin-inline-end: 10px; }
.filters__opt span { flex: 1; min-width: 0; line-height: 1.5; }
.filters__opt.is-off { pointer-events: auto; }
.filters__opt.is-off small { opacity: 0.7; }
.filters__foot { display: none; padding: 14px 16px; border-top: 1px solid var(--line-soft); background: var(--surface); position: sticky; bottom: 0; }
.toolbar__count { display: flex; align-items: center; gap: 12px; }
.toolbar__count strong { color: var(--ink); font-weight: 800; }
.toolbar__sort label { font-weight: 700; color: var(--ink); }
.chips a b { font-weight: 800; opacity: 0.8; }
.chips a small { font-weight: 600; opacity: 0.8; }
.family-group + .family-group { margin-top: 8px; }
.family-band small a { color: #fff; }
.listing-foot .blog-grid .post p { -webkit-line-clamp: 2; }

/* mobile: filters become a drawer */
@media (max-width: 960px) {
  .filters { position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); z-index: 210; border-radius: 0; border: 0; transform: translateX(-100%); transition: transform 0.35s var(--ease), box-shadow 0.35s; display: flex; flex-direction: column; overflow-y: auto; box-shadow: none; }
  html[dir="rtl"] .filters { inset: 0 0 0 auto; transform: translateX(100%); }
  .filters.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.45); }
  .filters__head { position: sticky; top: 0; z-index: 2; }
  .filters__close { display: grid; }
  .filters__foot { display: block; margin-top: auto; }
  .filters details { padding-inline: 18px; }
}

/* ---------- PDP ---------- */
.pdp .crumbs { margin-bottom: 18px; }
.buybox__fam { font-family: var(--font-logo), var(--font); font-weight: 900; font-size: 13px; letter-spacing: 0.04em; color: var(--red) !important; }
.buybox__family > span + span::before { content: "·"; margin-inline-end: 8px; color: var(--line); }
.choice__opt { text-align: start; font-family: inherit; width: 100%; }
.choice__opt span { align-items: flex-start; }
.gallery__main--solo { grid-column: 1 / -1; }
.gallery:has(.gallery__main--solo) { grid-template-columns: 1fr; }
.gallery__main .product-card__tags { position: absolute; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 1; }
.buybox__features li { padding: 0; }
.buybox__features li a { display: block; padding: 5px 11px; color: inherit; }
.buybox__features li:hover { border-color: var(--red); color: var(--red); }
.buybox__price .price--big .price__toman { font-size: clamp(24px, 2.6vw, 32px); }
.pdp-section { padding-block: clamp(36px, 5vw, 64px); }
.pdp-desc { max-width: 80ch; margin-inline: auto; line-height: 1.9; }
.ksp { margin-top: 28px; }
.ksp--1 { grid-template-columns: minmax(0, 320px); justify-content: center; }
.ksp--2 { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.ksp--3 { grid-template-columns: repeat(3, 1fr); }
.dim__note { margin-top: 12px; font-weight: 800; color: var(--red); }
.dim--box h3 { margin-top: 0; }
.spec--compare thead th a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 13px; line-height: 1.4; }
.spec--compare thead th a:hover { color: var(--red); }
.spec--compare thead th small { text-align: center; }
.spec--compare td { text-align: center; }
.spec--compare tbody th { text-align: start; }
.spec--compare .stars { justify-content: center; }
.spec--compare del { color: var(--muted-2); font-weight: 400; font-size: 12px; }
.spec__feats { font-size: 12.5px; color: var(--muted); }
.pdp-section .row-scroll__track > * { flex-basis: min(70vw, 250px); }
.pdp-section .kol__body .stars i { color: var(--gold); }

/* ---------- ranges ---------- */
.range-featured { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 8px; }
.range-hero { position: relative; display: flex; align-items: flex-end; min-height: 260px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.range-hero--big { grid-column: span 2; grid-row: span 2; min-height: 100%; }
.range-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); background: #fff; }
.range-hero:hover img { transform: scale(1.05); }
.range-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.05) 60%); z-index: -1; }
.range-hero__body { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.range-hero__cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.range-hero h3 { font-family: var(--font-logo), var(--font); font-size: clamp(20px, 2.2vw, 30px); font-weight: 900; text-align: end; letter-spacing: 0.02em; }
.range-hero--big h3 { font-size: clamp(28px, 3.4vw, 44px); }
.range-hero p { font-size: 13px; opacity: 0.9; line-height: 1.6; }
.range-hero__count { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.18); align-self: flex-start; margin-top: 6px; }
.range-strip--wrap { grid-template-columns: repeat(5, 1fr); }
.range-strip--wrap .range-tile__media { aspect-ratio: 1; padding: 12px; background: #fff; }
.range-strip--wrap .range-tile__media img { object-fit: contain; }
.range-cat { padding-block: clamp(18px, 3vw, 32px); }
.range-cat .family-band { margin-bottom: 16px; }

/* ---------- needs ---------- */
.need-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.need-tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.need-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.need-tile__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.need-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.need-tile:hover .need-tile__media img { transform: scale(1.05); }
.need-tile__body { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.need-tile__body h3 { font-size: 15px; font-weight: 800; }
.need-tile__body span { font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.chips--lg { gap: 10px; margin-bottom: 0; }
.chips--lg a { padding: 10px 16px; font-size: 13.5px; background: var(--surface); }
.material-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.material-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); position: relative; overflow: hidden; transition: border-color 0.25s, transform 0.3s var(--ease); }
.material-tile::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.material-tile--stainless::before { background: linear-gradient(#cfd3d8, #8d949c); }
.material-tile--aluminium::before, .material-tile--cast-aluminium::before { background: linear-gradient(#e2e4e6, #9aa0a6); }
.material-tile--carbon-steel::before { background: #2b2b29; }
.material-tile--glass::before { background: linear-gradient(#dff1ef, #9ccbc6); }
.material-tile--ceramic::before { background: linear-gradient(#f5e6d3, #c9a27a); }
.material-tile--plastic::before { background: var(--blue); }
.material-tile:hover { border-color: var(--red); transform: translateY(-3px); }
.material-tile strong { font-size: 16px; font-weight: 800; }
.material-tile span { font-size: 12.5px; color: var(--muted); }

/* ---------- compare ---------- */
.quiz__picks { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-top: 12px; }
.quiz__pick { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--soft); transition: border-color 0.2s, transform 0.3s var(--ease); }
.quiz__pick:hover { border-color: var(--red); transform: translateY(-2px); }
.quiz__pick--top { background: var(--red-soft); border-color: var(--red); }
.quiz__pick img { width: 96px; height: 96px; flex: none; }
.quiz__pick--top img { width: 140px; height: 140px; }
.quiz__pick h3 { font-size: 15px; font-weight: 800; line-height: 1.4; }
.quiz__pick--top h3 { font-size: 19px; }
.quiz__pick p { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.quiz__rank { display: inline-block; font-size: 11px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.quiz__more { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.quiz__more a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.compare-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.compare-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
#table .capsule-tabs { flex-wrap: wrap; border-radius: 24px; }
.spec--sticky-head thead th { top: 0; }

/* ---------- blog ---------- */
.blog-cats { margin-top: 16px; margin-bottom: 0; }
.blog-grid--feature .post--featured .post__media { aspect-ratio: 16 / 9; flex: 1; }
.blog-grid--feature .post--featured p { -webkit-line-clamp: 4; font-size: 14.5px; }
.post-page { padding-top: clamp(16px, 3vw, 28px); }
.post-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.post-page__main .page-title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.4; margin-top: 4px; }
.post-page__main .post__media--hero { aspect-ratio: 16 / 8; }
.post-page__main .prose { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); }
.post-page__main .prose h2:first-of-type { margin-top: 12px; }
.post-page__main .prose .lead { font-size: 17px; color: var(--muted); }
.post-toc { padding: 16px 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line-soft); margin-bottom: 20px; font-size: 14px; }
.post-toc strong { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }
.post-toc ol { margin: 0; padding-inline-start: 20px; columns: 2; column-gap: 24px; }
.post-toc li { margin: 2px 0; break-inside: avoid; }
.post-toc a { color: var(--ink); text-decoration: none; }
.post-toc a:hover { color: var(--red); }
.post-cta { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.post-page__side { position: sticky; top: calc(var(--header-stack) + 16px); max-height: calc(100vh - var(--header-stack) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: grid; gap: 16px; }
.post-side { padding: 18px 18px 8px; }
.post-side h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; color: var(--red); }
.post-side__list li { border-top: 1px solid var(--line-soft); }
.post-side__list a { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.post-side__list img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); flex: none; }
.post-side__list span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-side__list strong { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-side__list em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--red); }
.post-side__list a:hover strong { color: var(--red); }
.post-side__links li { border-top: 1px solid var(--line-soft); }
.post-side__links a { display: block; padding: 9px 0; font-size: 13px; line-height: 1.5; }
.post-side__links a:hover { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .range-featured { grid-template-columns: repeat(3, 1fr); }
  .range-hero--big { grid-column: span 3; grid-row: span 1; min-height: 320px; }
  .range-strip--wrap { grid-template-columns: repeat(4, 1fr); }
  .need-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .listing-banner { aspect-ratio: 16 / 7; }
  .listing-banner__text { max-width: 75%; }
  .range-featured { grid-template-columns: repeat(2, 1fr); }
  .range-hero--big { grid-column: span 2; }
  .range-strip--wrap { grid-template-columns: repeat(3, 1fr); }
  .need-tiles, .material-tiles { grid-template-columns: repeat(2, 1fr); }
  .quiz__picks { grid-template-columns: 1fr; }
  .post-page__grid { grid-template-columns: 1fr; }
  .post-page__side { position: static; }
  .ksp--3 { grid-template-columns: repeat(2, 1fr); }
  .ksp--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .listing-banner { aspect-ratio: 4 / 3; max-height: none; }
  .listing-banner__text { max-width: 90%; }
  .toolbar { align-items: stretch; }
  .toolbar__sort { width: 100%; justify-content: space-between; }
  .toolbar__sort select { flex: 1; }
  .range-featured { grid-template-columns: 1fr; }
  .range-hero, .range-hero--big { grid-column: span 1; min-height: 220px; }
  .range-strip--wrap { grid-template-columns: repeat(2, 1fr); }
  .need-tiles, .material-tiles { grid-template-columns: 1fr; }
  .ksp--3, .ksp--2 { grid-template-columns: 1fr; }
  .post-toc ol { columns: 1; }
  .blog-cats { display: none; }
  .quiz__pick img, .quiz__pick--top img { width: 84px; height: 84px; }
}

/* commerce.css — cart / checkout / order / track / support / about + admin panel of تفال ایران.
   Uses the shared tokens from style.css (--red --red-dark --ink --muted --line --surface --ground --soft --green --gold --radius --shadow --container --font)
   with safe fallbacks. Shared classes (.btn .card .field .form-grid .table .flash .cart* .checkout* .order* .admin*) are themed in style.css;
   everything here is either page-specific or a fallback layout for those blocks. */

:root {
  --c-red: var(--red, #e30613); --c-red-dark: var(--red-dark, #c20511);
  --c-ink: var(--ink, #1d1d1b); --c-muted: var(--muted, #5f5f5f); --c-line: var(--line, #dcdcdc);
  --c-surface: var(--surface, #ffffff); --c-ground: var(--ground, #f2f2f2); --c-soft: var(--soft, #f7f7f7);
  --c-green: var(--green, #1b8a5a); --c-gold: var(--gold, #f5a623);
  --c-radius: var(--radius, 10px); --c-shadow: var(--shadow, 0 6px 24px -12px rgba(0, 0, 0, 0.2));
  --c-red-soft: #fdeaec; --c-amber: #b25e00; --c-amber-soft: #fff4e5; --c-green-soft: #e7f6ef; --c-blue-soft: #e8f0fe; --c-blue: #1a4fb4;
}

.latin { font-family: var(--font, "Vazirmatn", system-ui, sans-serif); font-variant-numeric: tabular-nums; }
.muted { color: var(--c-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--c-muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--c-red); }
.page-title__count { font-size: 14px; font-weight: 500; color: var(--c-muted); margin-inline-start: 8px; }
.ticks { display: grid; gap: 8px; margin: 18px 0; font-size: 15px; }
.ticks li { padding-inline-start: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--c-red); font-weight: 800; }
.eyebrow--light { color: #fff; opacity: 0.85; }
.eyebrow--muted { color: var(--c-muted); }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cart__lines { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 4px 24px; }
.cart-line { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--c-line); align-items: start; }
.cart-line:last-of-type { border-bottom: 0; }
.cart-line__img { background: var(--c-soft); border-radius: 8px; aspect-ratio: 1; display: grid; place-items: center; padding: 10px; }
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__body h3 { font-size: 17px; font-weight: 800; line-height: 1.4; }
.cart-line__body h3 a:hover { color: var(--c-red); }
.cart-line__body p { font-size: 14px; color: var(--c-muted); margin-top: 2px; }
.cart-line__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px !important; }
.cart-line__variant { color: var(--c-ink) !important; font-weight: 600; }
.cart-line__oos { color: var(--c-red) !important; font-weight: 700; }
.cart-line__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cart-line__total { text-align: end; font-size: 17px; white-space: nowrap; font-weight: 800; }
.cart-line__total small { font-size: 12px; color: var(--c-muted); font-weight: 400; }
.cart-line__total del { display: block; color: var(--c-muted); font-size: 13px; font-weight: 400; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0 12px; border-top: 1px solid var(--c-line); }
.cart-empty svg { width: 64px; height: 64px; stroke: var(--c-red); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.cart-empty p { max-width: 520px; margin-inline: auto; }
.cart-ship { background: var(--c-surface); border: 1px solid var(--c-line); border-inline-start: 4px solid var(--c-red); border-radius: var(--c-radius); padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }
.cart-ship--ok { border-inline-start-color: var(--c-green); color: var(--c-green); font-weight: 600; }
.cart-ship__bar { height: 8px; border-radius: 4px; background: var(--c-ground); margin-top: 10px; overflow: hidden; }
.cart-ship__bar span { display: block; height: 100%; background: var(--c-red); border-radius: 4px; transition: width 0.4s; }
.cart-suggest { margin-top: 64px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-line); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--c-ink); }
.qty button:hover:not(:disabled) { background: var(--c-soft); color: var(--c-red); }
.qty button:disabled { opacity: 0.35; cursor: default; }
.qty span { min-width: 32px; text-align: center; font-weight: 700; }
.link-danger { color: var(--c-red); font-size: 14px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.link-danger:hover { text-decoration: underline; }

/* ---------- summary (cart + checkout aside) ---------- */
.summary { position: sticky; top: calc(var(--header-stack) + 16px); max-height: calc(100vh - var(--header-stack) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 24px; background: var(--c-surface); box-shadow: var(--c-shadow); }
.summary h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.summary h2 small { font-size: 13px; color: var(--c-muted); font-weight: 400; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--c-muted); }
.summary__total { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 14px !important; font-weight: 800; color: var(--c-ink) !important; font-size: 17px !important; }
.summary__total dd { color: var(--c-red); }
.summary .btn { margin-top: 12px; }
.summary__note { font-size: 12px; color: var(--c-muted); margin-top: 12px; line-height: 1.8; }
.summary__perks { margin-top: 14px; font-size: 13px; color: var(--c-muted); display: grid; gap: 4px; }
.summary__perks li::before { content: "✓ "; color: var(--c-red); font-weight: 700; }
.summary__pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.summary__pay span { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--c-soft); color: var(--c-muted); border: 1px solid var(--c-line); }
.summary__lines { display: grid; gap: 10px; margin-bottom: 12px; }
.summary__lines li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.summary__lines img { width: 44px; height: 44px; object-fit: contain; background: var(--c-soft); border-radius: 8px; flex: none; }
.summary__lines span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.summary__lines small { color: var(--c-muted); font-size: 12px; }
.summary__lines strong { white-space: nowrap; }
.summary__lines--plain li { padding: 6px 0; border-bottom: 1px dashed var(--c-line); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.checkout__form fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.checkout__form fieldset.card { padding: 24px; }
.checkout__form legend { font-size: 18px; font-weight: 800; margin-bottom: 14px; padding: 0; float: inline-start; width: 100%; }
.checkout__form legend + * { clear: both; }
.checkout-steps { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--c-muted); margin-bottom: 8px; flex-wrap: wrap; }
.checkout-steps span { padding: 4px 12px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); }
.checkout-steps span.is-on { background: var(--c-red); color: #fff; border-color: var(--c-red); font-weight: 700; }
.checkout-steps span.is-done { color: var(--c-green); border-color: var(--c-green); }
.checkout-steps span.is-done::before { content: "✓ "; }
.checkout__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--c-muted); }
.flash--inline ul { margin: 6px 0 0; padding-inline-start: 20px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--c-line); border-radius: 8px; cursor: pointer; background: var(--c-surface); transition: border-color 0.2s, background 0.2s; }
.pay-opt:hover { border-color: var(--c-muted); }
.pay-opt:has(input:checked) { border-color: var(--c-red); background: var(--c-red-soft); }
.pay-opt input { accent-color: var(--c-red); width: 18px; height: 18px; flex: none; }
.pay-opt span { display: flex; flex-direction: column; flex: 1; }
.pay-opt small { color: var(--c-muted); font-size: 12px; }
.pay-opt__logo { flex: none; font-style: normal; font-size: 18px; width: 40px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: var(--c-soft); border: 1px solid var(--c-line); }
.pay-opt__logo--zp { color: #ffc107; background: #1e293b; font-weight: 900; font-size: 12px; letter-spacing: 0.05em; }

/* ---------- order + track ---------- */
.order-head { text-align: center; margin-bottom: 28px; }
.order-head h1 { margin-bottom: 6px; }
.order-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 28px; padding: 22px 8px 14px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-radius); position: relative; counter-reset: step; }
.order-timeline li { text-align: center; position: relative; font-size: 13px; color: var(--c-muted); }
.order-timeline li::before { content: ""; position: absolute; top: 16px; inset-inline-start: -50%; width: 100%; height: 3px; background: var(--c-line); z-index: 0; }
.order-timeline li:first-child::before { display: none; }
.order-timeline li i { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--c-surface); border: 3px solid var(--c-line); font-style: normal; font-weight: 800; font-size: 13px; color: var(--c-muted); }
.order-timeline li.is-done::before, .order-timeline li.is-on::before { background: var(--c-green); }
.order-timeline li.is-done i { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.order-timeline li.is-on i { border-color: var(--c-red); color: var(--c-red); box-shadow: 0 0 0 4px var(--c-red-soft); }
.order-timeline li.is-on span { color: var(--c-red); font-weight: 800; }
.order-timeline li.is-done span { color: var(--c-ink); }
.status { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--c-ground); color: var(--c-ink); white-space: nowrap; }
.status--pending { background: var(--c-amber-soft); color: var(--c-amber); }
.status--paid, .status--delivered { background: var(--c-green-soft); color: var(--c-green); }
.status--processing, .status--shipped { background: var(--c-blue-soft); color: var(--c-blue); }
.status--cancelled { background: var(--c-red-soft); color: var(--c-red); }
.paybox { border: 1.5px solid var(--c-red); background: var(--c-red-soft); border-radius: var(--c-radius); padding: 24px; margin-bottom: 24px; }
.paybox--ok { border-color: var(--c-green); background: var(--c-green-soft); }
.paybox h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.paybox__card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; background: var(--c-surface); border-radius: 8px; padding: 12px 16px; font-size: 22px; font-weight: 800; letter-spacing: 0.06em; flex-wrap: wrap; }
.paybox .btn-row { margin-top: 16px; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 8px; }
.order-grid .card h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.order-grid dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--c-muted); }
.order-grid .summary__total dd { color: var(--c-red); }
.order-rate { font-size: 12px; margin-top: 10px; }
.track-form { padding: 24px; }
.track-help { margin-top: 28px; padding: 20px 24px; border-radius: var(--c-radius); background: var(--c-surface); border: 1px dashed var(--c-line); }
.track-help h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }

/* ---------- support ---------- */
.support-hero { background: var(--c-ink); color: #fff; padding-block: clamp(56px, 8vw, 96px); text-align: center; position: relative; overflow: hidden; }
.support-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 100%, rgba(227, 6, 19, 0.35), transparent 70%); }
.support-hero > * { position: relative; }
.support-hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; }
.support-hero p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; }
.support-search { display: flex; margin: 28px auto 0; max-width: 640px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; color: var(--c-ink); gap: 8px; }
.support-search input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; min-width: 0; font-family: inherit; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { padding: 24px; border-radius: var(--c-radius); border: 1px solid var(--c-line); background: var(--c-surface); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; display: block; }
.cat:hover { border-color: var(--c-red); transform: translateY(-3px); box-shadow: var(--c-shadow); }
.cat svg { width: 36px; height: 36px; stroke: var(--c-red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.cat h3 { font-size: 17px; font-weight: 800; }
.cat p { color: var(--c-muted); font-size: 14px; margin-top: 4px; }
.support-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.support-split h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.support-split .lead { margin-bottom: 10px; }
.warranty-form { padding: 28px; }
.warranty-form h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.warranty-form .form-stack { max-width: none; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values--4 { grid-template-columns: repeat(4, 1fr); }
.value { padding: 24px; border-radius: var(--c-radius); background: var(--c-surface); border: 1px solid var(--c-line); }
.value h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.value p { color: var(--c-muted); font-size: 14px; }
.value__num { display: block; font-size: 28px; font-weight: 900; color: var(--c-red); line-height: 1.1; margin-bottom: 8px; }
.manuals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.manual { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-surface); }
.manual img { width: 56px; height: 56px; object-fit: contain; background: var(--c-soft); border-radius: 8px; flex: none; }
.manual > div { min-width: 0; }
.manual strong { display: block; font-size: 14px; line-height: 1.5; }
.manual span { font-size: 12px; color: var(--c-muted); }
.manual a { margin-inline-start: auto; font-size: 14px; font-weight: 700; color: var(--c-red); white-space: nowrap; }
.manual-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.manual-tips .card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.manual-tips .card p { font-size: 14px; color: var(--c-muted); }
.accordion details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 8px; margin-bottom: 8px; }
.accordion summary { padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--c-red); font-weight: 900; font-size: 18px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc__body { padding: 0 18px 16px; color: var(--c-muted); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact { padding: 28px 20px; border-radius: var(--c-radius); background: var(--c-surface); border: 1px solid var(--c-line); text-align: center; }
.contact strong { display: block; font-size: 19px; margin-bottom: 4px; }
.contact span { color: var(--c-muted); font-size: 14px; display: block; }
.contact .btn { margin-top: 18px; }

/* ---------- about ---------- */
.story { background: var(--c-ink); color: #fff; position: relative; overflow: hidden; }
.story__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 29, 27, 0.2), rgba(29, 29, 27, 0.85)); }
.story__hero { min-height: min(56svh, 520px); display: grid; place-items: center; text-align: center; padding-block: 88px; position: relative; z-index: 1; }
.story__hero > * { max-width: 780px; }
.story__hero .lead { margin-top: 16px; color: rgba(255, 255, 255, 0.85); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--c-radius); background: var(--c-surface); border: 1px solid var(--c-line); display: block; color: inherit; }
.stat strong { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.1; color: var(--c-red); }
.stat span { display: block; margin-top: 8px; color: var(--c-muted); font-size: 14px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-split--rev .about-split__media { order: 2; }
.about-split h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.about-split p { color: var(--c-muted); margin-bottom: 12px; font-size: 15px; }
.about-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--c-shadow); }
.about-values { margin-top: 20px; }
.about-values .value { padding: 16px; }
.about-values .value h3 { font-size: 15px; }
.about-values .value p { font-size: 13px; margin: 0; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ms; }
.milestones li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 22px 22px 22px; position: relative; border-top: 4px solid var(--c-red); }
.milestones time { display: inline-block; font-weight: 900; color: var(--c-red); font-size: 22px; margin-bottom: 6px; }
.milestones h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.milestones p { font-size: 14px; color: var(--c-muted); }

/* ---------- admin ---------- */
body.is-admin { background: var(--c-ground); }
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin__side { background: var(--c-surface); border-inline-end: 1px solid var(--c-line); padding: 24px 20px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 24px; }
.admin__logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.admin__logo .logo__word { font-size: 26px; font-weight: 900; color: var(--c-red); letter-spacing: -0.02em; }
.admin__logo .logo__fa { font-size: 13px; color: var(--c-muted); font-weight: 700; }
.admin__nav { display: flex; flex-direction: column; gap: 2px; }
.admin__nav a { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.admin__nav a:hover { background: var(--c-soft); color: var(--c-ink); }
.admin__nav a.is-active { background: var(--c-red); color: #fff; }
.admin__side-foot { margin-top: auto; display: grid; gap: 10px; }
.admin__rate { font-size: 12px; color: var(--c-muted); }
.admin__rate strong { color: var(--c-ink); }
.admin__main { padding: 28px clamp(16px, 3vw, 40px) 40px; min-width: 0; }
.admin__main > .card { margin-bottom: 20px; }
.admin__main .page-title { margin-bottom: 12px; }
.admin__main .page-head { margin-bottom: 12px; }
.admin__main > .muted { margin-bottom: 16px; font-size: 14px; }
.admin__foot { font-size: 12px; margin-top: 24px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-grid .card h2, .admin__main .card > h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.admin__main .card h2 small { font-size: 12px; font-weight: 400; }
.stats--admin { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 20px; }
.stats--admin .stat { padding: 18px 12px; }
.stats--admin .stat strong { font-size: clamp(18px, 1.8vw, 26px); color: var(--c-ink); }
.stats--admin a.stat:hover { border-color: var(--c-red); }
.stats--admin .stat--warn strong { color: var(--c-amber); }
.bars { display: grid; gap: 8px; margin-bottom: 12px; }
.bars li { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.bars__bar { height: 10px; background: var(--c-ground); border-radius: 5px; overflow: hidden; }
.bars__bar i { display: block; height: 100%; background: var(--c-red); border-radius: 5px; }
.bars strong { text-align: end; }
.form-grid__title { grid-column: 1 / -1; font-size: 14px; font-weight: 800; margin: 10px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--c-line); color: var(--c-muted); }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
.check-group { display: grid; gap: 4px 12px; padding: 8px 0 2px; }
.check-group .check { margin: 0; font-size: 13px; }
.check-group--wrap { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.check input { accent-color: var(--c-red); }
.login { min-height: 100vh; display: grid; place-items: center; background: var(--c-ground); padding: 24px; }
.login__box { width: min(100%, 420px); display: flex; flex-direction: column; gap: 14px; padding: 40px; text-align: center; }
.login__box .admin__logo { justify-content: center; }
.login__box h1 { font-size: 22px; font-weight: 800; }
.login__box .field { text-align: start; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; font-size: 14px; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.table thead th { font-size: 12px; color: var(--c-muted); font-weight: 700; white-space: nowrap; }
.table tfoot th, .table tfoot td { border-bottom: 0; font-weight: 700; }
.table .thumb { width: 44px; height: 44px; object-fit: contain; background: var(--c-soft); border-radius: 8px; float: inline-start; margin-inline-end: 10px; }
.table td small { display: block; font-size: 12px; }
.table--edit input:not([type="checkbox"]) { width: 110px; min-height: 38px; padding: 6px 10px; border: 1.5px solid var(--c-line); border-radius: 8px; font-family: inherit; font-size: 14px; }
.table--edit input:not([type="checkbox"]):focus { border-color: var(--c-red); outline: none; }
.table--edit input.w-sm { width: 76px; }
.table--edit input.is-zero { border-color: var(--c-red); color: var(--c-red); font-weight: 700; }
.table--edit input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-red); }
.table .is-sub td { background: var(--c-soft); font-size: 13px; color: var(--c-muted); }
.table .is-off td { opacity: 0.5; }
.table .is-oos td:first-child { box-shadow: inset 3px 0 0 var(--c-red); }
.table .is-group td { background: var(--c-ground); font-weight: 800; font-size: 13px; color: var(--c-ink); }
.table .num { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .up { color: var(--c-red); font-weight: 700; }
.table .down { color: var(--c-green); font-weight: 700; }
.table__actions { white-space: nowrap; font-size: 13px; }
.table__actions a { color: var(--c-red); font-weight: 600; }
.table__actions form { display: inline; }
.rate-form__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.rate-form__grid .check { grid-column: 1 / -1; }
.rate-form__live { padding: 12px 16px; border-radius: 8px; background: var(--c-red-soft); font-size: 14px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.rate-form__live strong { font-size: 18px; color: var(--c-red); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chips a { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--c-line); background: var(--c-surface); font-size: 13px; font-weight: 600; color: var(--c-ink); }
.chips a small { color: var(--c-muted); font-weight: 400; }
.chips a:hover { border-color: var(--c-red); }
.chips a.is-on { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.chips a.is-on small { color: rgba(255, 255, 255, 0.8); }
.bulk-form__bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; margin-bottom: 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 8px; box-shadow: var(--c-shadow); font-size: 13px; }
.edit .card { margin-bottom: 20px; }
.edit__preview { width: 96px; height: 96px; object-fit: contain; background: var(--c-soft); border-radius: 8px; margin-top: 8px; border: 1px solid var(--c-line); }
.edit textarea.is-invalid { border-color: var(--c-red) !important; background: var(--c-red-soft); }
.edit__foot { position: sticky; bottom: 0; background: var(--c-ground); padding: 12px 0; margin-top: 0; }
.order-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; }
.order-quick form { display: inline; }
.chip-btn { padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--c-line); background: var(--c-surface); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--c-ink); }
.chip-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.order-meta { display: grid; gap: 4px; margin-top: 12px; font-size: 13px; }
.order-meta > div { display: flex; gap: 10px; }
.order-meta dt { color: var(--c-muted); min-width: 90px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .values--4, .milestones { grid-template-columns: repeat(2, 1fr); }
  .rate-form__grid, .form-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .cart, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .order-grid, .admin-grid, .about-split, .support-split { grid-template-columns: 1fr; }
  .about-split--rev .about-split__media { order: 0; }
  .cat-grid, .manuals, .manual-tips, .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .admin { grid-template-columns: 1fr; }
  .admin__side { position: static; height: auto; border-inline-end: 0; border-bottom: 1px solid var(--c-line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; }
  .admin__nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .admin__nav a { padding: 7px 10px; font-size: 13px; }
  .admin__side-foot { margin: 0 0 0 auto; display: flex; align-items: center; gap: 12px; }
  .bars li { grid-template-columns: 110px 1fr 36px; }
}
@media (max-width: 640px) {
  .cart__lines { padding: 0 14px; }
  .cart-line { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .cart-line__total { grid-column: 2; text-align: start; }
  .cart-line__total del { display: inline; margin-inline-start: 8px; }
  .cat-grid, .manuals, .manual-tips, .values, .values--4, .milestones, .stats, .contact-grid { grid-template-columns: 1fr; }
  .order-timeline { grid-template-columns: repeat(5, 1fr); padding: 16px 4px 10px; }
  .order-timeline li { font-size: 11px; }
  .order-timeline li i { width: 28px; height: 28px; font-size: 11px; }
  .paybox__card { font-size: 17px; }
  .field-row, .form-grid, .rate-form__grid, .form-grid--4 { grid-template-columns: 1fr; }
  .checkout-steps { font-size: 12px; }
  .bulk-form__bar { flex-direction: column; align-items: stretch; text-align: center; }
  .story__hero { min-height: auto; padding-block: 64px; }
}

/* ---------- پنل مدیریت: گالری رسانه، استعلام قیمت، برچسب «به‌زودی» ---------- */
.p-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.p-gallery__item { margin: 0; background: var(--soft); border-radius: var(--radius-lg); overflow: hidden; }
.p-gallery__item img, .p-gallery__item video { display: block; width: 100%; height: 240px; object-fit: cover; background: var(--soft); }
@media (max-width: 520px) { .p-gallery__item img, .p-gallery__item video { height: 200px; } }
.price__quote { font-weight: 800; color: var(--red); }
.badge--soon { background: var(--red-soft); color: var(--red-dark); }

/* فشرده‌سازی کارت محصول و نوار خرید موبایل — shared by every shop, loaded last (2026-10-01).
 *
 * Owner: "from the image to add-to-cart you have to scroll too long". Grid cards carried
 * three feature bullets and an English name between the picture and the button, and phones
 * showed one 570px card per row. Cards now keep series, title, stars, price and the cart
 * button (the bullets stay on the product page), phones show two per row, and on a phone
 * the product page's buy bar is pinned to the bottom of the screen from the start.
 *
 * UI review (2026-10-01): the same compact card in the home-page product rows (they were
 * stretched to the tallest card and left ~450px of blank card), grid columns that may shrink
 * (narwal's desktop grid spilled 39px off the screen), a buy bar that is always solid on
 * phones, nothing under 11px, and a phone header that fits 360px screens.
 */

/* ---------------------------------------------------------- grid cards */
.product-grid .product-card__bullets,
.product-grid .product-card__en,
.product-grid .product-card > p,
.row-scroll__track .product-card__bullets,
.row-scroll__track .product-card__en,
.row-scroll__track .product-card > p { display: none; }
.product-grid .product-card__media, .row-scroll__track .product-card__media { padding: 12px; }
.product-grid .product-card__body, .row-scroll__track .product-card__body { padding: 12px 14px 14px; gap: 2px; }
.product-grid .product-card .price, .row-scroll__track .product-card .price { margin-top: 6px; }
.product-grid .product-card__actions, .row-scroll__track .product-card__actions { margin-top: 10px; flex-wrap: wrap; }
/* the button row sits at the bottom of every card, so a row of cards lines up */
.row-scroll__track .product-card { display: flex; flex-direction: column; }
.row-scroll__track .product-card__body { flex: 1; display: flex; flex-direction: column; }
.row-scroll__track .product-card__actions { margin-top: auto; padding-top: 10px; }

/* grid tracks may shrink below their content's min-width instead of pushing the page sideways */
.product-grid > *, .collection > *, .collection__main { min-width: 0; }

/* category strip counts were 10.5px */
.subnav-strip a small { font-size: 11px; }

/* "show more" on long listings (js/listing-more.js) */
.is-more-hidden { display: none !important; }
.listing-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 32px 0 8px; }
.listing-more[hidden] { display: none; }
.listing-more__count { font-size: 13px; color: #6b6b6b; }
.listing-more__btn { min-width: 220px; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 1.5px solid currentColor;
                     background: transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.listing-more__btn:hover { background: rgba(0, 0, 0, .05); }

/* ------------------------------------------------ phones: two per row */
@media (max-width: 640px) {
  .product-grid, .product-grid--4, .product-grid--2, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .row-scroll__track > .product-card { flex-basis: min(46vw, 210px) !important; }
  .row-scroll__track { gap: 10px; }
  .product-grid .product-card__media, .row-scroll__track .product-card__media { padding: 8px; }
  .product-grid .product-card__body, .row-scroll__track .product-card__body { padding: 8px 10px 10px; }
  .product-grid .product-card h3, .row-scroll__track .product-card h3 { font-size: 13px; line-height: 1.45; margin-top: 2px; }
  .product-grid .product-card__family, .product-grid .product-card__series,
  .row-scroll__track .product-card__family, .row-scroll__track .product-card__series { font-size: 11px; }
  .product-grid .product-card__tags, .row-scroll__track .product-card__tags { top: 6px; inset-inline-start: 6px; gap: 3px; }
  .product-grid .product-card__tags .badge, .row-scroll__track .product-card__tags .badge { font-size: 11px; padding: 2px 6px; }
  .product-grid .product-card .price, .row-scroll__track .product-card .price { font-size: 14px; gap: 2px 6px; margin-top: 4px; }
  .product-grid .product-card .price del, .product-grid .product-card .price__save,
  .row-scroll__track .product-card .price del, .row-scroll__track .product-card .price__save { font-size: 11px; }
  .product-grid .product-card__actions, .row-scroll__track .product-card__actions { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 8px; }
  .product-grid .product-card__actions .btn--outline, .product-grid .product-card__more,
  .row-scroll__track .product-card__actions .btn--outline, .row-scroll__track .product-card__more { display: none; }
  .product-grid .product-card__actions .btn, .row-scroll__track .product-card__actions .btn { min-height: 38px; font-size: 13px; padding-inline: 8px; width: 100%; }
  .product-grid .product-card .stars, .row-scroll__track .product-card .stars { font-size: 11px; }
  .product-grid .product-card .stars small, .row-scroll__track .product-card .stars small { font-size: 11px; margin-inline-start: 3px; }

  /* product page: the buy bar sits at the bottom of the screen from the start, always solid */
  .buybar { position: fixed !important; top: auto !important; bottom: 0; left: 0; right: 0; transform: none !important;
            opacity: 1 !important; visibility: visible !important; background: #fff !important;
            border-block: 0; border-top: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); z-index: 900; }
  .buybar__inner { height: 62px; gap: 10px; }
  .buybar__name, .buybar__links, .buybar__id { display: none !important; }
  .buybar__cta { width: 100%; justify-content: space-between; }
  .buybar__cta .btn { flex: 1; max-width: 60%; min-height: 44px; }
  body:has(.buybar) { padding-bottom: 72px; }
  body:has(.buybar) .wa-float { bottom: 84px; }
  body:has(.buybar) .to-top { bottom: 84px; }
}

/* small phones: burger + logo + three icons must fit in 360px */
@media (max-width: 400px) {
  .header__actions { gap: 0 !important; }
  .header__actions .icon-btn { width: 38px; height: 40px; }
}

/* last line of defence against a sideways-wobbling page on phones */
html, body { overflow-x: clip; }

/* visually hidden, still read by search engines and screen readers (home-page H1, 2026-10-01) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------- نظر خریداران (src/reviews.js, 2026-10-01) */
.rv-section { padding: 48px 0; background: #fafafa; border-top: 1px solid rgba(0,0,0,.06); }
.rv-page { padding: 40px 0 64px; }
.rv-wrap { width: min(720px, calc(100% - 32px)); margin: 0 auto; }
.rv-wrap--wide { width: min(1180px, calc(100% - 32px)); }
.rv-page h1 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; }
.rv-lead, .rv-muted { color: #666; line-height: 1.9; }
.rv-errors { background: #fff1f0; border: 1px solid #f5c2bd; color: #a8071a; border-radius: 10px; padding: 10px 14px; margin: 14px 0; }
.rv-errors p { margin: 4px 0; }
.rv-form { display: grid; gap: 16px; margin-top: 18px; }
.rv-item { border: 1px solid rgba(0,0,0,.1); border-radius: 14px; padding: 14px 16px 16px; margin: 0; background: #fff; }
.rv-item__head { display: flex; align-items: center; gap: 12px; font-weight: 700; padding: 0 6px; }
.rv-item__head img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #f5f5f5; }
.rv-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin: 10px 0; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { font-size: 36px; line-height: 1; color: #d9d9d9; cursor: pointer; padding: 2px; transition: color .15s; }
.rv-stars label:hover, .rv-stars label:hover ~ label, .rv-stars input:checked ~ label { color: #f5a623; }
.rv-stars input:focus-visible + label { outline: 2px solid #1677ff; border-radius: 4px; }
.rv-item textarea, .rv-name input { width: 100%; box-sizing: border-box; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; padding: 10px 12px; font: inherit; }
.rv-name { display: grid; gap: 6px; font-weight: 600; }
.rv-name small { color: #888; font-weight: 400; }
.rv-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.rv-done { text-align: center; padding: 24px 0; }
.rv-done__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e8f7ee; color: #1f9d55; font-size: 34px; display: grid; place-items: center; }
.rv-summary h2 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 28px); }
.rv-score { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rv-score strong { font-size: 32px; }
.rv-stars-static i { font-style: normal; color: #d9d9d9; font-size: 18px; }
.rv-stars-static i.on { color: #f5a623; }
.rv-brand { color: #777; font-size: 13px; margin-top: 8px; }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 18px; }
.rv-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 14px 16px; }
.rv-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rv-badge { font-size: 12px; color: #1f9d55; background: #e8f7ee; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.rv-card__body { margin: 10px 0 8px; line-height: 1.9; white-space: pre-line; }
.rv-card__who { color: #777; font-size: 13px; margin: 0; }
.rv-card__reply { background: #f5f5f5; border-radius: 10px; padding: 8px 12px; margin: 10px 0 0; font-size: 14px; }
.rv-cta { margin: 20px 0; padding: 16px; border-radius: 14px; background: #fffbe6; border: 1px solid #ffe58f; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Stock-aware shopping and crawlable product-range navigation. */
.range-links{padding-top:28px;padding-bottom:28px}.range-links>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.range-links a{border:1px solid #d7d7d7;border-radius:8px;padding:9px 13px;text-decoration:none;font-size:14px}.range-links a:hover{text-decoration:underline}.available-alternatives{margin:18px 0;padding:16px;border:1px solid #d7d7d7;border-radius:10px;background:#fafafa}.available-alternatives p{margin:8px 0}.available-alternatives ul{list-style:none;padding:0;margin:10px 0}.available-alternatives li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:10px 0;font-size:14px}.available-alternatives a{text-decoration:underline}.hero__content h2{font-size:clamp(36px,5vw,70px);line-height:1.25}
