/* ============================================================
   VOZILCA.mk — design system
   ============================================================ */

:root {
  --font: 'Manrope', system-ui, -apple-system, sans-serif;

  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --elev: #ffffff;
  --text: #0e1116;
  --text-2: #4b5563;
  --text-3: #8a94a3;
  --border: #e5e8ee;
  --border-2: #d6dbe3;

  --accent: #2957ff;
  --accent-strong: #1e46e0;
  --accent-soft: rgba(41, 87, 255, 0.09);
  --accent-text: #2451f0;
  --on-accent: #ffffff;

  --green: #0c9d61;
  --green-soft: rgba(12, 157, 97, 0.1);
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.12);
  --red: #e11d48;
  --red-soft: rgba(225, 29, 72, 0.1);

  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.05);
  --shadow-md: 0 6px 24px -8px rgba(14, 17, 22, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(14, 17, 22, 0.25);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --header-h: 68px;
  --maxw: 1240px;

  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #0b0d11;
  --surface: #12151b;
  --surface-2: #181c24;
  --elev: #1a1f28;
  --text: #f2f4f8;
  --text-2: #aab3c0;
  --text-3: #6b7482;
  --border: #222835;
  --border-2: #2e3646;

  --accent: #4d7dff;
  --accent-strong: #6b93ff;
  --accent-soft: rgba(77, 125, 255, 0.14);
  --accent-text: #7da2ff;
  --on-accent: #ffffff;

  --green: #2dd48b;
  --green-soft: rgba(45, 212, 139, 0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.13);
  --red: #fb7185;
  --red-soft: rgba(251, 113, 133, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 28px 70px -24px rgba(0, 0, 0, 0.7);

  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::placeholder { color: var(--text-3); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 10px;
}
.logo {
  display: flex; align-items: baseline; gap: 1px;
  font-weight: 800; font-size: 24px; letter-spacing: -0.5px;
  margin-right: 18px; flex-shrink: 0;
}
.logo .dot { color: var(--accent); }
.logo .tld { font-size: 14px; font-weight: 700; color: var(--text-3); letter-spacing: 0; }

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 14px; border-radius: 99px;
  font-weight: 600; font-size: 14px; color: var(--text-2);
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent-text); }
.nav a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav a svg { width: 15px; height: 15px; flex-shrink: 0; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2); position: relative;
  transition: background 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .badge {
  position: absolute; top: 4px; right: 3px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--accent); color: var(--on-accent);
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
}

.avatar-btn {
  width: 40px; height: 40px; border-radius: 12px; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px;
  font-weight: 700; font-size: 14px; line-height: 1;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--text-3); color: var(--text); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-soft:hover { background: var(--border); }
.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------- Hero ---------- */
.hero-photo {
  position: relative; min-height: 460px;
  display: flex; align-items: center;
  /* the search card lifts into this space — must not be clipped */
  padding-bottom: 96px;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 60%;
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.72) 0%, rgba(8, 10, 14, 0.35) 55%, rgba(8, 10, 14, 0.15) 100%),
    linear-gradient(180deg, transparent 55%, rgba(8, 10, 14, 0.55) 100%);
}
.hero-photo-inner { position: relative; z-index: 2; width: 100%; }
.hero-photo h1 {
  color: #fff; font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.06; max-width: 640px;
}
.hero-photo h1 .hl { color: #9db9ff; }
.hero-photo .sub { margin-top: 12px; color: rgba(255, 255, 255, 0.82); font-size: 17px; font-weight: 600; max-width: 520px; }

/* must not clip — the search panel lifts above this section's box */
section.hero-overlap { padding: 0 0 10px; overflow: visible; }
section.hero-overlap .search-panel { margin-top: -150px; position: relative; z-index: 5; }

.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 46px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 15% -10%, var(--accent-soft), transparent 65%),
    radial-gradient(600px 300px at 95% 10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.08;
  max-width: 720px;
}
.hero h1 .hl { color: var(--accent-text); }
.hero p.sub { margin-top: 14px; font-size: 17px; color: var(--text-2); max-width: 560px; }

.search-panel {
  margin-top: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.search-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1fr auto;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-3); }
.field select, .field input[type='text'], .field input[type='number'], .field input[type='tel'], .field textarea {
  height: 46px; padding: 0 14px;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 13px;
  font-weight: 600; font-size: 14px; width: 100%;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  appearance: none;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.search-panel .btn-search { height: 46px; padding: 0 26px; border-radius: 13px; }

/* single keyword search bar */
.search-bar {
  display: flex; align-items: center; gap: 11px;
  height: 52px; padding: 0 18px; margin-bottom: 12px;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 15px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
.search-bar svg { width: 19px; height: 19px; color: var(--text-3); flex-shrink: 0; }
.search-bar input { flex: 1; background: none; border: none; outline: none; font-weight: 600; font-size: 15px; min-width: 0; }

.sg-hero { grid-template-columns: 1.2fr 1.2fr 1.3fr 1.3fr; }
.f-pair .pair { display: flex; align-items: center; gap: 6px; }
.f-pair .pair select { flex: 1; min-width: 0; padding-right: 28px; background-position: right 9px center; }
.pair-sep { color: var(--text-3); font-weight: 700; flex-shrink: 0; }
.search-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease; margin-top: 0; }
.search-more.open { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.search-more > .sg-more { overflow: hidden; min-height: 0; }
.sg-more { grid-template-columns: repeat(3, 1fr); }

.search-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.search-foot .detail-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent-text); }
.search-foot .detail-link svg { width: 16px; height: 16px; }
.search-foot .detail-link:hover { text-decoration: underline; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Category tabs (hero search, results, wizard) */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid transparent;
  font-size: 13.5px; font-weight: 700; color: var(--text-2);
  transition: all 0.15s;
}
.cat-tab svg { width: 19px; height: 19px; }
.cat-tab:hover { color: var(--text); border-color: var(--border-2); }
.cat-tab.active { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--accent) 55%, transparent); }

