/* =============================================================
   Vehicle Roof Selector — vrs.css v5.5
   Author: Abhishek Garg — https://iamabhishekgarg.in/
   All colors & typography injected as CSS vars from Settings.
   Default font: Tahoma (system — zero extra network request).
   ============================================================= */

/* ── Default tokens (overridden by inline style from PHP) ── */
#vrs {
  /* Design */
  --gold:         #00C4DC;
  --gold-dk:      #0099AE;
  --gold-bg:      rgba(0,196,220,.09);
  --navy:         #0D2040;
  --bg:           #EBF8FA;
  --radius:       16px;

  /* Static tokens */
  --surface:      #fff;
  --surface-2:    #F0FBFC;
  --border:       #C8EDF2;
  --text:         #0A1929;
  --muted:        #4A6272;
  --dim:          #A8C8D0;
  --green:        #16a34a;
  --red:          #dc2626;

  --ease:         cubic-bezier(.4,0,.2,1);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
  --ease-out:     cubic-bezier(0,0,.2,1);
  --sh:           0 1px 3px rgba(0,100,120,.07), 0 4px 18px rgba(0,100,120,.08);
  --sh-hover:     0 4px 24px rgba(0,100,120,.18);
  --sh-active:    0 0 0 2px var(--gold), 0 8px 40px rgba(0,196,220,.25);
  --sh-focus:     0 0 0 3px rgba(0,196,220,.38);

  --card-w:       252px;
  --card-img-h:   188px;
  --card-ft-h:    56px;

  /* Typography — heading (--fh-*) */
  --font-head:    "Tahoma", sans-serif;
  --fh-size:      15px;
  --fh-weight:    700;
  --fh-style:     normal;
  --fh-deco:      none;
  --fh-lh:        1.2;
  --fh-ls:        0.06em;
  --fh-transform: uppercase;

  /* Typography — body (--fb-*) */
  --font-body:    "Tahoma", sans-serif;
  --fb-size:      14px;
  --fb-weight:    400;
  --fb-style:     normal;
  --fb-deco:      none;
  --fb-lh:        1.6;
  --fb-ls:        0em;
  --fb-transform: none;
}

/* ── Reset ── */
#vrs, #vrs * { box-sizing: border-box; }
#vrs img     { display: block; max-width: 100%; }
#vrs button  { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
#vrs a       { text-decoration: none; color: inherit; }
#vrs input, #vrs select { font-family: inherit; }
#vrs *:focus-visible { outline: none; box-shadow: var(--sh-focus); }

/* ── Root ── */
#vrs {
  font-family:  var(--font-body);
  font-size:    var(--fb-size);
  font-weight:  var(--fb-weight);
  font-style:   var(--fb-style);
  line-height:  var(--fb-lh);
  color:        var(--text);
  background:   var(--bg);
  width:        100%;
  overflow:     hidden;
  padding:      44px 0 64px;
  -webkit-font-smoothing: antialiased;
  position:     relative;
}

/* Top animated stripe */
#vrs::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #0D2040 0%, #00C4DC 40%, #00E5FF 65%, #0D2040 100%);
  background-size: 200%;
  animation: vrs-stripe 5s linear infinite;
  z-index: 30;
}
@keyframes vrs-stripe { to { background-position: 200% center; } }

#vrs .is-hidden { display: none !important; }

/* ── Heading text mixin — applied to everything using heading typo ── */
#vrs .vrs-h2,
#vrs .vrs-eyebrow,
#vrs .vrs-topbar__title,
#vrs .vrs-step-badge,
#vrs .vrs-card__name,
#vrs .vrs-grid__name,
#vrs .vrs-tab,
#vrs .vrs-back,
#vrs .vrs-breadcrumb strong,
#vrs .vrs-empty strong {
  font-family:     var(--font-head);
  font-weight:     var(--fh-weight);
  font-style:      var(--fh-style);
  text-decoration: var(--fh-deco);
  line-height:     var(--fh-lh);
  letter-spacing:  var(--fh-ls);
  text-transform:  var(--fh-transform);
}

/* ── Body text mixin ── */
#vrs .vrs-search-input,
#vrs .vrs-keyboard-hint,
#vrs .vrs-no-results,
#vrs .vrs-empty p,
#vrs .vrs-sub,
#vrs .vrs-toast {
  font-family:     var(--font-body);
  font-size:       var(--fb-size);
  font-weight:     var(--fb-weight);
  font-style:      var(--fb-style);
  text-decoration: var(--fb-deco);
  line-height:     var(--fb-lh);
  letter-spacing:  var(--fb-ls);
  text-transform:  var(--fb-transform);
}

