/* Homepage v2: photo-led hero, trust strip, quieter section headings.
   Brand tokens (dark + gold) come from premium-public.css. */

.raid-home-v2 {
  --v2-dark: #171715;
  --v2-gold: #c9a15d;
  --v2-gold-ink: #1b1813;
  --v2-radius: 1.15rem;
  --v2-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Same page inset as the other homepage sections (premium-public.css). */
.storefront-main > :is(.v2-hero, .v2-trust) { width: min(calc(100% - 2rem), 84rem); margin-inline: auto; }
@media (max-width: 35.99rem) {
  .storefront-main > :is(.v2-hero, .v2-trust) { width: min(calc(100% - 1.25rem), 84rem); }
}

/* Hero ------------------------------------------------------------------ */
.raid-home-v2 .v2-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(26rem, 74svh, 36rem);
  border-radius: var(--v2-radius);
  background: var(--v2-dark);
  color: #fbf9f2;
}

.raid-home-v2 .v2-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: clamp(1.25rem, 5vw, 2rem);
}

.raid-home-v2 .v2-hero :is(h1, .v2-slide-title) {
  max-width: 14ch;
  margin: 0 0 .6rem;
  color: #fff;
  font-size: clamp(1.9rem, 7.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.raid-home-v2 .v2-hero .v2-slide p:not(.v2-slide-title, .v2-brand-line) {
  max-width: 34ch;
  margin: 0 0 1.25rem;
  color: rgb(251 249 242 / 82%);
  font-size: clamp(.95rem, 3.6vw, 1.08rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.raid-home-v2 .v2-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.raid-home-v2 .v2-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding-inline: 1.3rem;
  border-radius: .8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .25s var(--v2-ease), background-color .25s var(--v2-ease), border-color .25s var(--v2-ease);
}

.raid-home-v2 .v2-hero-actions a svg { width: 1.15rem; height: 1.15rem; }
.raid-home-v2 .v2-hero-actions .is-primary { background: var(--v2-gold); color: var(--v2-gold-ink); }
.raid-home-v2 .v2-hero-actions .is-primary:hover { background: #d8b36f; }
.raid-home-v2 .v2-hero-actions .is-secondary {
  border: 1px solid rgb(255 255 255 / 34%);
  background: rgb(23 23 21 / 35%);
  color: #fff;
  backdrop-filter: blur(6px);
}
.raid-home-v2 .v2-hero-actions .is-secondary:hover { border-color: rgb(255 255 255 / 60%); }
.raid-home-v2 .v2-hero-actions a:active { transform: translateY(1px) scale(.98); }

/* Phone: the newest car fills the card, copy sits on a dark scrim. */
.raid-home-v2 .v2-hero-media { position: absolute; z-index: 0; inset: 0; }
.raid-home-v2 .v2-hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.raid-home-v2 .v2-hero-media img.is-active { opacity: 1; }
.raid-home-v2 .v2-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(14 14 12 / 94%) 8%, rgb(14 14 12 / 62%) 48%, rgb(14 14 12 / 12%) 100%);
  content: "";
}
.raid-home-v2 .v2-hero.has-no-media { min-height: 0; }

/* Desktop: copy beside a three-photo mosaic of current stock. */
@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    min-height: clamp(28rem, 70svh, 38rem);
    background:
      radial-gradient(ellipse 30rem 22rem at 100% 0%, rgb(201 161 93 / 14%), transparent 70%),
      var(--v2-dark);
  }
  .raid-home-v2 .v2-hero-copy { align-self: center; padding: clamp(2rem, 4vw, 3.5rem); }
  .raid-home-v2 .v2-hero :is(h1, .v2-slide-title) { max-width: none; font-size: clamp(2.1rem, 3.3vw, 3rem); }
  .raid-home-v2 .v2-hero-media {
    position: relative;
    display: grid;
    gap: .5rem;
    padding: .5rem;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .raid-home-v2 .v2-hero-media::after { display: none; }
  .raid-home-v2 .v2-hero-media img { position: static; border-radius: .8rem; opacity: 1; }
  .raid-home-v2 .v2-hero-media img:first-child { grid-row: 1 / -1; }
  .raid-home-v2 .v2-hero-media-1 { grid-template-columns: 1fr; }
  .raid-home-v2 .v2-hero-media-2 img:nth-child(2) { grid-row: 1 / -1; }
}

/* Trust strip: a slow continuous ticker (the page's only marquee). Two
   copies of the list slide by one copy's width, so the loop is seamless. */
.raid-home-v2 .v2-trust {
  overflow: hidden;
  padding-block: .85rem;
  border: 1px solid #2f2d28;
  border-radius: .9rem;
  background: var(--v2-dark);
  color: #f4efe4;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.raid-home-v2 .v2-trust-track { display: flex; width: max-content; }
.raid-home-v2 .v2-trust ul {
  display: flex;
  flex: none;
  justify-content: space-around;
  gap: 2.5rem;
  min-width: calc(min(100vw - 1.25rem, 84rem));
  margin: 0;
  padding: 0 1.25rem;
  list-style: none;
}
.raid-home-v2 .v2-trust li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
}
.raid-home-v2 .v2-trust svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--v2-gold); }