/* Category tiles on home */
.cat-tile { padding: 20px 18px; }
.cat-tile svg { width: 40px; height: 40px; }
.cat-tile span { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.cat-tile small { font-size: 12px; font-weight: 600; color: var(--text-3); }
.cat-row { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Budget tiles */
.budget-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.budget-tile {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 18px; transition: all 0.15s; font-weight: 750; font-size: 14px;
}
.budget-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.budget-tile svg { width: 24px; height: 24px; color: var(--accent-text); flex-shrink: 0; }
.budget-tile span { display: flex; flex-direction: column; gap: 1px; }
.budget-tile small { font-size: 12px; font-weight: 600; color: var(--text-3); }

/* Trust section */
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.trust-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px 22px;
}
.trust-card svg { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 12px; }
.trust-card b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -0.2px; margin-bottom: 6px; }
.trust-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* Mobile bottom nav */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 5px 2px; color: var(--text-3); font-size: 10.5px; font-weight: 700;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.on { color: var(--accent-text); }
.bottom-nav .bn-big { color: var(--text-2); margin-top: -20px; }
.bottom-nav .bn-fab {
  width: 48px; height: 48px; border-radius: 99px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 65%, transparent);
}
.bottom-nav .bn-fab svg { width: 22px; height: 22px; }
.bottom-nav button {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 5px 2px; color: var(--text-3); font-size: 10.5px; font-weight: 700; position: relative;
}
.bottom-nav button svg { width: 22px; height: 22px; }
.bottom-nav button.on { color: var(--accent-text); }
.bn-dot {
  position: absolute; top: 4px; right: 50%; margin-right: -14px;
  width: 7px; height: 7px; border-radius: 99px; background: var(--accent);
}

/* mobile "more" bottom sheet */
.sheet-back {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 10, 14, 0.55); backdrop-filter: blur(5px);
  display: flex; align-items: flex-end; animation: fadeIn 0.18s ease;
}
.sheet {
  width: 100%; background: var(--elev);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px;
  animation: sheetUp 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-grip { width: 40px; height: 4px; border-radius: 99px; background: var(--border-2); margin: 4px auto 12px; }
.sheet-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 14px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 700; color: var(--text);
  transition: background 0.15s;
}
.sheet-item:active { background: var(--surface-2); }
.sheet-item svg { width: 21px; height: 21px; color: var(--accent-text); flex-shrink: 0; }
.sheet-item span { flex: 1; }
.sheet-badge {
  padding: 3px 9px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 11px; font-weight: 800;
}

.filter-toggle { display: none; }
.chip {
  padding: 7px 14px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid transparent;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--border-2); color: var(--text); }
.chip.active { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }

.hero-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.hero-stat span { font-size: 13px; color: var(--text-3); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.6px; }
.section-head .see-all { font-size: 14px; font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.section-head .see-all:hover { text-decoration: underline; }

/* Make tiles */
.makes-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.make-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 10px 13px; text-align: center;
  transition: all 0.15s; display: block;
}
.make-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.make-tile .m-ini {
  width: 44px; height: 44px; margin: 0 auto 9px; border-radius: 13px;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--text-2); letter-spacing: -0.5px;
}
.make-tile b { display: block; font-size: 13px; font-weight: 700; }
.make-tile span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }

/* Body-type tiles */
.body-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.body-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px; display: flex; align-items: center; gap: 12px;
  transition: all 0.15s; font-weight: 700; font-size: 13.5px;
}
.body-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.body-tile svg { width: 34px; height: 22px; color: var(--accent-text); flex-shrink: 0; }