/* ============================================================
   HERO
   ============================================================ */
#vrs .vrs-hero { text-align: center; padding: 0 28px 44px; }

#vrs .vrs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; color: var(--gold-dk); margin-bottom: 12px;
}
#vrs .vrs-eyebrow i { display: block; width: 24px; height: 1px; background: currentColor; opacity: .4; font-style: normal; }

#vrs .vrs-h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--navy); margin: 0 0 10px; padding: 0;
  border: none; background: transparent;
}
#vrs .vrs-sub { font-size: .95rem; color: var(--muted); max-width: 380px; margin: 0 auto; }

/* ============================================================
   PANEL + TOPBAR
   ============================================================ */
#vrs .vrs-panel { padding: 0; }
#vrs .vrs-panel:not(.is-hidden) { animation: vrs-panel-in .34s var(--ease-out) both; }
@keyframes vrs-panel-in { from { opacity:0; transform:translateX(18px); } to { opacity:1; transform:none; } }

#vrs .vrs-topbar {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap; padding: 0 28px 16px;
  min-width: 0;
}
#vrs .vrs-topbar__left {
  display: flex; align-items: center; gap: 12px;
  flex: 1; min-width: 0; overflow: hidden;
}

#vrs .vrs-step-badge {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #000;
  font-size: .95rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 10px rgba(0,196,220,.35);
}
#vrs .vrs-topbar__title {
  font-size: 1rem; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#vrs .vrs-rule { height: 1px; background: var(--border); margin: 0 28px; border: none; }

/* Breadcrumb */
#vrs .vrs-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); min-width: 0; }
#vrs .vrs-breadcrumb svg { opacity: .3; flex-shrink: 0; }
#vrs .vrs-breadcrumb strong { font-size: .92rem; color: var(--gold-dk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Back button */
#vrs .vrs-back {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 7px 14px; border-radius: 30px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--muted);
  font-size: .78rem;
  transition: border-color .2s, color .2s, background .2s, transform .18s;
}
#vrs .vrs-back:hover { border-color: var(--gold); color: var(--navy); background: var(--gold-bg); transform: translateX(-2px); }
#vrs .vrs-back:active { transform: translateX(-4px) scale(.97); }
#vrs .vrs-back svg { transition: transform .2s; }
#vrs .vrs-back:hover svg { transform: translateX(-3px); }

/* View tabs */
#vrs .vrs-tabs {
  display: flex; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 30px; padding: 3px; gap: 3px;
  margin-left: auto; flex-shrink: 0; white-space: nowrap;
}
#vrs .vrs-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 26px; border: none; background: transparent;
  font-size: .73rem; color: var(--muted);
  transition: background .2s, color .2s;
}
#vrs .vrs-tab.is-active { background: var(--navy); color: var(--gold); box-shadow: 0 2px 8px rgba(13,27,46,.2); }
#vrs .vrs-tab:hover:not(.is-active) { color: var(--navy); background: var(--surface-2); }

/* Step-2 heading row */
#vrs .vrs-step-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 28px 4px;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
#vrs .vrs-search-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 28px 16px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 30px; padding: 0 14px;
  transition: border-color .2s, box-shadow .2s;
}
#vrs .vrs-search-bar:focus-within { border-color: var(--gold); box-shadow: var(--sh-focus); }
#vrs .vrs-search-bar svg { color: var(--muted); flex-shrink: 0; }
#vrs .vrs-search-input {
  flex: 1; border: none; background: transparent; outline: none; padding: 10px 0; color: var(--text);
}
#vrs .vrs-search-input::placeholder { color: var(--dim); }
#vrs .vrs-search-clear {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--dim); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, transform .18s;
}
#vrs .vrs-search-clear:hover { background: var(--muted); transform: scale(1.1); }
#vrs .vrs-no-results { text-align: center; padding: 24px; color: var(--muted); }

/* ============================================================
   SWIPER + CLIP
   ============================================================ */
#vrs .vrs-clip { overflow: hidden; width: 100%; position: relative; }
#vrs .vrs-swiper { width: 100% !important; padding: 24px 0 64px !important; overflow: visible !important; }
#vrs .swiper-slide-shadow-left, #vrs .swiper-slide-shadow-right { display: none !important; }
#vrs .vrs-swiper .swiper-slide { width: var(--card-w) !important; height: auto !important; cursor: pointer; will-change: transform; }

