/* Tasmehland storefront. Tokens mirror design/MASTER.md. */

:root {
  --ink-950: #0E1116;
  --ink-900: #151A21;
  --ink-800: #1F2630;
  --ink-700: #2C3542;
  --steel-400: #8A94A3;
  --surface: #F3F5F8;
  --card: #FFFFFF;
  --stage: #E9EDF2;
  --line: #DCE1E8;
  --text: #141A22;
  --text-2: #4A5563;
  --mark: #F5C400;
  --mark-hover: #FFD43B;
  --ok: #1B7F52;
  --warn: #9A5B00;
  --danger: #B3261E;

  --f-display: "IBM Plex Sans Arabic", "Vazirmatn", Tahoma, sans-serif;
  --f-body: "Vazirmatn", Tahoma, sans-serif;
  --f-code: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 56px; --s-10: 72px;
  --gutter: 16px;

  --r-sm: 6px; --r-md: 8px; --r-lg: 12px;
  --sh-1: 0 1px 2px rgba(14, 17, 22, .06);
  --sh-2: 0 6px 18px rgba(14, 17, 22, .10);
  --sh-3: 0 18px 40px rgba(14, 17, 22, .22);

  --t-fast: 120ms; --t-base: 180ms;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --tabbar-h: 60px;
  --teeth-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath d='M0 0H20V2H16L14 9H6L4 2H0Z' fill='%230E1116'/%3E%3C/svg%3E");
  --teeth-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath d='M0 10H20V8H16L14 1H6L4 8H0Z' fill='%230E1116'/%3E%3C/svg%3E");
}
@media (min-width: 900px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
[hidden] { display: none !important; }
bdi.lt { direction: ltr; unicode-bidi: isolate; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.35; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; border-radius: 4px; }
.light-focus :focus-visible, .on-light :focus-visible { outline-color: var(--ink-900); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.code {
  font-family: var(--f-code); font-weight: 500; direction: ltr; unicode-bidi: isolate;
  letter-spacing: .02em;
}
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-5);
  border: 1px solid transparent; border-radius: var(--r-md);
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--mark); color: var(--ink-950); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--line { background: var(--card); border-color: var(--line); color: var(--text); }
.btn--ghost-dark { background: transparent; border-color: var(--ink-700); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--mark-hover); }
  .btn--dark:hover { background: var(--ink-700); }
  .btn--line:hover { border-color: var(--text-2); }
  .btn--ghost-dark:hover { border-color: var(--steel-400); }
}

/* ---------- Header ---------- */
.site-header { background: var(--ink-900); color: #fff; position: relative; z-index: 40; }
@media (min-width: 900px) { .site-header { position: sticky; top: 0; } }
.hdr { display: flex; align-items: center; gap: var(--s-4); min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.logo svg { width: 34px; height: 34px; }
.logo small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 11px; color: var(--steel-400); line-height: 1.2; }
.hdr-search { flex: 1; display: none; }
.search {
  display: flex; align-items: center; gap: var(--s-2);
  background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-md);
  padding-inline: var(--s-3); min-height: 44px;
  transition: border-color var(--t-fast) var(--ease);
}
.search:focus-within { border-color: var(--mark); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font-size: 15px; }
.search input::placeholder { color: var(--steel-400); }
.search .icon { color: var(--steel-400); }
.hdr-actions { display: flex; align-items: center; gap: var(--s-1); margin-inline-start: auto; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-md); color: #fff; background: none; border: 0; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--ink-800); } }
.badge-count {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--mark); color: var(--ink-950); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.hdr-phone { display: none; align-items: center; gap: var(--s-2); color: var(--steel-400); font-size: 14px; padding-inline: var(--s-2); }
.hdr-phone strong { color: #fff; font-weight: 600; }
.mobile-search { padding-bottom: var(--s-3); }
.catnav { display: none; border-top: 1px solid var(--ink-800); }
.catnav ul { list-style: none; display: flex; gap: var(--s-1); }
.catnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s-3);
  color: #D5DAE1; font-size: 14px; border-bottom: 2px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.catnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--mark); }