/* ---------- Listing cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.similar-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .similar-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.card-media { position: relative; aspect-ratio: 16/10.5; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.tag {
  padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800;
  backdrop-filter: blur(8px); letter-spacing: 0.3px;
}
.tag-featured { background: rgba(14, 17, 22, 0.72); color: #ffd25e; }
.tag-new { background: rgba(12, 157, 97, 0.85); color: #fff; }
.tag-video { background: rgba(14, 17, 22, 0.72); color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.tag-video svg { width: 11px; height: 11px; }
.card .fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 99px;
  background: rgba(14, 17, 22, 0.45); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background 0.15s, transform 0.12s;
}
.card .fav:hover { background: rgba(14, 17, 22, 0.7); transform: scale(1.08); }
.card .fav.on { color: #ff5678; background: rgba(14, 17, 22, 0.7); }
.card .fav svg { width: 17px; height: 17px; }
.card-count {
  position: absolute; bottom: 10px; right: 10px;
  padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 700;
  background: rgba(14, 17, 22, 0.6); color: #fff; backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 5px;
}
.card-count svg { width: 12px; height: 12px; }

.card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-title { font-size: 15px; font-weight: 750; letter-spacing: -0.2px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-specs { display: flex; flex-wrap: wrap; gap: 5px; }
.card-specs .spec-chip {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 7px;
  background: var(--surface-2); color: var(--text-2);
  font-size: 11px; font-weight: 700; letter-spacing: -0.1px; white-space: nowrap;
}
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border); }
.card-price { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.card-price small { font-size: 12px; font-weight: 700; color: var(--text-3); margin-left: 2px; }
.card-loc { font-size: 12px; color: var(--text-3); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.card-loc svg { width: 12px; height: 12px; }
.card-seller-row { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.mini-logo {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 8.5px; font-weight: 800;
}
.verif { color: var(--accent-text); display: inline-flex; }
.verif svg { width: 13px; height: 13px; }

/* horizontal scroll strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 286px; gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip .card { scroll-snap-align: start; }

/* ---------- Dealer cards ---------- */
.dealers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dealer-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all 0.18s; display: block;
}
.dealer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dealer-card .dc-cover { height: 110px; background-size: cover; background-position: center; position: relative; }
.dealer-card .dc-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,12,16,0.55)); }
.dealer-card .dc-body { padding: 0 18px 18px; margin-top: -26px; position: relative; }
.dc-logo {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
  border: 3px solid var(--surface); box-shadow: var(--shadow-sm);
}
.dc-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.dealer-card h3 { margin-top: 10px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.3px; display: flex; align-items: center; gap: 6px; }
.dealer-card .dc-tag { font-size: 13px; color: var(--text-2); font-weight: 600; margin-top: 2px; }
.dealer-card .dc-meta { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.dealer-card .dc-meta b { color: var(--text); font-weight: 800; }

/* ---------- Search page ---------- */
.results-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; padding: 26px 0 60px; }

.filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin;
}
.filters h3 { font-size: 15px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.filters h3 .clear { font-size: 12.5px; color: var(--accent-text); font-weight: 700; cursor: pointer; }
.f-group { display: flex; flex-direction: column; gap: 8px; }
.f-group > label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-3); }
.f-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; padding: 3px 0; }
.f-check input { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }

.results-main { min-width: 0; }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.results-bar h1 { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; margin-right: auto; }
.results-bar .count { color: var(--text-3); font-weight: 700; font-size: 14px; }
.sort-select { height: 40px; padding: 0 34px 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); font-weight: 700; font-size: 13.5px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.active-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 700; }
.pill button { display: flex; color: inherit; opacity: 0.7; }
.pill button:hover { opacity: 1; }
.pill svg { width: 12px; height: 12px; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--text-3); }
.empty-state svg { width: 54px; height: 54px; margin: 0 auto 14px; opacity: 0.5; }
.empty-state h3 { color: var(--text); font-size: 18px; font-weight: 800; margin-bottom: 6px; }

/* ---------- Listing detail ---------- */
.detail { padding: 24px 0 70px; }
.breadcrumbs { font-size: 13px; color: var(--text-3); font-weight: 600; margin-bottom: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent-text); }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.detail-main { min-width: 0; }

.gallery { border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--surface-2); }
.gallery-main { aspect-ratio: 16/9.5; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 99px;
  background: rgba(14,17,22,0.55); color: #fff; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.gallery-nav:hover { background: rgba(14,17,22,0.8); }
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; bottom: 14px; right: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(14,17,22,0.6); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.gallery-video-badge { position: absolute; bottom: 14px; left: 14px; padding: 6px 13px; border-radius: 99px; background: rgba(14,17,22,0.6); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); display: inline-flex; gap: 6px; align-items: center; }
.gallery-video-badge svg { width: 13px; height: 13px; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.thumbs img { width: 96px; height: 64px; object-fit: cover; border-radius: 9px; cursor: pointer; opacity: 0.6; transition: opacity 0.15s, outline 0.15s; outline: 2px solid transparent; outline-offset: -2px; }
.thumbs img.on { opacity: 1; outline-color: var(--accent); }
.thumbs img:hover { opacity: 1; }

.detail-title-row { margin-top: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-title-row h1 { font-size: 25px; font-weight: 800; letter-spacing: -0.7px; line-height: 1.2; }
.detail-sub { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: 13.5px; color: var(--text-3); font-weight: 600; }
.detail-sub span { display: inline-flex; align-items: center; gap: 5px; }
.detail-sub svg { width: 14px; height: 14px; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 7px; margin-top: 20px; }
.spec {
  background: var(--surface); border: 1px solid var(--border); border-radius: 11px;
  padding: 9px 11px;
}
.spec label { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-3); margin-bottom: 1px; }
.spec b { font-size: 13px; font-weight: 750; letter-spacing: -0.2px; }

.detail-section { margin-top: 28px; }
.detail-section h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 12px; }
.detail-desc { color: var(--text-2); white-space: pre-line; font-size: 15px; line-height: 1.65; }
.feat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feat { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 650; }
.feat svg { width: 14px; height: 14px; color: var(--green); }