/* Active slide */
#vrs .vrs-swiper .swiper-slide-active .vrs-card { box-shadow: var(--sh-active) !important; border-color: var(--gold) !important; transform: translateY(-6px) scale(1.02); }
#vrs .vrs-swiper .swiper-slide-active .vrs-card__name { color: var(--gold); }
#vrs .vrs-swiper .swiper-slide-active .vrs-card__chev { opacity: 1; color: var(--gold); transform: translateX(3px); }
#vrs .vrs-swiper .swiper-slide-active .vrs-card__foot { border-left-color: var(--gold); }
#vrs .vrs-swiper .swiper-slide:not(.swiper-slide-active) .vrs-card { opacity: .62; filter: saturate(.45); transition: opacity .4s var(--ease), filter .4s var(--ease); }

/* Edge fades — use --bg so they match the background setting */
#vrs .vrs-fade { position: absolute; top: 0; bottom: 0; width: 120px; pointer-events: none; z-index: 10; }
#vrs .vrs-fade--l { left:  0; background: linear-gradient(to right, var(--bg), transparent); }
#vrs .vrs-fade--r { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

/* ============================================================
   CARD
   ============================================================ */
#vrs .vrs-card {
  width: var(--card-w); background: var(--surface);
  border-radius: var(--radius); border: 1.5px solid var(--border);
  box-shadow: var(--sh); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease), border-color .3s, opacity .3s, filter .3s, transform .35s var(--ease-spring);
  user-select: none; position: relative;
}

/* Ripple */
#vrs .vrs-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(0,196,220,.25);
  transform: scale(0);
  animation: vrs-ripple .55s var(--ease-out) forwards;
  pointer-events: none; z-index: 20;
}
@keyframes vrs-ripple { to { transform: scale(4); opacity: 0; } }

/* Media */
#vrs .vrs-card__media {
  width: var(--card-w); height: var(--card-img-h);
  background: #fff; box-shadow: inset 0 -1px 0 var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; position: relative;
}
#vrs .vrs-card__media::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 20px 20px; opacity: .55;
}
#vrs .vrs-card__media img {
  width: 155px; height: 125px; object-fit: contain;
  position: relative; z-index: 1;
  transition: transform .4s var(--ease-spring);
}
#vrs .swiper-slide-active .vrs-card__media img { transform: scale(1.07) translateY(-3px); }
#vrs .vrs-card__initials {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--surface-2); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--dim);
  position: relative; z-index: 1;
}

/* Footer */
#vrs .vrs-card__foot {
  height: var(--card-ft-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: var(--navy); flex-shrink: 0;
  border-left: 3px solid transparent; transition: border-color .3s;
}
#vrs .vrs-card__name {
  font-size: var(--fh-size); color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 185px;
  transition: color .28s;
}
#vrs .vrs-card__chev { color: rgba(255,255,255,.2); flex-shrink: 0; opacity: 0; transition: opacity .28s, color .28s, transform .28s; }
#vrs .vrs-card:hover .vrs-card__chev { opacity: .6; }

/* Badge */
#vrs .vrs-card__badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-head); font-size: .63rem;
  padding: 3px 9px; border-radius: 20px; z-index: 4;
}

/* ============================================================
   KEYBOARD HINT
   ============================================================ */
#vrs .vrs-keyboard-hint {
  text-align: center; font-size: .72rem; color: var(--dim);
  margin: 8px 0 0; padding: 0 28px; letter-spacing: .02em;
}
#vrs .vrs-keyboard-hint kbd {
  display: inline-block; padding: 2px 6px; border: 1px solid var(--border);
  border-radius: 4px; background: var(--surface); font-family: inherit;
  font-size: .68rem; color: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  margin: 0 2px;
}
@media (hover:none) { #vrs .vrs-keyboard-hint { display: none; } }

/* ============================================================
   NAV BUTTONS + PAGINATION
   ============================================================ */
#vrs .vrs-nav-btn {
  width: 40px !important; height: 40px !important; border-radius: 50% !important;
  border: 1.5px solid var(--border) !important; background: var(--surface) !important;
  color: var(--navy) !important; box-shadow: var(--sh) !important;
  top: auto !important; bottom: 10px !important; margin-top: 0 !important;
  transition: background .2s, border-color .2s, transform .2s var(--ease-spring), box-shadow .2s !important;
}
#vrs .vrs-nav-btn::after { font-size: 12px !important; font-weight: 900 !important; color: inherit !important; }
#vrs #vrs-brands-prev, #vrs #vrs-models-prev { left:  calc(50% - 106px) !important; }
#vrs #vrs-brands-next, #vrs #vrs-models-next { right: calc(50% - 106px) !important; }
#vrs .vrs-nav-btn:hover {
  background: var(--gold) !important; border-color: var(--gold) !important;
  color: var(--navy) !important; box-shadow: 0 4px 14px rgba(0,196,220,.35) !important;
  transform: scale(1.14) !important;
}
#vrs .vrs-nav-btn:active { transform: scale(.96) !important; }