@media (hover: hover) and (pointer: fine) { .catnav a:hover { color: #fff; border-bottom-color: var(--ink-700); } }
.catnav .catnav-end { margin-inline-start: auto; }
@media (min-width: 900px) {
  .hdr { min-height: 72px; gap: var(--s-6); }
  .hdr-search { display: block; max-width: 560px; }
  .hdr-phone { display: inline-flex; }
  .mobile-search { display: none; }
  .catnav { display: block; }
  .hdr-actions .only-mobile { display: none; }
}

/* ---------- Bottom tab bar (mobile) ---------- */
.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  background: var(--card); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a {
  min-height: var(--tabbar-h); display: grid; place-items: center; align-content: center; gap: 2px;
  font-size: 11px; color: var(--text-2); position: relative;
}
.tabbar a[aria-current="page"] { color: var(--text); font-weight: 700; }
.tabbar a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--mark);
}
.tabbar .badge-count { top: 6px; inset-inline-end: calc(50% - 22px); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Edges ---------- */
.teeth-down { height: 10px; background: var(--teeth-dark) repeat-x; background-size: 20px 10px; }
.teeth-up { height: 10px; background: var(--teeth-up) repeat-x; background-size: 20px 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-950); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.72) 42%, rgba(14,17,22,.25) 100%);
}
.hero-inner { position: relative; padding-block: var(--s-7) var(--s-8); display: grid; gap: var(--s-6); }
.hero-kicker { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--mark); font-size: 13px; font-weight: 600; }
.hero-kicker::before { content: ""; width: 3px; height: 14px; background: var(--mark); border-radius: 1px; }
.hero h1 { font-size: 30px; margin-top: var(--s-2); letter-spacing: -.005em; }
.hero-lead { margin-top: var(--s-3); color: #C9D0D9; font-size: 15px; max-width: 34em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); color: #C9D0D9; font-size: 13px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .icon { color: var(--mark); width: 18px; height: 18px; }
@media (min-width: 900px) {
  .hero-media img { object-position: left center; }
  .hero-media::after { background: linear-gradient(270deg, rgba(14,17,22,.96) 0%, rgba(14,17,22,.86) 38%, rgba(14,17,22,.15) 72%, rgba(14,17,22,0) 100%); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: var(--s-10); min-height: 520px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
}

/* ---------- Vehicle finder ---------- */
.finder {
  background: var(--card); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  overflow: hidden; max-width: 520px;
}
.finder-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--stage); }
.finder-tabs button {
  min-height: 48px; border: 0; background: none; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 14px;
  color: var(--text-2); border-bottom: 2px solid transparent;
}
.finder-tabs button[aria-selected="true"] { background: var(--card); color: var(--text); border-bottom-color: var(--mark); }
.finder-body { padding: var(--s-5); display: grid; gap: var(--s-3); }
.finder-body[hidden] { display: none; }
.finder-title { font-size: 17px; }
.finder-note { font-size: 13px; color: var(--text-2); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.select, .input {
  width: 100%; min-height: 48px; padding-inline: var(--s-3);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease);
}
.select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%234A5563' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: var(--s-3); padding-inline-start: 36px;
}
.select:disabled { background-color: var(--surface); color: var(--text-2); cursor: not-allowed; }
.select:focus, .input:focus { border-color: var(--ink-900); outline: none; box-shadow: 0 0 0 3px rgba(245, 196, 0, .45); }
.finder-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.input--code { font-family: var(--f-code); direction: ltr; text-align: left; letter-spacing: .04em; }
.code-hints { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.code-hints a {
  font-family: var(--f-code); font-size: 13px; direction: ltr; padding: 4px 10px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
@media (hover: hover) and (pointer: fine) { .code-hints a:hover { border-color: var(--text-2); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-6); }
.section--white { background: var(--card); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.sec-head h2 { font-size: 22px; }
.sec-head p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.sec-head--spaced { margin-top: var(--s-8); }
.sec-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--text); border-bottom: 2px solid var(--mark); padding-bottom: 1px; }
@media (min-width: 900px) { .section { padding-block: var(--s-9); } .sec-head h2 { font-size: 28px; } }

/* ---------- Category rows ---------- */
.cat-list { display: grid; gap: var(--s-3); }
.cat {
  display: grid; grid-template-columns: 112px 1fr; align-items: stretch;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.cat-img { background: var(--ink-950); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: var(--s-4); display: grid; gap: 4px; align-content: center; }
.cat-body h3 { font-size: 17px; }
.cat-body p { font-size: 13px; color: var(--text-2); }
.cat-meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: 6px; font-size: 13px; }
.cat-meta b { font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .cat:hover { border-color: var(--text-2); box-shadow: var(--sh-2); } }
@media (min-width: 900px) {
  .cat-list { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s-4); }
  .cat { grid-template-columns: 200px 1fr; }
  .cat:first-child { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .cat:first-child .cat-img { min-height: 260px; }
  .cat-body { padding: var(--s-5); }
  .cat-body h3 { font-size: 20px; }
}

/* ---------- Vehicles ---------- */
.veh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.veh {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  min-height: 56px; padding: var(--s-2) var(--s-4);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--t-fast) var(--ease);
}
.veh strong { font-family: var(--f-display); font-weight: 600; font-size: 15px; display: block; line-height: 1.3; }
.veh span { font-size: 12px; color: var(--text-2); }
.veh .count { font-size: 12px; color: var(--text-2); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .veh:hover { border-color: var(--text-2); } }
@media (min-width: 640px) { .veh-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .veh-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Price table (datasheet) ---------- */
.ptable-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.ptable-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: var(--s-3) var(--s-4); background: var(--ink-900); color: #fff; font-size: 13px;
}
.ptable-head .stamp { display: inline-flex; align-items: center; gap: 6px; color: var(--steel-400); }
.ptable-head .stamp b { color: var(--mark); font-weight: 600; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: start; font-weight: 600; font-size: 12px; color: var(--text-2); padding: var(--s-2) var(--s-4); background: var(--surface); border-bottom: 1px solid var(--line); }
.ptable td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .num { text-align: end; white-space: nowrap; font-weight: 700; }
.ptable .code { font-size: 14px; }
.ptable a.row-link { font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .ptable tbody tr:hover { background: #FAFBFC; } .ptable a.row-link:hover { text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 639px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable td { padding: 0; border: 0; }
  .ptable td.c-type { display: none; }
  .ptable td.c-veh { grid-column: 1; font-size: 13px; color: var(--text-2); }
  .ptable td.c-code { grid-column: 1; grid-row: 1; }
  .ptable td.num { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .ptable td.c-stock { display: none; }
}

/* ---------- Stock ---------- */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--ok { color: var(--ok); }
.stock--ask { color: var(--warn); }
.stock--out { color: var(--danger); }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1100px) { .pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prow { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: var(--s-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-2); scrollbar-width: thin; }
.prow > * { scroll-snap-align: start; }
@media (min-width: 760px) { .prow { grid-auto-columns: calc((100% - 3 * var(--s-4)) / 4); gap: var(--s-4); } }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .pcard:hover { border-color: #C3CAD3; box-shadow: var(--sh-2); } }
.stage {
  position: relative; aspect-ratio: 1 / 1; background: var(--stage);
  display: grid; place-items: center; overflow: hidden;
}
.stage img { width: 84%; height: 84%; object-fit: contain; }
.stage .tag {
  position: absolute; top: var(--s-2); inset-inline-start: var(--s-2);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-sm);
  background: var(--ink-900); color: #fff;
}
/* Spec card: shown when a product has no photo */
.stage--spec { background: var(--ink-900); color: #fff; }
.spec-art { display: grid; justify-items: center; gap: var(--s-2); text-align: center; padding: var(--s-4); }
.spec-art svg { width: 64%; max-width: 160px; height: auto; }
.spec-art .code { font-size: 20px; color: var(--mark); }
.spec-art small { font-size: 12px; color: var(--steel-400); }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-3); flex: 1; }
.plate {
  align-self: flex-start; font-family: var(--f-code); font-weight: 500; font-size: 13px; direction: ltr;
  padding: 1px 8px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.pcard h3 { font-size: 14px; font-weight: 600; line-height: 1.6; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard .fit { font-size: 12px; color: var(--text-2); display: flex; gap: 4px; align-items: flex-start; }
.pcard .fit .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--ok); }
.pcard-foot { margin-top: auto; padding-top: var(--s-2); display: flex; align-items: end; justify-content: space-between; gap: var(--s-2); }
.price { font-family: var(--f-display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.price small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: var(--text-2); margin-inline-start: 2px; }
.price--ask { font-size: 14px; color: var(--warn); }
.add-btn {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: var(--r-md); border: 0;
  display: grid; place-items: center; background: var(--mark); color: var(--ink-950); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.add-btn::before { content: ""; position: absolute; inset: -4px; }
.add-btn:disabled { background: var(--stage); color: var(--text-2); cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .add-btn:not(:disabled):hover { background: var(--mark-hover); } }
@media (min-width: 760px) { .pcard h3 { font-size: 15px; } .pcard-body { padding: var(--s-4); } }

/* ---------- Service / about band ---------- */
.service { display: grid; gap: var(--s-6); align-items: center; }
.service-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--stage); }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service h2 { font-size: 22px; }
.service p { color: var(--text-2); margin-top: var(--s-3); }
.service-steps { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.service-steps li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-3); align-items: start; }
.service-steps .ico { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--ink-900); color: var(--mark); display: grid; place-items: center; }
.service-steps b { display: block; font-family: var(--f-display); }
.service-steps span { font-size: 14px; color: var(--text-2); }
.service-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
@media (min-width: 900px) { .service { grid-template-columns: 1fr 1fr; gap: var(--s-9); } .service h2 { font-size: 28px; } }