/* Seller sidebar */
.side-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.side-sticky { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-big { font-size: 32px; font-weight: 800; letter-spacing: -1px; }
.price-big small { font-size: 16px; color: var(--text-3); font-weight: 700; }
/* discount — deliberately a fixed vivid crimson, not var(--red):
   the themed red is a pale pink in dark mode and reads washed out */
.tag-disc {
  background: #e11d48; color: #fff;
  box-shadow: 0 2px 10px -2px rgba(225, 29, 72, 0.7);
  backdrop-filter: none;
}
.disc-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 8px;
  background: #e11d48; color: #fff;
  font-size: 12.5px; font-weight: 800;
}
.old-price-row { font-size: 12.5px; color: var(--text-3); font-weight: 600; margin-top: 4px; }
.old-price-row s { color: var(--text-3); }
.card-price .old-price {
  font-size: 12.5px; font-weight: 700; color: var(--text-3);
  margin-right: 6px; letter-spacing: 0;
}
.price-mkd { font-size: 13px; color: var(--text-3); font-weight: 600; margin-top: 2px; }

.seller-box { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); margin-top: 16px; transition: background 0.15s; }
a.seller-box:hover { background: var(--border); }
.seller-box .s-logo { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; overflow: hidden; }
.seller-box .s-logo img { width: 100%; height: 100%; object-fit: cover; }
.seller-box b { display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 750; }
.seller-box span { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.contact-btns { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }

/* Price rating (mobile.de-style) */
.price-rating {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 6px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.1px;
  margin-left: 6px; vertical-align: 2px; white-space: nowrap;
  cursor: help;
}
.pr-top { background: var(--green-soft); color: var(--green); }
.pr-good { background: var(--green-soft); color: var(--green); }
.pr-fair { background: var(--accent-soft); color: var(--accent-text); }
.pr-high { background: var(--amber-soft); color: var(--amber); }

.price-eval { margin-top: 16px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); }
.pe-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pe-head .price-rating { margin-left: 0; font-size: 11px; padding: 4px 10px; cursor: default; }
.pe-ref { font-size: 12px; font-weight: 700; color: var(--text-3); margin-top: 8px; }
.pe-info {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--text-3);
  transition: color 0.15s;
}
.pe-info svg { width: 13px; height: 13px; }
.pe-info:hover, .pe-info.on { color: var(--accent-text); }

.pe-tip {
  margin-top: 10px; padding: 12px 13px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border);
  animation: viewIn 0.2s ease;
}
.pe-tip-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 800; color: var(--accent-text); margin-bottom: 6px;
}
.pe-tip-head svg { width: 15px; height: 15px; }
.pe-tip p { font-size: 12px; line-height: 1.55; color: var(--text-2); }
.pe-bar {
  position: relative; height: 7px; border-radius: 99px; margin-top: 14px;
  background: linear-gradient(90deg, var(--green) 0%, var(--accent) 55%, var(--amber) 100%);
}
.pe-fill { position: absolute; top: 0; left: 0; height: 100%; }
.pe-fill::after {
  content: ''; position: absolute; right: 0; top: 50%;
  width: 15px; height: 15px; border-radius: 99px;
  transform: translate(50%, -50%);
  background: var(--text); box-shadow: 0 0 0 3px var(--surface-2);
}
.pe-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; font-weight: 700; color: var(--text-3); }
.pe-note { margin-top: 9px; font-size: 12.5px; color: var(--text-2); line-height: 1.45; }

.finance-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 13px 14px; border-radius: var(--r-md); border: 1px dashed var(--border-2); }
.finance-row svg { width: 20px; height: 20px; color: var(--accent-text); flex-shrink: 0; }
.finance-row b { display: block; font-size: 14.5px; font-weight: 800; }
.finance-row small { font-size: 11.5px; color: var(--text-3); font-weight: 600; }

/* Dealer location — embedded map */
.map-card { border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.map-frame { display: block; width: 100%; height: 190px; border: 0; filter: saturate(0.9); }
[data-theme='dark'] .map-frame { filter: invert(0.92) hue-rotate(180deg) saturate(0.75) brightness(0.95); }
.map-foot { display: flex; align-items: center; gap: 10px; padding: 12px 13px; }
.map-foot > svg { width: 18px; height: 18px; color: var(--accent-text); flex-shrink: 0; }
.map-foot div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.map-foot b { font-size: 12.5px; font-weight: 800; }
.map-foot span { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.map-open {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--text-3); transition: all 0.15s;
}
.map-open:hover { color: var(--accent-text); }
.map-open svg { width: 16px; height: 16px; }

/* Dealer address card */
.address-card { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); }
.address-card .ac-map {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-text);
}
.address-card .ac-map svg { width: 20px; height: 20px; }
.address-card .ac-body { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.address-card b { font-size: 13px; font-weight: 800; }
.address-card span { color: var(--text-2); font-weight: 600; }
.address-card a { color: var(--accent-text); font-weight: 700; font-size: 12.5px; margin-top: 3px; }
.address-card a:hover { text-decoration: underline; }
.seller-box .sb-addr { display: flex; align-items: flex-start; gap: 4px; margin-top: 2px; font-size: 12px; }
.seller-box .sb-addr svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 3px; }