#vrs .swiper-pagination { bottom: 16px !important; }
#vrs .swiper-pagination-bullet { width: 7px !important; height: 7px !important; background: var(--dim) !important; opacity: 1 !important; transition: all .25s !important; }
#vrs .swiper-pagination-bullet-active { background: var(--navy) !important; width: 22px !important; border-radius: 4px !important; }

/* Progress */
#vrs .vrs-progress { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin: 4px 28px 0; }
#vrs .vrs-progress__fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-dk), var(--gold)); border-radius: 2px; }

/* ============================================================
   GRID VIEW
   ============================================================ */
#vrs .vrs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; padding: 0 28px 12px; }
#vrs .vrs-grid__item {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 20px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; text-align: center; font-family: inherit;
  position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .25s var(--ease-spring);
}
#vrs .vrs-grid__item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .22s;
}
#vrs .vrs-grid__item:hover { border-color: var(--gold); box-shadow: var(--sh-hover); transform: translateY(-4px); }
#vrs .vrs-grid__item:hover::after { transform: scaleX(1); }
#vrs .vrs-grid__item:active { transform: translateY(-2px) scale(.98); }

#vrs .vrs-grid__img { display: flex; align-items: center; justify-content: center; width: 100%; height: 62px; }
#vrs .vrs-grid__img img { max-width: 100%; max-height: 56px; object-fit: contain; transition: transform .25s var(--ease-spring); }
#vrs .vrs-grid__item:hover .vrs-grid__img img { transform: scale(1.1); }
#vrs .vrs-grid__initials {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--dim);
}
#vrs .vrs-grid__name { font-size: var(--fh-size); color: var(--navy); }
#vrs a.vrs-grid__item { color: var(--text); }

/* ============================================================
   SKELETON LOADING
   ============================================================ */