@media (prefers-reduced-motion: no-preference) {
  .raid-home-v2 .v2-trust-track { animation: v2-ticker 28s linear infinite; }
  .raid-home-v2 .v2-trust:hover .v2-trust-track { animation-play-state: paused; }
}
/* RTL pages flow right-to-left, so the track slides toward the right. */
@keyframes v2-ticker { to { transform: translateX(50%); } }
[dir="ltr"] .raid-home-v2 .v2-trust-track { animation-name: v2-ticker-ltr; }
@keyframes v2-ticker-ltr { to { transform: translateX(-50%); } }

/* Without motion the strip is a plain wrapped list. */
@media (prefers-reduced-motion: reduce) {
  .raid-home-v2 .v2-trust { -webkit-mask-image: none; mask-image: none; }
  .raid-home-v2 .v2-trust-track { width: auto; }
  .raid-home-v2 .v2-trust ul { flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; min-width: 0; }
  .raid-home-v2 .v2-trust .is-loop-copy { display: none; }
}

/* Quieter page rhythm: section titles carry the structure on their own. */
.raid-home-v2 .storefront-eyebrow { display: none; }
.raid-home-v2 .home-consultants-promise { display: none; }

/* Consultants: a swipeable row on phones instead of a tall stack. */
@media (max-width: 47.99rem) {
  .raid-home-v2 .home-consultant-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: .75rem;
    margin-inline: -1rem;
    padding: .25rem 1rem 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .raid-home-v2 .home-consultant-grid::-webkit-scrollbar { display: none; }
  .raid-home-v2 .home-consultant-card { scroll-snap-align: start; }
}

/* Gentle entrance as sections scroll into view (see raid-home-v2.js). */
@media (prefers-reduced-motion: no-preference) {
  .raid-home-v2.is-reveal-ready [data-v2-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--v2-ease), transform .7s var(--v2-ease);
  }
  .raid-home-v2.is-reveal-ready [data-v2-reveal].is-visible { opacity: 1; transform: none; }
  .raid-home-v2 .v2-hero-copy > * { animation: v2-rise .8s var(--v2-ease) both; }
  .raid-home-v2 .v2-hero-copy > :nth-child(2) { animation-delay: .1s; }
}
@keyframes v2-rise { from { opacity: 0; transform: translateY(14px); } }

/* Stock counter in the hero ("أكثر من 250 سيارة مستعملة"). */
.raid-home-v2 .v2-hero .v2-hero-count {
  color: #fbf9f2;
  font-size: clamp(1.05rem, 4vw, 1.3rem);
  font-weight: 600;
}
.raid-home-v2 .v2-count {
  display: inline-block;
  min-width: 3ch;
  margin-inline: .3rem;
  color: var(--v2-gold);
  font-size: 1.45em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* Hero slides: "اختر سيارتك" then "ازهل سيارتك عندنا". Slides share one grid
   cell so the box keeps the height of the taller slide while they swap. */
.raid-home-v2 .v2-slides { display: grid; }
.raid-home-v2 .v2-slide {
  grid-area: 1 / 1;
  align-self: end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .6s var(--v2-ease), transform .6s var(--v2-ease), visibility .6s;
}
.raid-home-v2 .v2-slide.is-active { opacity: 1; visibility: visible; transform: none; }

.raid-home-v2 .v2-dots { display: flex; gap: .4rem; margin-top: 1.1rem; }
.raid-home-v2 .v2-dots button {
  width: .55rem;
  height: .55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 38%);
  cursor: pointer;
  transition: width .35s var(--v2-ease), background-color .35s var(--v2-ease);
}
.raid-home-v2 .v2-dots button.is-active { width: 1.6rem; background: var(--v2-gold); }

/* Slide one: the showroom emblem as a lit gold sign behind the copy. The car
   photos sit underneath and show through when slide two is active. */
.raid-home-v2 .v2-hero-brand {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 50% at 50% 28%, rgb(201 161 93 / 26%), transparent 72%),
    radial-gradient(ellipse 90% 40% at 50% 115%, rgb(201 161 93 / 12%), transparent 70%),
    #0f0e0c;
  transition: opacity .9s ease, visibility .9s;
}
.raid-home-v2 .v2-hero:not(.is-slide-0) .v2-hero-brand { opacity: 0; visibility: hidden; }

.raid-home-v2 .v2-hero-mark {
  position: absolute;
  top: 9%;
  left: 50%;
  width: min(68%, 22rem);
  aspect-ratio: 900 / 494;
  background: url('../img/raid-hero-mark.webp') center / contain no-repeat;
  filter: drop-shadow(0 0 26px rgb(201 161 93 / 38%));
  transform: translateX(-50%);
}
/* A light sweep across the emblem only (masked to its shape). */
.raid-home-v2 .v2-hero-mark::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 246 222 / 80%) 50%, transparent 62%) 150% 0 / 250% 100% no-repeat;
  -webkit-mask: url('../img/raid-hero-mark.webp') center / contain no-repeat;
  mask: url('../img/raid-hero-mark.webp') center / contain no-repeat;
  content: "";
}
@media (prefers-reduced-motion: no-preference) {
  .raid-home-v2 .v2-hero.is-slide-0 .v2-hero-mark::after { animation: v2-shine 4.5s ease-in-out .9s infinite; }
}
@keyframes v2-shine {
  0% { background-position: 150% 0; }
  55%, 100% { background-position: -50% 0; }
}