.safety-note { font-size: 12px; color: var(--text-3); line-height: 1.5; display: flex; gap: 9px; }
.safety-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--amber); margin-top: 1px; }

/* ---------- Dealer profile ---------- */
.profile-hero { position: relative; }
.profile-cover { height: 260px; background-size: cover; background-position: center; position: relative; }
.profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,0.1) 30%, rgba(10,12,16,0.62)); }
.profile-cover.cover-plain {
  height: 150px;
  background: radial-gradient(600px 200px at 20% 0%, var(--accent-soft), transparent 70%), var(--surface-2);
}
.profile-cover.cover-plain::after { display: none; }
.profile-head {
  max-width: var(--maxw); margin: -58px auto 0; padding: 0 24px; position: relative; z-index: 2;
  display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap;
}
.profile-logo {
  width: 108px; height: 108px; border-radius: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 32px;
  border: 4px solid var(--bg); box-shadow: var(--shadow-md); overflow: hidden;
}
.profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-id { padding-bottom: 6px; min-width: 220px; }
.profile-id h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.7px; display: flex; align-items: center; gap: 9px; }
.profile-id .p-tagline { color: var(--text-2); font-weight: 600; margin-top: 3px; }
.profile-actions { margin-left: auto; display: flex; gap: 10px; padding-bottom: 8px; flex-wrap: wrap; }

.badge-official { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 800; white-space: nowrap; }
.badge-official svg { width: 13px; height: 13px; }
.badge-private { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 800; }

.profile-layout { display: grid; grid-template-columns: 330px 1fr; gap: 24px; align-items: start; padding: 28px 0 70px; }
.profile-about { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.about-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--text-2); }
.about-item svg { width: 17px; height: 17px; color: var(--text-3); flex-shrink: 0; margin-top: 2px; }
.about-item a { color: var(--accent-text); }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.p-stat { background: var(--surface-2); border-radius: var(--r-md); padding: 12px 8px; text-align: center; }
.p-stat b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.p-stat span { font-size: 11px; font-weight: 700; color: var(--text-3); }

.profile-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.profile-tabs button { padding: 11px 18px; font-weight: 750; font-size: 14px; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.profile-tabs button.on { color: var(--text); border-color: var(--accent); }

/* ---------- Sell wizard ---------- */
.wizard { max-width: 760px; margin: 0 auto; padding: 36px 24px 80px; }
.wizard-head { text-align: center; margin-bottom: 28px; }
.wizard-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; }
.wizard-head p { color: var(--text-2); margin-top: 6px; }
.steps { display: flex; justify-content: center; gap: 0; margin: 26px 0 30px; }
.step { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.step .s-dot {
  width: 30px; height: 30px; border-radius: 99px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
  transition: all 0.2s;
}
.step.on { color: var(--text); }
.step.on .s-dot { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.step.done .s-dot { background: var(--green-soft); color: var(--green); }
.step-sep { width: 44px; height: 2px; background: var(--border); margin: 0 10px; align-self: center; }

.wizard-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow-sm); }
.wizard-card h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 4px; }
.wizard-card .w-sub { color: var(--text-3); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span2 { grid-column: span 2; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }

/* dropzone */
.dropzone {
  border: 2px dashed var(--border-2); border-radius: var(--r-lg);
  padding: 36px 20px; text-align: center; cursor: pointer;
  transition: all 0.15s; color: var(--text-2);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { width: 38px; height: 38px; margin: 0 auto 10px; color: var(--accent-text); }
.dropzone b { display: block; font-size: 15px; font-weight: 750; color: var(--text); }
.dropzone span { font-size: 13px; }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.upload-thumb { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.upload-thumb img, .upload-thumb video { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb .rm {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 99px;
  background: rgba(14,17,22,0.65); color: #fff; display: flex; align-items: center; justify-content: center;
}
.upload-thumb .rm svg { width: 12px; height: 12px; }
.upload-thumb .main-tag { position: absolute; bottom: 5px; left: 5px; font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: #fff; }
.upload-thumb .vid-tag { position: absolute; bottom: 5px; left: 5px; font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: rgba(14,17,22,0.75); color: #fff; }

.fld-hint { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 600; margin-top: 1px; }

/* segmented yes/no control */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-opt {
  flex: 1; min-width: 150px;
  padding: 13px 16px; border-radius: 13px;
  background: var(--surface-2); border: 2px solid transparent;
  font-size: 14px; font-weight: 700; color: var(--text-2);
  transition: all 0.15s;
}
.seg-opt:hover { border-color: var(--border-2); color: var(--text); }
.seg-opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }

.feat-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-picker .chip.active { background: var(--accent); color: var(--on-accent); }

/* review summary */
.review-summary { display: flex; flex-direction: column; gap: 10px; }
.review-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.review-row:last-child { border: none; }
.review-row span { color: var(--text-3); font-weight: 600; }
.review-row b { font-weight: 750; text-align: right; }

/* ---------- Onboarding ---------- */
.onboard { max-width: 680px; margin: 0 auto; padding: 44px 24px 80px; }
.back-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px 8px 10px; margin-bottom: 14px; border-radius: 99px;
  font-size: 13.5px; font-weight: 700; color: var(--text-2);
  background: var(--surface-2); transition: all 0.15s;
}
.back-link:hover { color: var(--text); background: var(--border); }
.back-link svg { width: 15px; height: 15px; }

.onboard h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; text-align: center; }
.onboard .ob-sub { text-align: center; color: var(--text-2); margin: 8px 0 30px; }
.type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-card {
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-xl);
  padding: 26px 22px; cursor: pointer; text-align: left;
  transition: all 0.15s; position: relative;
}
.type-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.type-card.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.type-card .t-icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.type-card .t-icon svg { width: 26px; height: 26px; }
.type-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.type-card p { font-size: 13.5px; color: var(--text-2); margin-top: 6px; line-height: 1.5; }
.type-card .t-check { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 99px; border: 2px solid var(--border-2); transition: all 0.15s; }
.type-card.on .t-check { border-color: var(--accent); background: var(--accent); }
.type-card.on .t-check::after { content: ''; position: absolute; inset: 5px; border-radius: 99px; background: #fff; }

.upload-inline { display: flex; align-items: center; gap: 14px; }
.upload-inline .preview {
  width: 76px; height: 76px; border-radius: 20px; background: var(--surface-2);
  border: 1px dashed var(--border-2); overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--text-3); flex-shrink: 0;
}
.upload-inline .preview.cover-shape { width: 150px; height: 76px; border-radius: 14px; }
.upload-inline .preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-inline .preview svg { width: 22px; height: 22px; }

/* ---------- AI assistant (quiz) ---------- */
.ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 12.5px; font-weight: 800;
}
.ai-pill svg { width: 15px; height: 15px; }
.quiz-head { text-align: center; }
.quiz-head h1 { margin-top: 14px; }
.quiz-progress { height: 5px; border-radius: 99px; background: var(--surface-2); margin: 20px 0 8px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width 0.3s ease; }
.quiz-meta { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-3); margin-bottom: 20px; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.quiz-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 2px solid var(--border);
  font-size: 15px; font-weight: 700; text-align: left;
  transition: all 0.15s;
}
.quiz-opt:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quiz-opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.qo-icon { display: flex; color: var(--accent-text); }
.qo-icon svg { width: 26px; height: 26px; }