/* ---------- Blog cards ---------- */
.bgrid { display: grid; gap: var(--s-4); }
.bcard { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-3); align-items: start; position: relative; }
.bcard-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stage); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base) var(--ease); }
.bcard .meta { font-size: 12px; color: var(--text-2); }
.bcard h3 { font-size: 15px; line-height: 1.6; margin-top: 2px; }
.bcard h3 a::after { content: ""; position: absolute; inset: 0; }
.bcard p { display: none; }
@media (hover: hover) and (pointer: fine) { .bcard:hover h3 { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 4px; } }
@media (min-width: 760px) {
  .bgrid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .bcard { grid-template-columns: 1fr; }
  .bcard-img { aspect-ratio: 16 / 10; }
  .bcard h3 { font-size: 17px; }
  .bcard p { display: block; font-size: 14px; color: var(--text-2); margin-top: 6px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: #C9D0D9; font-size: 14px; }
.ftr { display: grid; gap: var(--s-7); padding-block: var(--s-8); }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: var(--s-3); }
.ftr ul { list-style: none; display: grid; gap: var(--s-2); }
.ftr a { color: #C9D0D9; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: #fff; } }
.ftr-about p { margin-top: var(--s-3); color: var(--steel-400); max-width: 30em; }
.ftr-contact li { display: flex; gap: var(--s-2); align-items: center; }
.ftr-contact .icon { color: var(--mark); width: 18px; height: 18px; }
.trust { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.trust-slot {
  width: 84px; height: 84px; border-radius: var(--r-md); border: 1px dashed var(--ink-700);
  display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--steel-400); padding: 6px;
}
.ftr-bottom { border-top: 1px solid var(--ink-800); padding-block: var(--s-4); font-size: 12px; color: var(--steel-400); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }
@media (min-width: 900px) { .ftr { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--text-2); padding-block: var(--s-3); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs ol { list-style: none; display: flex; gap: 6px; align-items: center; }
.crumbs li + li::before { content: "/"; color: #A9B2BE; margin-inline-end: 6px; }
.crumbs a { color: var(--text-2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Listing page ---------- */
.list-hero { background: var(--ink-900); color: #fff; }
.list-hero-inner { padding-block: var(--s-5) var(--s-6); display: grid; gap: var(--s-4); }
.list-hero .crumbs, .list-hero .crumbs a { color: var(--steel-400); }
.list-hero .crumbs [aria-current] { color: #fff; }
.list-hero h1 { font-size: 26px; }
.list-hero p { color: #C9D0D9; font-size: 14px; max-width: 46em; }
.fit-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3);
  background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-md); padding: var(--s-3);
}
.fit-bar .lbl { font-size: 13px; color: var(--steel-400); display: inline-flex; gap: 6px; align-items: center; }
.fit-bar .lbl .icon { color: var(--mark); }
.fit-bar .car { font-family: var(--f-display); font-weight: 600; }
.fit-bar .btn { min-height: 36px; padding-inline: var(--s-3); font-size: 13px; margin-inline-start: auto; }
@media (min-width: 900px) { .list-hero h1 { font-size: 34px; } }

.list-layout { display: grid; gap: var(--s-5); padding-block: var(--s-5) var(--s-8); }
@media (min-width: 1000px) { .list-layout { grid-template-columns: 260px 1fr; align-items: start; gap: var(--s-7); } }
.toolbar { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-4); }
.toolbar .result { font-size: 14px; color: var(--text-2); margin-inline-end: auto; }
.toolbar .result b { color: var(--text); }
.toolbar .select { min-height: 40px; width: auto; font-size: 14px; }
.toolbar .filter-open { display: inline-flex; min-height: 40px; }
@media (min-width: 1000px) { .toolbar .filter-open { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 var(--s-2) 0 var(--s-3);
  border-radius: 17px; background: var(--ink-900); color: #fff; font-size: 13px; border: 0; cursor: pointer;
}
.chip .icon { width: 16px; height: 16px; color: var(--steel-400); }
.chip--clear { background: none; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; padding: 0 var(--s-2); }

.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4); border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 16px; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding-inline: var(--s-4); font-family: var(--f-display); font-weight: 600; font-size: 14px;
}
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .icon { transition: transform var(--t-base) var(--ease); color: var(--text-2); }
.fgroup[open] summary .icon { transform: rotate(180deg); }
.fgroup .opts { padding: 0 var(--s-4) var(--s-4); display: grid; gap: 2px; }
.opt { display: flex; align-items: center; gap: var(--s-2); min-height: 36px; font-size: 14px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--ink-900); }
.opt .n { margin-inline-start: auto; font-size: 12px; color: var(--text-2); }
.filters-foot { display: none; }

/* Mobile bottom sheet for filters */
@media (max-width: 999px) {
  .filters {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 70; max-height: 86vh; overflow-y: auto;
    border-radius: var(--r-lg) var(--r-lg) 0 0; border: 0; box-shadow: var(--sh-3);
    transform: translateY(100%); visibility: hidden;
    transition: transform var(--t-base) var(--ease), visibility 0s linear var(--t-base);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform var(--t-base) var(--ease), visibility 0s; }
  .filters-head { position: sticky; top: 0; background: var(--card); z-index: 1; }
  .filters-foot { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-2); position: sticky; bottom: 0; background: var(--card); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); }
}
@media (min-width: 1000px) { .filters { position: sticky; top: 140px; } .filters-head .icon-btn { display: none; } }
.scrim { position: fixed; inset: 0; background: rgba(14, 17, 22, .5); z-index: 60; opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), visibility 0s linear var(--t-base); }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-base) var(--ease), visibility 0s; }
.filters .icon-btn { color: var(--text); }

