/* Generated by tools/build_miniapp_static_bundles.py; do not edit directly. */
/* Source of truth: assets/styles.css and assets/styles/*.css. */

/* styles/foundation.css */
:root {
  --brand: #26365f;
  --brand-2: #38558e;
  --accent: #d92c3a;
  --accent-2: #ef4b55;
  --ink: #171b25;
  --muted: #72798a;
  --line: #e2e6ee;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --surface-3: #eaedf4;
  --success: #218c50;
  --warning: #d37d11;
  --danger: #c82b38;
  --telegram: #2997d6;
  --shadow: 0 16px 48px rgba(29, 42, 72, .16);
  --soft-shadow: 0 8px 24px rgba(35, 49, 80, .08);
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 13px;
  --tg-safe-area-inset-top: 0px;
  --tg-safe-area-inset-right: 0px;
  --tg-safe-area-inset-bottom: 0px;
  --tg-safe-area-inset-left: 0px;
  --tg-content-safe-area-inset-top: 0px;
  --tg-content-safe-area-inset-right: 0px;
  --tg-content-safe-area-inset-bottom: 0px;
  --tg-content-safe-area-inset-left: 0px;
  --telegram-header-breathing-room: 0px;
  --safe-top: max(0px, env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));
  --safe-right: max(0px, env(safe-area-inset-right, 0px), var(--tg-safe-area-inset-right, 0px), var(--tg-content-safe-area-inset-right, 0px));
  --safe-bottom: max(16px, env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
  --safe-left: max(0px, env(safe-area-inset-left, 0px), var(--tg-safe-area-inset-left, 0px), var(--tg-content-safe-area-inset-left, 0px));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: #dfe4ed; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 4%, rgba(217, 44, 58, .09), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(38, 54, 95, .16), transparent 35%),
    linear-gradient(160deg, #edf0f6 0%, #dfe4ed 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #f8f9fc;
}

@media (min-width: 720px) {
  body { padding: 28px 0; }
  .app-shell {
    min-height: min(900px, calc(100vh - 56px));
    border-radius: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.74);
  }
  .bottom-nav, .sticky-cta, .toast, .sheet, .modal-overlay {
    width: min(100%, 430px) !important;
  }
  .bottom-nav, .sticky-cta, .toast, .modal-overlay { left: 50% !important; transform: translateX(-50%); }
}

.statusbar {
  height: 30px;
  padding: 9px 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: rgba(255,255,255,.93);
  color: #141722;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  position: relative;
  z-index: 30;
}
.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { width: 14px; height: 14px; }

.topbar {
  min-height: 58px;
  position: sticky;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 44px 1fr 76px;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(225,229,237,.9);
  backdrop-filter: blur(16px);
}
.topbar.is-home { grid-template-columns: 1fr auto; min-height: 70px; padding-inline: 16px; }
.topbar-title { min-width: 0; text-align: center; }
.topbar-title h1 { margin: 0; font-size: 16px; line-height: 1.2; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-title p { margin: 3px 0 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; justify-content: flex-end; gap: 6px; }
.logo { width: 166px; height: auto; }
.logo-small { width: 124px; }

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}
.icon-btn:active { background: var(--surface-3); transform: scale(.97); }
.icon-btn svg { width: 22px; height: 22px; stroke-width: 2; }
.icon-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  border: 2px solid #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
}
.icon-count:empty, .icon-count[data-count="0"] { display: none; }

.content {
  padding: 18px 16px 116px;
  min-height: calc(100vh - 88px);
}
.content.compact { padding-top: 10px; }
.content.no-nav { padding-bottom: 34px; }
.page-heading { margin: 0 0 16px; }
.page-heading h2 { margin: 0; font-size: 27px; line-height: 1.14; letter-spacing: -.025em; }
.page-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.48; }
.eyebrow { font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; color: var(--accent); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.section-title h3 { margin: 0; font-size: 18px; letter-spacing: -.015em; }
.section-title a, .text-link { color: var(--brand-2); font-weight: 800; font-size: 13px; }
.muted { color: var(--muted); }
.subtle { color: #959cab; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.text-center { text-align: center; }
.stack { display: grid; gap: 12px; }
.stack-sm { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }

/* styles/home.css */
.hero {
  position: relative;
  min-height: 252px;
  padding: 22px 18px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(140deg, #1c294c 0%, #314977 58%, #1d2e55 100%);
  box-shadow: 0 18px 38px rgba(38,54,95,.25);
  color: #fff;
}
.hero:before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  right: -78px;
  bottom: -92px;
  border: 24px solid rgba(217,44,58,.82);
  box-shadow: 0 0 0 18px rgba(255,255,255,.06), 0 0 0 43px rgba(255,255,255,.035);
}
.hero h2 { margin: 7px 0 8px; max-width: 270px; font-size: 29px; line-height: 1.06; letter-spacing: -.03em; }
.hero p { margin: 0; max-width: 245px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.45; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); font-size: 11px; font-weight: 800; }
.hero-products { position: absolute; right: -12px; bottom: -8px; width: 180px; height: 176px; }
.hero-products img { position: absolute; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)); border-radius: 50%; }
.hero-products .hero-tire { width: 134px; height: 134px; right: 63px; bottom: 4px; transform: rotate(-8deg); }
.hero-products .hero-disk { width: 142px; height: 142px; right: -4px; bottom: 29px; transform: rotate(8deg); }
.hero .hero-cta { position: absolute; left: 18px; bottom: 18px; z-index: 2; }