.ai-banner {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px; border-radius: var(--r-xl);
  background:
    radial-gradient(520px 200px at 8% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  transition: all 0.18s; flex-wrap: wrap;
}
.ai-banner:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aib-icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.aib-icon svg { width: 26px; height: 26px; }
.aib-text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.aib-text b { font-size: 17px; font-weight: 800; letter-spacing: -0.4px; }
.aib-text span { font-size: 13.5px; color: var(--text-2); font-weight: 600; }

/* recommendation cards */
.rec-list { display: flex; flex-direction: column; gap: 14px; }
.rec-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all 0.18s;
}
.rec-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-2); }
.rec-media { position: relative; display: block; background: var(--surface-2); }
.rec-media img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.rec-best {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 11px; border-radius: 99px;
  background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 800;
}
.rec-body { padding: 16px 18px; display: flex; flex-direction: column; }
.rec-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.rec-top h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.3; }
.rec-match { text-align: center; flex-shrink: 0; cursor: help; }
.rec-match b { display: block; font-size: 22px; font-weight: 800; color: var(--accent-text); letter-spacing: -0.8px; }
.rec-match span { font-size: 10px; font-weight: 700; color: var(--text-3); }
.rec-reasons { list-style: none; display: flex; flex-direction: column; gap: 5px; margin: 4px 0 12px; }
.rec-reasons li { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.rec-reasons svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.rec-reasons .ok svg { color: var(--green); }
.rec-reasons .warn { color: var(--text-3); }
.rec-reasons .warn svg { color: var(--amber); }
.rec-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--border); }
.rec-disclaimer { display: flex; gap: 8px; margin-top: 20px; font-size: 12px; color: var(--text-3); line-height: 1.5; }
.rec-disclaimer svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }

/* ---------- Compare ---------- */
.cmp-btn {
  position: absolute; top: 50px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 99px;
  background: rgba(14, 17, 22, 0.45); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background 0.15s, transform 0.12s;
}
.cmp-btn:hover { background: rgba(14, 17, 22, 0.72); transform: scale(1.08); }
.cmp-btn.on { background: var(--accent); }
.cmp-btn svg { width: 16px; height: 16px; }