.seo-text { margin-top: var(--s-8); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); }
.seo-text h2 { font-size: 19px; margin-bottom: var(--s-3); }
.seo-text h3 { font-size: 16px; margin: var(--s-4) 0 var(--s-2); }
.seo-text p { color: var(--text-2); font-size: 15px; line-height: 1.9; }
.pager { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-6); }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.pager [aria-current] { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-bottom: var(--s-6); }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; } }
.gallery { display: grid; gap: var(--s-2); }
@media (min-width: 960px) { .gallery { position: sticky; top: 140px; } }
.gallery-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-md); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); }
.gallery-main::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .gallery-main { margin-inline: 0; border: 1px solid var(--line); } }
.gallery-main .stage { scroll-snap-align: center; aspect-ratio: 1 / 1; }
.gallery-main .stage--photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: var(--s-2); justify-content: center; }
.thumbs button {
  width: 64px; height: 64px; padding: 0; border-radius: var(--r-sm); border: 2px solid transparent; background: var(--stage); overflow: hidden; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}
.thumbs button[aria-current="true"] { border-color: var(--ink-900); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs .t-photo img { object-fit: cover; }
.thumbs .t-spec { background: var(--ink-900); color: var(--mark); font-family: var(--f-code); font-size: 10px; display: grid; place-items: center; direction: ltr; }
@media (max-width: 639px) { .thumbs { display: none; } }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: #C3CAD3; transition: width var(--t-base) var(--ease), background-color var(--t-base) var(--ease); }
.dots span.on { width: 18px; background: var(--ink-900); }
@media (min-width: 640px) { .dots { display: none; } }

.buy { display: grid; gap: var(--s-4); }
.buy-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: 13px; color: var(--text-2); }
.brand-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); font-weight: 600; color: var(--text); }
.buy h1 { font-size: 22px; line-height: 1.5; }
@media (min-width: 960px) { .buy h1 { font-size: 28px; } }
.idrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
@media (min-width: 960px) { .idrow { grid-template-columns: repeat(3, max-content); } }
.idcell { display: grid; gap: 0; padding: 6px var(--s-3); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.idcell small { font-size: 11px; color: var(--text-2); }
.idcell .code { font-size: 15px; }
.idcell .codeline { display: flex; align-items: center; gap: var(--s-2); }
.copy-btn { position: relative; border: 0; background: none; cursor: pointer; color: var(--text-2); padding: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; min-height: 24px; }
.copy-btn::before { content: ""; position: absolute; inset: -10px; }

.fitcheck { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.fitcheck-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-4); background: #EAF5EF; color: var(--ok); font-weight: 600; font-size: 14px; border-bottom: 1px solid #CFE6DA; }
.fitcheck-head .icon { width: 20px; height: 20px; }
.fitlist { list-style: none; }
.fitlist li { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); font-size: 14px; }
.fitlist li:last-child { border-bottom: 0; }
.fitlist b { font-family: var(--f-display); font-weight: 600; }
.fitlist .eng { color: var(--text-2); font-size: 13px; }
.fitlist .src { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; color: var(--text-2); }
.fitcheck-foot { padding: var(--s-3) var(--s-4); font-size: 13px; color: var(--text-2); background: var(--surface); display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; justify-content: space-between; }
.fitcheck-foot a { font-weight: 600; color: var(--text); border-bottom: 2px solid var(--mark); }

.pricebox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); display: grid; gap: var(--s-3); }
.pricebox .row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.pricebox .price { font-size: 28px; }
.pricebox .price small { font-size: 14px; }
.pricebox .upd { font-size: 12px; color: var(--text-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-md); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.buy-actions { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2); }
.perks { list-style: none; display: grid; gap: var(--s-2); font-size: 13px; color: var(--text-2); }
.perks li { display: flex; gap: var(--s-2); align-items: center; }
.perks .icon { width: 18px; height: 18px; color: var(--text); }