.raid-home-v2 .v2-slide-store {
  display: inline-block;
  margin-bottom: .5rem;
  padding-inline-start: .65rem;
  border-inline-start: 2px solid var(--v2-gold);
  color: var(--v2-gold);
  font-size: clamp(.9rem, 3.4vw, 1.05rem);
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero-brand {
    background:
      radial-gradient(ellipse 45% 70% at 28% 50%, rgb(201 161 93 / 24%), transparent 72%),
      #0f0e0c;
  }
  .raid-home-v2 .v2-hero-mark {
    top: 50%;
    left: auto;
    inset-inline-end: 6%;
    width: min(46%, 34rem);
    transform: translateY(-50%);
  }
}

/* Slide one headline: the showroom name, with the stock line in gold below. */
.raid-home-v2 .v2-hero .v2-brand-title {
  max-width: none;
  font-size: clamp(1.9rem, 8.2vw, 4.2rem);
  line-height: 1.2;
}
.raid-home-v2 .v2-hero .v2-slide .v2-brand-line {
  max-width: none;
  margin: 0 0 1.25rem;
  color: var(--v2-gold);
  font-size: clamp(1.1rem, 4.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
}
.raid-home-v2 .v2-brand-line .v2-count { margin-inline: .15rem; color: #f0d9a6; }
@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero .v2-brand-title { max-width: 11ch; font-size: clamp(2.8rem, 4.6vw, 4.2rem); }
}

/* The Arabic showroom name always sits on one line. */
.raid-home-v2 .v2-hero .v2-brand-title:lang(ar) { white-space: nowrap; font-size: clamp(1.7rem, 8.6vw, 4.4rem); }

/* Showroom name in the emblem's metallic gold, with a slow light pass. */
.raid-home-v2 .v2-hero .v2-brand-title {
  padding-block: .05em .12em;
  background: linear-gradient(100deg, #8c6a2f 0%, #e7c681 18%, #fff2cc 32%, #d4aa5e 46%, #9a7435 62%, #f1d699 80%, #b0873f 100%) 0 0 / 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 2px 16px rgb(201 161 93 / 32%));
}
@media (prefers-reduced-motion: no-preference) {
  .raid-home-v2 .v2-hero.is-slide-0 .v2-brand-title { animation: v2-gold-flow 7s ease-in-out infinite alternate; }
}
@keyframes v2-gold-flow { to { background-position: 100% 0; } }

/* Slide two: a single car offer over its own photo. */
.raid-home-v2 .v2-offer-kicker {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .3rem .75rem;
  border-radius: .5rem;
  background: var(--v2-gold);
  color: var(--v2-gold-ink);
  font-size: .85rem;
  font-weight: 800;
}
.raid-home-v2 .v2-offer-price { color: #f0d9a6; font-variant-numeric: tabular-nums; }
.raid-home-v2 .v2-offer-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}
.raid-home-v2 .v2-offer-specs li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .7rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: .6rem;
  background: rgb(18 18 16 / 52%);
  color: #fbf9f2;
  font-size: .86rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.raid-home-v2 .v2-offer-specs svg { width: 1.05rem; height: 1.05rem; color: var(--v2-gold); }
.raid-home-v2 .v2-hero .v2-offer .v2-slide-title { margin-bottom: .8rem; }
/* The offer car fills the media column on desktop as one photo. */
@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero-media-1 img { grid-row: 1 / -1; grid-column: 1 / -1; }
}

/* Stock line under the showroom name: soft white text; only the figure
   keeps the name's metallic gold so the two lines do not compete. */
.raid-home-v2 .v2-hero .v2-slide .v2-brand-line { color: rgb(244 239 228 / 92%); font-weight: 600; }
.raid-home-v2 .v2-brand-line .v2-count {
  background: linear-gradient(100deg, #e7c681, #fff2cc 45%, #d4aa5e) 0 0 / 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Catalog toolbar: search and filters live behind two icon buttons. */
.raid-home-v2 .catalog-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.raid-home-v2 .v2-catalog-tools { display: flex; flex: none; gap: .5rem; }
.raid-home-v2 .v2-tool-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--p-line);
  border-radius: .85rem;
  background: var(--p-surface);
  color: var(--p-ink);
  cursor: pointer;
  transition: background-color .25s var(--v2-ease), color .25s var(--v2-ease), transform .2s var(--v2-ease);
}
.raid-home-v2 .v2-tool-button svg { width: 1.25rem; height: 1.25rem; }
.raid-home-v2 .v2-tool-button:active { transform: scale(.96); }
.raid-home-v2 .v2-tool-button:is([aria-expanded="true"], .is-active) { border-color: var(--v2-dark); background: var(--v2-dark); color: #f0d9a6; }
.raid-home-v2 .v2-tool-button b {
  position: absolute;
  top: -.4rem;
  inset-inline-end: -.4rem;
  display: grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: .25rem;
  border-radius: 999px;
  background: var(--v2-gold);
  color: var(--v2-gold-ink);
  font-size: .72rem;
  font-weight: 800;
}
.raid-home-v2 .v2-tool-panel { display: grid; gap: .75rem; }
/* The filter panel is already the toggle; its inner "تصفية النتائج" header is redundant. */
.raid-home-v2 .v2-tool-panel .catalog-filters > summary { display: none; }
/* Panels start closed only once the script is running (no-JS keeps them visible). */
.raid-home-v2.has-v2-tools .v2-tool-panel:not(.is-open) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .raid-home-v2 .v2-tool-panel.is-open { animation: v2-rise .35s var(--v2-ease) both; }
}

/* Phones: the filter panel is a bottom sheet over the page. */
.raid-home-v2 .v2-sheet-head { display: none; }
@media (max-width: 47.99rem) {
  .raid-home-v2.has-v2-tools .v2-sheet {
    position: fixed;
    z-index: 130;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 86dvh;
    padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
    border-radius: 1.25rem 1.25rem 0 0;
    background: var(--p-canvas);
    box-shadow: 0 -12px 40px rgb(14 14 12 / 22%);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform .38s var(--v2-ease), visibility .38s;
    animation: none;
  }
  .raid-home-v2.has-v2-tools .v2-sheet.is-open { transform: translateY(0); visibility: visible; }
  .raid-home-v2.has-v2-tools .v2-sheet:not(.is-open) { display: flex; }
  .raid-home-v2.has-v2-tools .v2-sheet.is-dragging { transition: none; }
  .raid-home-v2 .v2-sheet-head {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 0 .75rem;
    touch-action: none;
    cursor: grab;
  }
  .raid-home-v2 .v2-sheet-head strong { font-size: 1.05rem; font-weight: 800; }
  .raid-home-v2 .v2-sheet-handle {
    position: absolute;
    top: .5rem;
    left: 50%;
    width: 2.6rem;
    height: .3rem;
    border-radius: 999px;
    background: #cfcac0;
    transform: translateX(-50%);
  }
  .raid-home-v2 .v2-sheet-close {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ebe7de;
    color: var(--p-ink);
    cursor: pointer;
  }
  .raid-home-v2 .v2-sheet-close svg { width: 1rem; height: 1rem; }
  .raid-home-v2 .v2-sheet-body {
    display: grid;
    gap: .75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .raid-home-v2 .v2-sheet-backdrop {
    position: fixed;
    z-index: 125;
    inset: 0;
    background: rgb(14 14 12 / 45%);
  }
  .raid-home-v2 .v2-sheet-backdrop[hidden] { display: none; }
}
@media (min-width: 48rem) {
  .raid-home-v2 .v2-sheet-body { display: grid; gap: .75rem; }
}
/* Keep "عرض النتائج" reachable while scrolling the sheet. */
@media (max-width: 47.99rem) {
  .raid-home-v2 .v2-sheet .catalog-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin-inline: -1rem;
    padding: .75rem 1rem;
    background: var(--p-surface);
    box-shadow: 0 -8px 18px rgb(14 14 12 / 8%);
  }
}
/* A transformed ancestor would trap the fixed sheet; finish the section's
   entrance immediately while the sheet is open. */
.raid-home-v2 [data-v2-reveal]:has(.v2-sheet.is-open) { opacity: 1; transform: none; transition: none; }

/* Offer slides: big metallic price, guarantee strip, colour dots. */
.raid-home-v2 .v2-offer-bigprice {
  margin: 0 0 .2rem;
  color: #fbf9f2;
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
}
.raid-home-v2 .v2-metal {
  background: linear-gradient(100deg, #b0873f 0%, #e7c681 25%, #fff2cc 45%, #d4aa5e 65%, #f1d699 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.6rem, 11vw, 4.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  filter: drop-shadow(0 2px 12px rgb(201 161 93 / 30%));
}
.raid-home-v2 .v2-hero .v2-slide .v2-offer-note { margin: 0 0 .9rem; color: rgb(251 249 242 / 85%); font-size: .95rem; }
.raid-home-v2 .v2-guarantee {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}
.raid-home-v2 .v2-guarantee li {
  padding: .3rem .6rem;
  border: 1px solid rgb(201 161 93 / 45%);
  border-radius: .5rem;
  background: rgb(18 18 16 / 55%);
  color: #f0d9a6;
  font-size: .82rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.raid-home-v2 .v2-guarantee .v2-guarantee-label {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-color: transparent;
  background: var(--v2-gold);
  color: var(--v2-gold-ink);
}
.raid-home-v2 .v2-guarantee svg { width: .95rem; height: .95rem; }
.raid-home-v2 .v2-offer-colors { display: flex; gap: .3rem; margin-top: .9rem; }
.raid-home-v2 .v2-offer-colors span {
  width: .85rem;
  height: .85rem;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: var(--swatch);
}

/* Phones: the offer photo owns the top of the card, copy sits below it. */
@media (max-width: 55.99rem) {
  .raid-home-v2 .v2-hero:not(.offer-hero) { min-height: clamp(34rem, 84svh, 42rem); }
  .raid-home-v2 .v2-hero:not(.offer-hero) .v2-hero-media img { height: 54%; }
  .raid-home-v2 .v2-hero:not(.offer-hero) .v2-hero-media::after {
    background: linear-gradient(to top, #0e0e0c 47%, rgb(14 14 12 / 72%) 54%, rgb(14 14 12 / 0%) 72%);
  }
}
.raid-home-v2 .v2-offer .v2-hero-actions { flex-wrap: nowrap; }
.raid-home-v2 .v2-offer .v2-hero-actions a { flex: 1 1 0; min-width: 0; padding-inline: .7rem; }
.raid-home-v2 .v2-guarantee { gap: .25rem; }
.raid-home-v2 .v2-guarantee li { padding: .22rem .45rem; font-size: .76rem; }
.raid-home-v2 .v2-hero .v2-offer-colors { display: none; }
/* Desktop: offer photos share one cell; only the active slide's photo shows. */
@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero-media-1 img { opacity: 0; transition: opacity 1s ease; }
  .raid-home-v2 .v2-hero-media-1 img.is-active { opacity: 1; }
}

/* "Rate us on Google" band ------------------------------------------------ */
.storefront-main > .v2-rate { width: min(calc(100% - 2rem), 84rem); margin: 2.5rem auto; }
@media (max-width: 35.99rem) {
  .storefront-main > .v2-rate { width: min(calc(100% - 1.25rem), 84rem); margin-block: 1.75rem; }
}
.raid-home-v2 .v2-rate {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: 1.6rem 1.9rem;
  border: 1px solid rgb(201 161 93 / 35%);
  border-radius: var(--v2-radius);
  background: radial-gradient(ellipse 60% 120% at 100% 0, rgb(201 161 93 / 18%), transparent 70%), var(--v2-dark);
  color: #fbf9f2;
}
.raid-home-v2 .v2-rate-stars { flex: none; color: var(--v2-gold); font-size: 1.6rem; letter-spacing: .15em; line-height: 1; }
.raid-home-v2 .v2-rate-copy { flex: 1; min-width: 0; }
.raid-home-v2 .v2-rate-copy h2 { margin: 0 0 .3rem; color: #fbf9f2; font-size: 1.3rem; }
.raid-home-v2 .v2-rate-copy p { margin: 0; color: rgb(251 249 242 / 75%); line-height: 1.7; }
.raid-home-v2 .v2-rate-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  background: var(--v2-gold);
  color: var(--v2-gold-ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s var(--v2-ease), box-shadow .2s var(--v2-ease);
}
.raid-home-v2 .v2-rate-cta:hover,
.raid-home-v2 .v2-rate-cta:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(201 161 93 / 35%); }
.raid-home-v2 .v2-rate-cta .home-google-mark { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 800; }
@media (max-width: 47.99rem) {
  .raid-home-v2 .v2-rate { flex-direction: column; text-align: center; }
  .raid-home-v2 .v2-rate-cta { align-self: stretch; justify-content: center; }
}

/* Phone sizing (2026-10-21): the hero no longer fills the whole screen, offers
   swipe sideways, cars sit two per row, consultant cards hug their content. */
@media (max-width: 35.99rem) {
  .raid-home-v2 .v2-hero:not(.offer-hero) { min-height: 30rem; }
  .raid-home-v2 .v2-hero-copy { padding: 1rem 1.1rem 1.1rem; }
  .raid-home-v2 .v2-hero-mark { top: 7%; width: min(54%, 13rem); }
  .raid-home-v2 .v2-hero .v2-brand-title:lang(ar) { font-size: clamp(1.6rem, 8vw, 2.1rem); }
  .raid-home-v2 .v2-hero .v2-slide .v2-brand-line { font-size: 1rem; }
  .raid-home-v2 .v2-hero-actions { flex-wrap: nowrap; gap: .5rem; }
  .raid-home-v2 .v2-hero-actions a { flex: 1 1 0; min-width: 0; min-height: 2.75rem; padding-inline: .6rem; font-size: .92rem; }
  .raid-home-v2 .v2-hero .v2-offer .v2-slide-title { max-width: none; margin-bottom: .35rem; font-size: clamp(1.3rem, 6.2vw, 1.6rem); white-space: nowrap; }
  .raid-home-v2 .v2-hero .v2-offer .v2-metal { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .raid-home-v2 .v2-hero .v2-slide .v2-offer-note { margin-bottom: .6rem; font-size: .85rem; }
  .raid-home-v2 .v2-guarantee { margin-bottom: .8rem; }
  .raid-home-v2 .v2-dots { margin-top: .8rem; }

  .raid-home-v2 .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }

  .raid-home-v2 .v2-rate { gap: .7rem; padding: 1.15rem 1.1rem; }
  .raid-home-v2 .v2-rate-stars { font-size: 1.2rem; }
  .raid-home-v2 .v2-rate-copy h2 { font-size: 1.1rem; }
  .raid-home-v2 .v2-rate-copy p { font-size: .88rem; line-height: 1.6; }
  .raid-home-v2 .v2-rate-cta { padding: .65rem 1rem; }
}
@media (max-width: 47.99rem) {
  .raid-home-v2 .home-offers-grid {
    grid-auto-columns: 80%;
    grid-auto-flow: column;
    margin-inline: -.625rem;
    padding: .1rem .625rem .5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .raid-home-v2 .home-offers-grid::-webkit-scrollbar { display: none; }
  .raid-home-v2 .home-offer-card { min-height: 12.5rem; scroll-snap-align: start; }
  .raid-home-v2 .home-consultant-grid { grid-template-columns: none; align-items: start; }
  /* The spotlight card spanned the explicit column and collapsed to ~34px wide. */
  .raid-home-v2 .home-consultant-card.is-spotlight { grid-column: auto; grid-template-columns: 4.3rem minmax(0, 1fr); gap: .9rem; padding: 1.2rem; }
  .raid-home-v2 .home-consultant-card.is-spotlight .home-consultant-portrait { width: 4.3rem; height: 4.3rem; }
  .raid-home-v2 .home-consultant-card.is-spotlight .home-consultant-portrait span { font-size: 2rem; }
}
/* Desktop: the single offer photo was laid out at its natural height (~1270px)
   and stretched the hero; pin it to the media cell instead. */
@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero-media-1 img { position: absolute; inset: .5rem; width: calc(100% - 1rem); height: calc(100% - 1rem); }
}

/* Car cards (2026-10-21): same look as the offer cards, the photo fills the
   card and the details sit on a dark fade at the bottom. */
.raid-home-v2 .vehicle-grid .vehicle-card {
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: #171715;
  box-shadow: 0 6px 18px rgb(14 14 12 / 10%);
}
.raid-home-v2 .vehicle-grid .vehicle-card-link {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #171715;
  color: #fff;
  isolation: isolate;
}
.raid-home-v2 .vehicle-grid .vehicle-card-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: #171715;
}
.raid-home-v2 .vehicle-grid .vehicle-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--v2-ease); }
.raid-home-v2 .vehicle-grid .vehicle-card-media::after {
  display: block;
  position: absolute;
  inset: 0;
  height: auto;
  background: linear-gradient(to top, rgb(14 14 12 / 95%) 0%, rgb(14 14 12 / 82%) 26%, rgb(14 14 12 / 40%) 44%, rgb(14 14 12 / 0%) 60%);
  content: "";
}
.raid-home-v2 .vehicle-grid .vehicle-card-link:hover .vehicle-card-media img { transform: scale(1.04); }
.raid-home-v2 .vehicle-grid .vehicle-card-badges { z-index: 1; }
.raid-home-v2 .vehicle-grid .vehicle-card-content {
  align-self: end;
  padding: 1rem 1.05rem 1.05rem;
  border: 0;
  background: none;
  text-shadow: 0 1px 6px rgb(0 0 0 / 55%);
}
.raid-home-v2 .vehicle-grid .vehicle-card-maker { color: #e7c681; font-size: .76rem; font-weight: 700; }
.raid-home-v2 .vehicle-grid .vehicle-card h3 {
  display: -webkit-box;
  min-height: 0;
  margin: .1rem 0 .35rem;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.raid-home-v2 .vehicle-grid .vehicle-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgb(251 249 242 / 82%);
  font-size: .82rem;
}
.raid-home-v2 .vehicle-grid .vehicle-card-meta span { display: inline; padding: 0; border: 0; background: none; }
.raid-home-v2 .vehicle-grid .vehicle-card-meta span + span::before { margin-inline: .4rem; color: #c9a15d; content: "•"; }
.raid-home-v2 .vehicle-grid .vehicle-card-meta small { display: none; }
.raid-home-v2 .vehicle-grid .vehicle-card-meta strong { color: inherit; font-size: inherit; font-weight: 600; }
.raid-home-v2 .vehicle-grid .vehicle-card-footer { margin: .45rem 0 0; padding: 0; border: 0; }
.raid-home-v2 .vehicle-grid .vehicle-card-price small { display: none; }
.raid-home-v2 .vehicle-grid .vehicle-card-price strong { color: #f0d9a6; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.raid-home-v2 .vehicle-grid .vehicle-card-arrow { display: none; }
@media (max-width: 35.99rem) {
  .raid-home-v2 .vehicle-grid .vehicle-card-link { aspect-ratio: 3 / 4; }
  .raid-home-v2 .vehicle-grid .vehicle-card-badge { padding: .15rem .45rem; font-size: .66rem; }
  .raid-home-v2 .vehicle-grid .vehicle-card-content { padding: .65rem .7rem .75rem; }
  .raid-home-v2 .vehicle-grid .vehicle-card-maker { font-size: .66rem; }
  .raid-home-v2 .vehicle-grid .vehicle-card h3 { margin-bottom: .2rem; font-size: .86rem; line-height: 1.3; }
  .raid-home-v2 .vehicle-grid .vehicle-card-meta { font-size: .7rem; }
  .raid-home-v2 .vehicle-grid .vehicle-card-meta span + span::before { margin-inline: .25rem; }
  .raid-home-v2 .vehicle-grid .vehicle-card-footer { margin-top: .3rem; }
  .raid-home-v2 .vehicle-grid .vehicle-card-price strong { font-size: 1rem; }
}

/* Hero emblem motion (2026-10-21): rises in like a sign switching on, then a
   gold ring pulses out, sparks twinkle, and the emblem floats with a breathing
   glow. Uses translate/scale so the existing centring transform is untouched.
   Replays whenever slide one becomes active again. */
.raid-home-v2 .v2-mark-ring,
.raid-home-v2 .v2-mark-spark { position: absolute; display: block; pointer-events: none; opacity: 0; }
.raid-home-v2 .v2-mark-ring {
  top: 50%; left: 50%;
  width: 70%; aspect-ratio: 1;
  margin: -35% 0 0 -35%;
  border: 2px solid rgb(240 217 166 / 90%);
  border-radius: 50%;
  box-shadow: 0 0 18px rgb(201 161 93 / 60%), inset 0 0 18px rgb(201 161 93 / 35%);
}
.raid-home-v2 .v2-mark-spark {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff4d6;
  box-shadow: 0 0 6px 2px rgb(240 217 166 / 90%), 0 0 16px 4px rgb(201 161 93 / 55%);
}
.raid-home-v2 .v2-mark-spark:nth-of-type(2) { top: 6%; left: 14%; }
.raid-home-v2 .v2-mark-spark:nth-of-type(3) { top: -4%; left: 72%; width: 5px; height: 5px; }
.raid-home-v2 .v2-mark-spark:nth-of-type(4) { top: 42%; left: 99%; }
.raid-home-v2 .v2-mark-spark:nth-of-type(5) { top: 92%; left: 84%; width: 5px; height: 5px; }
.raid-home-v2 .v2-mark-spark:nth-of-type(6) { top: 88%; left: 6%; }
.raid-home-v2 .v2-mark-spark:nth-of-type(7) { top: 30%; left: -3%; width: 5px; height: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .raid-home-v2 .v2-hero.is-slide-0 .v2-hero-mark {
    animation:
      v2-mark-in 1.4s cubic-bezier(.16, 1, .3, 1) both,
      v2-mark-float 6s ease-in-out 1.4s infinite,
      v2-mark-glow 3.2s ease-in-out 1.4s infinite alternate;
  }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-ring { animation: v2-mark-ring 5.5s ease-out 1s infinite; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark { animation: v2-mark-spark 2.6s ease-in-out infinite; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark:nth-of-type(2) { animation-delay: 1.3s; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark:nth-of-type(3) { animation-delay: 1.9s; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark:nth-of-type(4) { animation-delay: 2.4s; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark:nth-of-type(5) { animation-delay: 1.6s; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark:nth-of-type(6) { animation-delay: 2.9s; }
  .raid-home-v2 .v2-hero.is-slide-0 .v2-mark-spark:nth-of-type(7) { animation-delay: 2.1s; }
}
@keyframes v2-mark-in {
  0% { opacity: 0; translate: 0 2.2rem; scale: .78; filter: blur(12px) brightness(1.6) drop-shadow(0 0 0 rgb(201 161 93 / 0%)); }
  55% { opacity: 1; scale: 1.05; filter: blur(0) brightness(1.35) drop-shadow(0 0 40px rgb(240 217 166 / 85%)); }
  78% { scale: .985; }
  100% { opacity: 1; translate: 0 0; scale: 1; filter: blur(0) brightness(1) drop-shadow(0 0 26px rgb(201 161 93 / 38%)); }
}
@keyframes v2-mark-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -.45rem; }
}
@keyframes v2-mark-glow {
  from { filter: drop-shadow(0 0 22px rgb(201 161 93 / 32%)); }
  to { filter: drop-shadow(0 0 44px rgb(232 200 130 / 68%)); }
}
@keyframes v2-mark-ring {
  0% { opacity: 0; scale: .35; }
  4% { opacity: .95; }
  26% { opacity: 0; scale: 1.9; }
  100% { opacity: 0; scale: 1.9; }
}
@keyframes v2-mark-spark {
  0%, 100% { opacity: 0; scale: .3; }
  45% { opacity: 1; scale: 1.25; }
  60% { opacity: .85; scale: 1; }
}
/* Desktop: the one-line showroom name was wider than the copy column (cut off
   at 1280px); scale it with the viewport so it always fits. */
@media (min-width: 56rem) {
  .raid-home-v2 .v2-hero .v2-brand-title:lang(ar) { max-width: none; font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
  .raid-home-v2 .v2-hero .v2-slide .v2-brand-line { white-space: nowrap; font-size: clamp(1rem, 1.65vw, 1.4rem); }
}

/* Hero slide one: three service promises instead of the installments button (2026-10-24). */
.raid-home-v2 .v2-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  max-width: 30rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}
.raid-home-v2 .v2-promises li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  padding: .65rem .35rem .6rem;
  border: 1px solid rgb(201 161 93 / 38%);
  border-radius: .85rem;
  background: rgb(255 255 255 / 5%);
  color: #fbf9f2;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  backdrop-filter: blur(4px);
}
.raid-home-v2 .v2-promises span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgb(201 161 93 / 16%);
  color: var(--v2-gold);
}
.raid-home-v2 .v2-promises svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
@media (min-width: 56rem) {
  .raid-home-v2 .v2-promises { gap: .65rem; max-width: 32rem; }
  .raid-home-v2 .v2-promises li { padding: .75rem .5rem .7rem; font-size: .9rem; }
}

/* Quick budget buttons above the car list (2026-10-24). */
.raid-home-v2 .v2-budget {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .1rem 0 .35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.raid-home-v2 .v2-budget::-webkit-scrollbar { display: none; }
.raid-home-v2 .v2-budget-label { flex: none; color: #8a7350; font-size: .8rem; font-weight: 800; }
.raid-home-v2 .v2-budget a {
  flex: none;
  padding: .45rem .9rem;
  border: 1px solid #e3d8c6;
  border-radius: 999px;
  background: #fff;
  color: #3d362c;
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.raid-home-v2 .v2-budget a:hover { border-color: var(--v2-gold); }
.raid-home-v2 .v2-budget a[aria-current="true"] { border-color: var(--v2-gold); background: var(--v2-dark); color: #f0d9a6; }

/* "Sold recently" strip with the sold stamp (2026-10-24). */
.storefront-main > .v2-sold { width: min(calc(100% - 2rem), 84rem); margin: 2.25rem auto 0; }
@media (max-width: 35.99rem) {
  .storefront-main > .v2-sold { width: min(calc(100% - 1.25rem), 84rem); margin-top: 1.75rem; }
}
.raid-home-v2 .v2-sold-head h2 { margin: .2rem 0 .3rem; }
.raid-home-v2 .v2-sold-head p { margin: 0 0 .9rem; color: #6b665e; }
.raid-home-v2 .vehicle-grid.v2-sold-track {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 23%;
  gap: .75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .3rem;
}
.raid-home-v2 .vehicle-grid.v2-sold-track::-webkit-scrollbar { display: none; }
.raid-home-v2 .v2-sold-track .vehicle-card { scroll-snap-align: start; }
@media (max-width: 47.99rem) {
  .raid-home-v2 .vehicle-grid.v2-sold-track { grid-auto-columns: 46%; gap: .6rem; }
}

/* Available cars as a Haraj-style list (2026-10-24): one row per car, photo on
   the side and the details beside it, so a phone screen shows many cars at
   once. Offers and the sold strip keep the photo cards above. */
.raid-home-v2 .vehicle-grid.v2-list { grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid #e8e0d2; border-radius: 1rem; background: #fff; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card { border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card + .vehicle-card { border-top: 1px solid #eee7da; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.6rem;
  grid-template-areas: "content media";
  gap: .85rem;
  align-items: center;
  aspect-ratio: auto;
  padding: .75rem .8rem;
  border-radius: 0;
  background: #fff;
  color: #1b1813;
}
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-link:hover { background: #fbf8f2; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-media {
  position: relative;
  z-index: auto;
  inset: auto;
  grid-area: media;
  width: 7.6rem;
  height: 5.7rem;
  overflow: hidden;
  border-radius: .7rem;
  background: #eee7da;
}
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-media::after { display: none; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-link:hover .vehicle-card-media img { transform: none; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-badges { inset-block-start: .3rem; inset-inline-start: .3rem; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-badge { min-height: 1.3rem; padding: .05rem .4rem; font-size: .6rem; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-content { grid-area: content; align-self: center; min-width: 0; padding: 0; text-shadow: none; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-maker { display: none; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card h3 { margin: .05rem 0 .3rem; color: #1b1813; font-size: .98rem; font-weight: 800; line-height: 1.4; -webkit-line-clamp: 2; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-meta { color: #6f665a; font-size: .78rem; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-meta span + span::before { margin-inline: .35rem; color: #c9a15d; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .35rem; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-price strong { color: #8a5f22; font-size: 1.05rem; }
.raid-home-v2 .vehicle-grid.v2-list .vehicle-card-arrow { display: none; }
.raid-home-v2 .vehicle-grid.v2-list .raid-sold-stamp { font-size: .8rem; }
@media (min-width: 48rem) {
  /* Two list columns on wide screens. */
  .raid-home-v2 .vehicle-grid.v2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card { border-top: 1px solid #eee7da; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card:nth-child(-n+2) { border-top: 0; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card:nth-child(odd) { border-inline-end: 1px solid #eee7da; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card-link { grid-template-columns: minmax(0, 1fr) 9.5rem; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card-media { width: 9.5rem; height: 7rem; }
}
@media (max-width: 35.99rem) {
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card-link { aspect-ratio: auto; grid-template-columns: minmax(0, 1fr) 7rem; gap: .7rem; padding: .65rem .7rem; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card-media { width: 7rem; height: 5.25rem; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card h3 { font-size: .92rem; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card-meta { font-size: .74rem; }
  .raid-home-v2 .vehicle-grid.v2-list .vehicle-card-price strong { font-size: 1rem; }
}

/* Catalog toolbar without the heading text (2026-10-24): the heading stays for
   search engines and screen readers; the two icons sit side by side. */
.raid-home-v2 .catalog-intro-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.raid-home-v2 .catalog-intro { justify-content: flex-start; align-items: center; margin-bottom: .75rem; }
.raid-home-v2 .v2-catalog-tools { gap: .6rem; }
.raid-home-v2 .v2-tool-button { width: 3rem; height: 3rem; border-radius: 999px; box-shadow: 0 2px 8px rgb(14 14 12 / 6%); }

/* Search / filter as labelled pills, and the phone filter sheet scrolls to its
   last fields (the details box was clipped at its own height). 2026-10-24 */
.raid-home-v2 .v2-tool-button { display: inline-flex; gap: .4rem; width: auto; height: 2.75rem; padding-inline: 1rem; font-size: .9rem; font-weight: 700; }
.raid-home-v2 .v2-tool-button svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 47.99rem) {
  .raid-home-v2 .v2-sheet-body { align-content: start; grid-auto-rows: max-content; }
  .raid-home-v2 .v2-sheet .catalog-filters { overflow: visible; }
}
/* Hero swipes sideways on touch screens; vertical scrolling stays native. */
.raid-home-v2 .v2-hero { touch-action: pan-y; }