.compare-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(140%);
  z-index: 70; width: min(720px, calc(100vw - 32px));
  background: var(--elev); border: 1px solid var(--border-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.compare-bar.show { transform: translateX(-50%) translateY(0); }
.cb-inner { display: flex; align-items: center; gap: 14px; padding: 12px 14px; flex-wrap: wrap; }
.cb-thumbs { display: flex; gap: 7px; }
.cb-thumb { position: relative; width: 54px; height: 40px; border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.cb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cb-thumb button {
  position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 99px;
  background: rgba(14, 17, 22, 0.75); color: #fff; display: flex; align-items: center; justify-content: center;
}
.cb-thumb button svg { width: 8px; height: 8px; }
.cb-text { flex: 1; min-width: 120px; display: flex; flex-direction: column; }
.cb-text b { font-size: 13.5px; font-weight: 800; }
.cb-text span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.cb-actions { display: flex; gap: 8px; }
.disabled-soft { opacity: 0.45; pointer-events: none; }

.cmp-page { padding: 26px 24px 80px; }
.cmp-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cmp-header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.7px; }
.cmp-header p { font-size: 13.5px; color: var(--text-3); font-weight: 600; margin-top: 5px; }
.cmp-header-actions { display: flex; gap: 8px; }
.best-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 5px; vertical-align: -3px;
  background: var(--green-soft); color: var(--green); font-size: 10px;
}

.cmp-scroll {
  overflow-x: auto; overflow-y: visible;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); scrollbar-width: thin;
}
.cmp-table {
  border-collapse: separate; border-spacing: 0;
  width: 100%; table-layout: fixed;
  min-width: calc(190px + var(--cols) * 220px);
}
.cmp-table col { width: 220px; }
.cmp-table col.cmp-labelcol { width: 190px; }
.cmp-table tbody th {
  position: sticky; left: 0; z-index: 2;
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 13px 16px; text-align: left; vertical-align: middle;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--text-3);
}
.rw-hint { display: inline-flex; vertical-align: -2px; margin-left: 5px; color: var(--text-3); cursor: help; opacity: 0.65; }
.rw-hint svg { width: 12px; height: 12px; }

