/* Home-only refinements. Load after premium-public.css on the catalogue page. */
.storefront-body .storefront-header .raid-brand-logo {
  width: 4.8rem;
  min-height: 2.9rem;
  flex: 0 0 4.8rem;
}

.storefront-body .storefront-header .raid-brand-logo .raid-brand-symbol {
  width: 4.8rem;
  height: 2.3rem;
}

.storefront-body .storefront-header .raid-brand-logo .raid-brand-custom {
  width: 4.8rem !important;
  height: 2.3rem !important;
}

.storefront-main.raid-home-page {
  gap: clamp(1.7rem, 3vw, 2.8rem);
}

.raid-home-page > .raid-home-hero {
  min-height: 0;
  display: block;
  isolation: isolate;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid #3b3931;
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 32rem 20rem at 100% -35%, rgb(190 147 82 / 15%), transparent 68%),
    linear-gradient(125deg, #171715 0%, #1d1b19 55%, #171615 100%);
  box-shadow: 0 18px 42px rgb(17 16 14 / 9%);
}

.raid-home-page > .raid-home-hero::before {
  display: block;
  position: absolute;
  z-index: 0;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(22%, 15rem);
  border-inline-start: 1px solid rgb(211 178 126 / 11%);
  background: linear-gradient(180deg, rgb(209 170 105 / 7%), transparent 72%);
  content: "";
  pointer-events: none;
}

.raid-home-page > .raid-home-hero::after { display: none; }

.raid-home-hero .storefront-hero-copy {
  max-width: 43rem;
  padding-inline-start: clamp(.85rem, 2vw, 1.3rem);
}

