@charset "UTF-8";
/* ==========================================================================
   EPIC Iran — اپیک ایران
   RTL-first stylesheet. Mirrors epic.co.kr's structure and brand, in Persian.
   Physical properties (left/right) are avoided in favour of logical ones
   (inline-start/inline-end) so the layout mirrors correctly.
   ========================================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/vazirmatn-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --red: #c71414;
  --red-dark: #a10f0f;
  --red-soft: rgba(199, 20, 20, .08);
  --ink: #2b2b2b;
  --body: #565656;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-dark: #232323;
  --topbar: #3a3a3a;
  --white: #fff;
  --green: #25d366;
  --green-btn: #107c41;   /* AA-compliant with white text */
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, .14);
  --transition: .25s ease;
  --container: 1200px;
  --header-h: 108px;
  --font: 'Vazirmatn', 'Segoe UI', Tahoma, 'Iranian Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

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

/* A display rule on a component outranks the UA style `hidden` relies on. */
[hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6em; line-height: 1.55; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 2000;
  background: var(--red); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { inset-inline-start: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 6px; font-weight: 700; font-size: .97rem;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
  font-family: inherit;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-wa { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.btn-wa:hover { background: #0c6334; border-color: #0c6334; }

/* ---------------------------------------------------------------- top bar */
.topbar { background: var(--topbar); color: #d8d8d8; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #d8d8d8; transition: var(--transition); }
.topbar a:hover { color: #fff; }
.topbar-social, .topbar-links { display: flex; gap: 18px; align-items: center; }

/* ---------------------------------------------------------------- header */
/* Mirrors epic.co.kr: logo row, then a full-width red navigation bar. */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; }
.header-top { border-block-end: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo img { width: 120px; height: auto; }

.main-nav { background: var(--red); }
.nav-list { display: flex; justify-content: center; }
.nav-item { position: relative; }
.nav-top {
  display: block; padding: 15px 34px; font-weight: 800; font-size: 1rem;
  color: #fff; transition: background var(--transition);
}
.nav-item:hover > .nav-top,
.nav-item:focus-within > .nav-top,
.nav-item.is-active > .nav-top { background: var(--red-dark); }

.mega {
  position: absolute; inset-inline-start: 50%; transform: translateX(50%) translateY(6px);
  min-width: 224px; background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius); border-block-start: 0;
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 30;
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.open .mega {
  opacity: 1; visibility: visible; transform: translateX(50%) translateY(0);
}
.mega a {
  display: block; padding: 10px 14px; border-radius: 6px; font-size: .94rem;
  color: var(--body); transition: var(--transition); white-space: nowrap;
}
.mega a:hover, .mega a[aria-current="page"] { background: var(--red-soft); color: var(--red); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 800; color: var(--red); font-size: .95rem; white-space: nowrap; }

/* Numbers must never be re-ordered by the bidi algorithm. A phone number written
   in groups ("۰۹۱۲ ۹۵۸ ۴۳۰۲") is three separate runs, and in an RTL container the
   groups get laid out right-to-left — rendering 4302 958 0912. Isolating each
   number as its own LTR run fixes phone numbers, dimensions and part numbers. */
.num { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- banner + breadcrumbs */
/* ------------------------------------------------ sub-page header
   Mirrors epic.co.kr: a full-bleed photo hero carrying the site tagline, a
   white chevron badge that overlaps it, then the section tab row.
   Measurements are taken from the reference stylesheet. */
.sub-hero {
  background: url('../assets/ui/sub_top_bg01.jpg') center center / cover no-repeat;
  background-image: image-set(url('../assets/ui/sub_top_bg01.webp') type('image/webp'),
                              url('../assets/ui/sub_top_bg01.jpg')  type('image/jpeg'));
  background-position: center center; background-size: cover; background-repeat: no-repeat;
  text-align: center; color: #fff; padding: 131px 0 152px; letter-spacing: -1px;
}
.sub-hero-title {
  font-size: 50px; color: #fff; font-weight: 500; margin: 0 0 15px;
  line-height: 1.3; text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.sub-hero-sub {
  font-size: 18px; color: #fff; margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.page-title {
  background: url('../assets/ui/page_title_bg.png') top center no-repeat;
  background-image: image-set(url('../assets/ui/page_title_bg.webp') type('image/webp'),
                              url('../assets/ui/page_title_bg.png')  type('image/png'));
  background-position: top center; background-repeat: no-repeat;
  margin-top: -104px; padding-top: 47px; min-height: 178px;
  text-align: center; position: relative; z-index: 2;
}
.page-title img { display: block; margin: 0 auto 6px; width: 53px; height: 52px; }
.page-title h1 {
  font-size: 35px; color: #393939; font-weight: 700;
  margin: 5px 0 2px; line-height: 1.4;
}
.page-title-sub { font-size: .84rem; color: var(--muted); letter-spacing: .04em; }

/* section tabs */
.snb { border-block-end: 1px solid var(--line); background: #fff; }
.snb ul { display: flex; justify-content: center; flex-wrap: wrap; }
.snb li { border-inline-start: 1px solid var(--line); }
.snb li:last-child { border-inline-end: 1px solid var(--line); }
.snb-link {
  display: flex; align-items: center; justify-content: center;
  /* epic.co.kr uses #888 here, which is only 3.5:1 on white and fails WCAG AA.
     #6f6f6f is visually near-identical at 5.0:1. */
  width: 188px; height: 53px; font-size: 16px; color: #6f6f6f;
  transition: var(--transition); text-align: center; padding: 0 8px;
}
.snb-link:hover { color: var(--red); }
.snb-link.is-active { background: #c81415; color: #fff; font-weight: 700; }

.sub-lead { background: var(--bg-alt); border-block-end: 1px solid var(--line); }
.sub-lead p {
  max-width: 860px; margin: 0 auto; padding: 26px 0;
  text-align: center; color: var(--body);
}

@media (max-width: 900px) {
  .sub-hero { padding: 82px 0 96px; }
  .sub-hero-title { font-size: 34px; }
  .sub-hero-sub { font-size: 15px; }
  .page-title { margin-top: -72px; padding-top: 34px; min-height: 130px; background-size: 200px auto; }
  .page-title h1 { font-size: 26px; }
  .page-title img { width: 40px; height: 39px; }
  .snb-link { width: auto; min-width: 44%; height: 46px; font-size: .92rem; }
}

@media (max-width: 560px) {
  .sub-hero { padding: 58px 0 74px; }
  .sub-hero-title { font-size: 26px; }
  .page-title { margin-top: -56px; padding-top: 26px; background-size: 160px auto; }
  .page-title h1 { font-size: 21px; }
  .snb-link { min-width: 50%; }
}

.breadcrumbs { background: #fff; border-block-end: 1px solid var(--line); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 13px 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "‹"; margin-inline-end: 8px; color: var(--muted); }
.breadcrumbs a { color: var(--body); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs li:last-child { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------- sections */
.section { padding: 74px 0; }
.section-alt { background: var(--bg-alt); }
.section-tag { display: block; color: var(--red); font-weight: 800; font-size: .88rem; margin-bottom: 8px; }
.section-title { font-size: clamp(1.45rem, 2.7vw, 2.05rem); margin-bottom: .5em; }
.section-lead { max-width: 780px; color: var(--body); }
.center .section-lead { margin-inline: auto; }

/* ---------------------------------------------------------------- home hero */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 118px 0 108px;
  /* image-set serves WebP (46 KB) to browsers that support it and falls back to
     the JPEG (79 KB) everywhere else. This is the LCP image, so it is preloaded. */
  background: linear-gradient(rgba(20,20,20,.72), rgba(20,20,20,.78)), url('../assets/images/hero-bg.jpg') center/cover no-repeat;
  background-image: linear-gradient(rgba(20,20,20,.72), rgba(20,20,20,.78)),
                    image-set(url('../assets/images/hero-bg.webp') type('image/webp'),
                              url('../assets/images/hero-bg.jpg')  type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.05rem); }
.hero p { max-width: 720px; margin-inline: auto; color: #e8e8e8; font-size: 1.06rem; }
.hero-eyebrow {
  display: inline-block; padding: 7px 18px; border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; font-size: .86rem; margin-bottom: 20px; color: #fff;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------------------------------------------------------------- quick links (ABOUT US row on the original) */
.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.ql {
  text-align: center; padding: 34px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: var(--transition);
}
.ql:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.ql-icon {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  border: 2px solid var(--line); display: grid; place-items: center; color: var(--red);
  transition: var(--transition);
}
.ql:hover .ql-icon { border-color: var(--red); background: var(--red-soft); }
.ql-icon svg { width: 32px; height: 32px; }
.ql h3 { font-size: 1.02rem; margin-bottom: .2em; }
.ql p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- cards / features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: center; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); border-color: #d3d3d3; }
.card h3 { font-size: 1.08rem; }
.card p { font-size: .94rem; margin: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--red-soft);
  color: var(--red); display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-tile {
  display: block; text-align: center; padding: 26px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: var(--transition);
}
.cat-tile:hover, .cat-tile.is-active { border-color: var(--red); box-shadow: var(--shadow); }
.cat-tile img { height: 132px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.cat-tile h3 { font-size: 1rem; margin-bottom: .15em; }
.cat-tile span { font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- product grid */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #d8d8d8; }
.product-media {
  display: grid; place-items: center; background: var(--bg-alt); padding: 26px; min-height: 232px;
}
.product-media img { max-height: 190px; width: auto; object-fit: contain; }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .8rem; color: var(--red); font-weight: 700; margin-bottom: 4px; }
.product-model { font-size: 1.12rem; font-weight: 800; color: var(--ink); margin: 0 0 .35em; direction: ltr; text-align: start; unicode-bidi: isolate; font-feature-settings: normal; font-variant-numeric: lining-nums; }
.product-body p { font-size: .9rem; color: var(--body); flex: 1; }
.product-cta { color: var(--red); font-weight: 700; font-size: .92rem; margin-top: 12px; }
.product-cta::after { content: " ←"; }

/* ---------------------------------------------------------------- product detail */
.pd-hero { background: var(--bg-alt); padding: 56px 0; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.pd-figure { background: #fff; border-radius: var(--radius); padding: 34px; display: grid; place-items: center; box-shadow: var(--shadow); }
.pd-figure img { max-height: 420px; width: auto; object-fit: contain; }
.pd-model { font-size: clamp(1.6rem, 3vw, 2.3rem); direction: ltr; text-align: start; margin-bottom: .2em; unicode-bidi: isolate; font-feature-settings: normal; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; }
.chip {
  padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .86rem; color: var(--ink); font-weight: 600;
}
.chip-on { background: var(--red-soft); border-color: rgba(199,20,20,.25); color: var(--red); }

/* spec tables */
/* The reference lays its spec tables out in two columns on desktop. */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 30px; align-items: start; }
.spec-block h3 {
  font-size: 22px; color: #111; padding-inline-start: 12px;
  border-inline-start: 4px solid var(--red); margin-bottom: .7em;
}
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr; } }

/* model page hero — shorter than a section hero, carries the model number */
.sub-hero--model { padding: 96px 0; }
.sub-hero-model {
  font-size: 42px; color: #fff; font-weight: 700; margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5); direction: ltr; unicode-bidi: isolate;
}
@media (max-width: 900px) { .sub-hero--model { padding: 58px 0; } .sub-hero-model { font-size: 28px; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
table.spec th, table.spec td { padding: 13px 18px; border-block-end: 1px solid var(--line); text-align: start; }
table.spec tr:last-child th, table.spec tr:last-child td { border-block-end: 0; }
table.spec th { width: 46%; font-weight: 700; color: var(--ink); background: #fafafa; }
table.spec td { color: var(--body); }
table.spec td.v-yes { color: #12833f; font-weight: 800; }
table.spec td.v-no { color: var(--muted); }
table.spec td.v-num { text-align: start; font-weight: 700; color: var(--ink); }

.sheet-source { max-width: 760px; margin: 26px auto 0; }
.sheet-source summary {
  cursor: pointer; font-weight: 700; color: var(--red); padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  list-style: none; text-align: center;
}
.sheet-source summary::-webkit-details-marker { display: none; }
.sheet-source[open] summary { border-radius: var(--radius) var(--radius) 0 0; }
.sheet-source .sheet { border-radius: 0 0 var(--radius) var(--radius); border-top: 0; }

.figure-note {
  margin-top: 14px; font-size: .86rem; color: var(--muted); text-align: center;
}
.sheet {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff;
  /* the source strips are 860px wide and the icon grids only 250px — cap at the
     natural width so neither is ever stretched and blurred */
  max-width: max-content; margin-inline: auto;
}
.sheet img { display: block; width: 100%; height: auto; }
.sheet--diagram { max-width: 250px; }

/* ---------------------------------------------------------------- forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: .93rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fff;
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-soft); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.85; }
.field .err { display: none; color: var(--red); font-size: .85rem; margin-top: 6px; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 6px; font-weight: 700; display: none; }
.form-status.ok { display: block; background: #e8f6ed; color: #12833f; }
.form-status.bad { display: block; background: #fdeaea; color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------------------------------------------------------------- misc blocks */
.timeline { position: relative; padding-inline-start: 28px; }
.timeline::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; inset-inline-start: -28px; top: 10px; width: 13px; height: 13px;
  border-radius: 50%; background: #fff; border: 3px solid var(--red);
}
.tl-year { font-weight: 800; color: var(--red); font-size: 1.05rem; }
.tl-item p { margin: 2px 0 0; font-size: .95rem; }

.dl-list { display: grid; gap: 12px; }
.dl-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: var(--transition);
}
.dl-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.dl-item strong { color: var(--ink); font-size: .98rem; }
.dl-item span { font-size: .85rem; color: var(--muted); display: block; font-weight: 400; }

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; background: #fff;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 15px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: .95rem; padding-bottom: 8px; margin: 0; }

.cta-band { background: var(--bg-dark); color: #fff; padding: 62px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfcfcf; max-width: 660px; margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 1.7em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.12rem; }
.prose ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 1.1em; }
.prose ul li { margin-bottom: .45em; }
.prose table.spec { margin: 1.4em 0; }

.note {
  background: var(--red-soft); border-inline-start: 4px solid var(--red);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .94rem;
}
.note p:last-child { margin: 0; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card {
  display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow); border-color: #d8d8d8; transform: translateY(-3px); }
.article-card h3 { font-size: 1.06rem; }
.article-card p { font-size: .92rem; flex: 1; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg-dark); color: #b9b9b9; padding-top: 58px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr) 1.3fr; gap: 30px; padding-bottom: 46px; }
.site-footer h3 { color: #fff; font-size: .96rem; margin-bottom: 14px; }
.site-footer a:not(.btn) { color: #b9b9b9; transition: var(--transition); }
.site-footer a:not(.btn):hover { color: #fff; }
.fcol li { margin-bottom: 8px; line-height: 1.7; }
.fcol-brand img { margin-bottom: 14px; width: 167px; height: auto; }
.footer-brand-logo { display: inline-block; }
.footer-brand-role { color: #cfcfcf; font-size: .9rem; font-weight: 700; line-height: 1.9; margin-bottom: .4em; }
.footer-brand-name { color: #9d9d9d; font-size: .86rem; margin-bottom: 1.1em; }
.fcol-contact .f-sales {
  color: #cfcfcf; border-top: 1px solid #3a3a3a; padding-top: 12px; margin-top: 12px; line-height: 1.9;
}
.fcol-brand p { color: #9d9d9d; font-size: .88rem; }
.fcol-contact .f-hq { color: #8d8d8d; font-size: .84rem; margin-top: 12px; border-top: 1px solid #3a3a3a; padding-top: 12px; }
/* «فروشگاه‌های دیگر ما» — static list of the sister stores, no images, no JS */
.footer-stores { border-top: 1px solid #3a3a3a; padding: 22px 0 24px; }
.footer-stores h3 { color: #fff; font-size: .92rem; margin-bottom: 14px; }
.footer-stores ul { display: flex; flex-wrap: wrap; gap: 10px 34px; list-style: none; margin: 0; padding: 0; }
.footer-stores li { margin: 0; }
.footer-stores a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.footer-stores a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.fstore-name { color: #e6e6e6; font-weight: 700; font-size: .9rem; }
.footer-stores a:hover .fstore-name { color: #fff; }
.fstore-blurb { color: #8d8d8d; font-size: .8rem; line-height: 1.7; }
@media (max-width: 720px) {
  .footer-stores ul { flex-direction: column; gap: 12px; }
}

.footer-bottom { border-top: 1px solid #3a3a3a; padding: 20px 0; }
.footer-bottom p { margin: 0; font-size: .84rem; color: #8d8d8d; text-align: center; }

/* ---------------------------------------------------------------- WhatsApp float — always solid, never animated */
.wa-float {
  position: fixed; inset-block-end: 26px; inset-inline-start: 26px; z-index: 1200;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 32px rgba(37, 211, 102, .58); }
.wa-float svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- reveal */
/* Content is visible by default. Only once JS sets .js on <html> do we hide it
   for the entrance animation, so a JS failure can never leave a blank page. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-top { padding: 15px 20px; font-size: .95rem; }
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  .grid-2, .pd-grid { grid-template-columns: 1fr; }
  .grid-4, .quicklinks { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --header-h: 96px; }
  .nav-toggle { display: flex; }
  .topbar-social { display: none; }

  .main-nav {
    position: fixed; inset-block-start: 102px; inset-inline: 0; inset-block-end: 0;
    background: #fff; padding: 18px 20px 40px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: var(--transition); margin: 0;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { border-block-end: 1px solid var(--line); }
  .nav-top { padding: 15px 4px; color: var(--ink); }
  .nav-item:hover > .nav-top, .nav-item.is-active > .nav-top { background: transparent; color: var(--red); }
  .mega {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0;
    display: none;
  }
  .nav-item.open .mega { display: block; transform: none; }
  .mega a { padding: 9px 16px; }

  .section { padding: 52px 0; }
  .grid-3, .article-grid, .cat-grid, .products-grid { grid-template-columns: 1fr; }
  .quicklinks { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .wa-float { width: 54px; height: 54px; inset-block-end: 18px; inset-inline-start: 18px; }
  .hero { padding: 78px 0 70px; }
}

@media (max-width: 460px) {
  .quicklinks, .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn, .pd-actions .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .breadcrumbs, .cta-band, .site-footer { display: none !important; }
}

/* ==========================================================================
   Store — cart, buy box, checkout, account. Same tokens as the brand pages:
   EPIC red, 6px buttons, 10px cards, logical properties throughout.
   ========================================================================== */
:root { --ok: #13703a; --warn-bg: #fff6e5; --warn-ink: #7a4f00; --err-bg: #fdeeee; }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled { opacity: .55; cursor: not-allowed; }
/* aliases used by the runtime account/checkout script */
.btn--block { display: flex; width: 100%; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn:not([class*="btn-"]):not([class*="btn--"]) { background: var(--red); color: #fff; border-color: var(--red); }
.link-underline { background: none; border: 0; padding: 0; color: var(--red); font: inherit; text-decoration: underline; cursor: pointer; }
.container-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

/* ---------------------------------------------------------------- header icons */
.hdr-icon {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px; color: var(--ink); font: inherit;
  font-size: .86rem; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.hdr-icon:hover { color: var(--red); }
.hdr-icon svg { flex: 0 0 auto; }
.cart-badge {
  position: absolute; inset-block-start: -2px; inset-inline-start: 18px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.cart-badge[hidden] { display: none; }

/* ---------------------------------------------------------------- drawer */
.scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 1300;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%);
  background: #fff; z-index: 1301; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  visibility: hidden;
}
[dir="ltr"] .drawer { transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-block-end: 3px solid var(--red);
}
.drawer__title { margin: 0; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.drawer__close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 18px 22px; border-block-start: 1px solid var(--line); display: grid; gap: 10px; background: var(--bg-alt); }

.cart-line { display: flex; gap: 14px; padding: 16px 0; border-block-end: 1px solid var(--line); }
.cart-line__media { flex: 0 0 72px; height: 72px; background: var(--bg-alt); border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.cart-line__media img { max-height: 64px; width: auto; object-fit: contain; }
.cart-line__body { flex: 1; min-width: 0; }
.cart-line__title { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.6; }
.cart-line__variant { font-size: .8rem; color: var(--muted); direction: ltr; text-align: end; }
.cart-line__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.cart-line__price { font-weight: 800; color: var(--ink); font-size: .92rem; white-space: nowrap; }
.cart-line__remove { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--muted); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }
.cart-line__remove:hover { color: var(--red); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.cart-note { font-size: .82rem; color: var(--muted); margin: 0; }
.cart-warn { font-size: .84rem; background: var(--warn-bg); color: var(--warn-ink); padding: 10px 12px; border-radius: 6px; margin: 0; }
.cart-empty { text-align: center; padding: 42px 10px; }
.cart-empty p { color: var(--muted); }
.cart-page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 24px; }
.cart-page__foot { margin-top: 22px; display: grid; gap: 12px; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.qty button { width: 34px; background: #fff; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--red-soft); color: var(--red); }
.qty input {
  width: 44px; border: 0; border-inline: 1px solid var(--line); text-align: center;
  font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.toast {
  position: fixed; inset-block-end: 26px; inset-inline-start: 50%; transform: translate(50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 6px; z-index: 1350;
  opacity: 0; visibility: hidden; transition: var(--transition); font-weight: 600; font-size: .92rem;
}
[dir="ltr"] .toast { transform: translate(-50%, 20px); }
.toast.is-open { opacity: 1; visibility: visible; transform: translate(50%, 0); }

/* ---------------------------------------------------------------- prices */
.price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 4px; }
.price-now { font-size: 1.12rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.price-now small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.price-was { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.price-off { background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; padding: 1px 8px; border-radius: 4px; }
.price-ask { font-size: 1rem; font-weight: 800; color: var(--red); }
.stock { font-size: .86rem; font-weight: 700; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--muted); }
.stock--ask { color: var(--muted); font-weight: 500; }
/* «به‌زودی» — listed, but not yet for sale: no price, no basket */
.price-soon { background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800;
  padding: 3px 12px; border-radius: 999px; line-height: 1.7; }
.buy-box__price .price-soon { font-size: 1rem; padding: 5px 16px; }
.stock--soon { color: var(--ink); font-weight: 700; }

.shop-card .product-model a { color: inherit; }
.shop-card .product-model a:hover { color: var(--red); }
.shop-card__actions { display: flex; gap: 8px; margin-top: 12px; }
.shop-card__actions .btn { flex: 1; padding-inline: 10px; }
.shop-card[hidden] { display: none; }

/* ---------------------------------------------------------------- buy box */
.buy-box {
  background: #fff; border: 1px solid var(--line); border-block-start: 3px solid var(--red);
  border-radius: var(--radius); padding: 20px 22px; margin-top: 22px; display: grid; gap: 12px;
}
.buy-box__price .price-box { margin: 0; }
.buy-box__price .price-now { font-size: 1.6rem; }
.buy-box__price .price-ask { font-size: 1.3rem; }
.buy-box__stock { margin: 4px 0 0; }
.buy-box__row { display: flex; gap: 10px; }
.buy-box__row .btn { flex: 1; }
.buy-box__help { font-size: .84rem; color: var(--muted); margin: 0; }
.buy-box__help a { color: var(--green-btn); font-weight: 700; }
.buy-box [data-ask][hidden] { display: none; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.trust__item { display: flex; gap: 10px; align-items: center; }
.trust__item svg { color: var(--red); flex: 0 0 auto; }
.trust__item strong { display: block; color: var(--ink); font-size: .9rem; }
.trust__item span { font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- shop toolbar */
.shop-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-block-end: 18px; border-block-end: 1px solid var(--line);
}
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter {
  border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 14px;
  font: inherit; font-size: .9rem; color: var(--body); cursor: pointer; transition: var(--transition);
}
.chip-filter span { color: var(--muted); font-size: .8rem; }
.chip-filter:hover { border-color: var(--red); color: var(--red); }
.chip-filter.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.chip-filter.is-active span { color: #fff; }
.shop-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.shop-select { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.shop-select select {
  font: inherit; font-size: .9rem; color: var(--ink); padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.shop-check { display: flex; align-items: center; gap: 6px; font-size: .9rem; cursor: pointer; }
.shop-check input { accent-color: var(--red); width: 17px; height: 17px; }
.shop-count { margin: 18px 0; color: var(--muted); font-size: .92rem; }
.shop-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------------------------------------------------------------- store page title */
.page-title--slim { background: none; margin-top: 0; padding: 34px 0 10px; min-height: 0; border-block-end: 1px solid var(--line); }
.page-title--slim h1 { font-size: 30px; }
.page-title--slim::after { content: ''; display: block; width: 46px; height: 3px; background: var(--red); margin: 10px auto 0; }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: 11px 14px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; transition: var(--transition);
}
.field input:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-soft); }
.field input:disabled { background: var(--bg-alt); color: var(--muted); }
.field textarea { min-height: 96px; resize: vertical; }
.field textarea.textarea-sm { min-height: 72px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt-note { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form-error { background: var(--err-bg); color: #a11212; border-radius: 6px; padding: 10px 14px; font-size: .88rem; margin: 0 0 12px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.form-note.is-static { display: block; margin: 0; }
.form-error[hidden], .form-note[hidden] { display: none; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.info-card__title { font-size: 1.1rem; margin-bottom: 16px; padding-inline-start: 12px; border-inline-start: 3px solid var(--red); line-height: 1.5; }

/* auth */
.auth-wrap { padding-block: 44px 70px; }
.auth-card { width: min(100% - 40px, 460px); margin-inline: auto; background: #fff; border: 1px solid var(--line); border-block-start: 3px solid var(--red); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.auth-lede { color: var(--body); font-size: .94rem; }
.auth-tabs { display: flex; gap: 4px; background: var(--bg-alt); border-radius: 6px; padding: 4px; margin: 18px 0 20px; }
.auth-tab { flex: 1; border: 0; background: none; padding: 9px; border-radius: 5px; font: inherit; font-size: .92rem; color: var(--muted); cursor: pointer; }
.auth-tab.is-active { background: #fff; color: var(--red); font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.auth-pane { display: none; }
.auth-pane.is-active { display: block; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.auth-meta button:disabled { opacity: .45; cursor: default; }
.auth-legal { font-size: .8rem; color: var(--muted); margin: 18px 0 0; text-align: center; }
.auth-legal a { color: var(--red); }
.otp-input { letter-spacing: .6em; text-align: center; font-size: 1.3rem !important; direction: ltr; }

/* account */
.account-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.account-out { margin: 16px 0 0; }
.order-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; transition: var(--transition);
}
.order-row:hover { border-color: var(--red); }
.order-row__code { font-weight: 800; color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.order-row__date { font-size: .82rem; color: var(--muted); }
.badge { border-radius: 4px; padding: 4px 12px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--bg-alt); color: var(--body); }
.badge--pending { background: var(--warn-bg); color: var(--warn-ink); }
.badge--paid, .badge--processing { background: #e7f1ff; color: #14509b; }
.badge--shipped { background: #eee8ff; color: #4b2a9b; }
.badge--delivered { background: #e6f5ec; color: var(--ok); }
.badge--cancelled, .badge--refunded, .badge--returned { background: var(--err-bg); color: #a11212; }

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.checkout-aside { position: sticky; top: 20px; }
.discount-row { display: flex; gap: 8px; }
.discount-row input { flex: 1; }
.sum-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-block-end: 1px solid var(--line); }
.sum-line__media { flex: 0 0 54px; height: 54px; border-radius: 6px; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; }
.sum-line__media img { max-height: 48px; width: auto; object-fit: contain; }
.sum-line__body { flex: 1; min-width: 0; }
.sum-line__title { font-size: .9rem; font-weight: 700; color: var(--ink); }
.sum-line__variant, .sum-line__qty { font-size: .8rem; color: var(--muted); }
.totals { margin: 16px 0; padding-top: 14px; border-block-start: 1px solid var(--line); }
.totals div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .92rem; }
.totals dt { color: var(--muted); margin: 0; }
.totals dd { margin: 0; color: var(--ink); font-weight: 600; }
.totals .grand { border-block-start: 1px solid var(--line); padding-top: 12px; margin-top: 12px; font-size: 1.08rem; }
.totals .grand dt, .totals .grand dd { font-weight: 800; color: var(--ink); }
.totals .grand dd { color: var(--red); }

/* order tracking + payment result */
.track-form .btn { margin-top: 4px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.order-code { font-size: .95rem; }
.timeline { display: flex; justify-content: space-between; gap: 6px; margin: 0 0 24px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 7px; inset-inline: 12px; height: 2px; background: var(--line); }
.timeline li { position: relative; z-index: 1; flex: 1 1 0; text-align: center; font-size: .78rem; color: var(--muted); }
.timeline .dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin: 0 auto 8px; }
.timeline li.is-done { color: var(--ink); font-weight: 700; }
.timeline li.is-done .dot { background: var(--red); border-color: var(--red); }
.result-mark { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-size: 36px; font-weight: 800; }
.result-mark--ok { background: #e6f5ec; color: var(--ok); }
.result-mark--fail { background: var(--err-bg); color: #a11212; }
.mock-order { margin: 18px 0; font-weight: 700; }

/* policies */
.policy { padding-block: 10px 30px; }
.policy-block { margin-bottom: 30px; }
.policy-block h2 { font-size: 1.2rem; padding-inline-start: 12px; border-inline-start: 3px solid var(--red); }
.policy-pending { background: var(--bg-alt); padding: 12px 16px; border-radius: 6px; color: var(--muted); }
.policy a { color: var(--red); }

.footer-trust { display: flex; justify-content: center; gap: 18px; padding: 18px 0; border-block-start: 1px solid rgba(255, 255, 255, .08); }
.footer-trust img { background: #fff; border-radius: 6px; padding: 4px; }

@media (max-width: 1100px) {
  .hdr-icon__label { display: none; }
}
@media (max-width: 980px) {
  .checkout-grid, .account-grid { grid-template-columns: 1fr; }
  .checkout-aside { position: static; }
}
@media (max-width: 780px) {
  .header-cta { gap: 4px; }
  .header-phone { display: none; }
  .shop-toolbar { flex-direction: column; flex-wrap: nowrap; }
  .shop-chips, .shop-controls { min-width: 0; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .order-row { flex-wrap: wrap; }
  .timeline li { font-size: .66rem; }
  .buy-box__row { flex-wrap: wrap; }
  .shop-card__actions { flex-direction: column; }
}
.shop-card__actions [hidden], .buy-box [hidden] { display: none !important; }

/* phones: two-up product grid and a swipeable category row, as a shop expects */
@media (max-width: 780px) {
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; padding-block-end: 4px; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .chip-filter { flex: 0 0 auto; white-space: nowrap; }
  .shop-controls { gap: 10px; }
  .products-grid:has(.shop-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card .product-media { min-height: 0; padding: 14px; }
  .shop-card .product-media img { max-height: 120px; }
  .shop-card .product-body { padding: 12px 12px 14px; }
  .shop-card .product-body p { display: none; }
  .shop-card .product-model { font-size: .95rem; }
  .shop-card .price-now { font-size: .95rem; }
  .shop-card .price-was { font-size: .76rem; }
  .shop-card__actions { flex-direction: column; gap: 6px; }
  .shop-card__actions .btn { padding: 8px 6px; font-size: .82rem; }
}
.result-title { font-size: 1.6rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