/* vehicle header cards */
.cmp-corner {
  position: sticky; left: 0; top: 0; z-index: 4;
  background: var(--surface-2); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  vertical-align: bottom; padding: 16px !important;
}
.cmp-corner span { font-size: 12px; font-weight: 800; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.cmp-head {
  position: sticky; top: 0; z-index: 3;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  padding: 14px 10px !important; vertical-align: top;
}
.ch-card { position: relative; display: flex; flex-direction: column; }
.ch-img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden; background: var(--surface);
}
.ch-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-body { padding: 10px 4px 2px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.ch-title {
  font-size: 13.5px; font-weight: 750; line-height: 1.35; letter-spacing: -0.2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ch-title:hover { color: var(--accent-text); }
.ch-price { font-size: 17px; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: baseline; gap: 7px; }
.ch-price s { font-size: 12px; font-weight: 600; color: var(--text-3); }
.ch-gen { font-size: 11px; font-weight: 700; color: var(--text-3); }
.cmp-head .price-rating { margin-left: 0; }
.cmp-rm {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 26px; height: 26px; border-radius: 99px;
  background: rgba(14, 17, 22, 0.62); backdrop-filter: blur(6px); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.cmp-rm:hover { background: rgba(225, 29, 72, 0.9); }
.cmp-rm svg { width: 12px; height: 12px; }

/* body cells */
.cmp-table tbody td {
  padding: 13px 16px; text-align: left; vertical-align: middle;
  font-size: 13.5px; font-weight: 650; border-bottom: 1px solid var(--border);
}
.cmp-table tbody th { border-bottom: 1px solid var(--border); }
.cmp-table tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.cmp-table td.num { font-variant-numeric: tabular-nums; }
.cmp-table td .sub { font-size: 11.5px; font-weight: 600; color: var(--text-3); display: block; margin-top: 1px; }
.cmp-table td .dash { color: var(--text-3); font-weight: 600; }

/* winner cell */
.cmp-table td.best {
  color: var(--green); font-weight: 800;
  background: color-mix(in srgb, var(--green) 9%, transparent);
  box-shadow: inset 3px 0 0 var(--green);
}
.cmp-table td.best::after { content: '★'; font-size: 10px; margin-left: 6px; vertical-align: 1px; }
.cmp-table td.best .sub { color: color-mix(in srgb, var(--green) 75%, var(--text-3)); }

/* group separator rows */
.cmp-group th {
  position: sticky; left: 0; z-index: 2;
  background: var(--surface-2) !important; border-right: none !important;
  padding: 11px 16px !important;
  font-size: 12px !important; font-weight: 800 !important; letter-spacing: 0.6px;
  color: var(--text) !important; text-transform: uppercase;
}
.cmp-group th span {
  margin-left: 9px; padding: 2px 8px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 10px; font-weight: 800; letter-spacing: 0.2px; text-transform: none;
}
.cmp-actions td { padding: 16px !important; border-bottom: none !important; }
.cmp-actions th { border-bottom: none !important; }
.cmp-table .neg { color: var(--amber); font-weight: 700; }
.cmp-link { color: var(--accent-text); font-weight: 700; }
.cmp-link:hover { text-decoration: underline; }
.watch-note { display: block; font-size: 12px; font-weight: 600; line-height: 1.45; color: var(--text-2); }
.cmp-table tbody tr:has(.watch-note) td { vertical-align: top; }
.rel-dots { letter-spacing: 1px; color: var(--accent-text); font-size: 11px; }
.rel-dots i { color: var(--border-2); font-style: normal; }
.stars { color: #f5b301; letter-spacing: 1px; font-size: 13px; }
.stars i { color: var(--border-2); font-style: normal; }

/* ---------- Modal / toast ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 14, 0.55);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn 0.18s ease;
}
.modal {
  background: var(--elev); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 28px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
  animation: popIn 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  max-height: 88vh; overflow-y: auto;
}
.modal h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 6px; }
.modal .m-sub { color: var(--text-2); font-size: 14px; margin-bottom: 18px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.94) translateY(8px); } }

.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--text); color: var(--bg);
  padding: 12px 22px; border-radius: 99px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 9px;
  animation: toastIn 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.toast svg { width: 16px; height: 16px; color: var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 30px; color: var(--text-3); font-size: 13.5px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer .logo { font-size: 19px; }
.footer nav { display: flex; gap: 20px; font-weight: 600; }
.footer nav a:hover { color: var(--text); }

/* ---------- Utility ---------- */
.img-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--surface-2), var(--border)); color: var(--text-3); }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.fade-in { animation: viewIn 0.28s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
.muted { color: var(--text-3); }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.open { display: flex; }
  .filter-toggle { display: inline-flex; }
  .sg-hero { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .sg-hero .f-make, .sg-hero .f-model { grid-column: span 2; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-about { position: static; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-panel .btn-search { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 36px 0 30px; }
  .hero-photo { min-height: 320px; }
  .hero-photo-inner { padding-bottom: 66px; }
  .hero-overlap .search-panel { margin-top: -48px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); }
  body { padding-bottom: 78px; }
  .header .btn-primary, .header .avatar-btn, .header .btn-ghost.btn-sm { display: none; }
  .toast-wrap { bottom: 92px; }
  /* horizontal scrollers get a visible thin track so it's clear they scroll */
  .cat-tabs {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 9px;
    scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
  }
  .cat-tabs::-webkit-scrollbar { height: 4px; }
  .cat-tabs::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 99px; }
  .cat-tabs::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }
  .cat-tab { flex-shrink: 0; }

  .strip, .cmp-scroll, .thumbs {
    scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
  }
  .strip::-webkit-scrollbar, .cmp-scroll::-webkit-scrollbar, .thumbs::-webkit-scrollbar { height: 4px; }
  .strip::-webkit-scrollbar-track, .cmp-scroll::-webkit-scrollbar-track, .thumbs::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 99px; }
  .strip::-webkit-scrollbar-thumb, .cmp-scroll::-webkit-scrollbar-thumb, .thumbs::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }

  /* fading edge hints there is more content sideways */
  .scroll-hint { position: relative; }
  .scroll-hint::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 9px; width: 34px;
    background: linear-gradient(90deg, transparent, var(--bg));
    pointer-events: none; opacity: 1; transition: opacity 0.2s;
  }
  .scroll-hint.at-end::after { opacity: 0; }
  .rec-card { grid-template-columns: 1fr; }
  .rec-media img { min-height: 200px; }

  /* compare: fit ~2 columns on a phone instead of long sideways scrolling */
  .cmp-page { padding: 18px 12px 80px; }
  .cmp-header h1 { font-size: 21px; }
  .cmp-table { min-width: calc(100px + var(--cols) * 132px); }
  .cmp-table col { width: 132px; }
  .cmp-table col.cmp-labelcol { width: 100px; }
  .cmp-table tbody th {
    padding: 10px 9px; font-size: 9.5px; letter-spacing: 0.2px; line-height: 1.3;
    white-space: normal; word-break: break-word;
  }
  .cmp-table tbody td { padding: 10px 9px; font-size: 12px; }
  .cmp-table td .sub { font-size: 10px; }
  .cmp-head { padding: 10px 6px !important; }
  .ch-body { padding: 8px 2px 2px; gap: 3px; }
  .ch-title { font-size: 11.5px; -webkit-line-clamp: 3; }
  .ch-price { font-size: 14px; }
  .ch-price s { font-size: 10px; }
  .ch-gen, .cmp-head .price-rating { font-size: 9px; }
  .cmp-corner { padding: 10px 9px !important; }
  .cmp-corner span { font-size: 9.5px; }
  .cmp-group th { padding: 9px 9px !important; font-size: 10.5px !important; }
  .cmp-group th span { display: block; margin: 3px 0 0; width: fit-content; }
  .watch-note { font-size: 10.5px; }
  .cmp-actions td { padding: 12px 6px !important; }
  .cmp-actions .btn { padding: 9px 8px; font-size: 11.5px; }
  .rw-hint { display: none; }
  .compare-bar { bottom: 84px; }
  .cb-inner { gap: 10px; padding: 10px 12px; }
  .cb-text { order: 3; width: 100%; flex: none; }
  .sg-hero { grid-template-columns: 1fr 1fr; }
  .sg-hero .f-make, .sg-hero .f-model { grid-column: span 2; }
  .sg-more { grid-template-columns: 1fr 1fr; }
  .search-panel { padding: 14px; border-radius: 20px; }
  .strip { grid-auto-columns: 78vw; }
  .side-sticky { gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
  .type-cards { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .search-panel .btn-search { grid-column: span 1; }
  .steps .step span.s-label { display: none; }
  .step-sep { width: 22px; }
  .profile-head { flex-direction: column; align-items: flex-start; }
  .profile-actions { margin-left: 0; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
}