.kit-up {
  display: grid; grid-template-columns: 88px 1fr; gap: var(--s-3); align-items: center;
  background: var(--ink-900); color: #fff; border-radius: var(--r-md); padding: var(--s-3); position: relative;
}
.kit-up .stage { border-radius: var(--r-sm); background: #E9EDF2; }
.kit-up small { color: var(--mark); font-weight: 600; font-size: 12px; }
.kit-up b { display: block; font-family: var(--f-display); font-size: 15px; line-height: 1.5; }
.kit-up p { font-size: 13px; color: #C9D0D9; }
.kit-up .price { font-size: 16px; color: #fff; }
.kit-up .price small { color: var(--steel-400); }
.kit-up a::after { content: ""; position: absolute; inset: 0; }

.sticky-buy {
  position: fixed; inset-inline: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 45;
  background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(14, 17, 22, .08);
  padding: var(--s-2) var(--gutter); display: flex; align-items: center; gap: var(--s-3);
  transform: translateY(110%); transition: transform var(--t-base) var(--ease);
}
.sticky-buy.is-shown { transform: none; }
.sticky-buy .price { font-size: 18px; }
.sticky-buy .code { font-size: 12px; color: var(--text-2); display: block; }
.sticky-buy .btn { margin-inline-start: auto; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

.pdp-tabs { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pdp-tabs { top: 117px; } }
.pdp-tabs ul { list-style: none; display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; }
.pdp-tabs a { display: inline-flex; align-items: center; min-height: 48px; padding-inline: var(--s-3); font-size: 14px; font-weight: 600; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.pdp-tabs a.on { color: var(--text); border-bottom-color: var(--mark); }

.pdp-sec { padding-block: var(--s-6); scroll-margin-top: 56px; }
@media (min-width: 900px) { .pdp-sec { scroll-margin-top: 170px; } }
.pdp-sec > h2 { font-size: 20px; margin-bottom: var(--s-4); }
@media (min-width: 900px) { .pdp-sec > h2 { font-size: 24px; } }
.two-col { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }

.spec { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: 14px; }
.spec th, .spec td { padding: var(--s-3) var(--s-4); text-align: start; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 42%; font-weight: 500; color: var(--text-2); background: #FAFBFC; }
.spec td { font-weight: 600; }
.spec .code { font-weight: 500; }

.code-explain { background: var(--ink-900); color: #fff; border-radius: var(--r-md); padding: var(--s-5); }
.code-explain h3 { font-size: 16px; }
.code-explain p { color: #C9D0D9; font-size: 14px; margin-top: var(--s-2); }
.decode { display: flex; gap: var(--s-1); direction: ltr; justify-content: center; margin-block: var(--s-5) var(--s-2); }
.decode div { display: grid; justify-items: center; gap: var(--s-2); }
.decode .code { font-size: 30px; color: #fff; background: var(--ink-800); border: 1px solid var(--ink-700); border-bottom: 3px solid var(--mark); border-radius: var(--r-sm); padding: 2px 12px; }
.decode small { font-family: var(--f-body); font-size: 12px; color: var(--steel-400); direction: rtl; }
.decode .sep { font-family: var(--f-code); font-size: 30px; color: var(--steel-400); align-self: start; padding-top: 2px; }

.prose { font-size: 16px; line-height: 2; color: #2A323D; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: 21px; margin-top: var(--s-7); color: var(--text); scroll-margin-top: 130px; }
.prose h2.first { margin-top: 0; }
.faq > h2 { font-size: 20px; margin-bottom: var(--s-4); }
.prose h3 { font-size: 17px; margin-top: var(--s-5); color: var(--text); }
.prose ul { padding-inline-start: var(--s-5); }
.prose li + li { margin-top: var(--s-2); }
.prose a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose strong { color: var(--text); }
.prose figure { margin: var(--s-6) 0; }
.prose figure img { border-radius: var(--r-md); width: 100%; }
.prose figcaption { font-size: 13px; color: var(--text-2); margin-top: var(--s-2); }
.prose .note { background: #FFF8DB; border-inline-start: 4px solid var(--mark); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); font-size: 15px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq details + details { margin-top: var(--s-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-4); font-family: var(--f-display); font-weight: 600; font-size: 15px; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t-base) var(--ease); flex: none; color: var(--text-2); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s-4) var(--s-4); color: var(--text-2); font-size: 15px; line-height: 1.9; }

.reco-group + .reco-group { margin-top: var(--s-7); }
.reco-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.reco-head h3 { font-size: 17px; }
.reco-head p { font-size: 13px; color: var(--text-2); }
.reason { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--ok); }
.reason .icon { width: 14px; height: 14px; }
.reason--check { color: var(--warn); }

/* ---------- Blog ---------- */
.blog-hero { background: var(--ink-900); color: #fff; }
.blog-hero-inner { padding-block: var(--s-6) var(--s-7); }
.blog-hero h1 { font-size: 28px; }
.blog-hero p { color: #C9D0D9; margin-top: var(--s-2); max-width: 40em; }
.blog-hero .crumbs, .blog-hero .crumbs a { color: var(--steel-400); }
.blog-hero .crumbs [aria-current] { color: #fff; }
.topics { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; margin-top: var(--s-5); }
.topics a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding-inline: var(--s-4); border-radius: 20px; border: 1px solid var(--ink-700); font-size: 14px; color: #D5DAE1; }
.topics a[aria-current] { background: var(--mark); border-color: var(--mark); color: var(--ink-950); font-weight: 700; }
.feature-post { display: grid; gap: var(--s-4); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: relative; }
.feature-post .fp-img { aspect-ratio: 16 / 9; background: var(--stage); }
.feature-post .fp-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-post .fp-body { padding: 0 var(--s-4) var(--s-5); display: grid; gap: var(--s-2); align-content: center; }
.feature-post h2 { font-size: 22px; line-height: 1.5; }
.feature-post h2 a::after { content: ""; position: absolute; inset: 0; }
.feature-post p { color: var(--text-2); }
.feature-post .meta { font-size: 13px; color: var(--text-2); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.kicker { font-size: 12px; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.kicker::before { content: ""; width: 3px; height: 12px; background: var(--mark); border-radius: 1px; }
@media (min-width: 900px) {
  .blog-hero h1 { font-size: 38px; }
  .feature-post { grid-template-columns: 1.2fr 1fr; gap: 0; }
  .feature-post .fp-img { aspect-ratio: auto; min-height: 340px; }
  .feature-post .fp-body { padding: var(--s-7); }
  .feature-post h2 { font-size: 28px; }
}
.post-list { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); } }
@media (min-width: 1100px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-list .bcard { grid-template-columns: 1fr; }
.post-list .bcard-img { aspect-ratio: 16 / 10; }
.post-list .bcard p { display: block; font-size: 14px; color: var(--text-2); margin-top: 6px; }

.article-head { background: var(--ink-900); color: #fff; }
.article-head-inner { padding-block: var(--s-4) var(--s-7); max-width: 1100px; }
.article-head-inner > h1, .article-head-inner > .lead { max-width: 820px; }
.article-head .crumbs, .article-head .crumbs a { color: var(--steel-400); }
.article-head .crumbs [aria-current] { color: #fff; }
.article-head h1 { font-size: 26px; line-height: 1.5; margin-top: var(--s-2); }
.article-head .lead { color: #C9D0D9; margin-top: var(--s-3); font-size: 16px; }
.byline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: 13px; color: var(--steel-400); }
.byline span { display: inline-flex; align-items: center; gap: 6px; }
.byline .icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .article-head h1 { font-size: 38px; } }
.article-cover-wrap { max-width: 1100px; }
.article-cover { margin-top: calc(var(--s-6) * -1); }
.article-cover img { border-radius: var(--r-md); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--sh-2); }
.article-layout { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-8); max-width: 1100px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; } }
.article-aside { display: grid; gap: var(--s-4); align-content: start; }
@media (min-width: 1040px) { .article-aside { position: sticky; top: 140px; } }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.toc h2 { font-size: 15px; margin-bottom: var(--s-2); }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--text-2); }
.toc a.on { color: var(--text); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--text); } }
.aside-products { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.aside-products h2 { font-size: 15px; margin-bottom: var(--s-3); }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-3); align-items: center; padding-block: var(--s-2); position: relative; }
.mini + .mini { border-top: 1px solid var(--line); }
.mini .stage { border-radius: var(--r-sm); }
.mini b { display: block; font-size: 13px; font-weight: 600; line-height: 1.6; }
.mini .price { font-size: 14px; }
.mini a::after { content: ""; position: absolute; inset: 0; }

/* Product embed inside an article */
.embed {
  display: grid; grid-template-columns: 96px 1fr; gap: var(--s-3); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--mark);
  border-radius: var(--r-md); padding: var(--s-3); line-height: 1.6;
}
.embed .stage { border-radius: var(--r-sm); }
.embed .e-title { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--text); }
.embed .e-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: 13px; color: var(--text-2); margin-top: 4px; }
.embed .e-actions { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-2); }
.embed .e-actions .btn { min-height: 40px; font-size: 14px; padding-inline: var(--s-4); }
.prose .embed a, .prose .pcard a { text-decoration: none; font-weight: inherit; }
@media (min-width: 640px) { .embed { grid-template-columns: 120px 1fr; padding: var(--s-4); } }

.embed-row { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 220px)); }
.embed-row .pcard h3 { font-size: 13px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90; inset-inline: var(--s-4); bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));
  background: var(--ink-900); color: #fff; border-radius: var(--r-md); padding: var(--s-3) var(--s-4);
  display: flex; align-items: center; gap: var(--s-3); box-shadow: var(--sh-3); font-size: 14px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.toast.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.toast .icon { color: var(--mark); }