.raid-home-hero .storefront-hero-copy::before {
  position: absolute;
  inset-block: .18rem .1rem;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(#f3d8a5, #a8793a 68%, transparent);
  content: "";
}

.raid-home-hero .storefront-eyebrow {
  color: #cdb78f;
  font-size: .68rem;
  font-weight: 400;
  line-height: 1.7;
}

.raid-home-hero h1 {
  margin-block: .45rem .4rem;
  color: #fbf9f2;
  font-size: clamp(1.78rem, 5.3vw, 3.25rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: 0;
}

.raid-home-hero .storefront-hero-copy > p {
  max-width: 48ch;
  margin: 0;
  color: #d1d2ca;
  font-size: clamp(.8rem, 2vw, .9rem);
  font-weight: 400;
  line-height: 1.95;
}

.raid-home-hero .storefront-hero-actions {
  gap: .55rem;
  margin-block-start: clamp(1.15rem, 2vw, 1.6rem);
}

.raid-home-hero .storefront-hero-actions a,
.raid-home-hero .storefront-hero-actions a.is-primary,
.raid-home-hero .storefront-hero-actions a.is-secondary {
  min-height: 2.8rem;
  padding-inline: .95rem;
  border-radius: .6rem;
  font-size: .76rem;
  font-weight: 500;
  box-shadow: none;
}

.raid-home-hero .storefront-hero-actions a.is-primary {
  border-color: #d8b77d;
  background: #d8b77d;
  color: #191b17;
}

.raid-home-hero .storefront-hero-actions a.is-secondary {
  border-color: rgb(225 211 188 / 42%);
  background: rgb(255 255 255 / 3%);
  color: #f0ebe0;
}

.raid-home-hero .storefront-hero-actions a:hover,
.raid-home-hero .storefront-hero-actions a.is-primary:hover {
  border-color: #f1dbb4;
  background: #f1dbb4;
  color: #191b17;
}

.raid-home-page .catalog-intro h2,
.raid-home-page .featured-plates h2,
.raid-home-page .success-partners h2,
.raid-home-page .home-location h2,
.raid-home-page .home-social h2 {
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
}

.raid-home-page .catalog-intro .storefront-eyebrow,
.raid-home-page .success-partners .storefront-eyebrow,
.raid-home-page .home-social .storefront-eyebrow {
  font-weight: 500;
}

.raid-home-page .vehicle-card-badge.is-recent {
  min-height: 1.65rem;
  padding-inline: .65rem;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 999px;
  background: rgb(30 31 27 / 82%);
  color: #f8e7c6;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.raid-home-page .vehicle-card h3 { font-weight: 600; line-height: 1.7; }
.raid-home-page .vehicle-card-meta strong,
.raid-home-page .vehicle-card-price strong { font-weight: 500; }
.raid-home-page .catalog-condition-tabs a,
.raid-home-page .catalog-search button,
.raid-home-page .catalog-filter-actions button { font-weight: 500; }

.raid-home-page .home-social {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #e7e1d7;
  border-radius: 1rem;
  background: #f6f3ed;
  text-align: center;
}

.raid-home-page .home-social-heading {
  display: grid;
  gap: .15rem;
  justify-items: center;
}

.raid-home-page .home-social-heading .storefront-eyebrow {
  color: #81653e;
  font-size: .66rem;
}

.raid-home-page .home-social-heading h2 {
  margin: 0;
  color: #22231f;
  font-size: clamp(1.18rem, 3vw, 1.55rem);
}

.raid-home-page .home-social nav {
  width: min(100%, 31rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: .25rem;
}

.raid-home-page .home-social nav a {
  min-width: 0;
  min-height: 5.6rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .45rem;
  padding: .3rem .15rem;
  border: 0;
  border-radius: .75rem;
  background: transparent;
  color: #252823;
  font-size: .69rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.raid-home-page .home-social nav a:hover {
  background: rgb(196 167 115 / 10%);
}

.raid-home-page .home-social-icon {
  width: clamp(2.7rem, 12vw, 3.25rem);
  height: clamp(2.7rem, 12vw, 3.25rem);
  display: grid;
  place-items: center;
  border: 1px solid #d4c4a9;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 4px 12px rgb(39 33 24 / 5%);
  color: #252823;
}

.raid-home-page .home-social-icon svg {
  width: 1.32rem;
  height: 1.32rem;
  fill: currentColor;
}

.raid-home-page .home-social-name { display: block; }

@media (min-width: 48rem) {
  .raid-home-page > .raid-home-hero { padding: clamp(2rem, 4vw, 3.2rem); }
  .raid-home-page .home-social { grid-template-columns: minmax(0, 1fr) minmax(0, auto); justify-items: stretch; text-align: start; }
  .raid-home-page .home-social-heading { justify-items: start; align-content: center; }
  .raid-home-page .home-social nav { justify-self: end; min-width: min(31rem, 48vw); }
}

@media (max-width: 23rem) {
  .raid-home-page > .raid-home-hero { padding: 1.25rem; }
  .raid-home-page .home-social { padding-inline: .65rem; }
  .raid-home-page .home-social nav { gap: 0; }
}

/* Trust and personal assistance follow the live inventory. */
.raid-home-page > :is(.home-reviews, .home-consultants) {
  width: min(calc(100% - 2rem), 84rem);
  min-width: 0;
  margin-inline: auto;
  scroll-margin-top: 5.5rem;
}

.raid-home-page :is(.home-reviews, .home-consultants) .home-section-heading {
  align-items: end;
  gap: 1rem 2rem;
  margin-block-end: 1.15rem;
}

.raid-home-page :is(.home-reviews, .home-consultants) .home-section-heading h2 {
  margin-block: .25rem .2rem;
  color: #22231f;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.raid-home-page :is(.home-reviews, .home-consultants) .home-section-heading p {
  margin: 0;
  color: #666b63;
  font-size: clamp(.77rem, 1.5vw, .86rem);
  line-height: 1.85;
}

.raid-home-page .home-reviews {
  padding-block: .35rem;
}

.home-reviews-google-link {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex: 0 0 auto;
  padding-inline: .8rem;
  border: 1px solid #d9d4ca;
  border-radius: .6rem;
  background: #fff;
  color: #665139;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}

.home-reviews-google-link:hover,
.home-review-source:hover { border-color: #aa8858; color: #30251a; }
.home-reviews-google-link svg { width: .85rem; height: .85rem; fill: currentColor; }
[dir="ltr"] .home-reviews-google-link svg { transform: rotate(180deg); }
.home-google-mark { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; color: #4285f4; font: 700 1rem/1 Arial, sans-serif; }

.home-review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 33.3333%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c8baa4 transparent;
  border: 1px solid #e4dfd5;
  border-radius: .95rem;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.home-review-track.is-one { grid-auto-columns: 100%; }
.home-review-track.is-two { grid-auto-columns: 50%; }
.home-review-nav { display: flex; justify-content: flex-end; gap: .4rem; margin-block-start: .55rem; }
.home-review-nav button { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid #ded7ca; border-radius: .5rem; background: #fff; color: #6c614f; }
.home-review-nav button:hover { border-color: #a5875d; color: #30251a; }
.home-review-nav svg { width: .9rem; height: .9rem; fill: currentColor; }
[dir="ltr"] .home-review-nav svg { transform: rotate(180deg); }

.home-review {
  min-width: 0;
  min-height: 14.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  border-inline-end: 1px solid #eee9df;
  scroll-snap-align: start;
}

.home-review-top { width: 100%; display: flex; align-items: center; gap: .7rem; }
.home-review-avatar {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e0d6c4;
  border-radius: 50%;
  background: #eee8dc;
  color: #654b2c;
  font-size: 1rem;
  font-weight: 700;
}
.home-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-review-author { min-width: 0; display: grid; gap: .05rem; }
.home-review-author strong { overflow: hidden; color: #272923; font-size: .84rem; font-weight: 700; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.home-review-author time { color: #898b83; font-size: .66rem; direction: ltr; unicode-bidi: isolate; }
.home-review-source { width: 2rem; height: 2rem; display: grid; place-items: center; flex: 0 0 auto; margin-inline-start: auto; border: 1px solid #ede9e1; border-radius: .5rem; }
.home-review-stars { margin-block: 1.1rem .6rem; color: #bd8f46; font: 700 1.02rem/1 Arial, sans-serif; letter-spacing: .12em; }
.home-review-text { max-width: 52ch; color: #41453e; font-size: .78rem; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.storefront-js .home-review-text:not(.is-expanded) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.home-review-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1rem; margin-block-start: .35rem; }
.home-review-controls button { min-height: 2.2rem; padding: 0; border: 0; background: transparent; color: #816038; font-size: .72rem; font-weight: 700; }
.home-review-controls button:hover { color: #4e361f; text-decoration: underline; }
.home-review-translate { display: none; margin-inline-start: auto; }
.storefront-js .home-review-translate { display: inline; }

.home-reviews-awaiting {
  min-height: 6.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e4dfd5;
  border-radius: .95rem;
  background: #fff;
}
.home-reviews-awaiting span { height: 2.2rem; color: #b9a079; font: 400 4rem/1 Georgia, serif; }
.home-reviews-awaiting p { color: #686b63; font-size: .8rem; line-height: 1.8; }

.home-consultants { padding-block: .25rem .55rem; }
.raid-home-page .home-consultants .home-consultants-promise { max-width: 20rem; padding-inline-start: .85rem; border-inline-start: 2px solid #c9ad7c; color: #76766e; font-size: .74rem; }
.home-consultant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.home-consultant-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  padding: 1.2rem;
  border: 1px solid #e2ddd2;
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 5px 18px rgb(38 33 24 / 3%);
}
.home-consultant-card.is-spotlight {
  grid-column: 1 / -1;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border-color: #3d3c34;
  background: #24251f;
  box-shadow: none;
}
.home-consultant-portrait {
  width: 4.3rem;
  height: 4.3rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dbcfb8;
  border-radius: .8rem;
  background: #eee8dc;
  color: #665135;
}
.home-consultant-portrait img { width: 100%; height: 100%; object-fit: cover; }
.home-consultant-portrait span { font-size: 2rem; font-weight: 600; }
.home-consultant-card.is-spotlight .home-consultant-portrait { width: 6.75rem; height: 6.75rem; border-color: #7f7058; border-radius: .9rem; background: #44433a; color: #f1d7a8; }
.home-consultant-card.is-spotlight .home-consultant-portrait span { font-size: 3rem; }
.home-consultant-content { min-width: 0; }
.home-consultant-category { display: block; margin-block-end: .15rem; color: #8e7045; font-size: .66rem; font-weight: 700; }
.home-consultant-content h3 { margin: 0; color: #292a25; font-size: 1.17rem; font-weight: 700; line-height: 1.5; }
.home-consultant-role { display: block; color: #5a5e55; font-size: .7rem; font-weight: 500; line-height: 1.6; }
.home-consultant-content > p { max-width: 65ch; margin-block: .65rem 0; color: #62665f; font-size: .74rem; line-height: 1.8; }
.home-consultant-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.home-consultant-tags li { padding: .22rem .52rem; border: 1px solid #e9e3d9; border-radius: 999px; background: #faf8f4; color: #746953; font-size: .62rem; line-height: 1.6; }
.home-consultant-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-block-start: 1rem; }
.home-consultant-actions a { min-height: 2.45rem; display: inline-flex; align-items: center; justify-content: center; gap: .36rem; padding-inline: .7rem; border: 1px solid #dad5ca; border-radius: .53rem; background: #fff; color: #383a34; font-size: .69rem; font-weight: 700; line-height: 1.4; }
.home-consultant-actions a:hover { border-color: #a5895d; background: #f7f2e8; }
.home-consultant-actions a.is-whatsapp { border-color: #176d4c; background: #176d4c; color: #fff; }
.home-consultant-actions a.is-whatsapp:hover { background: #0f5d3e; }
.home-consultant-actions svg { width: .95rem; height: .95rem; fill: currentColor; }
.home-consultant-card.is-spotlight :is(h3, .home-consultant-role) { color: #f5f2ea; }
.home-consultant-card.is-spotlight .home-consultant-category { color: #d5b47b; }
.home-consultant-card.is-spotlight .home-consultant-content > p { color: #d2d1c8; }
.home-consultant-card.is-spotlight .home-consultant-tags li { border-color: #55574c; background: #30332b; color: #e5d9c6; }
.home-consultant-card.is-spotlight .home-consultant-actions a:not(.is-whatsapp) { border-color: #6b6b5d; background: transparent; color: #f3ead9; }
.home-consultant-card.is-spotlight .home-consultant-actions a:not(.is-whatsapp):hover { background: #363a30; }
.home-consultants-empty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid #e2ddd2; border-radius: .9rem; background: #fff; }
.home-consultants-empty p { color: #62665f; font-size: .78rem; }
.home-consultants-empty a { min-height: 2.4rem; display: inline-flex; align-items: center; padding-inline: .8rem; border-radius: .5rem; background: #262923; color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; }

@media (max-width: 47.99rem) {
  .raid-home-page > :is(.home-reviews, .home-consultants) { width: min(calc(100% - 1.25rem), 84rem); }
  .raid-home-page :is(.home-reviews, .home-consultants) .home-section-heading { align-items: start; flex-direction: column; gap: .7rem; }
  .home-reviews-google-link { align-self: start; }
  .home-review-track { grid-auto-columns: min(86%, 22rem); gap: .65rem; overflow: auto; border: 0; border-radius: 0; background: transparent; scrollbar-width: none; }
  .home-review-track::-webkit-scrollbar { display: none; }
  .home-review-track.is-one { grid-auto-columns: min(100%, 22rem); }
  .home-review-track.is-two { grid-auto-columns: min(86%, 22rem); }
  .home-review-nav { display: none; }
  .home-review { min-height: 15.6rem; border: 1px solid #e4dfd5; border-radius: .8rem; background: #fff; }
  .home-consultant-grid { grid-template-columns: minmax(0, 1fr); }
  .home-consultant-card.is-spotlight { grid-column: auto; }
  .raid-home-page .home-consultants .home-consultants-promise { max-width: 100%; }
}

@media (max-width: 28rem) {
  .home-consultant-card,
  .home-consultant-card.is-spotlight { grid-template-columns: 3.6rem minmax(0, 1fr); gap: .7rem; padding: 1rem; }
  .home-consultant-portrait,
  .home-consultant-card.is-spotlight .home-consultant-portrait { width: 3.6rem; height: 3.6rem; }
  .home-consultant-portrait span,
  .home-consultant-card.is-spotlight .home-consultant-portrait span { font-size: 1.7rem; }
  .home-consultant-content h3 { font-size: 1.05rem; }
  .home-consultant-actions { gap: .35rem; }
  .home-consultant-actions a { padding-inline: .55rem; font-size: .64rem; }
  .home-consultants-empty { align-items: start; flex-direction: column; }
}