.quick-search {
  margin-top: 14px;
  padding: 13px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.quick-search svg { width: 20px; height: 20px; color: var(--muted); }
.quick-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.quick-search input::placeholder { color: #9ba1af; }
.saved-vehicle-host[hidden] { display: none; }
.home-saved-vehicle { margin-top: 14px; }
.selection-saved-vehicle { margin-bottom: 14px; }
.saved-vehicle-card {
  padding: 15px;
  border: 1px solid rgba(38,54,95,.28);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f6f8fc);
  box-shadow: var(--soft-shadow);
}
.saved-vehicle-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--brand); font-size: 11px; font-weight: 850; }
.saved-vehicle-summary { min-width: 0; display: flex; align-items: center; gap: 11px; margin-top: 10px; }
.saved-vehicle-visual { width: 66px; height: 54px; flex: 0 0 66px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: #edf1f8; }
.saved-vehicle-visual img { width: 78px; height: 48px; object-fit: contain; filter: drop-shadow(0 7px 7px rgba(38,54,95,.18)); }
.saved-vehicle-copy { min-width: 0; }
.saved-vehicle-copy h3 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.saved-vehicle-copy p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.saved-vehicle-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.saved-vehicle-actions.is-single { grid-template-columns: minmax(0, 1fr); }
.saved-vehicle-actions .btn { min-width: 0; padding-inline: 9px; font-size: 11px; }
.saved-vehicle-actions .saved-vehicle-set-action { grid-column: 1 / -1; }
.saved-vehicle-toggle {
  width: 100%;
  min-height: 39px;
  margin-top: 8px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.saved-vehicle-toggle:active { background: #edf1f8; }
.saved-vehicle-toggle svg { width: 16px; height: 16px; transition: transform .15s ease; }
.saved-vehicle-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.saved-vehicle-picker { margin-top: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.saved-vehicle-picker[hidden] { display: none; }
.saved-vehicle-picker label { display: block; margin-bottom: 7px; color: #565e70; font-size: 11px; font-weight: 800; }
.saved-vehicle-picker .control { font-size: 12px; }
.saved-vehicle-manage { display: block; margin-top: 9px; color: var(--brand-2); text-align: center; font-size: 11px; font-weight: 800; }
.saved-vehicle-empty { border-style: dashed; }
.saved-vehicle-empty .saved-vehicle-summary { margin-top: 8px; }
.saved-vehicle-caption { margin: 9px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.35; }
.saved-vehicle-host.is-loading { min-height: 146px; }
.saved-vehicle-loading { border-color: rgba(38,54,95,.2); background: linear-gradient(145deg, #fff, #f2f5fb); }
.saved-vehicle-loading .saved-vehicle-kicker { color: var(--brand); }
.saved-vehicle-loading-state { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.saved-vehicle-loading-state:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(58,89,151,.11); animation: saved-vehicle-loading-pulse 1.1s ease-in-out infinite; }
.saved-vehicle-loading .saved-vehicle-visual { position: relative; background: #eaf0fa; }
.saved-vehicle-loading .saved-vehicle-visual img { opacity: .72; }
.saved-vehicle-loading-progress { height: 4px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: #e6ebf4; }
.saved-vehicle-loading-progress:before { content: ""; display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), #6e88bc); animation: saved-vehicle-loading-progress 1.15s ease-in-out infinite; }
@keyframes saved-vehicle-loading-pulse { 50% { transform: scale(.72); opacity: .55; } }
@keyframes saved-vehicle-loading-progress { 0% { transform: translateX(-125%); } 100% { transform: translateX(240%); } }
@media (prefers-reduced-motion: reduce) { .saved-vehicle-loading-state:before, .saved-vehicle-loading-progress:before { animation: none; } }

.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.action-card {
  position: relative;
  min-height: 150px;
  padding: 16px;
  border-radius: 21px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(37,51,84,.055);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.action-card:active { transform: scale(.985); box-shadow: none; }
.action-card.wide { grid-column: 1/-1; min-height: 116px; display: flex; align-items: center; gap: 18px; }
.action-card h3 { margin: 8px 0 4px; font-size: 17px; }
.action-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.action-card .action-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #edf0f7; color: var(--brand); }
.action-card .action-icon.red { color: var(--accent); background: #fff0f1; }
.action-card .action-icon svg { width: 28px; height: 28px; }
.action-card .mini-product { position: absolute; width: 88px; height: 88px; right: -7px; bottom: -4px; object-fit: contain; border-radius: 50%; }
.action-card.wide .mini-product { position: static; width: 88px; height: 88px; flex: 0 0 88px; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.trust-item { padding: 12px 8px; text-align: center; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.trust-item svg { width: 24px; height: 24px; color: var(--brand); margin: 0 auto 7px; }
.trust-item strong { display: block; font-size: 11px; line-height: 1.25; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.25; }

/* styles/controls.css */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(35,49,80,.05);
}
.card-pad { padding: 16px; }
.card.pressable { transition: transform .16s ease, border-color .16s ease; }
.card.pressable:active { transform: scale(.989); border-color: #cdd4e1; }
.info-card { padding: 14px; border-radius: 17px; background: #edf3ff; border: 1px solid #dbe6fb; color: #35517f; display: flex; gap: 11px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.info-card.warning { background: #fff7e8; border-color: #f1dfb9; color: #895710; }
.info-card.success { background: #eaf7ef; border-color: #cbe9d7; color: #28784b; }
.info-card.danger { background: #fff0f1; border-color: #f2d0d4; color: #9f2c38; }
.info-card svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }

.stepper-head { margin-bottom: 16px; }
.step-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 800; }
.progress { height: 5px; margin-top: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.fitment-substep { margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 750; text-align: right; }
.wheel-set-progress { margin-bottom: 14px; }
.wheel-set-entry-section + .wheel-set-entry-section { margin-top: 18px; }
.wheel-set-entry-section .section-title { margin-top: 0; }

.choice-list { display: grid; gap: 11px; }
.choice-card {
  position: relative;
  min-height: 104px;
  display: grid;
  grid-template-columns: 78px 1fr 24px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 7px 22px rgba(34,47,78,.05);
}
.choice-card:active { transform: scale(.99); background: #fbfcfe; }
.choice-visual { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px; background: var(--surface-2); overflow: hidden; }
.choice-visual img { width: 100%; height: 100%; object-fit: contain; }
.choice-visual svg { width: 42px; height: 42px; color: var(--brand); }
.choice-copy strong { display: block; font-size: 15px; }
.choice-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.choice-card > svg { color: #aab0bc; width: 20px; height: 20px; }

.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label, .label { font-size: 12px; color: #565e70; font-weight: 800; }
.control {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #dce1e9;
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.control { min-height: 98px; padding-top: 13px; resize: vertical; }
.control:focus { border-color: #7c8fb9; box-shadow: 0 0 0 3px rgba(56,85,142,.1); }
.control.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(200,43,56,.1); }
.control-prefix { position: relative; }
.control-prefix span { position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.control-prefix .control { padding-left: 34px; }
.help-text { margin-top: -4px; color: var(--muted); font-size: 11px; line-height: 1.35; }

.segmented {
  display: flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  background: var(--surface-3);
}
.segmented button {
  flex: 1;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.segmented button.selected { background: #fff; color: var(--brand); box-shadow: 0 3px 11px rgba(32,44,71,.1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #dfe3eb;
  border-radius: 999px;
  background: #fff;
  color: #4f5665;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.chip.selected { border-color: var(--brand); background: var(--brand); color: #fff; }
.chip.accent.selected { background: var(--accent); border-color: var(--accent); }
.chip input { display: none; }

.select-list { display: grid; gap: 8px; }
.select-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
}
.select-row:active { background: #f7f9fc; }
.select-row .avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; background: #eff2f7; color: var(--brand); font-weight: 900; font-size: 12px; }
.select-row .select-copy { min-width: 0; flex: 1; }
.select-row strong { display: block; font-size: 14px; }
.select-row span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.select-row > svg { color: #aeb4c0; width: 19px; height: 19px; }
.search-list { position: sticky; top: 64px; z-index: 5; margin-bottom: 12px; background: #f8f9fc; padding-bottom: 4px; }

.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.year-card { min-height: 58px; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 850; }
.year-card:active { background: var(--brand); color: #fff; }

/* styles/fitment-garage.css */

.vehicle-summary {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #26365f, #405b91);
}
.vehicle-summary:after { content: ""; position: absolute; width: 160px; height: 160px; right: -52px; top: -70px; border: 28px solid rgba(217,44,58,.5); border-radius: 50%; }
.vehicle-summary .car-img { width: 210px; height: 92px; object-fit: contain; margin: 0 auto -5px; filter: drop-shadow(0 12px 12px rgba(0,0,0,.25)); }
.vehicle-summary h3 { margin: 0; font-size: 19px; }
.vehicle-summary p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 12px; }
.vehicle-summary .edit { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 11px; font-weight: 800; }

.fitment-card { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.fitment-card.selected { border: 2px solid var(--brand); box-shadow: 0 0 0 3px rgba(38,54,95,.08); }
.fitment-card .fitment-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fitment-card .fitment-title strong { font-size: 14px; }
.fitment-card .fitment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.fitment-cell { padding: 10px; border-radius: 12px; background: var(--surface-2); }
.fitment-cell span { display: block; color: var(--muted); font-size: 10px; }
.fitment-cell strong { display: block; margin-top: 3px; font-size: 13px; }
.fitment-boundary-note { margin-top: 14px; }
.fitment-manager-action { margin-top: 10px; }
.fitment-selection-summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 13px; }
.fitment-selection-summary span { padding: 6px 9px; border-radius: 999px; background: #edf1f8; color: var(--brand); font-size: 10px; font-weight: 800; }
.fitment-garage-save {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 13px;
  padding: 13px;
  border: 1px solid rgba(38,54,95,.2);
  border-radius: 16px;
  background: #f6f8fc;
}
.fitment-garage-save > svg { width: 22px; height: 22px; color: var(--brand); }
.fitment-garage-save > div { min-width: 0; }
.fitment-garage-save strong, .fitment-garage-save span { display: block; }
.fitment-garage-save strong { color: var(--ink); font-size: 12px; line-height: 1.35; }
.fitment-garage-save span { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.fitment-garage-save .btn { grid-column: 1 / -1; min-height: 40px; font-size: 11px; }
.fitment-garage-save.is-saved { border-color: rgba(45,145,92,.24); background: #f2fbf6; }
.fitment-garage-save.is-saved > svg { color: #2d915c; }
.fitment-options { display: grid; gap: 11px; }
.fitment-option-actions { display: grid; gap: 8px; margin-top: 12px; }
.fitment-help { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.fitment-card .badge { flex: 0 0 auto; }
.fitment-title-copy { min-width: 0; display: flex; align-items: center; gap: 8px; }
.fitment-title-copy strong { min-width: 0; }
.fitment-single-icon,
.fitment-action-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(255,255,255,.18);
}
.fitment-single-icon { color: var(--brand); background: #edf1f8; }
.fitment-single-icon svg,
.fitment-action-icon svg { width: 18px; height: 18px; }
.fitment-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.fitment-action--single { background: linear-gradient(135deg, #26365f, #405b91); }
.fitment-action--axis { border-color: #c8d1e3; color: var(--brand); background: #fff; }
.fitment-action--axis .fitment-action-icon { color: var(--brand); background: #edf1f8; }
.fitment-card--staggered {
  border-color: rgba(217,44,58,.38);
  background: linear-gradient(145deg, #fff 0%, #fff7f7 100%);
  box-shadow: 0 8px 20px rgba(106,44,55,.07);
}
.fitment-card--staggered .fitment-title { align-items: flex-start; }
.fitment-pair-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 35px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  color: #9f2432;
  background: #ffe7e9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.fitment-pair-chip b { color: #d92c3a; font-size: 12px; }
.fitment-pair-discovery {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: #fff;
  background: linear-gradient(135deg, #c52b3a, #e04555);
  box-shadow: 0 8px 16px rgba(197,43,58,.18);
}
.fitment-pair-discovery .fitment-pair-chip { color: #fff; background: rgba(255,255,255,.18); }
.fitment-pair-discovery .fitment-pair-chip b { color: #fff; }
.fitment-option-actions--staggered { gap: 9px; }
.fitment-axis-action {
  padding: 9px;
  border: 1px solid #e1e5ee;
  border-radius: 13px;
  background: rgba(255,255,255,.78);
}
.fitment-axis-action--front { border-left: 3px solid #405b91; }
.fitment-axis-action--rear { border-left: 3px solid #d92c3a; }
.fitment-axis-caption {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}
.staggered-pairs-page { display: grid; gap: 14px; }
.staggered-pairs-heading { margin: 0; }
.staggered-pairs-heading h2 { margin: 0; color: var(--ink); font-size: 21px; }
.staggered-pairs-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.staggered-vehicle-note {
  padding: 12px;
  border: 1px solid rgba(38,54,95,.18);
  border-radius: 15px;
  background: #f6f8fc;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}
.staggered-pair-list { display: grid; gap: 13px; }
.staggered-pair-card {
  overflow: hidden;
  border: 1px solid rgba(217,44,58,.28);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.staggered-pair-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 13px 11px;
  background: linear-gradient(135deg, #fff7f7, #fff);
}
.staggered-pair-card-head h3 { margin: 0; font-size: 15px; }
.staggered-pair-card-head p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.staggered-pair-axles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #eceff5; }
.staggered-pair-axle { min-width: 0; padding: 10px; background: #fff; }
.staggered-pair-axle-label { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 900; }
.staggered-pair-axle-label:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #405b91; }
.staggered-pair-axle--rear .staggered-pair-axle-label:before { background: #d92c3a; }
.staggered-pair-photo {
  display: grid;
  place-items: center;
  min-height: 116px;
  margin: 9px 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f6fa;
}
.staggered-pair-photo img { width: 100%; height: 116px; object-fit: contain; }
.staggered-pair-photo .product-placeholder { min-height: 116px; font-size: 10px; }
.staggered-pair-spec { margin: 0; color: var(--ink); font-size: 11px; font-weight: 900; line-height: 1.35; }
.staggered-pair-sku,
.staggered-pair-stock { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.3; }
.staggered-pair-price { margin: 7px 0 0; color: var(--brand); font-size: 13px; font-weight: 900; }
.staggered-pair-card-foot { padding: 12px; }
.staggered-pair-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.staggered-pair-total span { color: var(--muted); font-size: 10px; }
.staggered-pair-total strong { color: var(--ink); font-size: 17px; }
.staggered-pair-add { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #c52b3a, #e04555); }
.staggered-pair-add .fitment-pair-chip { color: #fff; background: rgba(255,255,255,.18); }
.staggered-pair-add .fitment-pair-chip b { color: #fff; }
.staggered-pair-add.is-active { color: #25824a; background: #eaf7ef; border-color: #bfe5cd; box-shadow: none; }
.staggered-pair-add.is-active .fitment-pair-chip { color: #25824a; background: #d9f1e2; }
.staggered-pair-add.is-active .fitment-pair-chip b { color: #25824a; }
@media (max-width: 350px) {
  .staggered-pair-axles { grid-template-columns: 1fr; gap: 1px; }
}
button.select-row { width: 100%; color: var(--ink); text-align: left; font: inherit; }
.choice-card.fitment-start-card { min-height: 76px; grid-template-columns: minmax(0, 1fr); }
[data-fitment-search-row][hidden] { display: none; }
.fitment-loading {
  min-height: clamp(240px, 48vh, 360px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 32px 16px;
  color: var(--muted);
  text-align: center;
}
.fitment-loading-wheel {
  position: relative;
  width: 68px;
  height: 68px;
  border: 2px solid #121a2d;
  border-radius: 50%;
  background: repeating-conic-gradient(from -4deg, #1d2948 0 9deg, #53617f 9deg 14deg);
  box-shadow: 0 12px 24px rgba(38, 54, 95, .2);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: fitment-wheel-spin .85s linear infinite;
  -webkit-animation: fitment-wheel-spin .85s linear infinite;
}
.fitment-loading-wheel:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 6px solid #aab4c7;
  border-radius: 50%;
  background: radial-gradient(circle, #f8f9fc 0 27%, #dce2ec 29% 49%, #78869f 51% 58%, #f8f9fc 60%);
}
.fitment-loading-wheel:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  inset: 0;
  margin: auto;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px rgba(18, 26, 45, .24);
}
.fitment-loading-marker {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  top: 4px;
  left: calc(50% - 4px);
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
}
.fitment-loading-copy { display: grid; gap: 5px; }
.fitment-loading-copy strong { color: var(--brand); font-size: 17px; }
.fitment-loading-copy > span { font-size: 12px; line-height: 1.45; }
@-webkit-keyframes fitment-wheel-spin {
  from { -webkit-transform: translate3d(0, 0, 0) rotate(0deg); transform: translate3d(0, 0, 0) rotate(0deg); }
  to { -webkit-transform: translate3d(0, 0, 0) rotate(360deg); transform: translate3d(0, 0, 0) rotate(360deg); }
}
@keyframes fitment-wheel-spin {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(0, 0, 0) rotate(360deg); }
}

.garage-list { display: grid; gap: 13px; }
.garage-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.garage-card.is-primary { border-color: rgba(38,54,95,.42); box-shadow: 0 0 0 3px rgba(38,54,95,.06), var(--soft-shadow); }
.garage-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.garage-card-title { min-width: 0; display: flex; align-items: center; gap: 11px; }
.garage-car-visual { width: 62px; height: 52px; flex: 0 0 62px; display: grid; place-items: center; border-radius: 15px; background: #edf1f8; overflow: hidden; }
.garage-car-visual img { width: 76px; height: 46px; object-fit: contain; filter: drop-shadow(0 7px 7px rgba(38,54,95,.18)); }
.garage-card-title .badge { display: inline-flex; margin-bottom: 5px; }
.garage-card h3 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.garage-card h3 + p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.garage-text-action, .garage-remove { border: 0; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.garage-text-action { flex: 0 0 auto; max-width: 88px; padding: 4px 0 4px 8px; color: var(--brand); font-size: 10px; line-height: 1.25; text-align: right; }
.garage-sizes { margin-top: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.garage-size-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 9px; padding: 10px 11px; }
.garage-size-row + .garage-size-row { border-top: 1px solid var(--line); }
.garage-size-row > span { padding-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }
.garage-size-values { min-width: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.garage-size-values strong, .garage-size-values small { max-width: 100%; padding: 4px 7px; border-radius: 999px; background: #edf1f8; color: var(--brand); font-size: 9px; line-height: 1.25; overflow-wrap: anywhere; }
.garage-size-values small { background: #f4f5f8; color: var(--muted); font-weight: 800; }
.garage-size-values em { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.45; }
.garage-confirmation { margin-top: 11px; display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.garage-confirmation svg { width: 17px; height: 17px; flex: 0 0 17px; color: #b67815; }
.garage-actions { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.garage-actions .btn { min-width: 0; padding-inline: 9px; font-size: 11px; }
.garage-actions .btn:disabled { background: #edf0f5; color: var(--muted); border-color: var(--line); opacity: 1; }
.garage-actions .garage-set-action { grid-column: 1 / -1; }
.garage-remove { display: block; margin: 9px auto -3px; padding: 7px 12px; color: var(--accent); font-size: 10px; }
.garage-add-card { margin-top: 14px; grid-template-columns: 56px minmax(0, 1fr) 20px; }
.garage-add-card .choice-visual { width: 52px; height: 52px; }
.garage-boundary { margin-top: 14px; }

/* styles/catalog-commerce.css */

.budget-tier {
  position: relative;
  min-height: 94px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}
.budget-tier.selected { border: 2px solid var(--brand); box-shadow: 0 0 0 3px rgba(38,54,95,.07); }
.budget-tier .tier-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #eff2f8; color: var(--brand); }
.budget-tier .tier-icon svg { width: 24px; height: 24px; }
.budget-tier strong { display: block; font-size: 14px; }
.budget-tier p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.budget-tier .tier-price { text-align: right; font-size: 12px; font-weight: 850; color: var(--brand); }
.budget-tier .tier-price span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 650; }
.custom-budget { display: none; padding: 15px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.custom-budget.visible { display: block; }
.range-wrap { position: relative; padding: 10px 0; }
.range-wrap input[type="range"] { width: 100%; accent-color: var(--brand); }
.budget-summary { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg,#edf1f8,#f8f9fc); }
.budget-summary strong { font-size: 22px; color: var(--brand); }
.budget-summary span { color: var(--muted); font-size: 11px; }

.switch-row { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.switch-copy strong { display: block; font-size: 13px; }
.switch-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.switch { width: 50px; height: 29px; border: 0; padding: 3px; border-radius: 999px; background: #cdd2dc; transition: .18s ease; cursor: pointer; }
.switch:before { content: ""; display: block; width: 23px; height: 23px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.2); transition: transform .18s ease; }
.switch.on { background: var(--brand); }
.switch.on:before { transform: translateX(21px); }

.toolbar { position: sticky; top: 58px; z-index: 12; display: flex; align-items: center; gap: 8px; margin: -4px -16px 14px; padding: 10px 16px; background: rgba(248,249,252,.93); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(226,230,238,.8); }
.toolbar .result-count { flex: 1; color: var(--muted); font-size: 11px; }
.tool-btn { min-height: 38px; padding: 8px 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.tool-btn svg { width: 16px; height: 16px; }

.result-group { margin-top: 18px; }
.result-group-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.result-group-head h3 { margin: 0; font-size: 16px; color: var(--brand); }
.result-group-head span { color: var(--muted); font-size: 10px; }
.product-list { display: grid; gap: 12px; }
.product-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(36,49,80,.055);
}
.product-media { position: relative; min-height: 128px; display: grid; place-items: center; border-radius: 16px; background: #f4f5f8; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.media-actions { position: absolute; top: 7px; right: 7px; display: grid; gap: 6px; }
.round-action { width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255,255,255,.92); box-shadow: 0 4px 10px rgba(30,42,67,.12); cursor: pointer; }
.round-action svg { width: 17px; height: 17px; }
.round-action.active { color: var(--accent); background: #fff0f1; }
.product-info { min-width: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 21px; padding: 4px 7px; border-radius: 999px; background: #edf2ff; color: #36568e; font-size: 9px; font-weight: 850; }
.badge.red { background: #fff0f1; color: #b62b37; }
.badge.green { background: #eaf7ef; color: #25824a; }
.badge.orange { background: #fff5e6; color: #a66311; }
.product-card h3 { margin: 0; font-size: 14px; line-height: 1.28; }
.product-size { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.stock { margin-top: 6px; color: var(--success); font-size: 10px; font-weight: 800; }
.stock.out { color: var(--warning); }
.price { margin-top: 9px; font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.price small { font-size: 10px; color: var(--muted); font-weight: 650; }
.set-price { margin-top: 2px; color: var(--muted); font-size: 10px; }
.card-actions { display: flex; gap: 6px; margin-top: 9px; }
.card-actions .btn { min-height: 34px; padding: 7px 9px; border-radius: 10px; font-size: 10px; }

.btn {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.985); filter: brightness(.96); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #405c95); color: #fff; box-shadow: 0 10px 22px rgba(38,54,95,.22); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 22px rgba(217,44,58,.2); }
.btn-secondary { background: #fff; color: var(--brand); border-color: #d9dee8; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-danger { background: #fff0f1; color: var(--danger); border-color: #f2d3d6; }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: 9px 12px; font-size: 11px; border-radius: 11px; }
.btn[disabled] { opacity: .48; pointer-events: none; box-shadow: none; }

.product-hero { position: relative; padding: 16px 16px 0; background: linear-gradient(#fff,#f7f8fb); }
.product-gallery-main { height: 308px; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease, object-position .25s ease; }
.product-gallery-main.zoom img { transform: scale(1.65); object-position: 53% 38%; }
.gallery-thumbs { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.gallery-thumb { width: 48px; height: 48px; padding: 2px; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; cursor: pointer; }
.gallery-thumb.active { border: 2px solid var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.product-head { padding: 18px 16px 0; }
.product-head h2 { margin: 8px 0 5px; font-size: 24px; line-height: 1.14; letter-spacing: -.025em; }
.product-head .product-subtitle { color: var(--muted); font-size: 12px; line-height: 1.4; }
.product-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.product-price-row .price { margin: 0; font-size: 26px; }
.stock-pill { padding: 7px 10px; border-radius: 999px; background: #eaf7ef; color: var(--success); font-size: 10px; font-weight: 850; }
.fitment-status { margin-top: 14px; padding: 13px; display: flex; align-items: flex-start; gap: 10px; border-radius: 16px; background: #edf3ff; border: 1px solid #dbe6fb; }
.fitment-status svg { width: 20px; height: 20px; color: var(--brand-2); }
.fitment-status strong { display: block; font-size: 12px; color: #315181; }
.fitment-status span { display: block; margin-top: 3px; color: #6880a8; font-size: 10px; line-height: 1.35; }
.spec-list { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.spec-row { min-height: 49px; padding: 11px 13px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row strong { text-align: right; }
.quantity { display: inline-flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.quantity button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--surface-2); font-size: 18px; cursor: pointer; }
.quantity span { min-width: 24px; text-align: center; font-weight: 850; }

.bottom-nav {
  position: fixed;
  z-index: 35;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(72px + var(--safe-bottom));
  padding: 8px 10px var(--safe-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.95);
  border-top: 1px solid rgba(218,223,232,.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 -8px 22px rgba(35,48,78,.07);
}
.nav-item { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; color: #858c9b; font-size: 9px; font-weight: 750; position: relative; transition: color .16s ease, transform .16s ease; }
.nav-item svg { width: 22px; height: 22px; transition: opacity .16s ease, transform .16s ease; }
.nav-item .garage-icon { width: 26px; height: 26px; margin-block: -2px; }
.nav-item:active { transform: scale(.94); }
.nav-item.active, .nav-item.is-navigation-target { color: var(--brand); }
.nav-item.active:before, .nav-item.is-navigation-target:before { content: ""; position: absolute; top: -8px; width: 25px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
.bottom-nav[data-navigation-pending="true"] .nav-item.active:not(.is-navigation-target) { color: #858c9b; }
.bottom-nav[data-navigation-pending="true"] .nav-item.active:not(.is-navigation-target):before { opacity: 0; }
.nav-item.is-navigation-target { animation: navigation-item-press .18s ease-out; }
.nav-item.is-navigation-target > svg { animation: navigation-item-dim 1ms linear var(--navigation-loading-delay, 220ms) forwards; }
.nav-item.is-navigation-target:after { content: ""; position: absolute; top: 14px; width: 15px; height: 15px; opacity: 0; border: 2px solid rgba(38,54,95,.2); border-top-color: var(--brand); border-radius: 50%; animation: navigation-item-reveal 1ms linear var(--navigation-loading-delay, 220ms) forwards, navigation-item-spin .7s linear var(--navigation-loading-delay, 220ms) infinite; }
.nav-item.is-navigation-loading > svg { opacity: .18; }
.navigation-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes navigation-item-press { 0% { transform: scale(.92); } 70% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes navigation-item-dim { to { opacity: .18; } }
@keyframes navigation-item-reveal { to { opacity: 1; } }
@keyframes navigation-item-spin { to { transform: rotate(360deg); } }
.nav-badge { position: absolute; top: 2px; left: calc(50% + 7px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; border: 2px solid #fff; font-size: 8px; }
.nav-badge:empty, .nav-badge[data-count="0"] { display: none; }

.sticky-cta {
  position: fixed;
  z-index: 31;
  bottom: calc(70px + var(--safe-bottom));
  left: 0;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(248,249,252,0), rgba(248,249,252,.96) 30%, #f8f9fc 100%);
}
.sticky-cta.no-nav { bottom: 0; padding-bottom: var(--safe-bottom); }
.sticky-cta .cta-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }

.cart-list { display: grid; gap: 11px; }
.cart-item { position: relative; display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.cart-item img { width: 86px; height: 86px; object-fit: contain; border-radius: 14px; background: var(--surface-2); mix-blend-mode: multiply; }
.cart-item h3 { margin: 1px 26px 4px 0; font-size: 13px; line-height: 1.28; }
.cart-item .remove { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: #a1a8b5; display: grid; place-items: center; cursor: pointer; }
.cart-item .remove svg { width: 16px; height: 16px; }
.cart-line { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-total { padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #25355e, #3d588f); color: #fff; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 12px; color: rgba(255,255,255,.7); }
.cart-total-row strong { color: #fff; }
.cart-total-row.grand { padding-top: 10px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.cart-total-row.grand strong { font-size: 22px; }

/* styles/service-information.css */
.delivery-card { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; }
.delivery-card.selected { border: 2px solid var(--brand); box-shadow: 0 0 0 3px rgba(38,54,95,.07); }
.delivery-card-head { display: flex; align-items: center; gap: 11px; }
.delivery-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #eef1f7; color: var(--brand); }
.delivery-icon svg { width: 23px; height: 23px; }
.delivery-copy { flex: 1; }
.delivery-copy strong { display: block; font-size: 13px; }
.delivery-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.radio-dot { width: 20px; height: 20px; border: 2px solid #c5ccd8; border-radius: 50%; padding: 3px; }
.delivery-card.selected .radio-dot:after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--brand); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline:before { content: ""; position: absolute; left: 15px; top: 21px; bottom: 22px; width: 2px; background: #dfe3eb; }
.timeline-item { position: relative; min-height: 70px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.timeline-dot { width: 32px; height: 32px; z-index: 1; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #d9dee8; color: #9ba2b0; }
.timeline-dot svg { width: 16px; height: 16px; }
.timeline-item.done .timeline-dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline-item.active .timeline-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px rgba(38,54,95,.09); }
.timeline-copy { padding: 4px 0 14px; }
.timeline-copy strong { display: block; font-size: 13px; }
.timeline-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }

.status-hero { padding: 28px 20px 18px; text-align: center; }
.status-hero img { width: 142px; margin: 0 auto; }
.status-hero h2 { margin: 6px 0 7px; font-size: 26px; }
.status-hero p { margin: 0 auto; max-width: 310px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.request-number { margin: 15px auto 0; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 12px; background: #edf0f7; color: var(--brand); font-weight: 900; font-size: 13px; }
.manager-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.manager-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg,#dce5f5,#bac8df); color: var(--brand); font-weight: 900; }
.manager-copy { flex: 1; }
.manager-copy strong { display: block; font-size: 13px; }
.manager-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }

.history-tabs { margin-bottom: 14px; }
.history-item { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.history-head { display: flex; justify-content: space-between; gap: 12px; }
.history-head strong { font-size: 13px; }
.history-head span { color: var(--muted); font-size: 10px; }
.history-products { margin-top: 10px; display: flex; align-items: center; }
.history-products img { width: 54px; height: 54px; border-radius: 14px; object-fit: contain; background: #f5f6f8; border: 2px solid #fff; margin-right: -8px; mix-blend-mode: multiply; }
.history-foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.empty-state { padding: 30px 18px; text-align: center; }
.empty-state img { width: 190px; margin: 0 auto 10px; }
.empty-state .empty-icon { width: 92px; height: 92px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 28px; background: #edf0f6; color: var(--brand); }
.empty-state .empty-icon svg { width: 47px; height: 47px; }
.empty-state h2 { margin: 0; font-size: 23px; }
.empty-state p { margin: 9px auto 18px; max-width: 310px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.compare-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.compare-grid { min-width: 600px; display: grid; grid-template-columns: 130px repeat(3, 1fr); }
.compare-cell { min-height: 52px; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.compare-cell:nth-child(4n) { border-right: 0; }
.compare-cell.label { color: var(--muted); background: #f7f8fb; font-weight: 750; }
.compare-product img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto; mix-blend-mode: multiply; }
.compare-product strong { display: block; margin-top: 8px; font-size: 12px; line-height: 1.3; }

.service-card { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #edf0f7; color: var(--brand); }
.service-icon svg { width: 28px; height: 28px; }
.service-copy strong { display: block; font-size: 12px; }
.service-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.service-price { text-align: right; font-size: 12px; font-weight: 850; }

.menu-list { overflow: hidden; border-radius: 19px; border: 1px solid var(--line); background: #fff; }
.menu-row { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.menu-row:last-child { border-bottom: 0; }
.home-screen-shortcut-row { width: 100%; margin-top: 12px; border: 1px solid var(--line); border-radius: 19px; background: #fff; color: inherit; font: inherit; text-align: left; }
.home-screen-shortcut-row[hidden] { display: none !important; }
.home-screen-shortcut-row:active { background: var(--surface-3); }
.home-screen-shortcut-row:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.menu-row .menu-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #eff2f7; color: var(--brand); }
.menu-row .menu-icon svg { width: 20px; height: 20px; }
.menu-row .menu-icon .garage-icon { width: 24px; height: 24px; }
.menu-row .menu-copy { flex: 1; }
.menu-row strong { display: block; font-size: 13px; }
.menu-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.menu-row > svg { width: 18px; height: 18px; color: #acb2bd; }

/* styles/overlays-feedback.css */
.sheet-backdrop, .modal-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  width: 100%;
  display: none;
  align-items: flex-end;
  background: rgba(12,18,31,.42);
  backdrop-filter: blur(4px);
}
.sheet-backdrop.open, .modal-overlay.open { display: flex; }
.sheet {
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 26px 26px 0 0;
  background: #f8f9fc;
  padding: 9px 16px calc(18px + var(--safe-bottom));
  box-shadow: 0 -20px 48px rgba(20,29,49,.22);
  animation: sheetUp .22s ease-out;
}
.sheet-handle { width: 42px; height: 5px; margin: 0 auto 14px; border-radius: 999px; background: #c9ced8; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-size: 20px; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }

.sort-option { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.sort-option:last-child { border-bottom: 0; }
.sort-option span { font-size: 13px; font-weight: 750; }
.sort-option svg { width: 20px; height: 20px; color: var(--brand); opacity: 0; }
.sort-option.selected svg { opacity: 1; }

.toast {
  position: fixed;
  z-index: 100;
  left: 12px;
  right: 12px;
  bottom: calc(82px + var(--safe-bottom));
  width: auto;
  max-width: 406px;
  margin: 0 auto;
  padding: 12px 13px;
  border-radius: 14px;
  background: #20283b;
  color: #fff;
  box-shadow: 0 12px 34px rgba(15,22,37,.28);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  font-size: 12px;
}
.toast.show { transform: none; opacity: 1; }
.toast svg { width: 19px; height: 19px; color: #63d58e; }
.toast .toast-action { margin-left: auto; color: #a9c4ff; font-weight: 850; }

.skeleton { position: relative; overflow: hidden; background: #e8ebf1; }
.skeleton:after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

.offline-note { padding: 8px 12px; display: none; align-items: center; justify-content: center; gap: 7px; background: #fff4dd; color: #895710; font-size: 10px; font-weight: 750; }
.offline .offline-note { display: flex; }

.set-builder-visual { position: relative; isolation: isolate; height: 218px; border-radius: 24px; background: linear-gradient(135deg,#eef1f7,#fff); border: 1px solid var(--line); overflow: hidden; }
.set-builder-visual img { position: absolute; z-index: 2; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 10px 14px rgba(27,39,65,.15)); }
.set-builder-visual .set-tire { width: 165px; height: 165px; left: 17px; top: 32px; transform: rotate(-8deg); }
.set-builder-visual .set-disk { width: 172px; height: 172px; right: 15px; top: 20px; transform: rotate(7deg); }
.set-builder-visual .set-empty-product-slot { z-index: 1; padding: 18px 10px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(38,54,95,.1); border-radius: 22px; background: rgba(255,255,255,.78); color: var(--brand); text-align: center; text-decoration: none; box-shadow: 0 8px 24px rgba(27,39,65,.06); }
.set-builder-visual .set-empty-product-slot.set-tire { top: 24px; transform: rotate(-3deg); }
.set-builder-visual .set-empty-product-slot.set-disk { top: 22px; transform: rotate(3deg); }
.set-empty-product-slot svg { width: 48px; height: 48px; }
.set-empty-product-slot strong { font-size: 14px; }
.set-empty-product-slot span { color: var(--muted); font-size: 11px; font-weight: 750; }
.set-builder-visual .plus { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(217,44,58,.25); font-size: 25px; font-weight: 900; pointer-events: none; }

.contact-block { padding: 16px; border-radius: 20px; background: linear-gradient(135deg,#26365f,#3d568b); color: #fff; }
.contact-block h3 { margin: 0 0 6px; }
.contact-block p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.4; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.contact-actions a { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.12); text-align: center; font-size: 11px; font-weight: 850; }

.map-placeholder { height: 185px; position: relative; overflow: hidden; border-radius: 20px; background: #e6ebf2; border: 1px solid var(--line); }
.map-placeholder:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(25deg, transparent 46%, rgba(255,255,255,.82) 47%, rgba(255,255,255,.82) 53%, transparent 54%), linear-gradient(-28deg, transparent 43%, rgba(255,255,255,.75) 44%, rgba(255,255,255,.75) 50%, transparent 51%); background-size: 88px 74px, 105px 92px; opacity: .8; }
.map-pin { position: absolute; left: 54%; top: 43%; width: 42px; height: 42px; transform: translate(-50%,-50%) rotate(45deg); border-radius: 50% 50% 50% 5px; background: var(--accent); box-shadow: 0 8px 18px rgba(217,44,58,.3); }
.map-pin:after { content: ""; position: absolute; width: 14px; height: 14px; left: 14px; top: 14px; border-radius: 50%; background: #fff; }

.screen-link { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.screen-link:last-child { border-bottom: 0; }
.screen-link strong { display: block; font-size: 12px; }
.screen-link span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.screen-link code { color: var(--brand); font-size: 9px; white-space: nowrap; }

@media (max-width: 365px) {
  .content { padding-inline: 13px; }
  .product-card { grid-template-columns: 105px 1fr; gap: 9px; }
  .product-media { min-height: 116px; }
  .hero h2 { font-size: 26px; }
  .hero-products { right: -31px; opacity: .9; }
  .action-card { padding: 13px; }
  .action-card h3 { font-size: 15px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .garage-card-head { display: grid; grid-template-columns: minmax(0, 1fr); }
  .garage-text-action { max-width: none; padding-left: 73px; text-align: left; }
  .garage-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fitment-loading-wheel { animation: none !important; -webkit-animation: none !important; }
  .nav-item.is-navigation-target { animation: none !important; }
  .nav-item.is-navigation-target > svg { animation: navigation-item-dim .01ms linear var(--navigation-loading-delay, 220ms) forwards !important; }
  .nav-item.is-navigation-target:after { animation: navigation-item-reveal .01ms linear var(--navigation-loading-delay, 220ms) forwards !important; }
}

/* styles/experience-refinements.css */
/* v2.1 interaction and QA refinements */
.hero h2 { max-width: 218px; }
.hero p { max-width: 208px; }
.hero-products { right: -22px; width: 166px; opacity: .96; }
.hero-products .hero-tire { width: 122px; height: 122px; right: 58px; bottom: 2px; }
.hero-products .hero-disk { width: 132px; height: 132px; right: -2px; bottom: 27px; }
.product-card.is-over-budget { border-color: #f0c98e; box-shadow: 0 8px 22px rgba(195,123,23,.08); }
.budget-warning { text-transform: none; }
.chat-user { max-width: 78%; margin-left: auto; background: #eaf0fb; border-color: #dce5f5; }
.chat-user p, .chat-typing p { margin: 0; line-height: 1.45; }
.chat-typing { max-width: 82%; background: #fff; }
[data-size-manual][hidden], [data-size-fast][hidden], [data-delivery-fields][hidden], [data-tab-panel][hidden] { display: none !important; }
.invalid { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(217,44,58,.08) !important; }
[data-contact-channel] { display: grid; grid-template-columns: repeat(3,1fr); }
[data-contact-channel] button { width: 100%; }
.product-gallery-main.zoom img { transform: scale(1.18); }
.product-gallery-main img { transition: transform .22s ease; }
.quantity button { touch-action: manipulation; }

@media (max-width: 365px) {
  .hero h2 { max-width: 196px; font-size: 24px; }
  .hero p { max-width: 188px; }
  .hero-products { right: -39px; }
}
.context-link { display: block; margin: 8px 0 14px; font-size: 11px; font-weight: 800; }
.axle-card { min-height: 116px; display: grid; grid-template-columns: 1fr 112px; align-items: center; gap: 10px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.axle-card h3 { margin: 8px 0 4px; font-size: 21px; }
.axle-card p { margin: 0; color: var(--muted); font-size: 11px; }
.axle-card img { width: 108px; height: 96px; object-fit: contain; mix-blend-mode: multiply; }
.help-visual { position: relative; height: 248px; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,#fff,#eef1f7); }
.help-visual img { position: absolute; width: 220px; height: 220px; right: -18px; bottom: -8px; object-fit: contain; mix-blend-mode: multiply; }
.help-callout { position: absolute; left: 16px; padding: 7px 9px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 850; box-shadow: 0 8px 16px rgba(38,54,95,.16); }
.help-callout:after { content:""; position:absolute; left:100%; top:50%; width:68px; height:1px; background:var(--accent); }
.help-callout.one { top:53px; }
.help-callout.two { top:102px; }
.help-callout.three { top:151px; }
.clean-list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* v2.2 completeness and brand polish */
.hero h2 { max-width: 200px; }
.hero p { max-width: 184px; }
.hero-products { right: -38px; bottom: -12px; width: 158px; height: 166px; }
.hero-products .hero-tire { width: 112px; height: 112px; right: 56px; bottom: 1px; }
.hero-products .hero-disk { width: 122px; height: 122px; right: -5px; bottom: 23px; }
body:has(.sticky-cta) .content { padding-bottom: 202px; }

.budget-option {
  display: block;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(35,48,78,.035);
}
.budget-option.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(38,54,95,.10), 0 10px 24px rgba(35,48,78,.06);
}
.budget-top {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
}
.budget-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf1f8;
  color: var(--brand);
  font-size: 17px;
  font-weight: 950;
}
.budget-option.selected .budget-icon { background: var(--brand); color: #fff; }
.budget-top h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.2; }
.budget-top p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.budget-top > strong { color: var(--brand); font-size: 11px; line-height: 1.25; text-align: right; white-space: nowrap; }

.service-link-card {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.service-link-card .service-icon { width: 48px; height: 48px; }
.service-link-card .service-copy strong { display: block; font-size: 14px; }
.service-link-card .service-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.service-link-card > svg { width: 18px; height: 18px; color: var(--muted); }

.promo-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg,#26365f,#3c568b);
  color: #fff;
  box-shadow: 0 14px 30px rgba(38,54,95,.16);
}
.promo-card.red { background: linear-gradient(135deg,#cf2637,#ee4653); }
.promo-card.light { background: linear-gradient(145deg,#fff,#eef2f8); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--soft-shadow); }
.promo-card h3 { position: relative; z-index: 2; max-width: 230px; margin: 0 0 7px; font-size: 20px; line-height: 1.12; }
.promo-card p { position: relative; z-index: 2; max-width: 230px; margin: 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.45; }
.promo-card.light p { color: var(--muted); }
.promo-card .promo-tag { position: relative; z-index: 2; display: inline-flex; margin-top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 10px; font-weight: 900; }
.promo-card.light .promo-tag { background: #eef2fb; color: var(--brand); }
.promo-orbit { position: absolute; right: -52px; bottom: -66px; width: 190px; height: 190px; border: 24px solid rgba(255,255,255,.10); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.045); }

.hero-service {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(140deg,#1f2d52,#3c5688);
  color: #fff;
  box-shadow: 0 16px 32px rgba(38,54,95,.18);
}
.hero-service h2 { position: relative; z-index: 2; max-width: 245px; margin: 0 0 8px; font-size: 26px; line-height: 1.08; }
.hero-service p { position: relative; z-index: 2; max-width: 245px; margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; }
.hero-service .hero-service-mark { position: absolute; right: -22px; bottom: -30px; width: 150px; height: 150px; display: grid; place-items: center; border: 22px solid rgba(217,44,58,.85); border-radius: 50%; color: rgba(255,255,255,.93); font-size: 52px; font-weight: 900; }

.date-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; }
.date-chip { min-height: 60px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; cursor: pointer; }
.date-chip span { display: block; color: var(--muted); font-size: 9px; }
.date-chip strong { display: block; margin-top: 4px; font-size: 16px; }
.date-chip.selected { border-color: var(--brand); background: var(--brand); color: #fff; }
.date-chip.selected span { color: rgba(255,255,255,.65); }
.time-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.time-chip { min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.time-chip.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.time-chip[disabled] { opacity: .38; text-decoration: line-through; }

.accordion { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-toggle { width: 100%; min-height: 58px; padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 850; cursor: pointer; }
.accordion-toggle svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; }
.accordion-item.open .accordion-toggle svg { transform: rotate(180deg); }
.accordion-panel { display: none; padding: 0 13px 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.accordion-item.open .accordion-panel { display: block; }

.source-note {
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid #dbe6fb;
  border-radius: 16px;
  background: #edf3ff;
  color: #35517f;
  font-size: 12px;
  line-height: 1.5;
}
.source-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}
.source-actions:has(.btn:only-child) { grid-template-columns: minmax(0, 1fr); }
.fact-grid { display: grid; gap: 9px; }
.fact-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.fact-card strong { display: block; font-size: 14px; line-height: 1.25; }
.fact-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.fact-grid + .info-card { margin-top: 12px; }
.process-list {
  counter-reset: info-step;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  counter-increment: info-step;
  position: relative;
  min-height: 62px;
  padding: 13px 13px 13px 54px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.process-list li::before {
  content: counter(info-step);
  position: absolute;
  left: 13px;
  top: 13px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.process-list strong { display: block; font-size: 13px; line-height: 1.35; }
.process-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.contact-details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
}
.contact-detail {
  display: block;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 0; }
a.contact-detail:active { background: var(--surface-3); }
.contact-detail span { display: block; color: var(--muted); font-size: 10px; line-height: 1.35; }
.contact-detail strong { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }

.form-note { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.success-mini { display: grid; place-items: center; min-height: 168px; text-align: center; }
.success-mini img { width: 76px; height: 76px; }
.success-mini h2 { margin: 12px 0 6px; font-size: 23px; }
.success-mini p { max-width: 290px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.profile-card { padding: 16px; border-radius: 22px; background: linear-gradient(135deg,#26365f,#3c568b); color: #fff; }
.profile-head { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; }
.profile-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.14); font-size: 21px; font-weight: 900; }
.profile-head h2 { margin: 0 0 4px; font-size: 19px; }
.profile-head p { margin: 0; color: rgba(255,255,255,.67); font-size: 11px; }

@media (max-width: 365px) {
  .hero h2 { max-width: 184px; }
  .hero p { max-width: 166px; font-size: 12px; }
  .hero-products { right: -48px; }
  .budget-top { grid-template-columns: 38px minmax(0,1fr); }
  .budget-icon { width: 38px; height: 38px; }
  .budget-top > strong { grid-column: 2; text-align: left; white-space: normal; }
  .date-strip { gap: 5px; }
  .source-actions { grid-template-columns: minmax(0, 1fr); }
}

/* styles/live-integration.css */
/* Live catalog integration. */
body { background: var(--tg-bg-color, #dfe4ed); color: var(--ink); }
.app-shell { color: var(--ink); color-scheme: light; }
.topbar:not(.is-home) { grid-template-columns: 44px minmax(0, 1fr) 44px; }
.topbar.is-home { grid-template-columns: minmax(0, 1fr); }
html:not([data-telegram-back-ready="true"]) [data-back],
html[data-telegram-back-preflight="true"] [data-back],
html[data-telegram-native-back="true"] [data-back] { visibility: hidden; pointer-events: none; }
.topbar.is-home .logo { width: min(190px, 100%); height: auto; object-fit: contain; justify-self: center; }
.topbar-title { display: grid; justify-items: center; gap: 1px; }
.topbar-brand { display: block; width: 94px; height: 14px; margin: 0 auto 1px; }
.topbar-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero::before { right: -115px; bottom: -112px; }
.hero p { position: relative; z-index: 3; }
.hero .hero-cta { position: relative; left: auto; bottom: auto; margin-top: 16px; }
.user-greeting { margin: -4px 0 10px; color: var(--brand); font-size: 14px; font-weight: 850; }
.user-greeting[hidden] { display: none; }
.quick-search:focus-within { border-color: rgba(230, 59, 66, .42); box-shadow: 0 0 0 3px rgba(230, 59, 66, .08), var(--soft-shadow); }
.quick-search input { caret-color: var(--accent); cursor: text; }
.control { caret-color: var(--accent); }
.action-grid { grid-template-columns: 1fr; }
.action-card, .action-card.wide { min-height: 112px; padding: 13px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 84px; align-items: center; gap: 12px; }
.action-card .action-icon { width: 46px; height: 46px; border-radius: 15px; }
.action-card .action-card-copy { min-width: 0; }
.action-card h3 { margin: 0 0 5px; }
.action-card .mini-product, .action-card.wide .mini-product { position: static; width: 84px; height: 84px; justify-self: end; flex: none; object-fit: contain; border-radius: 18px; mix-blend-mode: multiply; }
.toolbar { top: calc(58px + var(--safe-top) + var(--telegram-header-breathing-room)); }
.results-context { margin-bottom: 14px; }
.results-context .car-img { pointer-events: none; }
.sort-option { width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; }
.results-toolbar { margin: -4px 0 14px; padding: 10px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.results-toolbar label { color: var(--muted); font-size: 12px; font-weight: 800; }
.results-toolbar .control { min-width: 0; height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: 12px; }
.segmented button { color: var(--ink); }
[data-stud-field][hidden], [data-stud-field].is-hidden { display: none !important; }
select.control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23565e70' 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: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
select.control option { background: #fff; color: var(--ink); }
.topbar { min-height: calc(58px + var(--safe-top) + var(--telegram-header-breathing-room)); padding: calc(6px + var(--safe-top) + var(--telegram-header-breathing-room)) max(12px, var(--safe-right)) 6px max(12px, var(--safe-left)); }
.topbar.is-home { min-height: calc(70px + var(--safe-top) + var(--telegram-header-breathing-room)); padding: calc(6px + var(--safe-top) + var(--telegram-header-breathing-room)) max(16px, var(--safe-right)) 6px max(16px, var(--safe-left)); }
.content { padding: 18px max(16px, var(--safe-right)) 116px max(16px, var(--safe-left)); }
body:has(.sticky-cta) .content { padding-bottom: calc(176px + var(--safe-bottom)); }
.bottom-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 8px max(10px, var(--safe-right)) var(--safe-bottom) max(10px, var(--safe-left)); }
.sticky-cta { padding: 10px max(16px, var(--safe-right)) 10px max(16px, var(--safe-left)); }
.sheet { padding: 9px max(16px, var(--safe-right)) calc(18px + var(--safe-bottom)) max(16px, var(--safe-left)); }
.toast { left: max(12px, var(--safe-left)); right: max(12px, var(--safe-right)); }
.catalog-loading { padding: 32px 16px; color: var(--muted); text-align: center; }
.catalog-source-note { margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--muted); font-size: 11px; line-height: 1.5; }
.live-product-card { grid-template-columns: 112px minmax(0, 1fr); }
.product-media > a { width: 100%; height: 100%; display: grid; place-items: center; }
.live-product-card .card-actions { display: grid; grid-template-columns: 1fr 1fr; }
.cart-add.is-active, [data-add-current].is-active { background: #eaf7ef; color: #25824a; border-color: #bfe5cd; box-shadow: none; }
.cart-action-icon { min-width: 18px; display: inline-grid; place-items: center; font-size: 16px; font-weight: 900; line-height: 1; }
.cart-action-icon[hidden] { display: none; }
.cart-action-icon svg { width: 18px; height: 18px; }
.product-placeholder { width: 100%; min-height: 112px; padding: 12px; display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 15px; background: #edf1f7; color: var(--muted); text-align: center; font-weight: 800; }
.product-placeholder svg { width: 32px; height: 32px; }
.product-placeholder span { max-width: 120px; font-size: 10px; line-height: 1.35; }
.product-detail-placeholder { min-height: 220px; }
.product-gallery-main .product-detail-placeholder { height: 100%; border-radius: 24px; }
.product-head .stock-pill { width: max-content; margin-top: 12px; }
.product-detail-actions { margin-top: 14px; }
.product-detail-actions .product-toggle.is-active { color: var(--accent); background: #fff0f1; border-color: rgba(230, 59, 66, .28); }
.product-actions { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.product-toggle { color: var(--brand); transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.product-toggle svg { transition: fill .18s ease, transform .18s ease; }
.product-toggle.is-active { color: var(--accent); background: #fff0f1; border-color: rgba(230, 59, 66, .28); }
.product-toggle.is-active svg { transform: scale(1.06); }
.favorite-toggle.is-active svg { fill: currentColor; }
.budget-options { display: grid; gap: 10px; }
.budget-tier { width: 100%; color: var(--ink); text-align: left; font: inherit; }
.budget-tier .tier-icon { font-size: 18px; font-weight: 900; }
.budget-tier .tier-price { max-width: 118px; line-height: 1.25; }
.budget-tier .tier-price span { white-space: normal; }
.chip svg { width: 16px; height: 16px; vertical-align: -3px; }
.custom-budget { margin-top: 10px; }
.custom-budget .range-wrap { padding-bottom: 2px; }
.range-scale { display: flex; justify-content: space-between; gap: 12px; margin-top: -2px; color: var(--muted); font-size: 10px; }
.budget-summary { align-items: center; }
.budget-summary-label { line-height: 1.35; }
.switch[aria-pressed="true"] { background: var(--brand); }
.switch.on:before, .switch[aria-pressed="true"]:before { transform: translateX(6px); }
.cart-live-row { display: grid; gap: 8px; }
.cart-thumb { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.cart-thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 11px; font-weight: 850; }
.cart-item .cart-line strong { white-space: nowrap; color: var(--brand); }
.cart-item .quantity button { width: 30px; height: 30px; }
.cart-unavailable-row { background: #fffaf2; border-color: #f1d9b0; }
.cart-unavailable-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cart-unavailable-title { width: 100%; font-weight: inherit; }
.availability-note { margin-top: 7px; color: #a66311; font-size: 10px; font-weight: 750; line-height: 1.35; }
.cart-toolbar { margin: -3px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.cart-clear, .cart-remove { border: 0; background: transparent; color: var(--accent); font: inherit; font-weight: 800; cursor: pointer; }
.cart-clear { padding: 7px 0 7px 12px; }
.cart-remove { width: max-content; padding: 5px 0; display: inline-flex; align-items: center; gap: 6px; }
.cart-remove svg { width: 17px; height: 17px; }
.cart-clear:disabled, .cart-remove:disabled { opacity: .45; cursor: default; }
.truthful-boundary { min-height: 240px; }
.truthful-boundary .empty-actions { width: min(280px, 100%); margin: 0 auto; display: grid; gap: 10px; }
.truthful-boundary .empty-actions .btn-secondary { border-color: var(--brand); }
.set-product-slot { position: absolute; display: grid; place-items: center; }
.set-product-slot .product-placeholder { min-height: 100%; height: 100%; border-radius: 22px; background: rgba(255,255,255,.72); }
.set-selection-row { margin-bottom: 12px; cursor: default; }
.set-selection-row .set-row-thumb { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: var(--surface-2); }
.set-selection-row .set-row-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.set-selection-row .set-row-thumb .cart-thumb-placeholder { min-height: 58px; }
.set-selection-row .btn { flex: 0 0 auto; padding-inline: 10px; }
.set-empty-choice { margin-bottom: 12px; }
.set-builder-visual + .section-title { margin-top: 17px; }
.set-builder-visual + .set-selection-row { margin-top: 14px; }
.set-total-card { margin: 14px 0 12px; }
.set-grand-total { color: var(--brand); font-size: 22px; }
.set-clear { display: block; margin: 4px auto 0; padding: 10px 14px; }
.set-component-add:disabled { background: #edf0f5; color: var(--muted); border-color: var(--line); opacity: 1; }
.wheel-set-vehicle-card { margin-bottom: 14px; }
.wheel-set-vehicle-label { display: block; margin: 13px 0 7px; color: var(--muted); font-size: 11px; font-weight: 800; }
.wheel-set-options { display: grid; gap: 9px; }
.wheel-set-options + .info-card { margin-top: 14px; }
.wheel-set-option {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wheel-set-option > span { min-width: 0; display: grid; gap: 4px; }
.wheel-set-option strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; }
.wheel-set-option small { color: var(--muted); font-size: 10px; font-weight: 750; }
.wheel-set-option > svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--brand); }
.wheel-set-option:active { border-color: var(--brand); background: #f4f7fc; }
.wheel-set-context {
  margin-bottom: 14px;
  padding: 13px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(38,54,95,.24);
  border-radius: 16px;
  background: #f6f8fc;
}
.wheel-set-context strong { color: var(--brand); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.wheel-set-context span { color: var(--muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.wheel-set-context .saved-vehicle-toggle { width: max-content; max-width: 100%; min-height: 34px; margin: 4px 0 -4px; padding-inline: 0; justify-content: flex-start; }
.wheel-set-cart-context {
  margin-bottom: 12px;
  padding: 13px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 38px;
  gap: 10px;
  border: 1px solid rgba(38,54,95,.24);
  border-radius: 16px;
  background: #f6f8fc;
}
.wheel-set-cart-context svg { width: 23px; height: 23px; color: var(--brand); }
.wheel-set-cart-context span, .wheel-set-cart-context strong { display: block; }
.wheel-set-cart-context span { color: var(--muted); font-size: 10px; font-weight: 800; }
.wheel-set-cart-context strong { margin-top: 3px; color: var(--ink); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.wheel-set-cart-context p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.wheel-set-cart-remove { width: 38px; height: 38px; margin: -2px -2px 0 0; display: grid; place-items: center; border: 1px solid #f2d3d6; border-radius: 12px; background: #fff0f1; color: var(--danger); }
.wheel-set-cart-remove svg { width: 18px; height: 18px; color: currentColor; }
.wheel-set-cart-remove:active { background: #f9dfe2; }
.wheel-set-cart-remove:focus-visible { outline: 3px solid rgba(200,43,56,.22); outline-offset: 2px; }
.wheel-set-cart-group + .wheel-set-cart-group { margin-top: 16px; }
.vehicle-cart-group {
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(38,54,95,.24);
  border-radius: 20px;
  background: #f6f8fc;
  box-shadow: 0 8px 22px rgba(34,48,86,.05);
}
.vehicle-cart-group-head {
  padding: 13px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 38px;
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid rgba(38,54,95,.12);
  background: linear-gradient(135deg, #edf3ff 0%, #f8faff 100%);
}
.vehicle-cart-group-icon { padding-top: 2px; color: var(--brand); }
.vehicle-cart-group-icon svg { width: 23px; height: 23px; }
.vehicle-cart-group-head span,
.vehicle-cart-group-head strong,
.vehicle-cart-group-head small { display: block; }
.vehicle-cart-group-head span { color: var(--muted); font-size: 10px; font-weight: 850; }
.vehicle-cart-group-head strong { margin-top: 3px; color: var(--ink); font-size: 14px; line-height: 1.32; overflow-wrap: anywhere; }
.vehicle-cart-group-head small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.vehicle-cart-group-remove {
  width: 38px;
  height: 38px;
  margin: -2px -2px 0 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--danger);
}
.vehicle-cart-group-remove svg { width: 18px; height: 18px; }
.vehicle-cart-group-remove:active,
.vehicle-selection-part-remove:active { opacity: .68; }
.vehicle-cart-group-remove:focus-visible,
.vehicle-selection-part-remove:focus-visible { outline: 3px solid rgba(200,43,56,.22); outline-offset: 2px; }
.vehicle-cart-group-units { padding: 10px; display: grid; gap: 10px; }
.vehicle-selection-unit {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.vehicle-selection-unit-head {
  min-height: 48px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e9edf4;
}
.vehicle-selection-unit-head > div { min-width: 0; }
.vehicle-selection-unit-head span,
.vehicle-selection-unit-head small { display: block; }
.vehicle-selection-unit-head span { color: var(--ink); font-size: 12px; font-weight: 900; line-height: 1.25; }
.vehicle-selection-unit-head small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 700; line-height: 1.3; }
.vehicle-selection-unit-head > strong { flex: 0 0 auto; color: var(--brand); font-size: 14px; white-space: nowrap; }
.vehicle-selection-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #e9edf4; }
.vehicle-selection-part { position: relative; min-width: 0; padding: 10px; background: #fff; }
.vehicle-selection-part-link { min-width: 0; display: block; color: inherit; text-decoration: none; }
.vehicle-selection-part-unavailable-link { width: 100%; padding: 0; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.vehicle-selection-part-link:focus-visible,
.cart-unavailable-link:focus-visible { outline: 3px solid rgba(38,54,95,.26); outline-offset: -3px; }
.vehicle-selection-part-label { min-height: 14px; padding-right: 30px; color: var(--muted); font-size: 10px; font-weight: 900; line-height: 1.25; }
.vehicle-selection-part-label:before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; background: var(--brand); vertical-align: middle; }
.vehicle-selection-unit--staggered_tyre .vehicle-selection-part:nth-child(2) .vehicle-selection-part-label:before,
.vehicle-selection-unit--staggered_disk .vehicle-selection-part:nth-child(2) .vehicle-selection-part-label:before { background: var(--accent); }
.vehicle-selection-part-remove {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--danger);
}
.vehicle-selection-part-remove svg { width: 14px; height: 14px; }
.vehicle-selection-part-photo { width: 100%; aspect-ratio: 1 / 1; margin: 12px 0 7px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: var(--surface-2); }
.vehicle-selection-part-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.vehicle-selection-part-photo .cart-thumb-placeholder { font-size: 9px; }
.vehicle-selection-part h4 { min-height: 29px; margin: 0; padding-right: 1px; overflow: hidden; color: var(--ink); font-size: 11px; line-height: 1.3; }
.vehicle-selection-part p { min-height: 28px; margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; }
.vehicle-selection-part .badge { margin-top: 6px; font-size: 8px; }
.vehicle-selection-part-foot { min-height: 24px; margin-top: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.vehicle-selection-part-foot span { color: var(--muted); font-size: 9px; font-weight: 800; }
.vehicle-selection-part-foot strong { color: var(--brand); font-size: 11px; text-align: right; white-space: nowrap; }
.vehicle-selection-part.is-unavailable { background: #fffaf2; }
.vehicle-selection-single .cart-item { border-radius: 16px; }
.vehicle-selection-single .cart-item--vehicle { background: #fff; }
.vehicle-single-eyebrow { margin: 4px 28px 2px 0; color: var(--brand); font-size: 10px; font-weight: 850; }
.wheel-set-fixed-quantity { padding: 7px 9px; border-radius: 10px; background: #edf1f8; color: var(--brand); font-size: 10px; font-weight: 850; }
.history-list { display: grid; gap: 12px; }
.history-card { padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--soft-shadow); }
.history-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.history-ref { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .025em; }
.history-card h3 { margin: 5px 0 3px; color: var(--ink); font-size: 16px; line-height: 1.25; }
.history-date { color: var(--muted); font-size: 10px; }
.history-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: #fff4dc; color: #97610d; font-size: 9px; font-weight: 900; white-space: nowrap; }
.history-status.delivered { background: #eaf7ef; color: #25824a; }
.history-status.in-progress { background: #edf1f8; color: var(--brand); }
.history-items { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; }
.history-items li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--muted); font-size: 11px; }
.history-items strong { color: var(--ink); font-size: 11px; }
.history-status-text { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.history-new { margin-top: 14px; }
.account-state-boundary {
  margin: 0 0 14px;
  padding: 14px;
  display: grid;
  gap: 7px;
  border: 1px solid #dfe5f0;
  border-radius: 16px;
  background: #f7f9fc;
  color: var(--ink);
}
.account-state-boundary strong { font-size: 13px; }
.account-state-boundary span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.account-state-boundary .btn { width: fit-content; margin-top: 3px; }
.production-toast { position: fixed; z-index: 1000; left: 50%; bottom: calc(76px + var(--safe-bottom)); width: min(360px, calc(100% - 32px - var(--safe-left) - var(--safe-right))); padding: 12px 14px; border-radius: 14px; background: #26365f; color: #fff; font-size: 12px; line-height: 1.4; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s ease; box-shadow: 0 14px 35px rgba(25,38,70,.25); }
.production-toast.above-sticky-cta { bottom: calc(146px + var(--safe-bottom)); }
.production-toast.show { opacity: 1; transform: translate(-50%, 0); }
html[data-telegram-viewport="true"][data-telegram-fullscreen="true"][data-telegram-platform="ios"],
html[data-telegram-viewport="true"][data-telegram-fullscreen="true"][data-telegram-platform="android"] { --telegram-header-breathing-room: 8px; }
@media (min-width: 720px), (orientation: landscape) {
  html[data-telegram-viewport="true"][data-telegram-fullscreen="true"][data-telegram-platform="ios"],
  html[data-telegram-viewport="true"][data-telegram-fullscreen="true"][data-telegram-platform="android"] { --telegram-header-breathing-room: 0px; }
}
@media (max-width: 440px) { .live-product-card { grid-template-columns: 96px minmax(0, 1fr); } }

/* styles/wheel-set-recommendations.css */
.wheel-set-quick-form {
  margin-bottom: 14px;
  display: grid;
  gap: 15px;
}
.wheel-set-quick-intro {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.wheel-set-quick-intro h3,
.wheel-set-quick-results-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}
.wheel-set-quick-intro p,
.wheel-set-quick-results-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.wheel-set-quick-step {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.wheel-set-quick-chips .chip {
  flex: 1 1 92px;
}
.wheel-set-quick-subgroup {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}
.wheel-set-quick-details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8f9fc;
  overflow: hidden;
}
.wheel-set-quick-details summary {
  min-height: 46px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.wheel-set-quick-details summary::-webkit-details-marker {
  display: none;
}
.wheel-set-quick-details summary::after {
  content: "+";
  font-size: 19px;
  line-height: 1;
}
.wheel-set-quick-details[open] summary::after {
  content: "−";
}
.wheel-set-quick-details-body {
  padding: 0 13px 1px;
  border-top: 1px solid var(--line);
}
.wheel-set-quick-details-body .field:first-child {
  margin-top: 13px;
}
.wheel-set-manual-link {
  width: max-content;
  max-width: 100%;
  margin: -3px auto 0;
  justify-content: center;
}
.wheel-set-quick-results-head {
  margin: 4px 0 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.wheel-set-quick-results-head .saved-vehicle-toggle {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0;
}
.wheel-set-recommendation-list {
  display: grid;
  gap: 12px;
}
.wheel-set-recommendation-list + .info-card { margin-top: 14px; }
.wheel-set-recommendation {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.wheel-set-recommendation-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wheel-set-recommendation-head > strong {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 17px;
}
.wheel-set-recommendation-reason {
  margin: -2px 0 12px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #f4f7fc;
  color: #50617e;
  font-size: 10px;
  line-height: 1.45;
}
.wheel-set-recommendation-reason strong {
  color: var(--ink);
}
.wheel-set-recommendation-products {
  display: grid;
  gap: 6px;
}
.wheel-set-recommendation-product {
  min-width: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--surface-2);
}
.wheel-set-recommendation-product > img,
.wheel-set-recommendation-product > .cart-thumb-placeholder {
  width: 54px;
  height: 54px;
  min-height: 54px;
  object-fit: contain;
  border-radius: 11px;
  mix-blend-mode: multiply;
}
.wheel-set-recommendation-product > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.wheel-set-recommendation-product small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.wheel-set-recommendation-product strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
}
.wheel-set-recommendation-product em {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
}
.wheel-set-recommendation-product .wheel-set-recommendation-meta {
  color: #52617a;
  font-weight: 750;
}
.wheel-set-recommendation-product b {
  margin-top: 2px;
  color: var(--brand);
  font-size: 11px;
}
.wheel-set-recommendation-plus {
  width: 26px;
  height: 26px;
  margin: -4px auto;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.wheel-set-recommendation-stock {
  margin: 10px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.wheel-set-quick-actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.wheel-set-quick-selection-note {
  color: #28784b !important;
  font-weight: 800;
}
@media (max-width: 340px) {
  .wheel-set-recommendation-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .wheel-set-quick-chips .chip {
    flex-basis: 100%;
  }
}

/* styles/admin-overview.css */
/* Aggregate administrator overview. Values are inserted as text only. */
.page-heading-with-action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.page-heading-with-action > div { min-width: 0; }
.admin-entry {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #d9e0ee;
  border-radius: 11px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(35, 49, 80, .05);
}
.admin-entry:active { transform: scale(.97); background: #f1f4fa; }
.admin-entry[hidden] { display: none !important; }

.admin-dashboard { display: grid; gap: 12px; }
.admin-dashboard[hidden], .admin-loading[hidden], .admin-access-note[hidden] { display: none !important; }
.admin-loading {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.admin-loading-wheel {
  width: 22px;
  height: 22px;
  border: 2px solid #d4dbe7;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: admin-wheel-spin .8s linear infinite;
}
.admin-access-note {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: var(--soft-shadow);
}
.admin-access-note-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef2f8;
  color: var(--brand);
}
.admin-access-note-icon svg { width: 24px; height: 24px; }
.admin-access-note h3 { margin: 0; font-size: 17px; }
.admin-access-note p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.admin-access-retry { margin: 14px auto 0; }
.admin-access-retry[hidden] { display: none !important; }

.admin-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 1px 1px;
}
.admin-dashboard-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.admin-refresh {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dce2ec;
  border-radius: 11px;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
}
.admin-refresh:active { transform: rotate(-25deg) scale(.96); background: #f2f4f9; }
.admin-refresh:disabled { opacity: .55; cursor: default; }
.admin-refresh svg { width: 18px; height: 18px; }

.admin-card {
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 49, 80, .045);
}
.admin-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-card-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eef2f8;
  color: var(--brand);
}
.admin-card-icon.accent { background: #fff0f1; color: var(--accent); }
.admin-card-icon.success { background: #ebf7f0; color: var(--success); }
.admin-card-icon.warning { background: #fff5e6; color: var(--warning); }
.admin-card-icon svg { width: 22px; height: 22px; }
.admin-card-title { min-width: 0; flex: 1; }
.admin-card-title h3 { margin: 0; font-size: 14px; line-height: 1.18; }
.admin-card-title p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.25; }
.admin-primary {
  flex: 0 0 auto;
  min-width: 52px;
  margin: 0;
  text-align: right;
  font-size: 27px;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.035em;
}
.admin-primary strong { display: block; white-space: nowrap; }
.admin-primary span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 750; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid #edf0f5;
}
.admin-metrics-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-metric {
  min-width: 0;
  padding: 10px 8px 0 0;
}
.admin-metric + .admin-metric {
  padding-left: 9px;
  border-left: 1px solid #edf0f5;
}
.admin-metric strong { display: block; overflow: hidden; font-size: 14px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.admin-metric span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.28; }
.admin-statuses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f1f3f8;
  color: #5e6677;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}
.admin-status strong { color: var(--ink); font-size: 10px; }
.admin-status.progress { background: #eef3ff; color: #3d5a8b; }
.admin-status.done { background: #ebf7f0; color: #22774b; }
.admin-catalog-detail { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.admin-catalog-detail strong { color: var(--ink); }

.admin-disk-policy-card { border-color: #d8dfef; background: linear-gradient(145deg, #fff 0%, #f7f9ff 100%); }
.admin-policy-switch {
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  position: relative;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #b7c0d2;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.admin-policy-switch span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(27, 42, 73, .2);
  transition: transform .18s ease;
}
.admin-policy-switch.is-on { background: var(--success); }
.admin-policy-switch.is-on span { transform: translateX(20px); }
.admin-policy-switch:active:not(:disabled) { transform: scale(.95); }
.admin-policy-switch:disabled { cursor: default; opacity: .58; }
.admin-policy-copy { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.admin-policy-form { display: grid; gap: 10px; margin-top: 12px; }
.admin-policy-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.admin-policy-fields label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 750; line-height: 1.2; }
.admin-policy-fields .control { min-width: 0; height: 37px; padding: 8px; font-size: 13px; font-weight: 800; }
.admin-policy-example { margin: 0; color: #53617b; font-size: 10px; line-height: 1.35; }
.admin-policy-status { min-height: 14px; margin: 0; color: var(--success); font-size: 10px; font-weight: 700; line-height: 1.35; }
.admin-policy-status[data-tone="error"] { color: #b9364a; }
.admin-policy-form .btn { margin-top: 1px; }

.admin-daily-card { padding-bottom: 8px; }
.admin-daily-card .admin-card-head { margin-bottom: 8px; }
.admin-daily-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.admin-daily-table th, .admin-daily-table td { padding: 9px 4px; border-top: 1px solid #edf0f5; text-align: right; font-size: 11px; }
.admin-daily-table th { color: var(--muted); font-size: 9px; font-weight: 750; }
.admin-daily-table th:first-child, .admin-daily-table td:first-child { width: 38%; padding-left: 0; text-align: left; }
.admin-daily-table th:last-child, .admin-daily-table td:last-child { padding-right: 0; }
.admin-daily-table td { font-weight: 800; }
.admin-footnote { margin: 0 2px; color: var(--muted); font-size: 10px; line-height: 1.4; }

@keyframes admin-wheel-spin { to { transform: rotate(360deg); } }

@media (max-width: 340px) {
  .admin-card { padding: 13px; }
  .admin-primary { min-width: 46px; font-size: 24px; }
  .admin-primary span { font-size: 8px; }
  .admin-metric { padding-right: 5px; }
  .admin-metric + .admin-metric { padding-left: 6px; }
  .admin-metric strong { font-size: 13px; }
  .admin-policy-fields { gap: 6px; }
  .admin-policy-fields .control { padding: 7px 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-loading-wheel { animation: none; }
}
