/* ============================================================
   APARCHIN — main stylesheet
   Simple, premium, trust-first. RTL Persian.
   ============================================================ */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #142330;
  --ink-2: #22384a;
  --muted: #64727d;
  --line: #e6e0d4;
  --line-2: #efeae0;
  --accent: #d8781f;
  --accent-2: #bb6414;
  --accent-soft: #fcf0e1;
  --navy: #0e2031;
  --navy-2: #16304a;
  --green: #1e7a52;
  --green-soft: #e8f4ee;
  --red: #b23a2e;
  --red-soft: #fbeeec;
  --gold: #d8a35c;
  --shadow-sm: 0 2px 8px rgba(18, 34, 48, 0.05);
  --shadow: 0 12px 32px rgba(18, 34, 48, 0.08);
  --shadow-lg: 0 26px 60px rgba(10, 24, 38, 0.16);
  --r-card: 16px;
  --r-ctl: 12px;
  --container: 1240px;
  --font: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.55; font-weight: 800; letter-spacing: -0.2px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #f3c995; color: #142330; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ic {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -0.18em;
}
.part-art { display: block; width: 100%; height: 100%; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 900px; }
.section { padding: 54px 0; }
.page-pad { padding: 26px 0 70px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.ok-text { color: var(--green); font-weight: 700; }
.hint { color: var(--muted); font-size: 11.5px; line-height: 1.9; margin: 8px 0 0; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  background: #ece7dc;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(216, 120, 31, 0.24); }
.btn-accent:hover { background: var(--accent-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: #efeade; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { height: 35px; padding: 0 13px; font-size: 12px; border-radius: 9px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: wait; }
.link-more { color: var(--accent-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.link-btn {
  border: 0; background: none; color: var(--accent-2);
  font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; font-family: inherit;
}
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  color: var(--ink); cursor: pointer; font-size: 19px;
}
.icon-btn:hover { border-color: var(--ink); }
.copy-btn, .del-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--muted); cursor: pointer; font-size: 15px;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ink); }
.del-btn:hover { color: var(--red); border-color: var(--red); background: var(--red-soft); }

/* ---------- form controls ---------- */
.input {
  width: 100%;
  height: 45px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
textarea.input { height: auto; padding: 11px 13px; line-height: 1.8; resize: vertical; min-height: 76px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216, 120, 31, 0.14); }
.input::placeholder { color: #a6aeb6; }
.input:disabled { background: #f4f1ea; color: #9aa4ab; }
select.input {
  appearance: none;
  padding-left: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364727d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 13px center;
  cursor: pointer;
}
.input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(178, 58, 46, 0.12); }
.field { display: block; }
.field > label, .field > span { display: block; font-size: 12px; font-weight: 700; color: #40505d; margin-bottom: 5px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 15px; margin-bottom: 14px; }
.form-actions { display: flex; gap: 8px; margin-top: 14px; }
.check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; }
.check-row input { accent-color: var(--accent); width: 15px; height: 15px; }
.check-lbl { font-size: 12.5px; color: #3d4d5a; }
.terms { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.8; cursor: pointer; }
.terms input { accent-color: var(--accent); margin-top: 4px; }

/* ---------- chips & badges ---------- */
.cond {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 3px 9px;
  font-size: 10.5px; font-weight: 800; line-height: 1.6; white-space: nowrap;
}
.c-orig { background: var(--green-soft); color: var(--green); }
.c-alt { background: #e9f1f9; color: #2b6293; }
.c-used { background: var(--accent-soft); color: var(--accent-2); }
.badge-soft {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f4f1e9; color: #51606c; border-radius: 999px;
  padding: 3px 9px; font-size: 10.5px; font-weight: 700;
}
.badge-off {
  display: inline-flex; align-items: center; background: var(--red); color: #fff;
  border-radius: 999px; padding: 3px 8px; font-size: 10.5px; font-weight: 800;
}
.oem-chip {
  display: inline-block; direction: ltr; unicode-bidi: embed;
  background: #f3f0e8; border-radius: 6px; padding: 1px 6px;
  font-size: 10.5px; color: #596874; font-weight: 600; letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.status-chip {
  display: inline-block; border-radius: 999px; padding: 3px 10px;
  font-size: 10.5px; font-weight: 800; white-space: nowrap;
}
.status-chip.big { font-size: 12px; padding: 5px 13px; }
.st-wait { background: var(--accent-soft); color: var(--accent-2); }
.st-proc { background: #e9f1f9; color: #2b6293; }
.st-ship { background: #efe9f9; color: #6542a0; }
.st-done { background: var(--green-soft); color: var(--green); }
.verified { color: var(--green); font-size: 10.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.pending { color: var(--accent-2); font-size: 10.5px; font-weight: 700; }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.stars.sm { font-size: 11.5px; letter-spacing: 1.5px; }
.stars .stars-off { color: #ddd8cd; }
.rc { color: var(--muted); font-size: 10.5px; margin-inline-start: 3px; }

/* ---------- header ---------- */
.topbar { background: var(--navy); color: #a9b8c4; font-size: 11.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.top-note { display: inline-flex; align-items: center; gap: 6px; }
.top-note .ic { color: var(--gold); font-size: 14px; }
.top-contact { display: inline-flex; align-items: center; gap: 14px; }
.top-contact a, .top-contact > span { display: inline-flex; align-items: center; gap: 5px; color: #c8d3dc; }
.top-contact a:hover { color: #fff; }
.top-contact i { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.18); }

.head-main { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { display: flex; align-items: center; }
.brand-mark { width: 108px; height: 34px; object-fit: contain; display: block; }
.brand-mark.sm { width: 92px; height: 29px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.5; }
.brand-text b { font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: 0.2px; }

.head-search { position: relative; flex: 1; max-width: 560px; }
.hs-field {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; padding: 4px 12px 4px 4px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.hs-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216, 120, 31, 0.12); }
.hs-field > .ic { color: #8b969f; font-size: 17px; }
.hs-input { flex: 1; min-width: 0; height: 37px; border: 0; background: none; font-size: 13px; }
.hs-input:focus { outline: none; }
.hs-btn { height: 37px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12.5px; padding: 0 16px; cursor: pointer; }
.hs-btn:hover { background: var(--accent-2); }

.suggest {
  position: absolute; top: calc(100% + 7px); right: 0; left: 0; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; max-height: 430px; overflow: auto;
}
.sug-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; }
.sug-item:hover { background: #f7f4ed; }
.sug-art { width: 46px; height: 34px; border-radius: 6px; overflow: hidden; flex: none; background: var(--navy); }
.sug-info { flex: 1; min-width: 0; }
.sug-info b { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-info small { color: var(--muted); font-size: 10.5px; }
.sug-price { font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sug-more, .sug-empty { display: block; text-align: center; padding: 9px; font-size: 11.5px; color: var(--accent-2); font-weight: 700; border-top: 1px solid var(--line-2); margin-top: 4px; }

.head-actions { display: flex; align-items: center; gap: 16px; margin-inline-start: auto; }
.garage-slot { display: inline-flex; align-items: center; gap: 4px; }
.garage-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 11px; font-size: 11px; color: #3c4d5a; font-weight: 600; white-space: nowrap;
}
.garage-chip:hover { border-color: var(--accent); }
.garage-chip b { font-weight: 800; font-size: 10.5px; color: var(--ink); }
.garage-chip.has-car { background: var(--accent-soft); border-color: #f1d7b6; }
.garage-chip .gc-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.gc-clear { width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); display: inline-grid; place-items: center; cursor: pointer; color: var(--muted); font-size: 12px; }
.gc-clear:hover { color: var(--red); }

.account-link { display: flex; align-items: center; gap: 8px; }
.acc-ic { width: 34px; height: 34px; border-radius: 50%; background: #f0ece2; display: grid; place-items: center; color: var(--ink); font-size: 18px; }
.acc-txt { display: flex; flex-direction: column; line-height: 1.5; }
.acc-txt small { font-size: 9.5px; color: var(--muted); }
.acc-txt b { font-size: 11.5px; font-weight: 700; }
.cart-link { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; position: relative; }
.cart-link .ic { font-size: 21px; }
.cart-badge {
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  display: inline-grid; place-items: center; padding: 0 4px;
}
.cart-badge.is-zero { background: #dcd6c9; color: #6a7680; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 21px; cursor: pointer; }

.main-nav { position: sticky; top: 0; z-index: 45; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.main-nav .container { display: flex; align-items: stretch; gap: 26px; height: 49px; }
.main-nav a { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: #41515e; position: relative; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 800; }
.main-nav a.active::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2.5px; border-radius: 3px; background: var(--accent); }

/* drawer */
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(320px, 88vw); z-index: 90;
  background: #fff; box-shadow: -20px 0 50px rgba(10, 24, 38, 0.18);
  transform: translateX(105%); transition: transform 0.25s ease;
  display: flex; flex-direction: column; padding: 16px; overflow: auto;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-brand { display: flex; align-items: center; gap: 9px; }
.drawer-brand img { width: 96px; height: 30px; object-fit: contain; display: block; }
.drawer-search { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.drawer-search input { flex: 1; border: 0; padding: 10px 12px; font-size: 13px; min-width: 0; }
.drawer-search button { border: 0; background: var(--accent); color: #fff; width: 44px; cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { padding: 11px 6px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; }
.drawer-links a:hover { color: var(--accent-2); }
.drawer-foot { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted); }
.drawer-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.drawer-garage { margin-bottom: 12px; font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; }
.drawer-veil {
  position: fixed; inset: 0; z-index: 85; background: rgba(10, 22, 34, 0.46);
  opacity: 0; visibility: hidden; transition: opacity 0.22s;
}
.drawer-veil.show { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 480px at 88% -20%, rgba(216, 120, 31, 0.22), transparent 62%),
    radial-gradient(800px 400px at 0% 110%, rgba(216, 163, 92, 0.1), transparent 60%),
    linear-gradient(180deg, #0d1f30 0%, #122b40 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 480px at 70% 10%, #000 20%, transparent 80%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; padding: 58px 0 54px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; color: var(--accent-2); }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.kicker.light { color: #ecb873; }
.hero h1 { font-size: 37px; line-height: 1.55; margin: 12px 0 14px; font-weight: 800; letter-spacing: -0.6px; }
.hero h1 em { font-style: normal; color: #f1b76b; }
.lede { color: #b7c5d1; font-size: 14.5px; line-height: 2.05; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-stats { display: flex; gap: 34px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 24px; font-weight: 800; line-height: 1.4; }
.hero-stats span { font-size: 11px; color: #93a6b6; }

.finder-card {
  background: #fff; color: var(--ink); border-radius: 20px;
  padding: 22px; box-shadow: 0 26px 70px rgba(4, 14, 24, 0.4);
}
.finder-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.finder-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 22px; flex: none; }
.finder-head b { display: block; font-size: 15.5px; }
.finder-head small { display: block; color: var(--muted); font-size: 11.5px; }
.finder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 14px; }
.finder-card .field > span { font-size: 11.5px; }
.finder-note { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 11px; line-height: 1.9; margin: 11px 0 0; min-height: 20px; }
.finder-note .ic { color: var(--green); font-size: 14px; margin-top: 2px; }
.finder-note b { color: var(--ink); }

/* trust strip */
.trust-strip {
  position: relative; z-index: 2; margin-top: -26px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 14px 4px;
}
.trust-item { display: flex; align-items: center; gap: 10px; padding: 4px 18px; border-inline-start: 1px solid var(--line-2); }
.trust-item:first-child { border-inline-start: 0; }
.trust-item .ic { font-size: 22px; color: var(--accent-2); }
.trust-item b { display: block; font-size: 12.5px; font-weight: 700; }
.trust-item small { display: block; font-size: 10.5px; color: var(--muted); }

/* section head */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-title { font-size: 25px; margin-top: 5px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d0bf; }
.cat-art { display: block; aspect-ratio: 16 / 8; background: var(--navy); }
.cat-body { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px 13px; }
.cat-name { font-size: 13px; font-weight: 700; }
.cat-count { font-size: 10.5px; color: var(--muted); }

/* ---------- cars / shop by vehicle ---------- */
.cars-hero {
  position: relative; overflow: hidden; color: #fff; border-radius: 24px;
  padding: 36px 38px; margin-top: 4px;
  background:
    radial-gradient(720px 320px at 92% -30%, rgba(216, 120, 31, 0.28), transparent 65%),
    radial-gradient(500px 260px at 4% 120%, rgba(216, 163, 92, 0.12), transparent 60%),
    linear-gradient(135deg, #0c1e2f 0%, #15334b 100%);
}
.cars-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(640px 300px at 80% 20%, #000 10%, transparent 80%);
}
.cars-hero-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cars-hero h1 { font-size: 30px; line-height: 1.6; margin: 10px 0 10px; letter-spacing: -0.4px; max-width: 620px; }
.cars-hero p { color: #b9c7d3; font-size: 13.5px; line-height: 2.05; max-width: 620px; }
.cars-hero-side {
  flex: none; width: 158px; padding: 20px 18px; text-align: center; border-radius: 18px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}
.cars-hero-ic { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 13px; background: rgba(216, 120, 31, 0.22); color: #f3bd7f; font-size: 23px; }
.cars-hero-side b { display: block; font-size: 19px; }
.cars-hero-side small { display: block; color: #a9b9c7; font-size: 10.5px; margin-top: 2px; }

.cars-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 18px; flex-wrap: wrap; }
.cars-toolbar-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.car-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.car-chips .cat-pill { font-family: inherit; cursor: pointer; }
.cars-count { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cars-count b { color: var(--ink); font-size: 13px; }
.car-search-wrap { position: relative; display: flex; align-items: center; min-width: 280px; }
.car-search-wrap > .ic { position: absolute; inset-inline-start: 12px; color: var(--muted); font-size: 15px; pointer-events: none; }
.car-search-wrap .input { height: 40px; padding-inline-start: 36px; padding-inline-end: 34px; background: #fff; }
.car-search-wrap .icon-btn { position: absolute; inset-inline-end: 5px; width: 29px; height: 29px; font-size: 16px; border: 0; background: transparent; }

.car-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.car-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d0bf; }
.car-media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, #e9eef3, #d8e1e9);
}
.car-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; filter: saturate(0.96) contrast(1.02); }
.car-card:hover .car-media img { transform: scale(1.035); }
.car-media::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(8, 23, 36, 0.34), transparent); pointer-events: none; }
.car-brand {
  position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); border-radius: 999px;
  padding: 3px 9px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.4px; direction: ltr;
}
.car-soon { position: absolute; z-index: 2; top: 10px; inset-inline-start: 10px; background: rgba(14, 32, 49, 0.78); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 9.5px; font-weight: 700; }
.car-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #8fa1b1; font-size: 44px; }
.car-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 13px; flex: 1; }
.car-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.car-head b { font-size: 14px; font-weight: 800; }
.car-type { flex: none; font-size: 9.5px; color: var(--muted); background: #f3f0e9; border-radius: 999px; padding: 2px 7px; }
.car-sub { color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.car-count { font-size: 10.5px; color: var(--muted); }
.car-count b { color: var(--accent-2); font-size: 13px; }
.car-go { font-size: 10.5px; font-weight: 800; color: var(--accent-2); white-space: nowrap; }
.car-card:hover .car-go { text-decoration: underline; }
.car-card.compact .car-head b { font-size: 13.5px; }
.cars-home { padding-top: 0; }

.cars-help {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 30px; padding: 26px 28px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.cars-help h2 { font-size: 20px; margin: 6px 0 6px; line-height: 1.6; }
.cars-help p { color: var(--muted); font-size: 12px; line-height: 2; max-width: 680px; }
.cars-help-actions { display: flex; gap: 8px; flex: none; }
.img-credit { margin-top: 18px; color: var(--muted); font-size: 10px; }
.img-credit a { color: var(--accent-2); }
.empty-state { text-align: center; padding: 44px 20px; background: #fff; border: 1px dashed var(--line); border-radius: 18px; }
.empty-state > .ic { font-size: 38px; color: #a5b3c0; }
.empty-state h2 { font-size: 19px; margin: 10px 0 6px; }
.empty-state p { color: var(--muted); font-size: 12px; max-width: 460px; margin: 0 auto 16px; line-height: 2; }

/* product grid & cards */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d0bf; }
.pcard-art { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--navy); overflow: hidden; }
.pcard-art .cond { position: absolute; top: 9px; inset-inline-end: 9px; z-index: 2; }
.off-badge { position: absolute; top: 9px; inset-inline-start: 9px; z-index: 2; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 800; }
.oos-veil { position: absolute; inset: 0; background: rgba(14, 32, 49, 0.55); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; z-index: 1; }
.pcard-body { display: flex; flex-direction: column; gap: 5px; padding: 11px 13px 13px; flex: 1; }
.pcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.pcard-meta .maker { overflow: hidden; text-overflow: ellipsis; }
.pcard-title { font-size: 13px; font-weight: 700; line-height: 1.85; min-height: 48px; }
.pcard-title a:hover { color: var(--accent-2); }
.pcard-fit { color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-rating { display: flex; align-items: center; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { display: flex; flex-direction: column; line-height: 1.5; }
.price s { color: #a2aab1; font-size: 10px; }
.price b { font-size: 13.5px; font-weight: 800; white-space: nowrap; }

/* why */
.why-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.why-list { display: grid; gap: 16px; margin-top: 22px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-list li > span { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 21px; flex: none; }
.why-list b { display: block; font-size: 14px; }
.why-list p { color: var(--muted); font-size: 12px; line-height: 1.95; margin-top: 1px; }
.attest-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); }
.attest-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 4px 11px; font-size: 10.5px; font-weight: 800; }
.attest-card > b { display: block; font-size: 17px; margin: 12px 0 6px; }
.attest-card > p { color: var(--muted); font-size: 12px; line-height: 1.95; }
.attest-list { display: grid; gap: 9px; margin: 14px 0 18px; }
.attest-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #3d4d5a; }
.attest-list .ic { color: var(--accent-2); font-size: 16px; margin-top: 3px; }

/* quotes */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 10px 0 14px; font-size: 12.5px; line-height: 2.05; color: #34434f; flex: 1; }
.quote figcaption { display: flex; flex-direction: column; font-size: 12px; border-top: 1px solid var(--line-2); padding-top: 11px; }
.quote figcaption b { font-size: 12.5px; }
.quote figcaption span { color: var(--muted); font-size: 10.5px; }
.quote .verified { margin-top: 4px; }
.quote-stars { color: var(--gold); letter-spacing: 2px; font-size: 12px; }

/* cta band */
.cta-band {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(216, 120, 31, 0.25), transparent 60%),
    linear-gradient(120deg, #0e2031, #1a3a55);
  border-radius: 22px; padding: 34px 38px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band h2 { font-size: 22px; margin: 7px 0 7px; }
.cta-band p { color: #b7c5d1; font-size: 12.5px; line-height: 1.95; max-width: 620px; }
.cta-actions { display: flex; gap: 9px; flex: none; }

/* ---------- page head / crumbs ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.page-head h1 { font-size: 25px; }
.page-head p { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs i { font-style: normal; color: #b7b0a3; }
.crumbs span { color: var(--ink); font-weight: 600; }

/* ---------- shop ---------- */
.shop-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shop-titlebar h1 { font-size: 26px; }
.shop-tools { display: flex; align-items: center; gap: 8px; }
.sort-select { width: auto; min-width: 168px; height: 39px; font-size: 12px; }
.filter-toggle { display: none; }

.shop-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; position: sticky; top: 66px; max-height: calc(100vh - 80px); overflow: auto;
}
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head b { font-size: 14px; }
.filters-head .icon-btn { display: none; }
.filter-group { padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h3 { font-size: 12px; font-weight: 800; margin-bottom: 8px; color: #33434f; }
.filter-label { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 6px; }
.input-ic { position: relative; }
.input-ic > .ic { position: absolute; inset-inline-start: 11px; top: 50%; transform: translateY(-50%); color: #8d979f; font-size: 15px; pointer-events: none; }
.input-ic .input { padding-inline-start: 34px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px 11px; font-size: 11px; color: #4b5a66; cursor: pointer; font-family: inherit;
}
.cat-pill:hover { border-color: var(--accent); }
.cat-pill.on { background: var(--accent-soft); border-color: #ecc59c; color: var(--accent-2); font-weight: 800; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.price-range .input { height: 38px; font-size: 12px; }
#clear-filters { margin-top: 4px; }
.fchips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.fchip {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; color: #40505c; cursor: pointer; font-family: inherit;
}
.fchip:hover { border-color: var(--red); color: var(--red); }
.fchip .ic { font-size: 12px; }

.empty {
  border: 1.5px dashed #d9d2c3; border-radius: 18px; background: #fbfaf6;
  padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.empty-ic { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 26px; margin-bottom: 12px; }
.empty h2, .empty h3 { font-size: 18px; }
.empty p { color: var(--muted); font-size: 12.5px; margin-top: 7px; max-width: 440px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }

.veil { position: fixed; inset: 0; z-index: 75; background: rgba(10, 22, 34, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.2s; }
.veil.show { opacity: 1; visibility: visible; }

/* ---------- product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.gallery-main { border-radius: 18px; overflow: hidden; background: var(--navy); aspect-ratio: 10 / 7; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 9px; }
.gthumb { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: var(--navy); cursor: pointer; height: 66px; }
.gthumb.on { border-color: var(--accent); }
.gthumb svg { opacity: 0.65; transition: opacity 0.15s; }
.gthumb.on svg, .gthumb:hover svg { opacity: 1; }
.part-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-note { display: flex; gap: 6px; color: var(--muted); font-size: 10.5px; line-height: 1.9; margin-top: 10px; }
.art-note .ic { margin-top: 3px; font-size: 13px; }

.p-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.p-title { font-size: 25px; line-height: 1.6; margin-bottom: 8px; }
.p-rate { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.p-sold { color: var(--muted); font-size: 11px; }
.p-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-meta div { min-width: 0; }
.p-meta dt { color: var(--muted); font-size: 10.5px; }
.p-meta dd { margin: 1px 0 0; font-size: 12.5px; font-weight: 600; }
.oem-dd { display: flex; align-items: center; gap: 6px; direction: ltr; unicode-bidi: embed; justify-content: flex-end; }
.p-meta div:has(.oem-dd) { text-align: left; }
.oem-dd .copy-btn { width: 24px; height: 24px; font-size: 13px; }

.price-block { background: #fbf9f4; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; margin-bottom: 14px; }
.price-old { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11.5px; }
.price-old span { color: var(--red); font-weight: 800; font-size: 10.5px; background: var(--red-soft); border-radius: 999px; padding: 2px 7px; }
.price-now { font-size: 27px; font-weight: 800; line-height: 1.5; }
.stock-line { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; margin-top: 4px; }
.stock-line::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-line.ok { color: var(--green); }
.stock-line.low { color: var(--accent-2); }
.stock-line.out { color: var(--red); }

.fit-box { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 13px 14px; margin-bottom: 14px; border: 1px solid transparent; }
.fit-box > div { flex: 1; min-width: 0; }
.fit-box b { display: block; font-size: 12.5px; }
.fit-box p { font-size: 11px; line-height: 1.85; color: #53636f; margin-top: 1px; }
.fit-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; flex: none; }
.fit-ok { background: var(--green-soft); border-color: #cfe8dc; }
.fit-ok .fit-ic { background: #fff; color: var(--green); }
.fit-warn { background: var(--accent-soft); border-color: #f0dcc2; }
.fit-warn .fit-ic { background: #fff; color: var(--accent-2); }
.fit-info { background: #eef3f8; border-color: #dae6ef; }
.fit-info .fit-ic { background: #fff; color: #2b6293; }

.buy-row { display: flex; gap: 9px; align-items: stretch; margin-bottom: 16px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-ctl); background: #fff; height: 50px; flex: none; }
.qty button { width: 38px; height: 100%; border: 0; background: none; font-size: 16px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { color: var(--ink); }
.qty input, .qty > span { width: 42px; text-align: center; border: 0; background: none; font-weight: 800; font-size: 14px; padding: 0; }
.buy-row .btn-lg { flex: 1; min-width: 150px; }

.p-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.p-trust li { display: flex; gap: 6px; align-items: flex-start; font-size: 11.5px; color: #485864; }
.p-trust .ic { color: var(--green); font-size: 15px; margin-top: 3px; }

.tabs { margin-top: 46px; }
.tab-btns { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab-btn {
  border: 0; background: none; padding: 13px 18px; font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer; white-space: nowrap; position: relative; font-family: inherit;
}
.tab-btn.on { color: var(--ink); font-weight: 800; }
.tab-btn.on::after { content: ''; position: absolute; inset-inline: 10px; bottom: -1px; height: 2.5px; background: var(--accent); border-radius: 3px; }
.tab-panel { display: none; padding: 22px 0; }
.tab-panel.on { display: block; }
.p-desc { color: #3c4c58; font-size: 13px; line-height: 2.05; margin-bottom: 18px; }
.spec-table, .fit-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.spec-table th, .spec-table td, .fit-table th, .fit-table td { text-align: right; padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 190px; color: var(--muted); font-weight: 600; background: #faf8f3; }
.spec-table td { color: var(--ink); }
.fit-table th { background: #faf8f3; font-size: 11.5px; color: var(--muted); }
.fit-table td { font-size: 12px; }
.install-note { display: flex; gap: 12px; align-items: flex-start; background: #fbf6ec; border: 1px solid #f0e3cc; border-radius: 12px; padding: 14px; margin-top: 16px; }
.install-note .ic { color: var(--accent-2); font-size: 20px; margin-top: 1px; }
.install-note b { font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.install-note p { font-size: 11.5px; color: #5b6a75; line-height: 1.95; margin-top: 3px; }

.rev-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.rev-score { display: flex; align-items: center; gap: 10px; }
.rev-score > b { font-size: 30px; font-weight: 800; line-height: 1; }
.rev-score span { font-size: 11px; color: var(--muted); }
.reviews { display: grid; gap: 0; }
.review { padding: 15px 0; border-top: 1px solid var(--line-2); }
.review p { font-size: 12.5px; line-height: 2; color: #3a4a56; margin-top: 5px; }
.rev-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-top b { font-size: 12.5px; }
.rev-date { color: var(--muted); font-size: 10.5px; }
.rev-stars { display: flex; align-items: center; gap: 10px; }
.review-form { margin-top: 16px; }
.qa-list { display: grid; gap: 10px; margin-bottom: 16px; }
.qa-item { background: #faf8f3; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; }
.qa-q { display: flex; gap: 8px; font-size: 12.5px; font-weight: 600; align-items: flex-start; }
.qa-q .ic { color: var(--accent-2); margin-top: 3px; }
.qa-a { font-size: 11.5px; color: #52626e; margin: 7px 0 0 26px; line-height: 2; }
.qa-a.pending { color: var(--accent-2); }
.related { padding-bottom: 10px; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.cl-head h2 { font-size: 16px; }
.cart-line { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.cart-line:last-child { border-bottom: 0; }
.cl-art { width: 92px; height: 70px; border-radius: 9px; overflow: hidden; background: var(--navy); display: block; }
.cl-info { min-width: 0; }
.cl-name { font-size: 12.5px; font-weight: 700; display: block; line-height: 1.8; }
.cl-name:hover { color: var(--accent-2); }
.cl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.cl-stock { font-size: 10.5px; font-weight: 700; margin-top: 4px; }
.cl-stock.ok { color: var(--green); }
.cl-stock.out { color: var(--red); }
.cl-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cl-qty .qty { height: 34px; }
.cl-qty .qty button { width: 27px; font-size: 13px; }
.cl-qty .qty > span { width: 30px; font-size: 12px; }
.cl-unit { color: var(--muted); font-size: 10px; white-space: nowrap; }
.cl-total { text-align: left; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cl-total b { font-size: 12.5px; white-space: nowrap; }

.cart-summary, .checkout-summary {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  position: sticky; top: 66px;
}
.cart-summary h2, .checkout-summary h2 { font-size: 15.5px; margin-bottom: 13px; }
.coupon-row { display: flex; gap: 7px; }
.coupon-row .input { height: 40px; font-size: 12px; }
.coupon-row .btn { height: 40px; padding: 0 14px; font-size: 12px; }
.coupon-ok { display: flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green); font-size: 11px; border-radius: 9px; padding: 8px 10px; margin-top: 8px; flex-wrap: wrap; }
.coupon-ok .link-btn { margin-inline-start: auto; color: var(--green); text-decoration: underline; }
.sum-rows { display: grid; gap: 7px; margin: 14px 0; }
.sum-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #43535f; }
.sum-row b { font-size: 12.5px; color: var(--ink); }
.sum-row.discount b { color: var(--green); }
.sum-row .muted { font-size: 10.5px; }
.sum-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; margin-bottom: 14px; }
.sum-total span { font-size: 12.5px; font-weight: 700; }
.sum-total b { font-size: 19px; font-weight: 800; }
.free-ship { margin-top: 13px; }
.fs-bar { height: 5px; border-radius: 99px; background: #eee8dc; overflow: hidden; }
.fs-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #e8a55f); border-radius: 99px; }
.free-ship span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10.5px; margin-top: 6px; }
.free-ship .ic { color: var(--green); }
.mini-trust { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.mini-trust li { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; }
.mini-trust .ic { color: var(--green); font-size: 13px; }

/* ---------- checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.co-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: 11px; color: var(--muted); }
.co-steps span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.co-steps span.on { background: var(--accent-soft); border-color: #ecc59c; color: var(--accent-2); font-weight: 800; }
.co-section { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.co-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.co-head h2 { font-size: 16px; }
.co-who { color: var(--muted); font-size: 11px; }
.otp-phone { display: flex; gap: 7px; }
.otp-phone .input { flex: 1; min-width: 0; }
.otp-phone .btn { height: 45px; flex: none; }
.otp-box { display: flex; gap: 7px; margin-top: 8px; }
.otp-box .input { flex: 1; min-width: 0; }
.otp-box .btn { height: 45px; flex: none; }
.demo-code { display: inline-block; background: #fdf3e4; border: 1px dashed #eccb9f; color: var(--accent-2); border-radius: 6px; padding: 0 6px; font-size: 10.5px; font-weight: 700; direction: ltr; unicode-bidi: embed; }

.ship-options, .pay-options { display: grid; gap: 8px; }
.radio-card {
  display: flex; align-items: center; gap: 11px;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s; position: relative;
}
.radio-card:hover { border-color: #cfc6b5; }
.radio-card.on { border-color: var(--accent); background: #fffaf3; }
.radio-card.is-off { opacity: .55; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.rc-ic { width: 36px; height: 36px; border-radius: 10px; background: #f4f1e9; display: grid; place-items: center; color: #52616c; font-size: 19px; flex: none; }
.radio-card.on .rc-ic { background: var(--accent-soft); color: var(--accent-2); }
.rc-body { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.65; }
.rc-body b { font-size: 12.5px; }
.rc-body small { color: var(--muted); font-size: 10.5px; }
.rc-cost { font-size: 12px; font-weight: 800; white-space: nowrap; }
.pay-card-panel { margin-top: 12px; border: 1px dashed #dcd3c2; border-radius: 12px; padding: 13px; }
.card-number { display: flex; align-items: center; gap: 10px; background: #f7f4ec; border-radius: 10px; padding: 10px 12px; flex-wrap: wrap; }
.card-number span { font-size: 10.5px; color: var(--muted); width: 100%; }
.card-number b { direction: ltr; unicode-bidi: embed; font-size: 16px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.upload-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 11px; }
.upload-box .hint { width: 100%; margin-top: 2px; }
.pay-alert, .pay-cod-note { display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; padding: 10px 12px; font-size: 11px; line-height: 1.9; margin-top: 12px; }
.pay-alert { background: #eef3f8; color: #33566f; }
.pay-alert .ic, .pay-cod-note .ic { margin-top: 3px; flex: none; }
.pay-cod-note { background: var(--accent-soft); color: #7a4c17; }
.checkout-summary { padding: 18px; }
.co-items { display: grid; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px; max-height: 280px; overflow: auto; }
.co-item { display: flex; align-items: center; gap: 9px; }
.co-art { width: 44px; height: 34px; border-radius: 6px; overflow: hidden; background: var(--navy); flex: none; }
.co-it-name { flex: 1; min-width: 0; font-size: 11px; line-height: 1.7; }
.co-it-name small { display: block; color: var(--muted); font-size: 10px; }
.co-item > b { font-size: 11px; white-space: nowrap; }
.checkout-summary .btn-block { margin-top: 4px; }
.checkout-summary .terms { margin-bottom: 8px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.checkout-success { max-width: 720px; margin: 10px auto 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px; text-align: center; box-shadow: var(--shadow-sm); }
.success-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: inline-grid; place-items: center; font-size: 32px; }
.checkout-success h1 { font-size: 22px; margin: 14px 0 6px; }
.checkout-success > p { font-size: 12.5px; color: var(--muted); }
.success-code { color: var(--ink); font-size: 16px; letter-spacing: 0.5px; direction: ltr; unicode-bidi: embed; display: inline-block; }
.success-box { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; text-align: right; }
.success-box > div { background: #faf8f3; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; }
.success-box span { display: block; color: var(--muted); font-size: 10.5px; }
.success-box b { font-size: 12.5px; }
.demo-note { display: flex; gap: 7px; align-items: flex-start; background: #f4f1e9; border-radius: 10px; padding: 10px 12px; font-size: 11px; color: #5b6a75; text-align: right; margin-bottom: 16px; }
.demo-note .ic { margin-top: 3px; flex: none; }
.success-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- tracking ---------- */
.track-form { max-width: 760px; margin: 0 auto 18px; }
.track-form .form-grid { grid-template-columns: 1fr 1fr auto; align-items: end; }
.track-form .btn { height: 45px; }
.track-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); }
.track-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.track-head > div { display: flex; flex-direction: column; }
.track-head .muted { font-size: 10.5px; }
.track-code { font-size: 18px; letter-spacing: 0.5px; direction: ltr; unicode-bidi: embed; }
.track-head small { color: var(--muted); font-size: 10.5px; }
.timeline { display: grid; gap: 0; margin: 18px 0; }
.timeline li { display: flex; gap: 13px; align-items: flex-start; position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 14px; top: 31px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--green); }
.tl-dot { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--muted); flex: none; z-index: 1; }
.timeline li.done .tl-dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.active .tl-dot { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.timeline b { display: block; font-size: 12.5px; }
.timeline small { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.8; }
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; background: #faf8f3; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; }
.track-grid > div span { display: block; color: var(--muted); font-size: 10.5px; }
.track-grid > div b { font-size: 12px; }
.track-grid .wide { grid-column: 1 / -1; }
.track-items { margin-top: 16px; }
.track-items h3 { font-size: 13px; margin-bottom: 8px; }
.ti-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 7px 0; border-top: 1px solid var(--line-2); }
.ti-row small { color: var(--muted); }
.track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.alert-box { display: flex; gap: 11px; align-items: flex-start; border-radius: 14px; padding: 16px; max-width: 860px; margin: 0 auto; }
.alert-box.err { background: var(--red-soft); border: 1px solid #f0d4d0; color: #7e2e26; }
.alert-box b { font-size: 12.5px; display: block; }
.alert-box p { font-size: 11.5px; line-height: 1.95; margin-top: 3px; }
.alert-box a { text-decoration: underline; font-weight: 700; }
.alert-box > .ic { font-size: 21px; margin-top: 2px; }

/* ---------- rare part ---------- */
.rare-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.rare-form .form-card { padding: 24px; }
.rare-side { display: grid; gap: 14px; position: sticky; top: 66px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.side-card h3 { font-size: 14px; margin-bottom: 10px; }
.steps { display: grid; gap: 12px; counter-reset: st; }
.steps li { display: flex; gap: 10px; font-size: 11.5px; color: #475763; line-height: 1.9; }
.steps li::before { counter-increment: st; content: counter(st); width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex: none; margin-top: 2px; }
.side-card .mini-trust { border-top: 0; padding-top: 0; margin-top: 0; }
.success-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; text-align: center; }
.success-panel > .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); padding: 14px; }
.success-panel h2 { font-size: 19px; margin: 12px 0 5px; }
.success-panel p { font-size: 12.5px; color: var(--muted); }
.success-panel .success-actions { margin-top: 16px; }

/* ---------- account ---------- */
.account-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 22px; align-items: start; }
.account-side { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; position: sticky; top: 66px; }
.acc-user { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.acc-user b { display: block; font-size: 13px; line-height: 1.6; }
.acc-user small { color: var(--muted); font-size: 10.5px; direction: ltr; unicode-bidi: embed; display: inline-block; }
.acc-tabs { display: grid; gap: 3px; }
.acc-tab {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border: 0; background: none; border-radius: 10px; padding: 9px 11px;
  font-size: 12.5px; color: #40505c; cursor: pointer; text-align: start; font-family: inherit;
}
.acc-tab .ic { font-size: 17px; color: #71808b; }
.acc-tab:hover { background: #f7f4ed; }
.acc-tab.on { background: var(--accent-soft); color: var(--accent-2); font-weight: 800; }
.acc-tab.on .ic { color: var(--accent-2); }
.acc-tab.logout { color: var(--red); margin-top: 8px; }
.acc-tab.logout .ic { color: var(--red); }
.account-main { min-height: 320px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat-card span { color: var(--muted); font-size: 10.5px; display: block; }
.stat-card b { font-size: 17px; display: block; line-height: 1.6; }
.stat-card small { color: var(--muted); font-size: 10px; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.panel-card > h2 { font-size: 14.5px; margin-bottom: 10px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.panel-head h2 { font-size: 14.5px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-2); }
.order-row:first-of-type { border-top: 0; }
.or-main { display: flex; flex-direction: column; line-height: 1.6; }
.or-code { font-size: 12.5px; font-weight: 800; direction: ltr; unicode-bidi: embed; }
.or-date { color: var(--muted); font-size: 10px; }
.or-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.or-total { font-size: 11px; font-weight: 700; }
.or-actions { display: flex; gap: 5px; }
.or-actions .btn { padding: 0 9px; }
.quick-links h2 { font-size: 14px; margin-bottom: 10px; }
.ql-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ql-grid a { display: flex; align-items: center; gap: 7px; background: #faf8f3; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: 11.5px; font-weight: 600; }
.ql-grid a:hover { border-color: var(--accent); color: var(--accent-2); }
.ql-grid .ic { color: var(--accent-2); font-size: 16px; }
.garage-big { display: flex; align-items: center; gap: 14px; background: #faf8f3; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; margin-bottom: 13px; flex-wrap: wrap; }
.gb-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 24px; flex: none; }
.garage-big b { font-size: 14px; display: block; }
.garage-big p { font-size: 11.5px; color: var(--muted); }
.garage-big small { font-size: 10.5px; color: var(--muted); display: block; margin-top: 2px; }
.garage-big .btn { margin-inline-start: auto; }
.garage-empty p { margin-bottom: 12px; font-size: 12.5px; }
.info-rows { display: grid; gap: 0; margin-bottom: 14px; }
.info-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.info-rows span { color: var(--muted); }
.info-rows b { font-size: 12.5px; }

.login-wrap { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 22px; align-items: start; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); }
.login-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 26px; margin-bottom: 12px; }
.login-card h1 { font-size: 19px; }
.login-card > p { font-size: 12px; line-height: 1.95; margin: 5px 0 16px; }
.login-card .field { margin-bottom: 11px; }
.login-card .btn-block { margin-top: 4px; }
.login-side { display: grid; gap: 12px; }
.ls-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ls-card > .ic { color: var(--accent-2); font-size: 22px; }
.ls-card b { display: block; font-size: 13px; margin-top: 6px; }
.ls-card p { font-size: 11px; color: var(--muted); line-height: 1.9; margin-top: 2px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.contact-card .ic { color: var(--accent-2); font-size: 21px; }
.contact-card b { display: block; font-size: 12.5px; margin-top: 7px; }
.contact-card p { font-size: 11px; color: var(--muted); line-height: 1.9; margin-top: 2px; }
.contact-card a { font-size: 12px; font-weight: 700; direction: ltr; unicode-bidi: embed; display: inline-block; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; position: sticky; top: 66px; }
.map-art { height: 200px; background: #e9eee9; position: relative; overflow: hidden; }
.map-art::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20, 35, 48, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 35, 48, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-art::after {
  content: ''; position: absolute; inset-inline-start: 32%; top: -20%; width: 64px; height: 140%;
  background: rgba(216, 120, 31, 0.14); transform: rotate(18deg);
}
.map-pin { position: absolute; inset-inline-start: 50%; top: 46%; transform: translate(50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 22px rgba(216, 120, 31, 0.4); z-index: 1; }
.map-body { padding: 16px; }
.map-body b { font-size: 13px; display: block; }
.map-body p { color: var(--muted); font-size: 11.5px; line-height: 1.9; margin: 4px 0 10px; }
.contact-form .form-card { padding: 24px; }
.contact-success { display: flex; gap: 8px; align-items: flex-start; background: var(--green-soft); color: var(--green); border: 1px solid #cfe8dc; border-radius: 10px; padding: 11px 13px; font-size: 11.5px; margin-top: 12px; }

/* ---------- about ---------- */
.about-hero { padding: 52px 0 8px; }
.about-hero h1 { font-size: 32px; max-width: 780px; line-height: 1.55; }
.about-hero p { color: var(--muted); font-size: 13.5px; max-width: 680px; margin-top: 12px; line-height: 2.05; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 6px; }
.about-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.about-stat b { font-size: 22px; display: block; line-height: 1.4; }
.about-stat span { color: var(--muted); font-size: 11px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.prose h2 { font-size: 21px; margin-bottom: 10px; }
.prose h3 { font-size: 15px; margin: 18px 0 6px; }
.prose p { font-size: 12.5px; color: #42525e; line-height: 2.15; margin-bottom: 9px; }
.prose ul { display: grid; gap: 7px; margin: 8px 0 12px; }
.prose ul li { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: #42525e; }
.prose ul .ic { color: var(--green); margin-top: 3px; font-size: 15px; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.value-card .ic { color: var(--accent-2); font-size: 22px; }
.value-card b { display: block; font-size: 12.5px; margin-top: 6px; }
.value-card p { font-size: 11px; color: var(--muted); line-height: 1.95; }
.team-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px; text-align: center; }
.team-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-weight: 800; font-size: 17px; display: grid; place-items: center; margin: 0 auto 8px; }
.team-card b { display: block; font-size: 12px; }
.team-card small { color: var(--muted); font-size: 10.5px; }
.about-side { display: grid; gap: 14px; position: sticky; top: 66px; }
.about-badge { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.about-badge .ab-top { background: var(--navy); color: #fff; padding: 22px; text-align: center; }
.about-badge .ab-top .ic { font-size: 34px; color: var(--gold); }
.about-badge .ab-top b { display: block; font-size: 14px; margin-top: 6px; }
.about-badge .ab-top small { font-size: 10.5px; color: #a9b8c4; }
.about-badge .ab-body { padding: 14px; }
.about-badge .ab-body p { font-size: 11px; color: var(--muted); line-height: 1.9; }

/* ---------- policies ---------- */
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.policy-toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; position: sticky; top: 66px; }
.policy-toc h3 { font-size: 12px; margin-bottom: 8px; color: var(--muted); }
.policy-toc a { display: block; padding: 7px 8px; border-radius: 8px; font-size: 12px; color: #40505c; }
.policy-toc a:hover { background: #f7f4ed; color: var(--accent-2); }
.policy-body { display: grid; gap: 14px; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.policy-card h2 { font-size: 18px; margin-bottom: 9px; }
.policy-card h3 { font-size: 13.5px; margin: 14px 0 5px; }
.policy-card p, .policy-card li { font-size: 12px; color: #42525e; line-height: 2.1; }
.policy-card ul { display: grid; gap: 5px; margin: 6px 0; }
.policy-card ul li { display: flex; gap: 7px; align-items: flex-start; }
.policy-card ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 12px; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 11.5px; margin: 10px 0; }
.policy-table th, .policy-table td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: right; }
.policy-table th { background: #faf8f3; font-size: 11px; color: var(--muted); }
.faq { display: grid; gap: 8px; margin-top: 10px; }
.faq details { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 13px; background: #fdfcf9; }
.faq summary { cursor: pointer; font-size: 12px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::after { content: '+'; color: var(--accent-2); font-size: 16px; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 7px; font-size: 11.5px; }

/* ---------- invoice ---------- */
.print-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.paper { max-width: 840px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 40px; box-shadow: var(--shadow-sm); }
.paper-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 16px; }
.ph-brand { display: flex; align-items: flex-start; gap: 12px; }
.ph-logo-wrap { display: flex; flex-direction: column; gap: 4px; }
.ph-logo { width: 158px; height: auto; display: block; }
.ph-logo-wrap small { color: var(--muted); font-size: 10px; }
.ph-mark { width: 52px; height: 52px; border: 1.5px solid var(--ink); border-radius: 10px; display: grid; place-items: center; font-size: 26px; color: var(--ink); }
.ph-brand b { font-size: 19px; display: block; line-height: 1.5; }
.ph-brand small { color: var(--muted); font-size: 10.5px; }
.ph-title { text-align: left; }
.ph-title b { font-size: 16px; display: block; }
.ph-title small { display: block; color: var(--muted); font-size: 10.5px; }
.paper-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.paper-meta h4 { font-size: 10.5px; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.paper-meta p { font-size: 10.5px; line-height: 1.95; }
.paper-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 10.5px; }
.paper-table th, .paper-table td { border: 1px solid #e3ded3; padding: 7px 8px; text-align: center; }
.paper-table th { background: #f4f1ea; font-size: 10px; }
.paper-table .t-name { text-align: right; }
.paper-totals { width: 320px; margin-inline-start: auto; display: grid; gap: 5px; }
.paper-totals > div { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.paper-totals b { font-size: 11.5px; }
.paper-totals .pt-total { border-top: 1.5px solid var(--ink); padding-top: 7px; margin-top: 3px; font-size: 12px; }
.paper-totals .pt-total b { font-size: 14px; }
.paper-note { font-size: 9.5px; color: var(--muted); line-height: 1.9; margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 10px; }
.paper-sign { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 10px; }
.paper-sign > div { width: 180px; border-top: 1px dashed #bdb5a6; padding-top: 6px; text-align: center; font-size: 10px; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #c3cfd9; margin-top: 40px; }
.site-foot .container { padding-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.foot-brand .brand { color: #fff; margin-bottom: 11px; }
.foot-logo { display: inline-flex; align-items: center; }
.foot-logo img { width: 184px; height: auto; display: block; }
.foot-brand .brand-text small { color: #8fa2b1; }
.foot-brand > p { font-size: 11.5px; line-height: 2; color: #9fb0be; max-width: 330px; }
.enamad-mini { display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; padding: 9px 11px; margin-top: 13px; max-width: 250px; }
.enamad-ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(216, 163, 92, 0.15); color: var(--gold); display: grid; place-items: center; font-size: 17px; }
.enamad-mini b { display: block; font-size: 10.5px; color: #fff; line-height: 1.6; }
.enamad-mini small { font-size: 9.5px; color: #8fa2b1; }
.enamad-star { margin-inline-start: auto; color: var(--gold); }
.socials { display: flex; gap: 7px; margin-top: 13px; }
.socials a { width: 33px; height: 33px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.16); display: grid; place-items: center; color: #c3cfd9; font-size: 17px; }
.socials a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.foot-col h3 { font-size: 12.5px; color: #fff; margin-bottom: 10px; }
.foot-links { display: grid; gap: 6px; }
.foot-links a { font-size: 11px; color: #9fb0be; }
.foot-links a:hover { color: #fff; }
.foot-contact { display: grid; gap: 8px; }
.foot-contact li { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; color: #9fb0be; line-height: 1.9; }
.foot-contact .ic { color: var(--gold); margin-top: 3px; font-size: 14px; }
.foot-contact a { color: #c3cfd9; }
.foot-contact a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 30px; padding: 14px 0 16px; font-size: 10px; color: #8fa2b1; }
.foot-pay { display: inline-flex; align-items: center; gap: 5px; }
.foot-pay .ic { color: var(--gold); }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; bottom: 18px; left: 18px; z-index: 120; display: flex; flex-direction: column; gap: 8px; width: min(330px, calc(100vw - 36px)); }
.toast {
  display: flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 11px 13px;
  font-size: 11.5px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px); transition: opacity 0.22s, transform 0.22s;
}
.toast.in { opacity: 1; transform: none; }
.toast-ic { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, 0.12); font-size: 14px; }
.toast.ok .toast-ic { color: #7bd2a8; }
.toast.err .toast-ic { color: #f0a49c; }
.toast.info .toast-ic { color: #9dc4e8; }
.toast-msg { flex: 1; line-height: 1.8; }
.toast-act { color: #f3c68f; font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.toast-act:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .head-search { max-width: 440px; }
  .hero h1 { font-size: 33px; }
  .hero-in { gap: 32px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 350px; }
  .foot-grid { gap: 22px; }
}

@media (max-width: 980px) {
  .topbar { display: none; }
  .garage-slot { display: none; }
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .head-main { gap: 12px; flex-wrap: wrap; }
  .head-search { order: 3; flex-basis: 100%; max-width: none; }
  .head-actions { gap: 12px; }
  .hero-in { grid-template-columns: 1fr; padding: 42px 0 48px; }
  .hero h1 { font-size: 30px; max-width: 640px; }
  .lede { max-width: 640px; }
  .finder-card { max-width: 560px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item { padding: 8px 16px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .attest-card { max-width: 520px; }
  .quotes-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .gallery { max-width: 560px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset-block: 0; right: 0; left: auto; z-index: 80;
    width: min(330px, 88vw); max-height: none; border-radius: 0;
    transform: translateX(105%); transition: transform 0.24s ease; padding: 18px;
  }
  .filters.open { transform: none; }
  .filters-head .icon-btn { display: inline-grid; }
  .cart-layout, .checkout-layout, .rare-layout, .contact-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary, .rare-side, .map-card { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; }
  .acc-tabs { grid-template-columns: 1fr 1fr; }
  .acc-tab.logout { margin-top: 0; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-side { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .policy-toc h3 { width: 100%; }
  .policy-toc a { border: 1px solid var(--line-2); }
  .paper { padding: 24px; }
  .paper-meta { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .about-hero h1 { font-size: 26px; }
}

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .container { padding-inline: 16px; }
  .section { padding: 40px 0; }
  .sec-title { font-size: 21px; }
  .brand-mark { width: 92px; height: 29px; }
  .brand-text b { font-size: 17px; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero h1 { font-size: 26px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 20px; }
  .hero-stats span { font-size: 10px; }
  .finder-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-art { aspect-ratio: 16 / 9; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-title { font-size: 12px; min-height: 44px; }
  .pcard-foot { flex-direction: column; align-items: stretch; }
  .pcard-foot .btn { width: 100%; }
  .quotes-grid { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .shop-titlebar { flex-direction: column; align-items: flex-start; }
  .shop-tools { width: 100%; }
  .sort-select { flex: 1; min-width: 0; }
  .shop-titlebar h1 { font-size: 22px; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
  .track-form .form-grid { grid-template-columns: 1fr; }
  .track-form .btn { width: 100%; }
  .track-grid { grid-template-columns: 1fr; }
  .co-steps { font-size: 10px; }
  .checkout-success { padding: 24px 16px; }
  .success-box { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 10px; }
  .cl-art { width: 74px; height: 58px; }
  .cl-qty { grid-column: 2; flex-direction: row; align-items: center; justify-self: start; }
  .cl-total { grid-column: 3; grid-row: 1 / span 2; }
  .p-title { font-size: 21px; }
  .p-meta { grid-template-columns: 1fr; }
  .p-trust { grid-template-columns: 1fr; }
  .spec-table th { width: 120px; padding: 8px 9px; }
  .spec-table td { padding: 8px 9px; }
  .fit-table th, .fit-table td { padding: 8px 6px; font-size: 10.5px; }
  .fit-box { align-items: flex-start; flex-wrap: wrap; }
  .fit-box .btn { width: 100%; }
  .tab-btn { padding: 11px 12px; font-size: 12px; }
  .stat-cards { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr; gap: 6px; }
  .or-meta { flex-direction: row; align-items: center; }
  .or-actions { justify-content: flex-start; }
  .ql-grid { grid-template-columns: 1fr; }
  .login-side { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .team-strip { grid-template-columns: 1fr; }
  .about-side { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .paper { padding: 16px; }
  .paper-head { flex-direction: column; }
  .ph-title { text-align: right; }
  .paper-meta { grid-template-columns: 1fr; gap: 10px; }
  .paper-totals { width: 100%; }
  .paper-sign > div { width: 42%; }
  .print-bar { justify-content: flex-start; flex-wrap: wrap; }
  .toast-wrap { left: 10px; right: 10px; width: auto; }
  .search-txt { display: none; }
  .cart-txt { display: none; }
}

@media (max-width: 480px) {
  .pgrid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-inline-start: 0; border-top: 1px solid var(--line-2); padding: 10px 14px; }
  .trust-item:first-child { border-top: 0; }
  .hero-stats { flex-wrap: wrap; gap: 14px 24px; }
  .finder-grid { grid-template-columns: 1fr; }
  .p-badges { gap: 4px; }
  .p-title { font-size: 19px; }
  .success-actions .btn { width: 100%; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .cl-art { width: 64px; height: 52px; }
  .cl-total { grid-column: 2; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
  .cl-qty { grid-column: 2; }
  .about-stats { grid-template-columns: 1fr; }
  .acc-tabs { grid-template-columns: 1fr; }
  .head-actions .acc-txt { display: none; }
  .brand-mark, .brand-mark.sm { width: 84px; height: 26px; }
  .brand-text b { font-size: 16px; }
  .brand-text small { display: none; }
}


@media (max-width: 1120px) {
  .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .cars-hero { padding: 28px 26px; }
  .cars-hero h1 { font-size: 25px; }
  .cars-hero-side { display: none; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cars-help { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .cars-hero { padding: 22px 18px; border-radius: 18px; }
  .cars-hero h1 { font-size: 22px; }
  .cars-toolbar { align-items: stretch; }
  .cars-toolbar-row { justify-content: space-between; }
  .car-search-wrap { width: 100%; min-width: 0; }
  .car-grid { gap: 10px; }
  .car-body { padding: 10px 11px 11px; }
  .car-head b { font-size: 12.5px; }
  .car-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cars-help { padding: 20px; }
  .cars-help h2 { font-size: 17px; }
  .cars-help-actions { width: 100%; }
  .cars-help-actions .btn { flex: 1; }
}
@media (max-width: 480px) {
  .car-grid { grid-template-columns: 1fr; }
  .car-media { aspect-ratio: 16 / 9; }
}

/* ---------- print ---------- */
@media print {
  body { background: #fff; font-size: 11px; }
  .site-head, .site-foot, .print-bar, .toast-wrap, .drawer, .drawer-veil, .veil { display: none !important; }
  main.page-pad { padding: 0; }
  .container { max-width: none; padding: 0; }
  .paper { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .paper-table th, .paper-table td { border-color: #cfc8bb; }
  @page { margin: 12mm; }
}

/* ---------- page-level helpers ---------- */
.alert-box.info { background: #fbf4e8; border: 1px solid #eeddc2; color: #6f4a17; }
.alert-box.ok { background: var(--green-soft); border: 1px solid #cfe8dc; color: #1f6b4e; }
.alert-box b { color: inherit; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.sort-wrap .sort-select { width: auto; min-width: 160px; }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rare-form .form-grid.two, .rare-form .form-grid.three { margin-top: 0; }
.side-card .link-more { display: inline-block; margin-top: 6px; }


/* screen-reader only */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


/* ---------- admin-managed home banners ---------- */
#home-banners { margin-top: 18px; }
#home-banners[hidden] { display: none; }
.promo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.promo-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .18s, transform .18s; }
.promo-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.promo-card b { display: block; font-size: 12.5px; font-weight: 700; }
.promo-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.promo-arrow { color: var(--accent); font-size: 18px; line-height: 1; }
@media (max-width: 760px) { .promo-strip { grid-template-columns: 1fr; } }