#vrs .vrs-skeleton { display: flex; gap: 16px; padding: 28px; overflow: hidden; justify-content: center; }
#vrs .vrs-skeleton__card { flex-shrink: 0; width: var(--card-w); border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1.5px solid var(--border); }
#vrs .vrs-skeleton__img { width: 100%; height: var(--card-img-h); background: var(--surface-2); position: relative; overflow: hidden; }
#vrs .vrs-skeleton__line { height: var(--card-ft-h); background: var(--dim); opacity: .45; }
#vrs .vrs-skeleton__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.65) 50%, transparent 100%);
  background-size: 200% 100%; animation: vrs-shimmer 1.4s ease-in-out infinite;
}
@keyframes vrs-shimmer { from{background-position:-200% 0} to{background-position:200% 0} }
#vrs .vrs-skeleton__card:nth-child(n+4) { display: none; }
@media(min-width:640px){ #vrs .vrs-skeleton__card:nth-child(n+4) { display: block; } }

/* ============================================================
   EMPTY STATE
   ============================================================ */
#vrs .vrs-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 20px; text-align: center; }
#vrs .vrs-empty svg { opacity: .18; color: var(--navy); }
#vrs .vrs-empty strong { font-size: 1.2rem; color: var(--navy); }
#vrs .vrs-empty p { color: var(--muted); margin: 0; max-width: 260px; }
#vrs .vrs-empty-notice { padding: 40px; text-align: center; color: var(--muted); }

/* ============================================================
   TOAST
   ============================================================ */
#vrs .vrs-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--navy); color: #fff;
  padding: 10px 22px; border-radius: 30px;
  box-shadow: 0 8px 32px rgba(13,27,46,.25);
  z-index: 9999; pointer-events: none;
  opacity: 0; transition: opacity .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
#vrs .vrs-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
#vrs .vrs-toast--success { background: var(--green); }
#vrs .vrs-toast--error   { background: var(--red); }

/* ============================================================
   RESPONSIVE — Mobile-first fixes
   ============================================================ */

/* ── Tablet (≤900px) ── */
@media(max-width:900px){
  #vrs { --card-w: 210px; --card-img-h: 162px; }
  #vrs .vrs-card__media img { width: 132px; height: 108px; }
  #vrs .vrs-fade { width: 72px; }
}

/* ── Mobile (≤640px) ── */
@media(max-width:640px){
  /* Tighten overall vertical padding */
  #vrs { --card-w: 168px; --card-img-h: 136px; padding: 20px 0 36px; }
  #vrs .vrs-card__media img { width: 108px; height: 88px; }

  /* ── Top bar: step + title on one row, tabs on second row ── */
  #vrs .vrs-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 14px 12px;
  }
  #vrs .vrs-topbar__left {
    gap: 10px;
  }
  #vrs .vrs-topbar__title {
    font-size: .9rem;
    white-space: normal;        /* allow wrap on very small screens */
    overflow: visible;
    text-overflow: clip;
  }

  /* ── Tabs: full-width pill row, equal buttons ── */
  #vrs .vrs-tabs {
    margin-left: 0;
    width: 100%;
    border-radius: 10px;        /* less round — looks cleaner full-width */
  }
  #vrs .vrs-tab {
    flex: 1;
    justify-content: center;
    padding: 8px 6px;
    font-size: .72rem;
    border-radius: 7px;
    gap: 4px;
  }
  #vrs .vrs-tab svg { width: 10px; height: 10px; }

  /* ── Rule + progress ── */
  #vrs .vrs-rule    { margin: 0 14px; }
  #vrs .vrs-progress { margin: 4px 14px 0; }

  /* ── Swiper ── */
  #vrs .vrs-swiper { padding: 16px 0 52px !important; }
  #vrs .vrs-clip { /* let cards reach closer to edges */ }
  #vrs .vrs-fade { width: 40px; }  /* thinner fade so cards aren't hidden */

  /* ── Active card: stronger highlight on mobile ── */
  #vrs .vrs-swiper .swiper-slide-active .vrs-card {
    box-shadow: 0 0 0 2.5px var(--gold), 0 6px 28px rgba(0,196,220,.28) !important;
    transform: translateY(-4px) scale(1.03);
  }

  /* ── Card border radius: less extreme on small screens ── */
  #vrs .vrs-card {
    border-radius: calc(var(--radius) * 0.7);
  }
  #vrs .vrs-grid__item {
    border-radius: calc(var(--radius) * 0.7);
  }

  /* ── Nav buttons: smaller + closer together ── */
  #vrs .vrs-nav-btn {
    width: 34px !important; height: 34px !important;
    bottom: 6px !important;
  }
  #vrs .vrs-nav-btn::after { font-size: 10px !important; }
  #vrs #vrs-brands-prev, #vrs #vrs-models-prev { left:  calc(50% - 80px) !important; }
  #vrs #vrs-brands-next, #vrs #vrs-models-next { right: calc(50% - 80px) !important; }

  /* ── Pagination dots: tighter ── */
  #vrs .swiper-pagination { bottom: 10px !important; }

  /* ── Back button: smaller ── */
  #vrs .vrs-back {
    padding: 6px 12px;
    font-size: .74rem;
  }

  /* ── Step-2 heading row ── */
  #vrs .vrs-step-row {
    padding: 10px 14px 2px;
    gap: 8px;
  }
  #vrs .vrs-step-row .vrs-topbar__title {
    font-size: .88rem;
  }

  /* ── Search bar ── */
  #vrs .vrs-search-bar {
    margin: 14px 14px 12px;
    padding: 0 12px;
  }
  #vrs .vrs-search-input { padding: 9px 0; font-size: .84rem; }

  /* ── Grid: 2-col minimum, tighter ── */
  #vrs .vrs-grid {
    padding: 0 14px 10px;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }
  #vrs .vrs-grid__item { padding: 14px 10px 12px; gap: 8px; }
  #vrs .vrs-grid__img  { height: 52px; }
  #vrs .vrs-grid__img img { max-height: 46px; }

  /* ── Skeleton: only 3 on mobile ── */
  #vrs .vrs-skeleton { padding: 16px 14px; gap: 10px; }

  /* ── Empty state ── */
  #vrs .vrs-empty { padding: 36px 16px; }

  /* ── Toast: full-width friendly ── */
  #vrs .vrs-toast {
    width: calc(100% - 32px);
    text-align: center;
    white-space: normal;
    bottom: 16px;
  }
}

/* ── Small phone (≤420px) ── */
@media(max-width:420px){
  #vrs { --card-w: 148px; --card-img-h: 118px; }
  #vrs .vrs-card__media img { width: 96px; height: 78px; }
  #vrs .vrs-card__foot { height: 46px; }
  #vrs .vrs-card__name { font-size: .78rem; max-width: 120px; }
  #vrs .vrs-tab { font-size: .68rem; padding: 7px 4px; }
  #vrs #vrs-brands-prev, #vrs #vrs-models-prev { left:  calc(50% - 70px) !important; }
  #vrs #vrs-brands-next, #vrs #vrs-models-next { right: calc(50% - 70px) !important; }
  #vrs .vrs-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
}