.toast a { margin-inline-start: auto; color: var(--mark); font-weight: 700; }
@media (min-width: 900px) { .toast { inset-inline: auto var(--s-6); bottom: var(--s-6); min-width: 340px; } }

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

/* =========================================================
   Batch 2: car page, search, cart, checkout, order, 404
   ========================================================= */

/* ---------- Alerts ---------- */
.alert { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-size: 14px; line-height: 1.8; border: 1px solid; }
.alert .icon { width: 22px; height: 22px; margin-top: 1px; }
.alert b { font-family: var(--f-display); }
.alert--warn { background: #FFF8DB; border-color: #F0DC8A; color: #4D3A00; }
.alert--warn .icon { color: var(--warn); }
.alert--info { background: var(--card); border-color: var(--line); color: var(--text-2); }
.alert--info .icon { color: var(--text); }
.alert--ok { background: #EAF5EF; border-color: #CFE6DA; color: #134D33; }
.alert--ok .icon { color: var(--ok); }
.alert--danger { background: #FDECEA; border-color: #F3C7C2; color: #6B1610; }
.alert--danger .icon { color: var(--danger); }

/* ---------- Segmented control (engine tabs, toggles) ---------- */
.seg { display: inline-flex; padding: 3px; gap: 3px; background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-md); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg a, .seg button { flex: none; min-height: 40px; padding-inline: var(--s-4); border-radius: var(--r-sm); border: 0; background: none; color: #D5DAE1; font-family: var(--f-display); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.seg [aria-current="page"], .seg [aria-pressed="true"] { background: var(--mark); color: var(--ink-950); }
.seg small { font-family: var(--f-body); font-weight: 400; font-size: 12px; opacity: .8; }
.seg--light { background: var(--surface); border-color: var(--line); }
.seg--light a, .seg--light button { color: var(--text-2); }
.seg--light [aria-pressed="true"], .seg--light [aria-current="page"] { background: var(--ink-900); color: #fff; }

/* ---------- Car landing page ---------- */
.car-hero { background: var(--ink-900); color: #fff; }
.car-hero-inner { padding-block: var(--s-4) var(--s-6); display: grid; gap: var(--s-4); }
.car-hero .crumbs, .car-hero .crumbs a { color: var(--steel-400); }
.car-hero .crumbs [aria-current] { color: #fff; }
.car-hero h1 { font-size: 26px; }
.car-hero p { color: #C9D0D9; font-size: 14px; max-width: 46em; }
.car-hero .seg-label { font-size: 13px; color: var(--steel-400); margin-bottom: var(--s-2); }
@media (min-width: 900px) { .car-hero h1 { font-size: 36px; } }
.belt-group { padding-block: var(--s-6) 0; }
.belt-group-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.belt-group-head .ico { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--ink-900); display: grid; place-items: center; flex: none; }
.belt-group-head .ico svg { width: 30px; height: 20px; }
.belt-group-head h2 { font-size: 20px; }
.belt-group-head p { font-size: 13px; color: var(--text-2); }
.belt-group-head .count { margin-inline-start: auto; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.service-card { display: grid; gap: var(--s-4); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); margin-top: var(--s-7); }
.service-card h2 { font-size: 19px; }
.service-card .cols { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .service-card .cols { grid-template-columns: repeat(3, 1fr); } }
.service-card .cols div { border-inline-start: 3px solid var(--mark); padding-inline-start: var(--s-3); }
.service-card .cols b { display: block; font-family: var(--f-display); font-size: 15px; }
.service-card .cols span { font-size: 14px; color: var(--text-2); }

/* ---------- Search ---------- */
.search-head { background: var(--ink-900); color: #fff; padding-block: var(--s-5); }
.search-head .search { max-width: 640px; min-height: 52px; }
.search-head .norm { margin-top: var(--s-3); font-size: 13px; color: var(--steel-400); }
.search-head .norm b { color: #fff; }
.exact { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4); align-items: center; background: var(--card); border: 2px solid var(--ink-900); border-radius: var(--r-md); padding: var(--s-3); position: relative; margin-top: var(--s-3); }
.exact .badge { position: absolute; top: -12px; inset-inline-start: var(--s-4); background: var(--mark); color: var(--ink-950); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: var(--r-sm); }
.exact h2 { font-size: 17px; line-height: 1.6; }
.exact h2 a::after { content: ""; position: absolute; inset: 0; }
.exact .meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); align-items: center; font-size: 13px; color: var(--text-2); margin-top: 4px; }
.exact .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); margin-top: var(--s-3); }
.exact .btn { position: relative; z-index: 1; }
@media (min-width: 760px) { .exact { grid-template-columns: 180px minmax(0, 1fr); padding: var(--s-4); } .exact h2 { font-size: 20px; } }
.result-group { margin-top: var(--s-7); }
.result-group > h2 { font-size: 17px; margin-bottom: var(--s-3); }
.result-group > h2 small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--text-2); margin-inline-start: var(--s-2); }
.list-rows { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.list-rows a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 52px; padding: var(--s-2) var(--s-4); border-bottom: 1px solid var(--line); font-size: 14px; }
.list-rows a:last-child { border-bottom: 0; }
.list-rows a span { color: var(--text-2); font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .list-rows a:hover { background: #FAFBFC; } }

/* ---------- Checkout steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); padding-block: var(--s-4); }
.steps li { display: grid; gap: 6px; font-size: 12px; color: var(--text-2); }
.steps li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.steps li[data-state="done"]::before { background: var(--ink-900); }
.steps li[data-state="current"]::before { background: var(--mark); }
.steps li[data-state="current"] { color: var(--text); font-weight: 700; }
@media (min-width: 900px) { .steps li { font-size: 14px; } }

.page-title { font-size: 22px; margin-bottom: var(--s-4); }
@media (min-width: 900px) { .page-title { font-size: 28px; } }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-bottom: var(--s-8); }
@media (min-width: 960px) { .co-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); align-items: start; } }
.co-main { display: grid; gap: var(--s-4); align-content: start; }

/* ---------- Cart ---------- */
.cart-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: var(--s-3); padding: var(--s-4); border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .stage { border-radius: var(--r-sm); }
.cart-item h3 { font-size: 15px; font-weight: 600; line-height: 1.6; }
.cart-item .meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); align-items: center; margin-top: 4px; font-size: 12px; color: var(--text-2); }
.cart-item .ci-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.cart-item .ci-price { text-align: end; }
.cart-item .ci-price del { display: block; font-size: 12px; color: var(--text-2); }
.ci-ctrl { display: flex; align-items: center; gap: var(--s-1); }
.qty--sm { height: 40px; }
.qty--sm button { width: 38px; }
.link-btn { border: 0; background: none; cursor: pointer; color: var(--text-2); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding-inline: var(--s-2); }
@media (hover: hover) and (pointer: fine) { .link-btn:hover { color: var(--danger); } }
@media (min-width: 640px) {
  .cart-item { grid-template-columns: 110px 1fr auto; align-items: center; }
  .cart-item .ci-foot { grid-column: auto; flex-direction: column; align-items: end; }
}
.changed { background: #FFF8DB; color: #4D3A00; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 4px; }

.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); display: grid; gap: var(--s-3); }
@media (min-width: 960px) { .summary { position: sticky; top: 140px; padding: var(--s-5); } }
.summary h2 { font-size: 17px; }
.sum-row { display: flex; justify-content: space-between; gap: var(--s-3); font-size: 14px; color: var(--text-2); }
.sum-row b { color: var(--text); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--line); }
.sum-total > span { font-weight: 700; }
.sum-total .price { font-size: 22px; }
.coupon { display: flex; gap: var(--s-2); }
.coupon .input { min-height: 44px; }
.summary .fine { font-size: 12px; color: var(--text-2); line-height: 1.8; }
.summary .btn--lg { display: none; }
@media (min-width: 960px) { .summary .btn--lg { display: inline-flex; } }
.paybar {
  position: fixed; inset-inline: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 45;
  background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(14, 17, 22, .08);
  padding: var(--s-2) var(--gutter); display: flex; align-items: center; gap: var(--s-3);
}
.paybar > div > small { display: block; font-size: 12px; color: var(--text-2); }
.paybar .price { font-size: 18px; }
.paybar .btn { margin-inline-start: auto; }
.has-paybar { padding-bottom: calc(var(--tabbar-h) + 72px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .paybar { display: none; } .has-paybar { padding-bottom: 0; } }

/* ---------- Forms & choices ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.panel > h2 { font-size: 17px; margin-bottom: var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.panel > h2 .link-btn { font-family: var(--f-body); font-weight: 400; }
@media (min-width: 900px) { .panel { padding: var(--s-5); } }
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field .hint { font-size: 12px; color: var(--text-2); }
.field .err { font-size: 12px; color: var(--danger); display: flex; gap: 4px; align-items: center; }
.field .err .icon { width: 16px; height: 16px; }
.input--ltr { direction: ltr; text-align: right; font-family: var(--f-code); letter-spacing: .04em; }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 96px; padding-block: var(--s-3); resize: vertical; line-height: 1.8; }
.choices { display: grid; gap: var(--s-2); }
.choice { display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s-3); align-items: start; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink-900); }
.choice b { display: block; font-family: var(--f-display); font-size: 15px; }
.choice span { font-size: 13px; color: var(--text-2); }
.choice .cost { font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--text); }
.choice:has(input:checked) { border-color: var(--ink-900); background: #FAFBFC; box-shadow: inset 0 0 0 1px var(--ink-900); }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .choice:hover { border-color: var(--text-2); } }
.mini-items { display: grid; gap: var(--s-3); }
.mini-items .mi { display: grid; grid-template-columns: 52px 1fr auto; gap: var(--s-3); align-items: center; font-size: 13px; }
.mini-items .stage { border-radius: var(--r-sm); }
.mini-items .mi b { font-weight: 600; display: block; line-height: 1.5; }
.mini-items .mi span { color: var(--text-2); }

/* ---------- Order result ---------- */
.result { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-6) var(--s-8); }
@media (min-width: 960px) { .result { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-7); align-items: start; } }
.result-main { display: grid; gap: var(--s-4); align-content: start; }
.result-head { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: center; }
.result-head .ok-ico { width: 56px; height: 56px; border-radius: 50%; background: #EAF5EF; color: var(--ok); display: grid; place-items: center; }
.result-head .ok-ico .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.result-head h1 { font-size: 22px; }
.result-head p { font-size: 14px; color: var(--text-2); }
@media (min-width: 900px) { .result-head h1 { font-size: 28px; } }
.order-id { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
@media (min-width: 640px) { .order-id { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.timeline { list-style: none; display: grid; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); position: relative; padding-bottom: var(--s-5); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); display: grid; place-items: center; position: relative; z-index: 1; }
.timeline .dot .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.timeline [data-state="done"] .dot { background: var(--ink-900); border-color: var(--ink-900); color: var(--mark); }
.timeline [data-state="done"]::before { background: var(--ink-900); }
.timeline [data-state="current"] .dot { border-color: var(--mark); box-shadow: 0 0 0 4px rgba(245, 196, 0, .25); }
.timeline b { display: block; font-family: var(--f-display); font-size: 15px; }
.timeline span { font-size: 13px; color: var(--text-2); }
.timeline [data-state="todo"] b { color: var(--text-2); font-weight: 600; }
.result-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--stage); }
.result-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 404 ---------- */
.nf { position: relative; background: var(--ink-950); color: #fff; overflow: hidden; }
.nf-media { position: absolute; inset: 0; }
.nf-media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; opacity: .55; }
.nf-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(14,17,22,.96) 0%, rgba(14,17,22,.8) 45%, rgba(14,17,22,.2) 100%); }
.nf-inner { position: relative; padding-block: var(--s-8) var(--s-9); display: grid; gap: var(--s-4); max-width: 560px; }
.nf .code-big { font-family: var(--f-code); font-size: 15px; color: var(--mark); }
.nf h1 { font-size: 28px; }
.nf p { color: #C9D0D9; }
.nf .search { min-height: 52px; }
.nf .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 900px) { .nf-inner { padding-block: var(--s-10); } .nf h1 { font-size: 40px; } }
.list-rows .code { color: var(--text); font-size: 15px; }
.mt-7 { margin-top: var(--s-7); }
.mt-3 { margin-top: var(--s-3); }
.result-head .ok-ico--fail { background: #FDECEA; color: var(--danger); }

/* ---------- Car-first product naming (car/model leads, store code is secondary) ---------- */
.pcard h3 .ptype { display: block; font-family: var(--f-body); font-weight: 500; font-size: 12px; color: var(--text-2); line-height: 1.5; }
.pcard h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.pcard .sub { font-size: 12px; color: var(--text-2); }
.sku { font-family: var(--f-code); font-size: 12px; color: var(--text-2); direction: ltr; unicode-bidi: isolate; }
.spec-art .car { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: #fff; line-height: 1.4; }
.ptable .c-veh a { font-weight: 700; }
.ptable .c-veh small { display: block; font-size: 12px; color: var(--text-2); font-weight: 400; }
.fit-confirm { background: var(--ink-900); color: #fff; border-radius: var(--r-md); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.fit-confirm h3 { font-size: 17px; }
.fit-confirm ul { list-style: none; display: grid; gap: var(--s-2); }
.fit-confirm li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-2); font-size: 14px; color: #C9D0D9; }
.fit-confirm li .icon { color: var(--mark); width: 20px; height: 20px; }
.fit-confirm li b { color: #fff; }
@media (min-width: 760px) { .pcard h3 { font-size: 17px; } }
.sticky-buy .sub { display: block; font-size: 12px; color: var(--text-2); }
a.exact { color: var(--text); }
.exact .spec-art svg { width: 48px; height: 48px; fill: none; stroke: var(--mark); stroke-width: 1.6; }
@media (hover: hover) and (pointer: fine) { a.exact:hover { box-shadow: var(--sh-2); } }
.spec-art svg { aspect-ratio: 8 / 5; height: auto; }
.spec-art { padding: var(--s-3); gap: 6px; }
@media (max-width: 639px) { .spec-art .car { font-size: 16px; } .spec-art small { font-size: 11px; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- App additions ---------- */
.flash-wrap { padding-top: var(--s-3); }
.empty { background: var(--card); border: 1px dashed #C3CAD3; border-radius: var(--r-md); padding: var(--s-7) var(--s-5); text-align: center; margin-block: var(--s-5); }
.empty h2 { font-size: 18px; margin-bottom: var(--s-2); }
.empty p { color: var(--text-2); }
.make-group { margin-bottom: var(--s-6); }
.make-group > h2 { font-size: 18px; margin-bottom: var(--s-3); }
.result-head .ok-ico--wait { background: #FFF8DB; color: var(--warn); }
.mini-items .mi--text { grid-template-columns: 1fr auto; }
.bundle-form { display: flex; }
.add-form { display: contents; }
.prose blockquote.note, .prose blockquote { margin: 0; background: #FFF8DB; border-inline-start: 4px solid var(--mark); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); font-size: 15px; }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r-md); }
.prose .embed .stage, .prose .pcard .stage { border-radius: var(--r-sm); }
.prose .embed form { display: inline; }
.filters-foot--nojs { display: block; padding: var(--s-3) var(--s-4); }
.ptable th.num { text-align: end; }
.cart-item .qty { margin: 0; }
.cart-item form { margin: 0; }
.sticky-buy form { margin-inline-start: auto; }
.mt-3 { margin-top: var(--s-3); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mock-pay { max-width: 560px; margin-inline: auto; }
.trust { gap: var(--s-2); flex-wrap: wrap; }
.fitlist b a { color: inherit; border-bottom: 1px dashed currentColor; }
.input--ltr::placeholder { font-family: var(--f-body); letter-spacing: 0; }
.form-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Card-to-card payment ---------- */
.paycard { background: var(--ink-900); color: #fff; border-radius: var(--r-md); padding: var(--s-5); display: grid; gap: var(--s-3); }
.paycard-amount { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.paycard-amount small { width: 100%; font-size: 13px; color: var(--steel-400); }
.paycard-amount b { font-family: var(--f-display); font-size: 32px; color: var(--mark); line-height: 1.2; }
.paycard-number { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); }
.paycard-number .code { font-size: clamp(15px, 5vw, 22px); letter-spacing: .04em; color: #fff; white-space: nowrap; }
.paycard-holder { font-size: 14px; color: #C9D0D9; }
.paycard-holder b { color: #fff; }
.paycard-note { font-size: 13px; color: var(--steel-400); }
.copy-btn--light { color: var(--mark); font-weight: 600; font-size: 13px; }
.track-card { max-width: 520px; margin-inline: auto; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-4); font-size: 14px; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; font-weight: 600; }
.paycard-number { padding-inline: var(--s-3); }

/* Contact-to-order page (prices confirmed by phone) */
.contact-actions { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .contact-actions { grid-template-columns: repeat(2, 1fr); } }
.contact-actions .btn { justify-content: center; }
.contact-msg { margin: var(--s-3) 0 0; padding: var(--s-3) var(--s-4); background: var(--surface, #f4f5f7); border: 1px solid var(--line); border-radius: var(--r-md); white-space: pre-wrap; font: inherit; font-size: 14px; line-height: 2; }
.price-note { display: flex; gap: var(--s-2); align-items: flex-start; font-size: 13px; line-height: 1.9; color: var(--text-2); margin-top: var(--s-3); }
.price-note .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--warn); }

/* "needs inquiry" label on prices while ordering is by phone (html[data-ask] follows the admin switch) */
.ask-badge { display: none; }
html[data-ask] .ask-badge { display: inline-block; margin-inline-start: var(--s-2); padding: 1px 8px; border-radius: 999px; background: #FFF8DB; border: 1px solid #F0DC8A; color: #4D3A00; font-family: var(--f-body); font-size: 11px; font-weight: 600; line-height: 1.8; white-space: nowrap; vertical-align: middle; }

.pdp-note { margin-top: var(--s-4); }
.pdp-note > div { white-space: pre-line; }

.all-more { text-align: center; margin-top: var(--s-5, 24px); }
