/**
 * Car House - global styles (Bootstrap 5 companion)
 * Brand: primary #d90416, secondary #f5b400, accent #050505, text #343434
 */

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */
   :root {
    --rj-primary: #d90416;
    --rj-primary-dark: #9f000d;
    --rj-secondary: #f5b400;
    --rj-secondary-dark: #c88400;
    --rj-text: #343434;
    --rj-accent: #050505;
    --rj-white: #ffffff;
    --rj-lilac-100: #fff1c3;
    --rj-lilac-50: #fff8df;
    --rj-page-bg: #fffaf0;
    --rj-border-soft: rgba(0, 0, 0, 0.08);
    --rj-shadow-soft: 0 4px 12px 2px rgba(217, 4, 22, 0.08);
    --rj-radius-lg: 30px;
    --rj-radius-md: 20px;
    --rj-radius-sm: 15px;
    --rj-max: 1340px;
    --rj-font: "DM Sans", system-ui, sans-serif;
  }

  /* -------------------------------------------------------------------------
     Modern spacing + typography (homepage)
     - keeps desktop look, improves mobile organization
     ------------------------------------------------------------------------- */
  :root {
    --rj-section-py: clamp(2rem, 4.2vw, 3.25rem);
    --rj-section-py-tight: clamp(1.5rem, 3vw, 2.5rem);
  }

  section {
    scroll-margin-top: var(--rj-header-offset, 96px);
  }

  .rj-section-heading {
    line-height: 1.15;
  }

  .rj-trust-strip,
  .rj-shop-by-type,
  .rj-why,
  .rj-testimonials,
  .rj-discover,
  .rj-dealership,
  .rj-latest-vehicles,
  .rj-blog,
  .rj-map,
  .rj-faq {
    padding-top: var(--rj-section-py);
  }

  /* keep your existing bottoms where present, only tighten on mobile */
  @media (max-width: 767.98px) {
    body {
      font-size: 1.05rem;
      line-height: 1.65;
    }

    .rj-hero {
      padding-top: 3.25rem;
      padding-bottom: 2.75rem;
    }

    .rj-trust-strip,
    .rj-shop-by-type,
    .rj-why,
    .rj-testimonials,
    .rj-discover,
    .rj-dealership,
    .rj-latest-vehicles,
    .rj-blog,
    .rj-map,
    .rj-faq {
      padding-top: var(--rj-section-py-tight);
    }

    .rj-blog-page{
      padding-top: 0!important;
    }
  }
  
  /* -------------------------------------------------------------------------
     Base
     ------------------------------------------------------------------------- */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
  }

  body {
    font-family: var(--rj-font);
    color: var(--rj-text);
    font-size: 1.125rem;
    line-height: 1.75;
    background-color: var(--rj-page-bg);
    /* Prevent layout shift ("shake") when offcanvas opens/closes */
    overflow-x: hidden;
    overflow-y: auto;
  }

  html {
    /* Keep scrollbar space reserved where supported */
    scrollbar-gutter: stable;
    overflow-x: hidden;
  }

  /* -------------------------------------------------------------------------
     Scrollbar styling (global)
     - Chrome/Edge/Safari: ::-webkit-scrollbar
     - Firefox: scrollbar-width / scrollbar-color
     ------------------------------------------------------------------------- */
  html {
    scrollbar-width: auto; /* Firefox */
    scrollbar-color: var(--rj-primary) rgba(0, 0, 0, 0.10); /* Firefox */
  }

  /* WebKit browsers */
  html::-webkit-scrollbar {
    width: 14px;
    height: 14px;
  }

  html::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
  }

  html::-webkit-scrollbar-thumb {
    background-color: var(--rj-primary);
    border-radius: 999px;
    border: 3px solid rgba(0, 0, 0, 0.08); /* creates a little padding */
  }

  html::-webkit-scrollbar-thumb:hover {
    background-color: var(--rj-primary-dark); /* slightly darker than --rj-primary */
  }

  /* When mobile menu opens, lock scrolling on html (not body) */
  html.rj-scroll-locked {
    overflow: hidden;
  }

  /* Bootstrap offcanvas may add body padding-right; neutralize to prevent shake */
  body {
    padding-right: 0 !important;
  }
  
  h1,
  h2,
  h3,
  h4,
  .rj-heading {
    color: var(--rj-accent);
    font-weight: 700;
    letter-spacing: -0.04em;
  }

*{
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
  
  a {
    color: var(--rj-primary);
    text-decoration: none;
  }
  
  a:hover {
    color: var(--rj-secondary);
  }
  
  .rj-container {
    max-width: var(--rj-max);
    margin-left: auto;
    margin-right: auto;
  }

  .rank-math-breadcrumb a, .rank-math-breadcrumb .separator {
    color: #3E3E42;
}

.rank-math-breadcrumb a:hover{
  color: var(--rj-secondary);
}
.rank-math-breadcrumb {
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 500;
}

.rank-math-breadcrumb .last {
    color: var(--rj-secondary);
}

nav.rank-math-breadcrumb {
    padding: 20px 0 0;
}
  
  /* -------------------------------------------------------------------------
     Header
     ------------------------------------------------------------------------- */
  .rj-site-header {
    background: var(--rj-white);
    border-bottom: 1px solid var(--rj-border-soft);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050; /* stay above offcanvas backdrop edge cases */
  }

  /* Offset content for fixed header (set via JS) */
  main {
    padding-top: var(--rj-header-offset, 96px);
  }

  /* Make Bootstrap toggler visible (no navbar-light/dark used) */
  .rj-site-header .navbar-toggler {
    border: 1px solid rgba(217, 4, 22, 0.25);
    border-radius: 12px;
    padding: 0.5rem 0.65rem;
    box-shadow: none;
  }

  .rj-site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(217, 4, 22, 0.18);
  }

  .rj-site-header .navbar-toggler-icon {
    width: 1.6rem;
    height: 1.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(217,4,22,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* Better collapsed menu layout on mobile/tablet */
  @media (max-width: 1199.98px) {
    /* Mobile nav is now offcanvas; keep nav-link padding consistent */
    .rj-site-header .navbar-nav .nav-link {
      padding: 0.65rem 0.25rem;
    }
  }
  
  .rj-site-header.rj-header-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }
  
  .navbar-brand img {
    width: min(220px, 44vw);
    height: auto;
    display: block;
    object-fit: contain;
  }
  
  @media (min-width: 992px) {
    .navbar-brand img {
      width: 240px;
    }
  }

  .rj-header-logo {
    max-height: 80px;
  }

  .rj-header-logo--mobile {
    width: min(190px, 62vw);
    max-height: 64px;
  }
  
  .rj-site-header .nav-link {
    color: var(--rj-accent);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
  }
  
  .rj-site-header .nav-link:hover,
  .rj-site-header .nav-link:focus {
    color: var(--rj-secondary);
  }
  
  .rj-site-header .nav-link.active {
    color: var(--rj-secondary);
  }
  
  .rj-header-contact {
    font-size: 0.95rem;
  }
  
  .rj-header-contact a {
    color: var(--rj-accent);
    font-size: 16px;
    font-weight: 600;
    position: relative;
  }
  
  .rj-header-contact a:hover {
    color: var(--rj-secondary);
  }

.rj-header-contact a:after {
    content: '';
    height: 70%;
    width: 1px;
    background: rgba(217, 4, 22, 0.22);
    position: absolute;
    right: -14px;
}

.rj-header-contact a:last-child:after {
    display: none;
}
  
  .rj-header-contact svg {
    flex-shrink: 0;
  }

  .rj-header-contact--mobile {
    display: grid;
    gap: 0.65rem;
    padding-top: 0.5rem;
  }

  .rj-header-contact--mobile a {
    padding: 0.25rem 0;
  }
  
  /* Make header match screenshot spacing/alignment on desktop */
  @media (min-width: 1200px) {
    .rj-site-header .navbar-nav .nav-link {
      font-size: 16px;
      padding-left: 0.7rem;
      padding-right: 0.7rem;
    }

    /* Keep contact stacked on small-xl so it doesn't wrap/drop */
    .rj-header-contact {
      gap: 0.6rem !important;
      font-size: 0.9rem;
    }

    .rj-header-contact span {
      line-height: 1.2;
    }
  }

  /* Switch contact to a single row only when there's enough width */
  @media (min-width: 1240px) {
    .rj-header-contact {
      flex-direction: row !important;
      align-items: center !important;
      gap: 1.25rem !important;
      flex-wrap: nowrap;
    }

    .rj-header-contact a {
      align-items: center !important;
      gap: 0.6rem !important;
      white-space: nowrap;
    }
  }

  /* -------------------------------------------------------------------------
     Mobile header offcanvas (menu drawer)
     ------------------------------------------------------------------------- */
  .rj-mobile-nav {
    width: min(92vw, 360px);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-mobile-nav .offcanvas-header {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
  }

  .rj-mobile-nav .offcanvas-body {
    padding: 0.85rem 1rem 1rem;
    background: #fff;
  }

  .rj-mobile-nav-links .nav-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--rj-accent);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .rj-mobile-nav-links .nav-link.active {
    color: var(--rj-secondary);
  }

  .rj-mobile-nav-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 0.75rem;
  }

  .rj-mobile-nav-contact a {
    color: rgba(0, 0, 0, 0.72);
    font-size: 14px;
    font-weight: 700;
  }

  .rj-mobile-nav-contact a:hover {
    color: var(--rj-secondary);
  }
  
  /* -------------------------------------------------------------------------
     Hero
     ------------------------------------------------------------------------- */
  .rj-hero {
    position: relative;
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
    background:
      radial-gradient(circle at 18% 12%, rgba(255, 213, 31, 0.42), transparent 32%),
      linear-gradient(180deg, var(--rj-white) 0%, var(--rj-lilac-100) 100%);
    background-color: var(--rj-lilac-100);
  }
  
  .rj-hero::after {
    content: "";
    position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: -1px; /* avoid 1px seam below gradient/SVG */
    background-image: url("../images/hero-background.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
  }
  
  .rj-hero .container-xxl {
    position: relative;
    z-index: 1;
  }
  
  .rj-hero-title {
    font-size: clamp(2rem, 5vw, 4.375rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--rj-accent);
  }
  
  .rj-hero-brand {
    display: block;
    font-weight: 900;
    letter-spacing: 0.01em;
    color: var(--rj-primary);
    font-family: 'BR Firma', sans-serif;
    font-weight: 900;
  }
  
  .rj-hero-brand .rj-hero-brand-accent {
    color: var(--rj-secondary);
  }
  
  .rj-hero-lead {
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 500;
    line-height: 1.35;
  }
  
  /* -------------------------------------------------------------------------
     Home search bar
     ------------------------------------------------------------------------- */
  .rj-search-bar {
    max-width: 830px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .rj-search-pill {
    width: min(830px, 100%);
    display: flex;
    align-items: stretch;
    border-radius: 999px;
    background: var(--rj-white);
    border: 1px solid rgba(217, 4, 22, 0.18);
    box-shadow: 0 10px 30px rgba(217, 4, 22, 0.10);
    padding: 8px;
    gap: 0.35rem;
  }
  
  .rj-search-field {
    flex: 1;
    min-width: 0;
    border: 1px solid #DCDCDC;
    background-color: var(--rj-lilac-50);
    border-radius: 100px;
  }
  
  .rj-pill-select {
    border: 0;
    border-radius: 999px;
    padding: 17px 35px;
    font-size: 18px;
    font-weight: 500;
    color: var(--rj-text);
    background-color: transparent;
  }
  
  .rj-pill-select:focus {
    box-shadow: none;
  }

  .rj-pill-select:disabled {
      background-color: transparent;
      opacity: 0.5;
  }
  
  .rj-pill-btn {
    padding: 17px 53px;
    border-radius: 100px!important;
    background: var(--rj-primary);
    border: 2px solid var(--rj-primary);
    color: var(--rj-white);
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
  }
  
  .rj-pill-btn:hover,
  .rj-pill-btn:focus {
    background: var(--rj-white);
    border-color: var(--rj-primary);
    color: var(--rj-accent);
  }
  
  @media (max-width: 767.98px) {
    .rj-search-pill {
      flex-direction: column;
      border-radius: var(--rj-radius-md);
      padding: 0.75rem;
    }
  
    .rj-pill-select,
    .rj-pill-btn {
      border-radius: var(--rj-radius-md);
      width: 100%;
    }

    .rj-pill-select {
      padding: 14px 18px;
      font-size: 16px;
    }

    .rj-pill-btn {
      padding: 14px 18px;
      font-size: 16px;
      white-space: normal;
    }
    .rj-blog-single-main {
      margin-top: 0;
    }
  }
  
  /* Google rating strip */
  .rj-google-rating {
    font-size: 1rem;
    font-size: 20px;
  }

  @media (max-width: 575.98px) {
    .rj-google-rating {
      font-size: 16px;
    }
  }
  
  .rj-google-rating .rj-rating-value {
    font-weight: 700;
    color: var(--rj-accent);
  }
  
  .rj-google-rating .rj-divider {
    opacity: 0.4;
  }
.rj-google-rating a{
  color: var(--rj-secondary);
  font-weight: 600;
}
  
  /* -------------------------------------------------------------------------
     Trust strip (4-up)
     ------------------------------------------------------------------------- */
  .rj-trust-strip {
    padding-top: 45px;
    padding-bottom: 40px;
  margin-top: -1px;
  }
  
  .rj-trust-bar {
    background: var(--rj-white);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0.5rem;
  }
  
  .rj-trust-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    height: 100%;
  }
  
  .rj-trust-item img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  
  .rj-trust-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
  }
  
  .rj-trust-text p {
    margin: 0.15rem 0 0;
    font-size: 16px;
    line-height: 1.2;
    color: var(--rj-text);
  }
  
  @media (min-width: 768px) {
    .rj-trust-bar .col-md-3 + .col-md-3 .rj-trust-item {
      border-left: 1px solid rgba(0, 0, 0, 0.08);
    }
  }
  
  /* -------------------------------------------------------------------------
     Shop by type
     ------------------------------------------------------------------------- */
  .rj-shop-by-type {
    background: var(--rj-page-bg);
    border-top: 1px solid var(--rj-border-soft);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .rj-shop-by-type .rj-section-heading {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
  }
  
  .rj-link-view-all {
    font-weight: 700;
    text-decoration: underline;
    font-size: 1rem;
  }


.rj-shop-by-type-section {
    background: var(--rj-white);
    margin-top: 60px;
    padding: 56px 15px 70px 15px;
    border-radius: 20px;
    border: 1px solid #00000014;
}

@media (max-width: 575.98px) {
  .rj-shop-by-type-section {
    margin-top: 28px;
    padding: 28px 12px 34px 12px;
  }

  /* Shop by type: Owl track spacing on phones */
  .rj-shop-by-type-section .rj-shop-type-owl .owl-stage-outer {
    padding: 2px;
  }

  .rj-shop-by-type-section .rj-shop-type-owl .owl-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .rj-shop-by-type-section .rj-shop-type-owl .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: block;
    background: rgba(217, 4, 22, 0.22);
  }

  .rj-shop-by-type-section .rj-shop-type-owl .owl-dot.active span {
    background: var(--rj-primary);
  }
}
  
  .rj-body-type-card {
    display: block;
    text-align: center;
    border-radius: var(--rj-radius-md);
    overflow: hidden;
    /* background: var(--rj-white); */
    box-shadow: var(--rj-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
  }
  
  .rj-body-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(217, 4, 22, 0.12);
  }
  
  .rj-body-type-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .rj-body-type-card .rj-info-group {
    padding: 1rem 0.5rem 1.25rem;
  }
  
  .rj-body-type-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .rj-body-type-card .available {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--rj-radius-sm);
    border: 1px solid var(--rj-border-soft);
    background: var(--rj-white);
    box-shadow: var(--rj-shadow-soft);
    color: var(--rj-accent);
  }
  
  /* -------------------------------------------------------------------------
     Why choose + feature cards
     ------------------------------------------------------------------------- */
  .rj-why {
    padding-bottom: 2.5rem;
  }
  
  .rj-why-panel {
    background: var(--rj-white);
    border-radius: var(--rj-radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .rj-why-intro {
    font-size: 1.125rem;
    line-height: 1.62;
  }
  
.rj-why-grid {
  margin-top: 1.25rem;
}

.rj-why-card {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  background: #fff;
  height: 100%;
  text-align: center;
}

.rj-why-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 4, 22, 0.18);
  background: rgba(233, 220, 255, 0.35);
  color: var(--rj-primary);
}

.rj-why-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--rj-accent);
}

.rj-why-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--rj-text);
}

.rj-contact-card {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}

.rj-contact-media {
  position: relative;
}

.rj-contact-media img {
  width: 100%;
  height: auto;
  display: block;
}

.rj-contact-ribbon {
  text-align: center;
  color: var(--rj-accent);
  font-size: clamp(1.05rem, 2.6vw, 1.5625rem);
  font-weight: 500;
  background-image: linear-gradient(180deg, #FFFFFF 0%, var(--rj-lilac-100) 100%);
  padding: 12px;
  border-radius: 0px 0px 20px 20px;
}

.rj-contact-ribbon strong {
  font-weight: 800;
}

.rj-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.rj-contact-action {
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: left;
}

.rj-contact-action--divider {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.rj-contact-action-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--rj-primary);
}

.rj-contact-action-text {
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.70);
  font-size: 20px;
}

.rj-contact-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 800;
  color: var(--rj-primary);
}

.rj-contact-link:hover {
  color: var(--rj-secondary);
}

@media (max-width: 575.98px) {
  .rj-contact-actions {
    grid-template-columns: 1fr 1fr;
  }
  .rj-contact-action--divider {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .rj-contact-action {
    justify-content: flex-start;
  }
}
  
  /* -------------------------------------------------------------------------
     Testimonials (static)
     ------------------------------------------------------------------------- */
  .rj-testimonials {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  }
  
.rj-reviews-wrap {
  background: var(--rj-white);
  border-radius: 22px;
  padding: 1.75rem 1.25rem 2rem;
}

.rj-reviews-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.rj-reviews-head h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 800;
}

.rj-reviews-controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.6rem;
}

.rj-reviews-control {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.55);
  font-size: 1.35rem;
  line-height: 1;
}

.rj-reviews-control:hover {
  background: #fff;
  color: var(--rj-primary);
  border-color: var(--rj-primary);
}

.rj-review-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 18px;
  padding: 1rem 1rem 0.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.rj-review-meta .rj-review-stars {font-size: 15px;}
/* The carousel shows active + next/prev during transition.
   Keep overflow clipped so multi-card slides don't spill out. */
.rj-reviews-carousel .carousel-inner {
  overflow: hidden;
  padding: 0.25rem;
}

/* IMPORTANT: don't override Bootstrap's carousel-item display/transform rules */
.rj-reviews-carousel .rj-review-track {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  width: 100%;
}
.rj-review-col {
  padding: 2px;
}
.rj-reviews-carousel .rj-review-col {
  flex: 0 0 100%;
}

@media (min-width: 576px) {
  .rj-reviews-carousel .rj-review-col {
    flex-basis: calc(50% - 0.75rem);
  }
}

@media (min-width: 992px) {
  .rj-reviews-carousel .rj-review-col {
    flex-basis: calc(25% - 1.125rem);
  }
}

.rj-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.rj-review-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.rj-review-stars {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #f5b301;
  line-height: 1;
}

.rj-review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
}

.rj-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rj-review-avatar--pink {
  background: #e94b7a;
}

.rj-review-avatar--purple {
  background: var(--rj-primary);
}

.rj-review-avatar--orange {
  background: var(--rj-secondary);
  color: var(--rj-accent);
}

.rj-review-text {
  margin: 0 0 0.5rem;
  color: var(--rj-text);
  font-size: 18px;
  line-height: 1.35;
  flex: 1;
}

.rj-review-more {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.rj-review-more:hover {
  color: var(--rj-primary);
}

.rj-review-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
}

.rj-review-time {
  font-size: 14px;
  font-weight: 800;
  color: var(--rj-accent);
}

.rj-review-google {
  width: 29px!important;
  height: 29px!important;
}

/* -------------------------------------------------------------------------
   Owl Carousel (project defaults)
   ------------------------------------------------------------------------- */
.rj-owl .owl-stage {
  display: flex;
}

.rj-owl .owl-item {
  display: flex;
}

.rj-owl .owl-item > * {
  width: 100%;
}

.rj-owl .owl-stage-outer {
  overflow: hidden;
}

.rj-latest-vehicles-wrap {
  position: relative;
  overflow: hidden; /* prevent horizontal scrollbar from nav offsets */
}

/* Reuse existing round control styling for Owl nav buttons */
.rj-latest-vehicles-wrap .rj-reviews-control {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  display: none!important;
}

.rj-latest-vehicles-wrap .rj-owl-prev {
  left: 8px;
}

.rj-latest-vehicles-wrap .rj-owl-next {
  right: 8px;
}

@media (max-width: 1199.98px) {
  .rj-latest-vehicles-wrap .rj-owl-prev {
    left: 6px;
  }

  .rj-latest-vehicles-wrap .rj-owl-next {
    right: 6px;
  }
}

.rj-owl-item-pad {
  height: 100%;
}

/* -------------------------------------------------------------------------
   Latest vehicles features list (icons + text)
   ------------------------------------------------------------------------- */
.rj-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 0.8rem;
}

.rj-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 0.45rem; */
  min-width: 0;
  text-align: center;
}

.rj-feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rj-feature-icon.rj-wagon-icon {
    width: 50px;
}

.rj-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rj-feature-txt {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .rj-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
  
  /* -------------------------------------------------------------------------
     Discover + stats
     ------------------------------------------------------------------------- */
  .rj-discover {
    padding-bottom: 2rem;
  }
  
  .rj-discover-panel {
    background: var(--rj-white);
    border-radius: var(--rj-radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .rj-btn-browse {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
    border-radius: var(--rj-radius-sm);
    padding: 0.85rem 2rem;
    font-weight: 600;
  }
  
  .rj-btn-browse:hover {
    background: var(--rj-white);
    color: var(--rj-accent);
    border-color: var(--rj-secondary);
  }

  /* -------------------------------------------------------------------------
     Trusted dealership (Your Trusted Used Car Dealership in Sydney)
     ------------------------------------------------------------------------- */
  .rj-dealership-panel {
    padding-top: 0.25rem;
  }

  .rj-dealership-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.15rem 1rem;
    height: 100%;
    align-content: center;
  }

  @media (max-width: 575.98px) {
    .rj-dealership-benefits {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
  }

  .rj-dealership-benefit {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-height: 78px;
  }

  .rj-dealership-benefit img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .rj-dealership-benefit-text h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: var(--rj-accent);
  }

  .rj-dealership-benefit-text p {
    margin: 0.15rem 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--rj-accent);
  }

  /* Left/right divider (like screenshot) */
  @media (min-width: 992px) {
    .rj-dealership-panel .left-content {
      /* padding-right: 2rem; */
      border-right: 1px solid rgba(0, 0, 0, 0.14);
    }

    .rj-dealership-panel .right-content{
      padding-left: 3rem;
    }
  }

  .rj-dealership-copy p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 0.95rem;
    color: rgba(0, 0, 0, 0.70);
  }

  .rj-dealership-copy p:last-child {
    margin-bottom: 0;
  }
  
  /* -------------------------------------------------------------------------
     Car card (reusable Ã¢â‚¬â€ listings + homepage)
     ------------------------------------------------------------------------- */
  .rj-latest-vehicles {
    padding-bottom: 2rem;
  }
  
  .rj-section-title-row .rj-section-heading {
    font-size: clamp(1.75rem, 3vw, 2rem);
  }
  
  .car-card {
    background: var(--rj-white);
    border-radius: var(--rj-radius-md);
    overflow: hidden;
    border: 1px solid var(--rj-border-soft);
    box-shadow: var(--rj-shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .car-card .car-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eee;
  }
  
  .car-card .car-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.car-card .car-card-badge img {
    width: 16px;
    margin-right: 5px;
}
  
  .car-card .car-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--rj-primary);
    color: var(--rj-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
  }
  
  .car-card .car-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .car-card .car-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    white-space: nowrap;        /* prevent line break */
    overflow: hidden;           /* hide overflow */
    text-overflow: ellipsis;    /* show ... */
  }
  
  .car-card .car-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    display: grid;
    gap: 0.25rem;
  }
  
  .car-card .car-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rj-primary);
    margin-bottom: 0.25rem;
  }
  
  .car-card .car-fee-note {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .car-card .car-card-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  @media (max-width: 420px) {
    .car-card .btn-details,
    .car-card .btn-reserve {
      width: 100%;
    }
  }
  .car-card .btn-details {
    border: 2px solid var(--rj-secondary);
    color: var(--rj-accent);
    background: var(--rj-white);
    border-radius: var(--rj-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    font-size: 15px;
    width: calc(50% - 5px);
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
  }
  
  .car-card .btn-details:hover {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
  }
  
  .car-card .btn-reserve {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
    border-radius: var(--rj-radius-sm);
    font-weight: 600;
    font-size: 15px;
    width: calc(50% - 5px);
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
  }
  
  .car-card .btn-reserve:hover {
    background: var(--rj-secondary);
    border-color: var(--rj-secondary);
    color: var(--rj-white);
  }
  
  /* -------------------------------------------------------------------------
     Pre-delivery + benefits
     ------------------------------------------------------------------------- */
  .rj-fee-disclosure {
    background: var(--rj-white);
    border-radius: var(--rj-radius-md);
    padding: 1.5rem;
    border: 1px solid var(--rj-border-soft);
  }
  
  .rj-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
  }
  
  .rj-benefits-list li {
    padding-left: 1.5rem;
    position: relative;
  }
  
  .rj-benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rj-secondary);
  }
  
  /* -------------------------------------------------------------------------
     Blog cards
     ------------------------------------------------------------------------- */
  .rj-blog {
    padding-bottom: 2.5rem;
  }
  
  .rj-blog-card {
    background: var(--rj-white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .rj-blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
  }

  @media (max-width: 575.98px) {
    .rj-blog-card img {
      height: auto;
      aspect-ratio: 16 / 9;
    }
  }
  
  .rj-blog-card .rj-blog-card-body {
    padding: 1.05rem 1.15rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .rj-blog-date {
    display: inline-flex;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.70);
    background: rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    padding: 0.25rem 0.6rem;
  }
  
  .rj-blog-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0.8rem 0 0.55rem;
    line-height: 1.3;
  }

  .rj-blog-title a {
    color: var(--rj-accent);
  }

  .rj-blog-title a:hover {
    color: var(--rj-secondary);
  }

  .rj-blog-excerpt {
    margin: 0 0 0.95rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--rj-text);
  }

  .rj-blog-more {
    margin-top: auto;
    font-size: 16px;
    font-weight: 400;
    color: var(--rj-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .rj-blog-more:hover {
    color: var(--rj-secondary);
  }
  /* NOTE: mobile blog image sizing handled above via aspect-ratio */

  /* -------------------------------------------------------------------------
     Blog listing page (archive + sidebar)
     ------------------------------------------------------------------------- */
  .rj-blog-page {
    padding-top: clamp(1rem, 2.5vw, 1.75rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .rj-blog-page__title {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    color: var(--rj-accent);
    margin: 0 0 1.35rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .rj-blog-filters-wrap {
    margin-bottom: 1.75rem;
  }

  .rj-blog-filters-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    align-items: center;
  }

  @media (max-width: 767.98px) {
    .rj-blog-filters-scroll {
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      padding-bottom: 0.35rem;
      margin-inline: -0.25rem;
      padding-inline: 0.25rem;
    }

    .rj-blog-filters-scroll::-webkit-scrollbar {
      height: 4px;
    }

    .rj-blog-filters-scroll::-webkit-scrollbar-thumb {
      background: rgba(217, 4, 22, 0.25);
      border-radius: 4px;
    }

    .rj-blog-filter-btn {
      flex-shrink: 0;
    }
  }

  .rj-blog-filter-btn {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--rj-white);
    color: var(--rj-text);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    line-height: 1.3;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .rj-blog-filter-btn:hover {
    border-color: var(--rj-primary);
    color: var(--rj-primary);
  }

  .rj-blog-filter-btn.active {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
    box-shadow: 0 4px 14px rgba(217, 4, 22, 0.22);
  }

  a.rj-blog-filter-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rj-blog-sidebar-card {
    background: var(--rj-white);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.35rem 1.35rem;
    margin-bottom: 1.25rem;
  }

  .rj-blog-sidebar__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--rj-accent);
    margin: 0 0 1rem;
    line-height: 1.25;
  }

  .rj-blog-search-input {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 500;
  }

  .rj-blog-search-input:focus {
    border-color: var(--rj-primary);
    box-shadow: 0 0 0 3px rgba(217, 4, 22, 0.15);
  }

  .rj-blog-recent-list li + li {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .rj-blog-recent-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--rj-accent);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease;
  }

  .rj-blog-recent-item:hover {
    color: var(--rj-secondary);
  }

  .rj-blog-recent-item img {
    width: 88px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .rj-blog-recent-item__text {
    flex: 1;
    min-width: 0;
  }

  .rj-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 2.25rem;
    padding-top: 0.25rem;
  }

  .rj-blog-pagination__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--rj-white);
    color: var(--rj-text);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.45rem 0.95rem;
    min-height: 42px;
    border-radius: 10px;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .rj-blog-pagination__nav-text {
    white-space: nowrap;
  }

  .rj-blog-pagination__chev {
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 800;
    color: var(--rj-primary);
    margin-top: -1px;
  }

  a.rj-blog-pagination__nav {
    text-decoration: none;
    cursor: pointer;
  }

  a.rj-blog-pagination__nav:hover {
    border-color: var(--rj-primary);
    color: var(--rj-primary);
    box-shadow: 0 4px 12px rgba(217, 4, 22, 0.12);
  }

  a.rj-blog-pagination__nav:hover .rj-blog-pagination__chev {
    color: var(--rj-secondary);
  }

  .rj-blog-pagination__nav.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
  }

  .rj-blog-pagination__nav.is-disabled .rj-blog-pagination__chev {
    color: rgba(70, 70, 70, 0.45);
  }

  .rj-blog-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
  }

  .rj-blog-pagination__pages li {
    list-style: none;
  }

  .rj-blog-pagination__page {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--rj-white);
    color: var(--rj-text);
    font-weight: 700;
    font-size: 0.9375rem;
    min-width: 42px;
    min-height: 42px;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  a.rj-blog-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
  }

  a.rj-blog-pagination__page:hover {
    border-color: var(--rj-primary);
    color: var(--rj-primary);
    box-shadow: 0 4px 12px rgba(217, 4, 22, 0.12);
  }

  a.rj-blog-pagination__page:focus-visible {
    outline: 2px solid var(--rj-primary);
    outline-offset: 2px;
  }

  a.rj-blog-pagination__nav:focus-visible {
    outline: 2px solid var(--rj-primary);
    outline-offset: 2px;
  }

  .rj-blog-pagination__page.is-active {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
    box-shadow: 0 4px 14px rgba(217, 4, 22, 0.22);
  }

  a.rj-blog-pagination__page.is-active:hover {
    color: var(--rj-white);
    border-color: var(--rj-primary);
  }

  @media (max-width: 399.98px) {
    .rj-blog-pagination {
      flex-direction: column;
      gap: 0.65rem;
    }

    .rj-blog-pagination__pages {
      order: -1;
    }

    .rj-blog-pagination__nav {
      width: 100%;
      max-width: 280px;
    }
  }

  .rj-blog-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
    background: var(--rj-white);
    border-radius: 18px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
  }

  @media (min-width: 992px) {
    .rj-blog-sidebar-card {
      position: sticky;
      top: calc(var(--rj-header-offset, 96px) + 1rem);
    }
  }

  @media (max-width: 991.98px) {
    .rj-all-blogs {
      order: 3;
      margin-top: 0!important;
    } 
    
    .rj-featured-blogs {
      order: 2;
    }

    .rj-blog-page .rj-recent-blogs {
      order: 1;
    }
  }

  /* -------------------------------------------------------------------------
     Blog single (post detail) — matches mycarchoice article layout
     ------------------------------------------------------------------------- */
  .rj-blog-single-page {
    padding-top: clamp(0.35rem, 1.5vw, 0.85rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .rj-blog-single {
    background: var(--rj-white);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    padding: clamp(1.15rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 1.65rem) clamp(1.35rem, 3vw, 1.85rem);
    margin-bottom: 0;
  }

  .rj-blog-single__header {
    margin-bottom: 0.25rem;
  }

  .rj-blog-single__cat {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--rj-primary);
    text-decoration: none;
    margin-bottom: 0.65rem;
    line-height: 1.3;
  }

  .rj-blog-single__cat:hover {
    color: var(--rj-secondary);
  }

  .rj-blog-single__title {
    font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    font-weight: 800;
    color: var(--rj-accent);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.18;
  }

  .rj-blog-single__hero {
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 1rem;
    background: rgba(0, 0, 0, 0.04);
  }

  .rj-blog-single__hero img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .rj-blog-single__published {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.72);
  }

  .rj-blog-single__published-label {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
  }

  .rj-blog-prose {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--rj-text);
    max-width: 52rem;
  }

  .rj-blog-prose > *:first-child {
    margin-top: 0;
  }

  .rj-blog-prose p {
    margin: 0 0 1rem;
  }

  .rj-blog-prose h2 {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 800;
    color: var(--rj-accent);
    margin: 2rem 0 0.85rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
  }

  .rj-blog-prose h2:first-of-type {
    margin-top: 0.35rem;
  }

  .rj-blog-prose h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--rj-accent);
    margin: 1.5rem 0 0.65rem;
    line-height: 1.3;
  }

  .rj-blog-prose ul {
    margin: 0 0 1.1rem;
    padding-left: 1.35rem;
  }

  .rj-blog-prose li {
    margin: 0.35rem 0;
    padding-left: 0.15rem;
  }

  .rj-blog-prose li::marker {
    color: var(--rj-primary);
  }

  .rj-blog-prose a {
    color: var(--rj-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .rj-blog-prose a:hover {
    color: var(--rj-secondary);
  }

  .rj-blog-table-wrap {
    margin: 1rem 0 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }

  .rj-blog-table-wrap:focus-visible {
    outline: 2px solid var(--rj-primary);
    outline-offset: 2px;
  }

  .rj-blog-comparison-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9375rem;
    background: var(--rj-white);
  }

  .rj-blog-comparison-table th,
  .rj-blog-comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-blog-comparison-table thead th {
    background: var(--rj-primary);
    color: var(--rj-white);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .rj-blog-comparison-table thead th:first-child {
    border-radius: 0;
  }

  .rj-blog-comparison-table tbody th[scope="row"] {
    font-weight: 700;
    color: var(--rj-accent);
    background: rgba(217, 4, 22, 0.06);
    white-space: nowrap;
  }

  .rj-blog-comparison-table tbody tr:last-child th,
  .rj-blog-comparison-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .rj-blog-comparison-table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.02);
  }

  .rj-blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-blog-share__label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rj-accent);
    margin: 0;
  }

  .rj-blog-share__btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .rj-blog-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--rj-white);
    color: var(--rj-primary);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .rj-blog-share__btn:hover {
    border-color: var(--rj-primary);
    color: var(--rj-secondary);
    box-shadow: 0 4px 12px rgba(217, 4, 22, 0.12);
  }

  .rj-blog-share__btn:focus-visible {
    outline: 2px solid var(--rj-primary);
    outline-offset: 2px;
  }

  .rj-blog-share__btn--copy {
    cursor: pointer;
  }

  .rj-blog-share__btn--copy.is-copied {
    background: rgba(217, 4, 22, 0.12);
    border-color: var(--rj-primary);
    color: var(--rj-primary);
  }

  .rj-blog-recent-item--current {
    cursor: default;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 700;
  }

  .rj-blog-recent-item--current img {
    opacity: 0.88;
  }

  @media (min-width: 992px) {
    .rj-blog-single-sidebar__sticky {
      position: sticky;
      top: calc(var(--rj-header-offset, 96px) + 1rem);
    }
  }

  .rj-blog-related {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-blog-related__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.35rem;
  }

  .rj-blog-related__title {
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    font-weight: 800;
    color: var(--rj-accent);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .rj-blog-related__readall {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rj-primary);
    text-decoration: none;
    white-space: nowrap;
  }

  .rj-blog-related__readall:hover {
    color: var(--rj-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  @media (max-width: 575.98px) {
    .rj-blog-single {
      padding: 1rem 0.95rem 1.2rem;
      border-radius: 14px;
    }

    .rj-blog-comparison-table {
      font-size: 0.875rem;
    }

    .rj-blog-comparison-table th,
    .rj-blog-comparison-table td {
      padding: 0.6rem 0.75rem;
    }
  }

  /* -------------------------------------------------------------------------
     Map + address
     ------------------------------------------------------------------------- */
  .rj-map {
    padding-bottom: 2rem;
  }
  
  .rj-map-panel {
    border-radius: var(--rj-radius-md);
    overflow: hidden;
    background: transparent;
  }
  
  .rj-map-embed {
    width: 100%;
    border: 0;
    display: block;
    object-fit: cover;
    border: 20px solid #ffffff;
    border-radius: var(--rj-radius-md);
  }

  .rj-map-embed iframe {
    display: block;
    width: 100%;
    border: 0;
  }

  @media (max-width: 767.98px) {
    .rj-map-embed {
      border-width: 12px;
    }

    .rj-map-embed iframe {
      height: min(60vh, 420px) !important;
    }
  }

  @media (max-width: 575.98px) {
    .rj-map-embed iframe {
      height: min(55vh, 360px) !important;
    }
  }
  
  .rj-address-panel {
    background: var(--rj-white);
    border-radius: var(--rj-radius-md);
    padding: 1.5rem;
    box-shadow: var(--rj-shadow-soft);
  }
  
  .rj-btn-location {
    border: 2px solid var(--rj-secondary);
    color: var(--rj-accent);
    border-radius: var(--rj-radius-sm);
    font-weight: 600;
  }
  
  .rj-btn-location:hover {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
  }
  
  /* -------------------------------------------------------------------------
     FAQ (Bootstrap accordion overrides)
     ------------------------------------------------------------------------- */
  .rj-faq-container-inner {
    background-color: var(--rj-white);
    border-radius: var(--rj-radius-md);
    padding: 40px 0px;
  }
.rj-section-heading.rj-faq-heading {
    border-bottom: 1px solid #00000014;
    padding-bottom: 40px!important;
}
.rj-section-heading.rj-faq-heading,
.rj-faq-container-inner-content-wrapper {
    padding: 0 44px;
}
.rj-faq-container-inner-content-wrapper .accordion-item {
  margin: 30px 0;
  border: 1px solid #dee2e6!important;
  border-radius: 10px!important;
  overflow: hidden;
}

  .rj-faq .accordion-button {
    font-weight: 600;
    font-size: 20px;
    color: var(--rj-accent);
    padding: 30px 20px;
  }
  .rj-faq .accordion-button:focus{
    outline: none!important;
    box-shadow: none!important;
  }
  .rj-faq .accordion-button:not(.collapsed) {
    /* color: var(--rj-primary); */
    background-color: transparent;
  }
  
  .rj-faq .accordion-body {
    font-size: 18px;
    line-height: 1.55;
  }

  @media (max-width: 767.98px) {
    .rj-faq-container-inner {
      padding: 22px 0;
    }

    .rj-section-heading.rj-faq-heading {
      padding-bottom: 18px !important;
      margin-bottom: 15px!important;
    }

    .rj-section-heading.rj-faq-heading,
    .rj-faq-container-inner-content-wrapper {
      padding: 0 16px;
    }

    .rj-faq-container-inner-content-wrapper .accordion-item {
      margin: 14px 0;
    }

    .rj-faq .accordion-button {
      font-size: 16px;
      padding: 16px 14px;
    }

    .rj-faq .accordion-body {
      font-size: 16px;
    }
  }
  
  /* -------------------------------------------------------------------------
     Footer
     ------------------------------------------------------------------------- */
  .rj-site-footer {
    background-color: transparent;
  }

  .rj-footer-top {
    background-image: url(../images/background-1.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 22px;
    -webkit-filter: drop-shadow(0px 4px 37px rgba(217, 4, 22, 0.08));
    filter: drop-shadow(0px 4px 37px rgba(217, 4, 22, 0.08));
    margin-bottom: 40px;
  }

  .rj-footer-top-inner {
    background-color: #FFFFFF00;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    /* -webkit-filter: drop-shadow(0px 4px 37px rgba(217, 4, 22, 0.08)); */
    /* filter: drop-shadow(0px 4px 37px rgba(217, 4, 22, 0.08)); */
  }

  .rj-footer-top-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.65rem 1rem;
    min-height: 74px;
  }

  .rj-footer-top-item + .rj-footer-top-item {
    border-left: 1px solid rgba(0, 0, 0, 0.10);
  }

  .rj-footer-top-item img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .rj-footer-top-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--rj-accent);
  }

  .rj-footer-top-sub {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.60);
    line-height: 1.2;
  }

.rj-footer-main-wrapper {
    background-color: transparent;
    background-image:
      radial-gradient(circle at 88% 0%, rgba(217, 4, 22, 0.10), transparent 28%),
      linear-gradient(180deg, var(--rj-white) 0%, var(--rj-lilac-100) 100%);
}

  .rj-footer-main {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  /* Give footer columns more breathing room (Quick Links vs Brands) */
  .rj-site-footer .rj-footer-main > .row {
    --bs-gutter-x: 3.25rem;
  }

  @media (max-width: 1199.98px) {
    .rj-site-footer .rj-footer-main > .row {
      --bs-gutter-x: 2.25rem;
    }
  }

  .rj-footer-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--rj-primary);
    margin-bottom: 30px;
  }

  .rj-footer-logo {
    width: min(250px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
  }

  .rj-footer-tagline {
    margin: 0 0 1rem;
    color: var(--rj-primary);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .rj-footer-contact {
    display: grid;
    gap: 1rem;
    margin-top: 0.25rem;
  }

  .rj-footer-contact-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .rj-footer-contact-ico {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--rj-primary);
  }

  .rj-footer-contact-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--rj-primary);
    margin-bottom: 0;
  }

  .rj-footer-contact-val {
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.70);
    line-height: 1.4;
  }

  a.rj-footer-contact-val:hover {
    color: var(--rj-secondary);
  }

  .rj-footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .rj-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid var(--rj-primary);
    color: var(--rj-primary);
  }

  .rj-social-btn:hover {
    color: var(--rj-white);
    border-color: var(--rj-primary);
    background: var(--rj-primary);
  }

  .rj-footer-nav a,
  .rj-footer-links-2col a {
    display: block;
    padding: 0.3rem 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.62);
  }

  .rj-footer-nav a:hover,
  .rj-footer-nav a.active,
  .rj-footer-links-2col a:hover,
  .rj-footer-links-2col a.active {
    color: var(--rj-secondary)!important;
  }

  .rj-footer-links-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.6rem;
  }

  /* Mobile accordion styling (like live site) */
  .rj-footer-accordion.accordion {
    margin-top: 1.25rem;
  }

  .rj-footer-accordion .accordion-item {
    border: 0;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 0!important;
  }

  .rj-footer-accordion .accordion-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  }

  .rj-footer-accordion .accordion-button {
    background: transparent;
    box-shadow: none;
    padding: 0.95rem 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--rj-primary);
    border-radius: 0!important;
  }

  .rj-footer-accordion .accordion-button:focus {
    box-shadow: none;
  }

  .rj-footer-accordion .accordion-button:not(.collapsed) {
    color: var(--rj-primary);
  }

  .rj-footer-accordion .accordion-button::after {
    background-size: 1rem 1rem;
    opacity: 0.9;
  }

  .rj-footer-accordion .accordion-body {
    padding: 0 0 0.9rem;
  }

  .rj-footer-links-accordion {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
  }

  .rj-footer-viewall {
    color: var(--rj-secondary) !important;
    text-decoration: underline;
    font-weight: 800 !important;
    margin-top: 0.25rem;
  }

  .rj-footer-hours-label {
    font-size: 18px;
    font-weight: 400;
    color: var(--rj-accent);
  }

  .rj-footer-hours-time {
    margin-top: 0.4rem;
    font-size: 18px;
    font-weight: 900;
    color: var(--rj-text);
  }

  .rj-footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    margin-top: 1.75rem;
    padding-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 12px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.65);
  }

  .rj-footer-sep {
    margin: 0 0.45rem;
    opacity: 0.65;
  }

  .rj-powered {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.55);
  }

  .rj-webential {
    font-weight: 900;
    color: rgba(0, 0, 0, 0.70);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .rj-webential-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #e53935;
    display: inline-block;
  }

  @media (max-width: 991.98px) {
    .rj-finance-cards-wrapper {
      flex-direction: column-reverse;
  }
  
  .rj-finance-section {
      padding-top: 0!important;
  }
    .right-faq-part {
      margin-top: 0;
  }
  .right-faq-part .accordion-item {
      margin-top: 0;
  }
    nav.rank-math-breadcrumb{
      padding: 0 0 20px;
      margin-top: 10px;
    }
    /* Tablet: keep footer readable without over-collapsing */
    .rj-footer-top-inner {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rj-footer-top-item + .rj-footer-top-item {
      border-left: 0;
    }

    .rj-footer-top-item:nth-child(odd) {
      border-right: 1px solid rgba(0, 0, 0, 0.10);
    }

    .rj-footer-top-item:nth-child(-n + 2) {
      border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }
  }

  @media (max-width: 767.98px) {
    .rj-footer-main {
      padding-top: 1.75rem;
      padding-bottom: 1.25rem;
    }

    .rj-footer-heading {
      margin-bottom: 0.75rem;
    }

    .rj-footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      line-height: 1.4;
    }

    .rj-footer-sep {
      display: none;
    }
  }

  @media (max-width: 575.98px) {
    .rj-dealership-benefit {
        flex-flow: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }
    
    #rjDealershipHeading {
        padding: 0 15px;
    }
    
    .rj-trust-item {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    /* Phones: stack everything cleanly */
    .rj-footer-top-inner {
      grid-template-columns: 1fr;
      padding: 18px 14px;
    }

    .rj-footer-top-item {
      padding: 0.85rem 0.75rem;
      min-height: auto;
      border-right: 0 !important;
      border-left: 0 !important;
      border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }

    .rj-footer-top-item:last-child {
      border-bottom: 0;
    }

    .rj-footer-top-item img {
      width: 54px;
      height: 54px;
    }

    .rj-footer-top-title {
      font-size: 18px;
    }

    .rj-footer-top-sub {
      font-size: 16px;
    }

    /* Quick links: 1 column only on phones (not tablets) */
    .rj-footer-links-2col {
      grid-template-columns: 1fr;
      column-gap: 0;
    }

    .rj-footer-links-accordion {
      grid-template-columns: 1fr;
      column-gap: 0;
    }

    .rj-footer-nav a,
    .rj-footer-links-2col a {
      font-size: 15px;
    }

    .rj-footer-main-wrapper {
        padding: 0 20px;
    }
  }
  
  /* -------------------------------------------------------------------------
     Utilities
     ------------------------------------------------------------------------- */
  .text-rj-primary {
    color: var(--rj-primary);
  }
  
  .rj-bg-page {
    background-color: var(--rj-page-bg);
  }
  
  .rj-prose {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .rj-prose-wide {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .rj-prose-wide.independent-vehicle img {
    width: 100%;
    border-radius: 20px;
}
.rj-prose-wide.independent-vehicle .image {
  position: relative;
}
  .rj-prose-wide.independent-vehicle .image:after {
      content: '';
      width: 78px;
      height: 93px;
      background-image: url(../images/image-corner-shape.webp);
      position: absolute;
      bottom: 0px;
      right: 0px;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .rj-body-type-card {
      transition: none;
    }
  }

  /* -------------------------------------------------------------------------
     Listings page (used-cars-for-sale-sydney)
     ------------------------------------------------------------------------- */
  .rj-listings-hero {
    padding-top: clamp(2rem, 3.5vw, 2.75rem);
    padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
    /* background: linear-gradient(180deg, var(--rj-white) 0%, var(--rj-lilac-50) 100%); */
    border-bottom: 1px solid var(--rj-border-soft);
  }

  .rj-listings-hero-row > [class*="col-"] {
    min-width: 0;
  }

  /* Filter column holds a fixed offcanvas on small screens â€” collapse in-flow height to avoid an extra gap row */
  @media (max-width: 991.98px) {
    .rj-listings-hero-row > .order-2.order-lg-1 {
      height: 0;
      min-height: 0;
      padding-top: 0;
      padding-bottom: 0;
      overflow: visible;
      border: 0;
    }
  }

  /* Mobile / tablet: filters in drawer; lg+ sidebar in column (Bootstrap offcanvas-lg) */
  .rj-listings-filters-offcanvas {
    --bs-offcanvas-width: min(100vw - 1rem, 420px);
  }

  /*
   * Bootstrap 5.3.x: the global `.offcanvas{ position:fixed; visibility:hidden; transform:â€¦ }` rule
   * is emitted *after* `@media (min-width:992px){ .offcanvas-lg{â€¦} }`, so it overrides the expanded
   * desktop state â€” filters stay invisible on large screens. Reset in-flow visibility here
   * (this file loads after bootstrap.min.css).
   */
  @media (min-width: 992px) {
    .rj-listings-filters-offcanvas.offcanvas.offcanvas-lg.offcanvas-start {
      position: static !important;
      visibility: visible !important;
      transform: none !important;
      height: auto !important;
      max-height: none !important;
      width: 100% !important;
      max-width: none !important;
      border: 0 !important;
      z-index: auto !important;
      display: block !important;
    }
  }

  .rj-listings-filters-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.65rem 1rem;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
  }

  .rj-listings-filters-offcanvas-body {
    padding: 1rem;
    padding-top: 0;
  }

  @media (min-width: 992px) {
    .rj-listings-filters-offcanvas-body {
      padding: 0;
      overflow: visible;
    }
  }

  @media (max-width: 991.98px) {
    /* Match fixed header height (--rj-header-offset set in script.js) so drawer content clears the bar */
    #rjListingsFilters.rj-listings-filters-offcanvas {
      padding-top: var(--rj-header-offset, 96px);
      box-sizing: border-box;
      height: 100vh;
      height: 100dvh;
    }

    .rj-listings-filters-offcanvas-body .rj-filter-panel {
      border: 0;
      box-shadow: none;
      border-radius: 0;
      padding-left: 0;
      padding-right: 0;
      padding-bottom: 1.5rem;
      padding-top: 0;
    }
  }

  .rj-filter-menu-toggler {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(217, 4, 22, 0.25);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    background: var(--rj-primary);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--rj-white);
    line-height: 1.2;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-height: 55px;
    width: 180px;
  }

  .rj-filter-menu-toggler:hover {
    border-color: var(--rj-primary);
    color: var(--rj-white);
  }

  .rj-filter-menu-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(217, 4, 22, 0.18);
  }

  .rj-filter-menu-toggler-icon {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(85,50,145,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .rj-filter-panel {
    background: var(--rj-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: var(--rj-shadow-soft);
    padding: 1rem;
    position: sticky;
    top: calc(var(--rj-header-offset, 96px) + 16px);
  }

  /* Card */
  .rj-support-support-card {
    background: #F5921E;
    border-radius: 18px;
    padding: 2rem 2.8rem;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 2rem;
    box-shadow: 0 8px 32px rgba(245, 146, 30, 0.28);
  }

  /* Left Text */
  .rj-support-support-text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .rj-support-support-text h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: -0.04em;
    }
  
    .rj-support-support-text p {
          font-size: 18px;
          font-weight: 400;
          line-height: 25px;
          color: #ffffff;
    }

  /* Right Actions â€” always in one row */
  .rj-support-support-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Chat Widget */
  .rj-support-chat-widget {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
  }

  .rj-support-chat-icon-wrap {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .rj-support-chat-icon-wrap svg {
    width: 100%;
    height: 100%;
  }

  .rj-support-chat-label {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    color: #fff;
    cursor: initial;
  }

  .rj-support-chat-label a {
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
  }

  .rj-support-chat-label a:hover {
    opacity: 0.8;
  }

  /* Divider */
  .rj-support-support-divider {
    width: 1px;
    height: 40px;
    background: rgb(255 255 255);
    flex-shrink: 0;
  }

  /* Phone CTA */
  .rj-support-btn-phone {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    background-color: var(--rj-primary);
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--rj-primary);
    border-radius: 15px 15px 15px 15px;
    padding: 10px 20px 11px 20px;
    color: var(--rj-white);
    display: flex;
    align-items: center;
  }

  .rj-support-btn-phone svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    margin-right: 10px;
  }

  .rj-support-btn-phone:hover {
    background: var(--purple-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(91, 63, 158, 0.5);
  }

  .rj-support-btn-phone:active {
    transform: translateY(0);
  }

  /* Responsive */
  @media (max-width: 680px) {
    .rj-support-support-card {
      flex-wrap: wrap;
      padding: 1.8rem 1.6rem;
    }
    .rj-support-support-actions {
      width: 100%;
      flex-wrap: wrap;
    }
    .rj-support-support-divider {
      display: none;
    }
  }

  @media (max-width: 991.98px) {
    .rj-filter-panel {
      position: static;
      top: auto;
    }
  }

  .rj-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0.9rem;
  }

  /* Pixel-match: Filter sidebar header */
  .rj-filter-head--match {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
    margin-bottom: 1rem;
    padding-bottom: 0;
    gap: 0.55rem;
  }

  .rj-filter-title-row {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
  }

  .rj-filter-title-ico {
    color: rgba(0, 0, 0, 0.85);
    display: inline-flex;
    align-items: center;
  }

  .rj-filter-title-ico img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
  }

  .rj-filter-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.88);
    letter-spacing: -0.02em;
  }

  .rj-filter-reset {
    font-weight: 800;
    color: var(--rj-primary);
    text-decoration: underline;
    padding: 0;
  }

  .rj-filter-reset--match {
    color: var(--rj-secondary-dark);
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
  }

  .rj-filter-reset--match:hover {
    color: var(--rj-primary);
  }

  .rj-reset-ico {
    display: inline-flex;
    align-items: center;
    color: var(--rj-secondary-dark);
  }

  .rj-reset-ico img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform .7s ease-in-out;
  }

.rj-filter-reset--match:hover img {
    transform: rotate(180deg);
}

  /* Cards stack */
  .rj-filter-stack {
    display: grid;
    gap: 40px;
  }

  .rj-filter-card {
    position: relative;
    border: 1.8px solid rgba(217, 4, 22, 0.85);
    border-radius: 22px;
    background: #fff;
    padding: 1.15rem 1rem 1rem;
  }

  .rj-filter-card-title {
    position: absolute;
    top: -0.78rem;
    left: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    padding: 0 0.55rem 0 0.25rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
    font-size: 1.18rem;
  }

  .rj-filter-card-ico {
    color: var(--rj-primary);
    display: inline-flex;
    align-items: center;
  }

  .rj-filter-card-ico img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
  }

  .rj-filter-card-body {
    display: grid;
    gap: 0.95rem;
    margin-top: 0.35rem;
  }

  .rj-filter-card-body--rows {
    gap: 0;
    margin-top: 0.15rem;
  }

  .rj-filter-card-body--pair {
    gap: 0.85rem 0.75rem;
  }

  @media (min-width: 400px) {
    .rj-filter-card-body--pair {
      grid-template-columns: 1fr 1fr;
    }
  }

  .rj-filter-card-body--pair .rj-filter-reset-years {
    grid-column: 1 / -1;
  }

  .rj-filter-row {
    background: transparent;
    border: 0;
    padding: 1.05rem 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 1.02rem;
    color: rgba(0, 0, 0, 0.88);
  }

  .rj-filter-row + .rj-filter-row {
    border-top: 1px solid rgba(0, 0, 0, 0.16);
  }

  .rj-filter-row.is-disabled,
  .rj-filter-row:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .rj-filter-row-chevron {
    font-size: 2rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.85);
    transform: translateY(-1px);
  }

  /* Search Cars pills (label + hidden checkbox) */
  .rj-filter-pill-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .rj-filter-pill {
    position: relative;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: transparent;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--rj-primary);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }

  .rj-filter-pill:has(.rj-filter-pill-input:checked) {
    background: #eeeaf4;
  }

  .rj-filter-pill:has(.rj-filter-pill-input:focus-visible) {
    outline: 2px solid var(--rj-primary);
    outline-offset: 2px;
  }

  .rj-filter-pill:has(.rj-filter-pill-input:checked) .rj-filter-pill-count {
    background: #ffffff;
}

  .rj-filter-pill-text {
    font-size: 1.05rem;
  }

  .rj-filter-pill-count {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
  }

  /* Custom select (rj-custom-select.js): trigger + panel (not Make/Model) */
  .rj-cselect {
    position: relative;
    width: 100%;
    display: block;
  }

  .rj-filter-panel .rj-cselect-btn,
  .rj-listings-toolbar .rj-cselect-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    text-align: left;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 10l6 6 6-6' stroke='%23111111' stroke-width='2.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.35rem 1.35rem;
    padding: 1.05rem 3rem 1.05rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(217, 4, 22, 0.28);
    box-shadow: none;
    font-weight: 500;
    font-size: 1.02rem;
    color: rgba(0, 0, 0, 0.9);
    line-height: 1.25;
    cursor: pointer;
    min-height: 3.25rem;
  }
  .rj-listings-toolbar .rj-sort .rj-cselect .rj-cselect-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 300px;
    max-width: 100%;
    min-width: 0;
    display: block;
    box-sizing: border-box;
    border-radius: 10px;
    background-image: url(../images/filters/sort-icon.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    font-size: 16px;
}

  .rj-filter-panel .rj-cselect-btn:hover,
  .rj-listings-toolbar .rj-cselect-btn:hover {
    border-color: rgba(217, 4, 22, 0.42);
  }

  .rj-filter-panel .rj-cselect-btn:focus,
  .rj-listings-toolbar .rj-cselect-btn:focus {
    border-color: rgba(217, 4, 22, 0.55);
    box-shadow: 0 0 0 3px rgba(217, 4, 22, 0.14);
    outline: none;
  }

  .rj-cselect-dropdown {
    position: fixed;
    z-index: 1995;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(217, 4, 22, 0.28);
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.14);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 6px;
    max-height: min(280px, 70vh);
    scrollbar-width: thin;
    scrollbar-color: #696969 #f1f1f1;
  }

  .rj-cselect-dropdown::-webkit-scrollbar {
    width: 8px;
  }

  .rj-cselect-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .rj-cselect-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--rj-primary);
    border-radius: 10px;
  }

  .rj-cselect-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .rj-cselect-option {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 12px 14px;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.9);
    text-align: left;
    cursor: pointer;
    line-height: 1.3;
  }

  .rj-cselect-option:hover,
  .rj-cselect-option:focus-visible {
    background: rgba(217, 4, 22, 0.08);
    outline: none;
  }

  .rj-cselect-option[aria-selected="true"] {
    background: rgba(217, 4, 22, 0.14);
    color: var(--rj-primary, #d90416);
  }

  .rj-filter-reset-years {
    justify-self: center;
    margin-top: 0.15rem;
    color: var(--rj-secondary-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
  }

  .rj-filter-reset-years:hover {
    color: var(--rj-primary);
  }

.rj-filter-reset-years:hover img {
    transform: rotate(180deg);
}

  /* -------------------------------------------------------------------------
     Filter flyouts (Vehicle spec / Engine) â€” same shell as Make picker
     ------------------------------------------------------------------------- */
  .rj-flyout-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2002;
    background: rgba(0, 0, 0, 0);
  }

  .rj-filter-flyout.rj-make-picker {
    z-index: 2003;
  }

  .rj-filter-flyout-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 14px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-filter-flyout-back {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: var(--rj-primary);
    font-weight: 500;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 0.95rem;
  }

  .rj-filter-flyout-back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .rj-filter-flyout-title {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.9);
    pointer-events: none;
  }

  .rj-filter-flyout-scroll {
    max-height: min(320px, 55vh);
    overflow-y: auto;
    padding: 8px 10px 10px;
  }

  .rj-filter-flyout-scroll::-webkit-scrollbar {
    width: 8px;
  }

  .rj-filter-flyout-scroll::-webkit-scrollbar-thumb {
    background: var(--rj-primary);
    border-radius: 10px;
  }

  .rj-filter-flyout-checks {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .rj-filter-fly-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.02rem;
    border: 1px solid transparent;
    transition: background 0.18s ease;
  }

  .rj-filter-fly-row:hover {
    background: rgba(217, 4, 22, 0.06);
  }

  .rj-filter-fly-row:has(input:checked) {
    background: rgba(217, 4, 22, 0.14);
    border-color: rgba(217, 4, 22, 0.12);
  }

  .rj-filter-fly-row.is-zero {
    opacity: 0.42;
    cursor: not-allowed;
  }

  .rj-filter-fly-row-label {
    flex: 1;
    color: rgba(0, 0, 0, 0.88);
  }

  .rj-filter-fly-row:has(input:checked) .rj-filter-fly-row-label {
    color: var(--rj-primary);
  }

  .rj-filter-fly-count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(217, 4, 22, 0.14);
    font-weight: 900;
    font-size: 0.82rem;
    color: var(--rj-primary);
    flex-shrink: 0;
  }

  .rj-filter-fly-row.is-zero .rj-filter-fly-count {
    opacity: 0.75;
  }

  /* -------------------------------------------------------------------------
     Select Make dropdown (picker) â€” match screenshot
     ------------------------------------------------------------------------- */
  .rj-picker-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    z-index: 2000;
  }

  .rj-make-picker {
    position: absolute;
    z-index: 2001;
    width: 380px;
    max-width: calc(100vw - 28px);
  }

  .rj-make-picker-inner {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .rj-make-picker-top {
    padding: 14px 16px 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    align-items: center;
  }

  .rj-make-picker-search {
    position: relative;
    display: flex;
    align-items: center;
  }

  .rj-make-picker-search-ico {
    position: absolute;
    left: 12px;
    color: rgba(0, 0, 0, 0.55);
    pointer-events: none;
  }

  .rj-make-picker-input.form-control {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    padding: 10px 12px 10px 40px;
    font-weight: 500;
    box-shadow: none;
  }

  .rj-make-picker-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.75);
    font-size: 0.9rem;
    white-space: nowrap;
    user-select: none;
  }

  .rj-make-picker-list {
    max-height: 360px;
    overflow: auto;
    padding: 6px 10px 8px;
  }

  /* For WebKit browsers (Chrome, Edge, Safari) */
.rj-make-picker-list::-webkit-scrollbar {
  width: 8px; /* scrollbar width */
}

.rj-make-picker-list::-webkit-scrollbar-track {
  background: #f1f1f1; /* track color */
}

.rj-make-picker-list::-webkit-scrollbar-thumb {
  background-color: var(--rj-primary); /* thumb color */
  border-radius: 10px;
}

.rj-make-picker-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--rj-primary-dark); /* hover color */
}

/* For Firefox */
.rj-make-picker-list {
  scrollbar-width: thin; /* auto | thin | none */
  scrollbar-color: #696969 #f1f1f1; /* thumb color | track color */
}

  .rj-make-item {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.88);
  }

  .rj-make-item--icon {
    justify-content: flex-start;
  }

  .rj-make-plus {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.75);
    flex-shrink: 0;
  }

  .rj-make-item--icon .rj-make-name {
    margin-left: 10px;
    flex: 1;
  }

  .rj-make-item--icon .rj-make-count {
    margin-left: auto;
  }

  .rj-make-item:hover {
    background: rgba(217, 4, 22, 0.05);
  }

  .rj-make-item + .rj-make-item {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
  }

  .rj-make-name {
    text-transform: uppercase;
  }

  .rj-make-count {
    font-weight: 900;
    min-width: 22px;
    text-align: right;
    color: rgba(0, 0, 0, 0.85);
  }

  .rj-make-item.is-disabled {
    color: rgba(0, 0, 0, 0.35);
  }

  .rj-make-item.is-disabled .rj-make-count {
    color: rgba(0, 0, 0, 0.35);
  }

  .rj-make-picker-reset {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 16px 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
  }

  .rj-make-picker-reset:hover {
    background: rgba(0, 0, 0, 0.03);
  }

  /* -------------------------------------------------------------------------
     Select Model picker â€” header (âˆ’ / make / All), hidden inputs, smooth accordion
     ------------------------------------------------------------------------- */
  .rj-model-picker-inner {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .rj-model-picker-list {
    max-height: 360px;
    overflow: auto;
    padding: 4px 0 0;
  }

  .rj-model-picker-list::-webkit-scrollbar {
    width: 8px;
  }

  .rj-model-picker-list::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .rj-model-picker-list::-webkit-scrollbar-thumb {
    background-color: var(--rj-primary);
    border-radius: 10px;
  }

  .rj-model-picker-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--rj-primary-dark);
  }

  .rj-model-picker-list {
    scrollbar-width: thin;
    scrollbar-color: #696969 #f1f1f1;
  }

  .rj-model-acco {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .rj-model-acco:last-of-type {
    border-bottom: 0;
  }

  .rj-model-acco-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0 10px;
    padding: 14px 16px;
    min-height: 52px;
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
    border-radius: 0;
  }

  .rj-model-acco-bar:hover {
    background: rgba(217, 4, 22, 0.05);
  }

  .rj-model-acco-bar:focus-visible {
    outline: 2px solid var(--rj-primary, #d90416);
    outline-offset: -2px;
    border-radius: 12px;
    z-index: 1;
  }

  .rj-model-acco-ico-slot {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }

  .rj-model-acco-circle {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.78);
    background: #fff;
  }

  .rj-model-acco-glyph {
    grid-area: 1 / 1;
    line-height: 1;
  }

  .rj-model-acco.is-open .rj-model-acco-glyph--plus {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
  }

  .rj-model-acco:not(.is-open) .rj-model-acco-glyph--minus {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
  }

  .rj-model-acco-glyph--plus,
  .rj-model-acco-glyph--minus {
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .rj-model-acco-maketitle {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.88);
    text-align: center;
    text-transform: uppercase;
    padding: 6px 8px;
    justify-self: center;
    max-width: 100%;
  }

  .rj-model-acco-bar:hover .rj-model-acco-maketitle {
    color: var(--rj-primary, #d90416);
  }

  .rj-model-acco-end {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    min-width: 2.5rem;
    text-align: right;
  }

  .rj-model-acco-headcount {
    font-weight: 900;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.75);
  }

  .rj-model-acco-all {
    border: 0;
    background: transparent;
    padding: 6px 4px;
    font-weight: 800;
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.82);
    cursor: pointer;
    text-decoration: none;
  }

  .rj-model-acco-all:hover {
    color: var(--rj-primary, #d90416);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .rj-model-acco.is-open .rj-only-collapsed {
    display: none !important;
  }

  .rj-model-acco:not(.is-open) .rj-only-expanded {
    display: none !important;
  }

  /* Smooth expand/collapse (grid 0fr â†’ 1fr) */
  .rj-model-acco-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .rj-model-acco.is-open .rj-model-acco-panel {
    grid-template-rows: 1fr;
  }

  .rj-model-acco-panel-inner {
    overflow: hidden;
    min-height: 0;
  }

  .rj-model-acco-checks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 16px 16px 16px;
  }

  .rj-model-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    transition: background-color 0.22s ease, color 0.22s ease;
    border: 1px solid transparent;
  }

  .rj-model-row:hover {
    background: rgba(217, 4, 22, 0.07);
  }

  .rj-model-row:has(.rj-model-check-input:checked),
  .rj-model-row.is-selected {
    background: rgba(217, 4, 22, 0.14);
    border-color: rgba(217, 4, 22, 0.12);
  }

  .rj-model-row-label {
    flex: 1;
    color: var(--rj-primary, #d90416);
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .rj-model-row-count {
    flex-shrink: 0;
  }

  .rj-model-row-count-inner {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(217, 4, 22, 0.16);
    font-weight: 900;
    font-size: 0.82rem;
    color: var(--rj-primary, #d90416);
  }

  .rj-model-check-input:focus-visible + .rj-model-row-label {
    outline: 2px solid var(--rj-primary, #d90416);
    outline-offset: 4px;
    border-radius: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    .rj-model-acco-panel {
      transition: none;
    }

    .rj-model-acco-glyph--plus,
    .rj-model-acco-glyph--minus {
      transition: none;
    }

    .rj-model-row {
      transition: none;
    }
  }

  @media (max-width: 991.98px) {
    .rj-make-picker {
      position: absolute;
      width: min(420px, calc(100vw - 28px));
    }
  }

  /* Sidebar accordion: match live filter blocks */
  .rj-filter-accordion.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-icon-width: 1.1rem;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 0;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
    display: grid;
    gap: 0.75rem;
  }

  .rj-filter-item.accordion-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  }

  .rj-filter-acc-btn.accordion-button {
    background: #fff;
    box-shadow: none;
    padding: 0.85rem 0.95rem;
    font-weight: 900;
    color: var(--rj-accent);
    font-size: 0.98rem;
  }

  .rj-filter-acc-btn.accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--rj-accent);
  }

  .rj-filter-acc-btn.accordion-button:focus {
    box-shadow: none;
  }

  .rj-filter-body {
    padding: 0.85rem 0.95rem 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-filter-checkrow {
    display: grid;
    gap: 0.65rem;
  }

  .rj-filter-check {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.72);
    cursor: pointer;
  }

  .rj-filter-check input {
    margin: 0;
  }

  .rj-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    border-radius: 999px;
    background: rgba(217, 4, 22, 0.08);
    color: var(--rj-primary);
    font-weight: 900;
    font-size: 0.82rem;
    padding: 0 0.5rem;
  }

  .rj-filter-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 0.35rem;
  }

  .rj-filter-select {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--rj-lilac-50);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
  }

  .rj-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .rj-filter-toggle-row {
    display: grid;
    gap: 0.5rem;
  }

  .rj-filter-actions {
    padding-top: 0.9rem;
    display: grid;
    gap: 0.5rem;
  }

  .rj-filter-update {
    background: var(--rj-primary);
    border: 2px solid var(--rj-primary);
    color: var(--rj-white);
    border-radius: 14px;
    font-weight: 900;
    padding: 0.75rem 1rem;
  }

  .rj-filter-update:hover,
  .rj-filter-update:focus {
    background: var(--rj-white);
    color: var(--rj-accent);
    border-color: var(--rj-primary);
  }

  .rj-listings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    min-width: 0;
  }

  .rj-listings-toolbar-text {
    min-width: 0;
    flex: 1 1 0%;
  }

  .rj-listings-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 1 auto;
    min-width: 0;
  }

  @media (max-width: 991.98px) {
    .rj-listings-toolbar {
      flex-direction: column-reverse;
      align-items: stretch;
      gap: 0.85rem;
    }

    .rj-listings-toolbar-text {
      flex: none;
    }

    .rj-listings-toolbar-actions {
      width: 100%;
      justify-content: space-between;
    }

    .rj-listings-toolbar-actions .rj-sort {
      flex: 1 1 auto;
      min-width: 0;
      justify-content: flex-end;
    }
  }

  .rj-listings-title {
    font-size: clamp(1.5rem, 4.2vw, 2.125rem);
    font-weight: 900;
    letter-spacing: -0.04em;
  }

  .rj-listings-sub {
    color: rgba(0, 0, 0, 0.72);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .rj-listings-toolbar .rj-sort {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
  }

  .rj-sort-ico {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--rj-primary);
  }

  .rj-sort-ico img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .rj-listings-toolbar .rj-sort .rj-cselect {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
    max-width: min(220px, 100%);
  }

  .rj-fee-disclosure--listing {
    box-shadow: var(--rj-shadow-soft);
  }

  .rj-results {
    margin-top: 0.25rem;
  }

  .rj-car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  @media (max-width: 1199.98px) {
    .rj-car-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 575.98px) {
    .rj-car-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }

  .rj-car-grid .car-card {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
  }

  .rj-car-grid .car-card .car-card-body {
    padding: 1.05rem 1.05rem 1.15rem;
  }

  .rj-car-grid .car-card .car-title {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }

  .rj-car-grid .car-card .car-price {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
  }

  .rj-car-grid .car-card .car-fee-note {
    font-size: 0.82rem;
    margin-bottom: 0.85rem;
  }

  .rj-car-grid .car-card .car-card-actions {
    gap: 0.6rem;
  }

  .rj-car-grid .car-card .btn-details,
  .rj-car-grid .car-card .btn-reserve {
    min-height: 50px;
  }

  .rj-promo-tile {
    background: rgba(217, 4, 22, 0.1);
    border-radius: var(--rj-radius-md);
    box-shadow: var(--rj-shadow-soft);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 1.25rem;
    min-height: 340px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 37px 0px rgba(217, 4, 22, 0.05);
    clip-path: polygon(100% 0, 100% calc(100% - 86px), calc(100% - 76px) 100%, 0 100%, 0 0);
  }

  .rj-promo-icon {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 0 auto 0.75rem;
    border: 2px solid rgba(217, 4, 22, 0.18);
    background: rgba(217, 4, 22, 0.06);
    position: relative;
    z-index: 1;
  }

  span.rj-info-adv-condition {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2em;
    color: var(--rj-text);
    position: absolute;
    left: 20px;
    bottom: 14px;
    text-transform: capitalize;
  }

  .rj-promo-tile img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .rj-promo-medal {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--rj-primary);
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.25);
  }

  .rj-promo-badge {
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--rj-primary);
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
  }

  .rj-promo-sub {
    margin-top: 0.25rem;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
    position: relative;
    z-index: 1;
  }

  .rj-promo-small {
    margin-top: 0.55rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.92rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
  }

  .rj-listings-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  @media (max-width: 991.98px) {
    .rj-listings-benefits {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 575.98px) {
    .rj-listings-benefits {
      grid-template-columns: 1fr;
    }
  }

  .rj-listing-benefit {
    background: var(--rj-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1rem 1rem;
    box-shadow: var(--rj-shadow-soft);
    min-height: 94px;
  }

  .rj-listing-benefit-top {
    font-weight: 900;
    color: var(--rj-accent);
    line-height: 1.2;
  }

  .rj-listing-benefit-sub {
    margin-top: 0.25rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .rj-listing-benefit-note {
    font-weight: 800;
    font-size: 0.9em;
  }

  .rj-results-empty {
    background: var(--rj-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--rj-shadow-soft);
    text-align: center;
  }

  .rj-results-empty-title {
    font-weight: 900;
    color: rgba(0, 0, 0, 0.7);
  }

  .rj-load-more {
    background: var(--rj-primary);
    border: 2px solid var(--rj-primary);
    color: var(--rj-white);
    border-radius: 10px;
    font-weight: 900;
    padding: 10px 28px;
  }

  .rj-load-more:hover,
  .rj-load-more:focus {
    background: var(--rj-white);
    color: var(--rj-accent);
    border-color: var(--rj-primary);
  }

  .rj-content-panel {
    background: var(--rj-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: clamp(1.25rem, 3vw, 2.15rem);
    box-shadow: var(--rj-shadow-soft);
  }
  .rj-content-panel p {
    line-height: 1.3;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}

  .rj-support-panel {
    background: var(--rj-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--rj-shadow-soft);
    display: grid;
    gap: 0.75rem;
  }

  .rj-support-title {
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--rj-accent);
  }

  .rj-support-sub {
    color: rgba(0, 0, 0, 0.7);
  }

  .rj-support-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .rj-support-btn {
    background: var(--rj-primary);
    border: 2px solid var(--rj-primary);
    color: var(--rj-white);
    border-radius: 999px;
    font-weight: 900;
    padding: 0.75rem 1.4rem;
  }

  .rj-support-btn:hover,
  .rj-support-btn:focus {
    background: var(--rj-white);
    color: var(--rj-accent);
    border-color: var(--rj-primary);
  }

  .rj-support-btn--outline {
    background: var(--rj-white);
    color: var(--rj-accent);
    border-color: var(--rj-secondary);
  }

  .rj-support-btn--outline:hover,
  .rj-support-btn--outline:focus {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
  }

  /* -------------------------------------------------------------------------
     Vehicle detail page (.rj-vdetail-page) â€” layout, gallery, sidebar, modals
     ------------------------------------------------------------------------- */
  .rj-vdetail-page {
    padding-bottom: 0;
  }

  @media (max-width: 991.98px) {
    .rj-vdetail-page {
      padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    }
  }

  .rj-vdetail-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: rgba(0, 0, 0, 0.55);
  }

  .rj-vdetail-breadcrumb a {
    color: var(--rj-primary);
    text-decoration: none;
  }

  .rj-vdetail-breadcrumb a:hover {
    text-decoration: underline;
  }

  .rj-vdetail-bc-sep {
    margin: 0 0.35rem;
    color: rgba(0, 0, 0, 0.35);
  }

  .rj-vdetail-bc-current {
    color: rgba(0, 0, 0, 0.75);
  }

  .rj-vdetail-title-row {
    margin-bottom: 0.25rem;
  }

  .rj-vdetail-side-util {
    flex-wrap: wrap;
  }

  .rj-vdetail-util-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--rj-primary);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 8px;
    cursor: pointer;
  }

  .rj-vdetail-util-btn:hover,
  .rj-vdetail-util-btn:focus {
    background: var(--rj-lilac-50);
    color: var(--rj-primary);
  }

  .rj-vdetail-util-ico {
    display: flex;
    color: var(--rj-secondary);
  }

  .rj-vdetail-title {
    font-size: clamp(1.35rem, 3.5vw, 2.15rem);
    font-weight: 800;
    color: var(--rj-accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
    max-width: 100%;
  }

  .rj-vdetail-hero-bar {
    background: var(--rj-white);
    border-bottom: 1px solid var(--rj-border-soft);
  }

  .rj-vdetail-sidebar .rj-vdetail-price-main,
  .rj-vdetail-hero-bar .rj-vdetail-price-main {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    color: var(--rj-primary);
    letter-spacing: -0.02em;
  }

  .rj-vdetail-sidebar .rj-promo-tile {
    min-height: 586px;
}

  .rj-vdetail-price-main {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--rj-primary);
  }

  .rj-vdetail-price-note {
    font-size: 0.85rem;
    color: var(--rj-text);
    font-weight: 600;
  }

  .rj-vdetail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .rj-vdetail-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    font-size: 0.95rem;
  }

  .rj-vdetail-btn--outline {
    background: var(--rj-lilac-50);
    border: 2px solid var(--rj-primary);
    color: var(--rj-accent);
  }

  .rj-vdetail-btn--outline:hover,
  .rj-vdetail-btn--outline:focus {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
  }

  .rj-vdetail-btn--accent {
    background: var(--rj-secondary);
    border: 2px solid var(--rj-secondary);
    color: var(--rj-white);
  }

  .rj-vdetail-btn--accent:hover,
  .rj-vdetail-btn--accent:focus {
    background: var(--rj-primary);
    border-color: var(--rj-primary);
    color: var(--rj-white);
  }

  .rj-vdetail-btn--reserve,
  .rj-vdetail-btn--finance {
    border-radius: 7px;
    padding: 0.65rem 1.25rem;
    font-weight: 800;
    text-transform: none;
  }

  .rj-vdetail-btn--sidebar {
    background: var(--rj-white) !important;
    border: 1px solid var(--rj-primary) !important;
    color: var(--rj-accent) !important;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.6rem 1rem;
  }

  .rj-vdetail-btn--sidebar:hover,
  .rj-vdetail-btn--sidebar:focus {
    background: var(--rj-lilac-50) !important;
    border-color: var(--rj-primary) !important;
    color: var(--rj-primary) !important;
  }

  .rj-vdetail-btn--sidebar-subtle {
    background: transparent !important;
    border: 1px dashed rgba(217, 4, 22, 0.35) !important;
    color: var(--rj-primary) !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
  }

  /* Sidebar: split finance box (white row + lavender â€œGet Financeâ€) */
  .rj-vdetail-finance-split {
    border: 1px solid rgba(217, 4, 22, 0.35);
    border-radius: 12px;
    overflow: hidden;
    background: var(--rj-white);
  }

  .rj-vdetail-finance-split-top {
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: space-between; */
    /* gap: 0.5rem; */
    text-align: center;
    padding: 0.75rem 0.85rem;
    background: var(--rj-white);
    border-bottom: 1px solid rgba(217, 4, 22, 0.12);
  }

  .rj-vdetail-finance-split-weekly {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rj-accent);
    line-height: 1.3;
    flex: 1;
    text-align: left;
    width: auto;
  }

  .rj-vdetail-finance-split-weekly strong {
    font-size: 1.1rem;
    font-weight: 800;
  }

  .rj-vdetail-finance-info {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font-size: 0.7rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    cursor: help;
  }

  .rj-vdetail-finance-info:hover,
  .rj-vdetail-finance-info:focus {
    background: var(--rj-lilac-50);
    color: var(--rj-primary);
  }

  .rj-vdetail-finance-split-cta {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: none;
    background: #ebe3f7;
    color: var(--rj-primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .rj-vdetail-finance-split-cta:hover,
  .rj-vdetail-finance-split-cta:focus {
    background: #e0d4f2;
    color: #3f2571;
  }

  /* Sidebar: odometer / fuel two columns + divider */
  .rj-vdetail-quick-stats-split {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background: var(--rj-white);
  }

  .rj-vdetail-quick-stats-col {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.6rem;
    min-width: 0;
  }

  .rj-vdetail-quick-stats-col + .rj-vdetail-quick-stats-col {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }

  .rj-vdetail-quick-ico {
    flex-shrink: 0;
    object-fit: contain;
  }

  .rj-vdetail-quick-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.45);
  }

  .rj-vdetail-quick-val {
    display: block;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--rj-accent);
    line-height: 1.2;
  }

  /* Sidebar: Enquire + Chat pair */
  .rj-vdetail-btn-pair {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.4rem;
    border-radius: 5px;
    border: 1px solid var(--rj-primary);
    background: var(--rj-white);
    color: var(--rj-accent);
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    height: 100%;
  }

  .rj-vdetail-btn-pair:hover,
  .rj-vdetail-btn-pair:focus {
    background: var(--rj-secondary);
    border-color: var(--rj-secondary);
    color: var(--rj-white);
  }

.rj-vdetail-btn-pair:hover svg, .rj-vdetail-btn-pair:focus svg {color: #ffffff;}

  .rj-vdetail-btn-pair-ico {
    display: flex;
    color: var(--rj-primary);
    flex-shrink: 0;
  }

  /* Sidebar: Questions? + phone */
  .rj-vdetail-side-contact {
    padding-top: 0.25rem;
  }

  .rj-vdetail-side-contact-q {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--rj-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-bottom: 0.35rem;
  }

  .rj-vdetail-side-contact-phone {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--rj-primary);
  }

  .rj-vdetail-side-contact-phone:hover {
    color: #3f2571;
  }

  /* Google block below main sidebar card */
  .rj-vdetail-google-aside {
    padding: 1rem 0.5rem 1.25rem;
  }

  .rj-vdetail-google-aside-logo {
    display: inline-block;
  }

  .rj-vdetail-google-aside-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
  }

  .rj-gstar {
    color: #ffc90b;
    font-size: 1.05rem;
    line-height: 1;
  }

  .rj-gstar--half {
    position: relative;
    display: inline-block;
    width: 0.52em;
    overflow: hidden;
    vertical-align: -0.05em;
  }

  .rj-gstar-inner {
    display: inline-block;
  }

  .rj-vdetail-google-aside-score {
    font-weight: 800;
    font-size: 1rem;
    color: var(--rj-accent);
  }

  .rj-vdetail-google-aside-reviews {
    font-size: 0.88rem;
    color: #3b475e;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .rj-vdetail-google-aside-reviews:hover {
    color: var(--rj-primary);
  }

  .rj-vdetail-google-aside-btn {
    border-radius: 10px;
    border: 2px solid var(--rj-secondary);
    background: var(--rj-white);
    color: var(--rj-accent);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.55rem 1rem;
    transition: background 0.15s ease;
  }

  .rj-vdetail-google-aside-btn:hover {
    background: var(--rj-secondary);
    color: var(--rj-white);
  }

  .rj-vdetail-google-cta {
    font-weight: 700;
    color: var(--rj-primary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--rj-primary);
    border-radius: 999px;
    background: var(--rj-white);
  }

  .rj-vdetail-google-cta:hover {
    background: var(--rj-lilac-50);
    color: var(--rj-primary);
  }

  .rj-vdetail-gallery {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 28px rgba(217, 4, 22, 0.08);
  }

  .rj-vdetail-gallery-main {
    background: #111;
  }

  .rj-vdetail-hero-img {
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    max-height: min(72vh, 560px);
  }

  @media (max-width: 991.98px) {
    .rj-vdetail-side-util {
      justify-content: flex-start;
    }

    .rj-vdetail-subnav-link {
      padding: 0.7rem 0.75rem;
      font-size: 0.82rem;
    }
  }

  .rj-vdetail-gallery-zoom {
    padding: 0;
    width: 100%;
    display: block;
    border-radius: 0;
  }

  .rj-vdetail-badges {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: min(52%, 200px);
    z-index: 2;
  }

  .rj-vdetail-badge {
    background: linear-gradient(135deg, var(--rj-accent) 0%, var(--rj-primary-dark) 100%);
    color: var(--rj-white);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.25;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    border-left: 3px solid var(--rj-secondary);
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .rj-vdetail-badge--roadside {
    border-left-color: #ffb347;
  }

  .rj-vdetail-media-pill {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: linear-gradient(100deg, var(--rj-secondary) 0%, var(--rj-primary) 100%);
    color: var(--rj-white);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    max-width: min(58%, 220px);
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    z-index: 2;
  }

  .rj-vdetail-media-actions {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
  }

  .rj-vdetail-media-fab {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--rj-primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }

  .rj-vdetail-media-fab:hover,
  .rj-vdetail-media-fab:focus {
    background: var(--rj-white);
    color: var(--rj-secondary);
  }

  .rj-vdetail-media-360 {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  .rj-vdetail-cat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .rj-vdetail-cat {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, var(--rj-lilac-50) 48%, var(--rj-lilac-100) 100%);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--rj-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 1px 3px rgba(217, 4, 22, 0.06);
  }

  .rj-vdetail-cat-ico {
    display: flex;
    color: var(--rj-primary);
    flex-shrink: 0;
  }

  .rj-vdetail-cat-label {
    white-space: nowrap;
  }

  .rj-vdetail-cat:hover,
  .rj-vdetail-cat:focus {
    border-color: var(--rj-primary);
    outline: none;
    box-shadow: 0 4px 14px rgba(217, 4, 22, 0.12);
  }

  .rj-vdetail-cat:disabled {
    opacity: .5;
}

.rj-vdetail-cat:disabled:hover {
    border-color: #0000001a!important;
    outline: none!important;
    box-shadow: none!important;
}

  .rj-vdetail-cat.is-active {
    border-color: var(--rj-primary);
    background: linear-gradient(180deg, var(--rj-lilac-50) 0%, var(--rj-lilac-100) 100%);
    color: var(--rj-primary);
    box-shadow: 0 4px 16px rgba(217, 4, 22, 0.15);
  }

  .rj-vdetail-cat-count {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
  }

  .rj-vdetail-cat.is-active .rj-vdetail-cat-count {
    color: rgba(217, 4, 22, 0.75);
  }

  .rj-vdetail-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.5rem;
  }

  @media (min-width: 576px) {
    .rj-vdetail-thumb-grid {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
  }

  .rj-vdetail-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #eee;
    aspect-ratio: 5 / 3;
  }

  .rj-vdetail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .rj-vdetail-thumb.is-active,
  .rj-vdetail-thumb:focus {
    border-color: var(--rj-primary);
    outline: none;
  }

  .rj-vdetail-subnav {
    position: sticky;
    top: var(--rj-header-offset, 88px);
    z-index: 1010;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0;
    margin: 1.5rem 0 0;
    background: var(--rj-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  .rj-vdetail-subnav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
  }

  .rj-vdetail-subnav-link:hover {
    color: var(--rj-primary);
  }

  .rj-vdetail-subnav-link.is-active {
    color: var(--rj-primary);
    background: transparent;
    border-bottom-color: var(--rj-primary);
    font-weight: 800;
  }

  .rj-vdetail-section {
    scroll-margin-top: calc(var(--rj-header-offset, 88px) + 64px);
    padding: 25px 0 100px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .rj-vdetail-section:last-of-type {
    border-bottom: 0;
  }

  .rj-vdetail-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--rj-accent);
    margin-bottom: 1rem;
  }

  .rj-vdetail-section-title--tabbed {
    /* color: var(--rj-primary); */
    border-bottom: 2px solid rgba(217, 4, 22, 0.12);
    padding-bottom: 0.5rem;
    margin-bottom: 1.1rem;
  }

  .rj-vdetail-specs-wrap {
    background: #f8f9fb;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1rem 0.85rem 1.1rem;
  }

  .rj-vdetail-subhead {
    font-size: 24px;
    font-weight: 700;
    /* color: var(--rj-primary); */
    margin-bottom: 1rem;
  }

  .rj-vdetail-specs .rj-vdetail-spec {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: var(--rj-white);
    height: 100%;
  }

  .rj-vdetail-spec-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.45);
  }

  .rj-vdetail-spec-val {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--rj-accent);
  }

  .rj-vdetail-spec-ico {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    background: var(--rj-lilac-50);
    border-radius: 10px;
  }

  .rj-vdetail-prose {
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.82);
  }

  .rj-vdetail-prose ul {
    padding-left: 1.25rem;
  }

  .rj-vdetail-features-cols {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background: var(--rj-white);
  }

  .rj-vdetail-features-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .rj-vdetail-features-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .rj-vdetail-features-list li:last-child {
    border-bottom: 0;
  }

  @media (min-width: 768px) {
    .rj-vdetail-features-cols .col-md-6:first-child .rj-vdetail-features-list {
      border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
  }

  .rj-vdetail-warranty-card {
    background: linear-gradient(145deg, #f4edff 0%, #ebe3f7 100%);
    border: 1px solid rgba(217, 4, 22, 0.14);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    height: 100%;
  }

  .rj-vdetail-warranty-ico {
    display: flex;
    color: var(--rj-primary);
    margin-bottom: 0.5rem;
  }

  .rj-vdetail-warranty-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rj-primary);
    margin-bottom: 0.5rem;
  }

  .rj-vdetail-faq .accordion-button {
    font-weight: 700;
    font-size: 0.95rem;
  }

  .rj-vdetail-google-strip {
    padding: 0.75rem 1rem;
    background: var(--rj-white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-vdetail-grating {
    font-weight: 800;
    font-size: 1.1rem;
  }

  .rj-vdetail-reviews-section .rj-reviews-control {
    width: 40px;
    height: 40px;
    display: none;
  }

  .rj-review-stars .rj-star {
    color: #ffc90b;
    font-size: 1rem;
    margin-right: 1px;
  }

  .rj-vdetail-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--rj-white);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
  }

  @media (min-width: 400px) {
    .rj-vdetail-trust-bar {
      grid-template-columns: repeat(4, 1fr);
      font-size: 0.72rem;
    }
  }

  .rj-vdetail-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .rj-vdetail-trust-ico {
    font-size: 1.1rem;
  }

  .rj-vdetail-sidebar {
    position: relative;
  }

  @media (min-width: 992px) {
    .rj-vdetail-sidebar {
      position: sticky;
      top: calc(var(--rj-header-offset, 96px) + 1rem);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
  }

  .rj-vdetail-side-card {
    background: var(--rj-white);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 24px rgba(217, 4, 22, 0.06);
  }

  .rj-vdetail-side-card--lead {
    padding: 1.4rem 1.45rem 1.35rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(217, 4, 22, 0.1);
  }

  .rj-vdetail-side-icons .rj-vdetail-side-ico-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.5rem 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    height: 100%;
  }

  .rj-vdetail-mechanical {
    background: linear-gradient(135deg, var(--rj-primary) 0%, var(--rj-primary-dark) 100%);
    color: var(--rj-white);
    border-radius: var(--rj-radius-md);
    padding: 1.15rem 1.25rem;
  }

  .rj-vdetail-finance-card {
    background: var(--rj-primary);
    color: var(--rj-white);
    border-radius: var(--rj-radius-md);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--rj-shadow-soft);
  }

  .rj-vdetail-finance-head {
    background: rgba(0, 0, 0, 0.15);
    padding: 16px;
    font-weight: 800;
    font-size: 1.05rem;
  }

  .rj-vdetail-finance-form {
    padding: 1rem 1.1rem 1.15rem;
    background: #ffffff;
  }

  .rj-vdetail-finance-form .form-label {
    color: var(--bs-black);
  }

  .rj-vdetail-finance-form .form-control,
  .rj-vdetail-finance-form .form-select {
    border-radius: 10px;
    border: 1px solid rgb(0 0 0 / 5%);
    background: rgb(0 0 0 / 5%);
    height: 56px;
  }

  .rj-vdetail-finance-result {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-top: 0.25rem;
  }

  .rj-vdetail-finance-amount {
    font-size: 1.5rem;
    font-weight: 800;
  }

  .rj-vdetail-finance-amount--blue {
    color: #1e6fd9;
    text-shadow: none;
  }

  .rj-vdetail-why {
    background: var(--rj-white);
    border-radius: var(--rj-radius-md);
    padding: 1.2rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .rj-vdetail-why-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--rj-accent);
  }
.rj-vdetail-why-item {
    display: flex;
    flex-wrap: wrap;
}

.rj-vdetail-why-item-content * {
    line-height: 1.4;
}

.rj-vdetail-why-item-icon {
    width: 40px;
}

.rj-vdetail-why-item-content {
    width: calc(100% - 40px);
    line-height: normal;
}

  .rj-vdetail-why-item + .rj-vdetail-why-item {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .rj-vdetail-side-cta-bottom a {
    color: var(--rj-primary);
    font-weight: 600;
    text-decoration: none;
  }

  .rj-vdetail-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--rj-white);
    border-top: 1px solid var(--rj-border-soft);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .rj-vdetail-mbar-btn {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid var(--rj-primary);
    background: var(--rj-white);
    color: var(--rj-primary);
    text-decoration: none;
    font-size: 0.9rem;
  }

  .rj-vdetail-mbar-btn--primary {
    background: var(--rj-secondary);
    border-color: var(--rj-secondary);
    color: var(--rj-white);
  }

  .rj-vdetail-modal .modal-body {
    height: auto;
}

#rjModalGalleryImg {
    height: 100%;
    width: auto !important;
}

  .rj-vdetail-modal .modal-content {
    border-radius: var(--rj-radius-md);
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  }

  .rj-vdetail-modal .modal-header .modal-title {
    color: var(--rj-white);
    font-weight: 800;
  }

  .rj-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    opacity: 0.92;
  }

  .rj-gallery-prev {
    left: 0.5rem;
  }

  .rj-gallery-next {
    right: 0.5rem;
  }

  @media print {
    .rj-site-header,
    .rj-vdetail-mobile-bar,
    .rj-vdetail-hero-bar,
    .rj-vdetail-subnav,
    .rj-reviews-controls {
      display: none !important;
    }

    .rj-vdetail-page {
      padding-bottom: 0;
    }
  }
  /* ============================================================
   RJ Finance Modal – styles matching the screenshot design
   ============================================================ */

/* ── Overlay ── */
.rj-finance-modal .modal-dialog {
  max-width: 710px;
}

/* ── Card ── */
.rj-finance-modal__content {
  border: none;
  border-radius: 12px;
  padding: 36px 40px 32px;
  position: relative;
  overflow: visible!important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── Close button ── */
.rj-finance-modal__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e53935;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  padding: 0;
  transition: background .18s;
}
.rj-finance-modal__close:hover {
  background: #c62828;
}

/* ── Title ── */
.rj-finance-modal__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.2;
}
.rj-finance-modal__title-accent {
  color: #7c4dff;
}

/* ── Mandatory note ── */
.rj-finance-modal__note {
  font-size: 0.82rem;
  color: #444;
  margin-bottom: 20px;
}
.rj-finance-modal__asterisk {
  color: #e53935;
  font-weight: 600;
}

/* ── Field labels ── */
.rj-finance-modal__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

/* ── Inputs / Selects / Textarea ── */
.rj-finance-modal__control {
  border: 1.5px solid #d0d0d0 !important;
  border-radius: 6px !important;
  background: #f5f5f5 !important;
  font-size: 0.92rem;
  color: #1a1a1a;
  height: 46px;
  padding: 10px 14px;
  box-shadow: none !important;
  transition: border-color .18s, background .18s;
}
.rj-finance-modal__control:focus {
  border-color: #7c4dff !important;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, .15) !important;
  background: #fff !important;
}
.rj-finance-modal__textarea {
  height: auto !important;
  resize: vertical;
}

/* ── Repayment banner ── */
.rj-finance-modal__repay-box {
  border: 1.5px solid #b0b0b0;
  border-radius: 8px;
  padding: 14px 20px;
  text-align: center;
  background: #fff;
}
.rj-finance-modal__repay-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.rj-finance-modal__repay-label {
  font-size: 0.92rem;
  color: #444;
}
.rj-finance-modal__repay-amt {
  color: #7c4dff;
  font-weight: 700;
  font-size: 1.25rem;
}
.rj-finance-modal__repay-suffix {
  color: #7c4dff;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ── Privacy checkbox ── */
.rj-finance-modal__terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.rj-finance-modal__check {
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid #aaa !important;
  border-radius: 3px !important;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.rj-finance-modal__check:checked {
  background-color: #7c4dff !important;
  border-color: #7c4dff !important;
}
.rj-finance-modal__terms-label {
  font-size: 0.84rem;
  color: #333;
  cursor: pointer;
}
.rj-finance-modal__link {
  color: #7c4dff;
  text-decoration: underline;
}
.rj-finance-modal__link:hover {
  color: var(--rj-primary);
}

/* ── Disclaimer ── */
.rj-finance-modal__disclaimer-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 4px 0 10px;
}
.rj-finance-modal__disclaimer-list {
  padding-left: 20px;
  margin: 0;
}
.rj-finance-modal__disclaimer-list li {
  font-size: 0.78rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.55;
}

/* ── Submit button ── */
.rj-finance-modal__submit {
  background: var(--rj-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 28px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  width: auto !important;        /* override w-100 if you prefer auto-width */
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.rj-finance-modal__submit:hover {
  background: var(--rj-primary-dark) !important;
}

/* ── Responsive tweak ── */
@media (max-width: 576px) {
  .rj-finance-modal__content {
    padding: 28px 20px 24px;
  }
  .rj-finance-modal__close {
    top: -12px;
    right: -8px;
  }
  .rj-finance-modal__title {
    font-size: 1.55rem;
  }
}

.rj-finance-modal__close:before {
  position: absolute;
  content: '';
  border-radius: 24px;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 20px;
  height: 4px;
  background: #fff;
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.rj-finance-modal__close:after {
  position: absolute;
  content: '';
  border-radius: 24px;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 20px;
  height: 4px;
  background: #fff;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.rj-enq__content {
  border-radius: 12px;
  border: none;
  position: relative;
  overflow: visible!important;
}
 
/* ── Red close button (outside top-right) ── */
.rj-enq__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e53935;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  padding: 0;
  transition: background .18s;
}
.rj-enq__close:hover { background: #c62828; }
 
/* ── Title ── */
.rj-enq__title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
}
.rj-enq__title-accent { color: var(--rj-primary); }
 
/* ── Inputs – only bg & border tweaked, Bootstrap height/padding kept ── */
.rj-enq__control {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
  height: 65px;
}
textarea.rj-enq__control{
  height: unset;
}
.rj-enq__control:focus {
  background-color: #fff;
  border-color: var(--rj-primary);
  box-shadow: 0 0 0 0.2rem rgba(106,31,194,.15);
}
.rj-enq__control::placeholder { color: #888; }
 
/* ── Checkbox accent ── */
.rj-enq__check:checked {
  background-color: var(--rj-primary);
  border-color: var(--rj-primary);
}
 
/* ── Privacy link ── */
.rj-enq__link { color: var(--rj-primary); text-decoration: underline; }
.rj-enq__link:hover { color: var(--rj-primary-dark); }
 
/* ── Submit button ── */
.rj-enq__submit {
  background: var(--rj-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .2s;
}
.rj-enq__submit:hover,
.rj-enq__submit:focus { background: var(--rj-primary-dark); color: #fff; }
 
/* ── Responsive ── */
@media (max-width: 576px) {
  .rj-enq__title { font-size: 1.6rem; }
  .rj-enq__close { top: -12px; right: -8px; }
}

.rj-vdetail-reviews-section .rj-reviews-owl .owl-nav {}

.rj-vdetail-reviews-section .rj-reviews-owl .owl-nav button {
    border: 1px solid var(--rj-primary)!important;
    position: absolute;
    bottom: -70px;
    display: flex!important;
    flex-wrap: wrap;
    width: 30px!important;
    height: 30px;
    border-radius: 100%;
    padding: 25px!important;
    opacity: 1;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    background-image: url(../images/icons/arrow-black.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.rj-vdetail-reviews-section .rj-reviews-owl .owl-nav button:hover{
  background-image: url(../images/icons/arrow-white.svg);
  background-color: var(--rj-primary)!important;
  filter: none;
}

.rj-vdetail-reviews-section .rj-reviews-owl .owl-nav button span{
    opacity:0
}

.rj-vdetail-reviews-section .rj-reviews-owl .owl-nav .owl-prev {
    transform: rotate(180deg);
}

.rj-vdetail-reviews-section .rj-reviews-owl .owl-nav .owl-next {
    right: 0;
}


.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5'/></svg>")!important;
  background-repeat: no-repeat!important;
  background-position: right 10px center !important;
  background-size: 30px!important;
  padding-right: 30px;
}
#rjModalGallery .modal-body {
  height: 70vh;
}

/* Finance Page*/
.carLoanSection-heading {
  padding: 40px 50px;
  border-bottom: 1px solid #ddd;
  background: #ffffff;
}

.carLoanSection-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--rj-accent);
  line-height: 1.2;
}

.carLoanSection-outer {
  border-radius: 16px;
  overflow: hidden;
}
.carLoanSection .col-left {
  position: relative;
  width: 57%;
  border-right: 1px solid rgb(0 0 0 / 8%);
}

.carLoanSection .col-right {
  width: 43%;
}

.carLoanSection .carLoan-wrapper {
  display: flex;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.carloanpayment-Box {
  background-color: #fff;
  border-radius: 0;
  padding: 48px 50px;
  height: 100%;
}

.carloanpayment-Box .paymentxt {
  color: #000000;
  font-size: 26px;
  line-height: 21px;
  font-weight: 600;
  padding-bottom: 8px;
  margin: 0;
}

.carloadTabDiv {
  display: block;
  margin-top: 20px;
}

.carloadtabUl {
  display: flex;
}

.carloadtabUl ul {
  display: flex;
  margin: 0;
  padding: 0;
  border: 3px solid var(--rj-lilac-100);
  border-radius: 14px;
  width: 100%;
  max-width: 516px;
}

.carloadtabUl ul li.current {
  background-color: var(--rj-primary);
}

.carloadtabUl ul li {
  background-color: #ffffff;
  border-radius: 10px;
  max-width: 172px;
  width: 100%;
  min-height: 60px;
  color: var(--rj-primary);
  font-weight: 400;
  font-size: 25px;
  line-height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  position: relative;
}

.carloadtabUl ul li a {
  text-decoration: none;
  color: #212121;
  display: inline-block;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-size: 18px;
  font-weight: 500;
  line-height: 23.44px;
  text-align: left;
}

.carloadtabUl ul li.current a {
  color: #fff;
}

.carloadtabContent .slider-wrapper {
  display: block;
  padding-top: 47px;
}

.carLoanSection .loanpricTit {
  font-size: 24px;
  line-height: 21px;
  color: #464646;
  font-weight: 600;
  margin: 0;
}

.carLoanSection .sliderange {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.carLoanSection .sliderange-title {
  order: 1;
}

.carLoanSection .sliderange range-slider {
  width: 100%;
  order: 3;
  margin-top: 10px;
  outline: none;
}

.carLoanSection .title-symbol {
  order: 2;
  display: flex;
}

.carLoanSection range-slider:before {
  content: "";
  display: block;
  width: 100%;
  height: var(--track-height);
  border-radius: calc(var(--track-height)/2);
  background: linear-gradient(var(--rj-primary), var(--rj-primary)) 0/var(--value-percent, 0) 100% no-repeat var(--rj-lilac-100);
}

.carLoanSection .sliderange range-slider:before {
  background: linear-gradient(#f29632, #f29632) 0 / var(--value-percent, 0) 100% no-repeat rgb(70 70 70 / 5%);
  height: 12px;
  border-radius: 40px;
}

.carLoanSection .thumb-wrapper {
  position: absolute;
  left: calc(var(--thumb-size)/2);
  right: calc(var(--thumb-size)/2);
  bottom: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.carLoanSection .sliderange output {
  font-weight: 800;
  color: #000;
  font-size: 24px;
  line-height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
  margin-left: auto;
}

.carLoanSection .sliderange .symbol {
  font-weight: 800;
  color: #000000;
  position: relative;
  letter-spacing: -0.02em;
  font-size: 24px;
  line-height: 21px;
  order: 2;
}

.carLoanSection .carloantotleCnt {
  display: block;
  padding: 0;
  background: #ffffff;
  height: 100%;
}

.carLoanSection .carloanEstimatDiv {
  display: block;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  padding: 48px 50px 47px 48px;
}

.carLoanSection .carloanEstimatDiv .estimatit {
  color: #000000;
  font-size: 26px;
  line-height: 33.85px;
  font-weight: 600;
  display: inline-flex;
  text-align: center;
  margin: 0 0 48px 0;
}

.carLoanSection .carloantotleprice {
  display: flex;
  text-align: center;
  flex-direction: column;
  text-align: left;
}

.carLoanSection .carloantotleprice #estimated_repay {
  font-weight: 800;
  font-size: 60px;
  line-height: 60px;
  color: var(--rj-primary);
}

.carLoanSection .carloanquoteBtn {
  display: flex;
  justify-content: center;
}

.carLoanSection .carloanquoteBtn .btngetquote {
  display: inline-flex;
  background-color: var(--rj-primary);
  border-color: var(--rj-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 21px;
  color: #ffffff;
  border-radius: 15px;
  min-width: 188px;
  min-height: 57px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.carLoanSection .car-detail-wrapper .btn {
  color: #fff;
  text-align: center;
  background: var(--rj-primary);
  font-size: 16px;
  height: 45px;
  line-height: 1.2em;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 0 20px;
  border-radius: 5px;
  display: inline-flex;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  align-items: center;
  justify-content: center;
}

.carLoanSection .carloancntDesc {
  display: inline-flex;
  padding: 36px 50px 50px 48px;
}

.carLoanSection .carloancntDesc p {
  color: #464646;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.carLoanSection range-slider {
  --element-height: 27px;
  --track-height: 3px;
  --thumb-size: 16px;
  position: relative;
  display: flex;
  align-items: center;
  height: var(--element-height);
  width: 100%;
  min-width: 130px;
  margin: 0;
  overflow: visible;
  cursor: pointer;
  touch-action: none;
}

.carLoanSection .thumb {
  background: var(--rj-primary);
  border-radius: 50%;
  width: var(--thumb-size);
  height: var(--thumb-size);
  position: absolute;
  bottom: calc(var(--element-height)/2 - var(--thumb-size)/2);
  left: var(--value-percent, 0);
  margin-left: calc(var(--thumb-size)/2*-1);
  transition: transform .2s ease;
  will-change: transform;
  pointer-events: none;
}

.carLoanSection .sliderange .thumb {
  background: #fff;
  width: 27px;
  height: 27px;
  bottom: 0px;
  border: 4px solid var(--rj-primary);
}

.carLoanSection .total-amt-btn-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
}

.carLoanSection .total-amt-btn-wrap .total-amt-txt {
  font-size: 20px;
  font-weight: 500;
  line-height: 21px;
  margin-bottom: 12px;
}

.carLoanSection .carloadtabUl ul li:not(.current)::after {
  content: " ";
  background: rgb(0 0 0 / 20%);
  height: 15.7px;
  width: 1px;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.carLoanSection .carloadtabUl ul li:last-of-type::after {
  display: none;
}

.carLoanSection .sliderange .symbol.doller {
  font-weight: 800;
}

.carLoanSection .sliderange .symbol.percentage, .carLoanSection .sliderange .symbol.month {
  font-weight: 400;
  margin-left: 2px;
}

.carLoanSection .sliderange #amtBorrow~.doller {
  position: absolute;
  right: 82px;
  top: 0px;
}

.carLoanSection .sliderange #amtBorrow+output::before {
  content: "$";
}

.carLoanSection .carloanquoteBtn .btngetquote:hover {
  background: var(--rj-secondary-dark);
  border-color: var(--rj-secondary-dark);
}

/* ── Section ── */
.rj-finance-section {
  background: var(--rj-page-bg);
  padding: 48px 0 72px;
}

/* ══════════════════════════════
   LEFT – editorial content
══════════════════════════════ */
.rj-finance-section .rj-finance-left {
  padding-right: 28px;
}

.rj-common-image {
    border-radius: 40px;
    overflow: hidden;
}

.rj-common-image img {
    clip-path: polygon(100% 0, 100% 85%, 85% 100%, 0 100%, 0 0);
}

.rj-common-image:before {
    content: '';
}

/* Warranty page — first section: equal-height columns (form + image) */
.rj-warranty-hero .rj-finance-left {
  padding-right: 0;
}

@media (min-width: 992px) {
  .rj-warranty-hero .rj-finance-left {
    padding-left: 0.5rem;
  }
}

.rj-warranty-hero .rj-warranty-hero__image {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

@media (min-width: 992px) {
  .rj-warranty-hero .rj-warranty-hero__image {
    min-height: 0;
    flex: 1 1 auto;
  }
}

.rj-warranty-hero .rj-warranty-hero__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.rj-finance-section .rj-finance-left h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--rj-accent);
  line-height: 1.2;
  margin-bottom: 18px;
}

.rj-finance-section .rj-finance-left p {
  font-size: 0.95rem;
  color: var(--rj-text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.rj-finance-section .rj-finance-left p a {
  font-weight: 700;
  text-decoration: none;
}
.rj-finance-section .rj-link-danger  {color: #c36;}
.rj-finance-section .rj-link-danger:hover  { color: #c62828; }
.rj-finance-section .rj-link-secondary {color: #c36;}
.rj-finance-section .rj-link-secondary:hover { color: var(--rj-secondary-dark); }

/* Browse Cars CTA */
.rj-finance-section .btn-rj-browse {
  background: var(--rj-secondary);
  color: var(--rj-white);
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  box-shadow: var(--rj-shadow-soft);
  border: 1px solid var(--rj-secondary);
}
.btn-rj-browse:hover {
  background: transparent;
  color: var(--rj-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(246,146,30,.25);
  border-color: var(--rj-secondary);
}

/* ══════════════════════════════
   RIGHT – form card
══════════════════════════════ */
.rj-finance-section .rj-finance-card {
  background: var(--rj-white);
  border-radius: 16px;
  padding: 34px 38px 38px;
  border: 1px solid var(--rj-border-soft);
  box-shadow: var(--rj-shadow-soft);
}

/* Note line */
.rj-finance-section .rj-form-note {
  font-size: 0.83rem;
  color: var(--rj-text);
  margin-bottom: 22px;
}
.rj-finance-section .rj-form-note strong { font-weight: 700; color: var(--rj-accent); }
.rj-finance-section .rj-asterisk { color: var(--rj-danger); font-weight: 700; }

/* ── Inputs / Textarea ── */
.rj-finance-section .rj-finance-card .form-control {
  background: #F2F2F2;
  border: navajowhite;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--rj-text);
  padding: 12px 16px;
  height: 65px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.rj-finance-section .rj-finance-card .form-control::placeholder { color: #9e9e9e; }
.rj-finance-section .rj-finance-card .form-control:focus {
  background: var(--rj-white);
  border-color: var(--rj-primary);
  box-shadow: 0 0 0 3px var(--rj-lilac-100);
  outline: none;
  color: var(--rj-accent);
}
.rj-finance-section .rj-finance-card textarea.form-control {
  height: auto;
  resize: vertical;
}

/* ── Checkbox ── */
.rj-finance-section .rj-finance-card .form-check-input {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(0,0,0,.25);
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  background-color: transparent;
}
.rj-finance-section .rj-finance-card .form-check-input:checked {
  background-color: var(--rj-primary);
  border-color: var(--rj-primary);
}
.rj-finance-section .rj-finance-card .form-check-input:focus {
  box-shadow: 0 0 0 3px var(--rj-lilac-100);
}
.rj-finance-section .rj-finance-card .form-check-label {
  font-size: 0.86rem;
  color: var(--rj-text);
  padding-left: 4px;
  line-height: 1.5;
}
.rj-finance-section .rj-privacy-link {
  color: var(--rj-primary);
  text-decoration: underline;
}
.rj-finance-section .rj-privacy-link:hover { color: var(--rj-primary-dark); }

/* ── Submit ── */
.rj-finance-section .btn-rj-submit {
  background: var(--rj-primary);
  color: var(--rj-white);
  border: none;
  border-radius: 8px;
  padding: 12px 42px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: var(--rj-shadow-soft);
}
.rj-finance-section .btn-rj-submit:active,
.rj-finance-section .btn-rj-submit:hover {
  background: var(--rj-secondary);
  color: var(--rj-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(85,50,145,.22);
}

/* ══════════════════════════════
   Responsive
══════════════════════════════ */
@media (max-width: 991.98px) {
  .rj-finance-section .rj-finance-left {padding-right: 0;margin-bottom: 30px;}
  .rj-finance-section .rj-finance-card { padding: 28px 26px 32px; }
}
@media (max-width: 575.98px) {
  .rj-finance-section {padding: 0px 0 10px;}
  .rj-finance-section .rj-finance-card { padding: 22px 16px 28px; }
  .rj-finance-section .rj-finance-left h1 { font-size: 1.55rem; }
  .rj-finance-section .rj-finance-card .form-control { min-height: 52px; height: auto; }
  .rj-finance-section .btn-rj-submit { width: 100%; max-width: 100%; }
}

.common-primary-btn {
  display: inline-flex;
  background-color: var(--rj-primary);
  border-color: var(--rj-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 21px;
  color: #ffffff;
  border-radius: 15px;
  min-width: 188px;
  min-height: 57px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.common-primary-btn:hover {
  background: var(--rj-secondary-dark);
  border-color: var(--rj-secondary-dark);
  color: #ffffff;
}

.rj-banner-support-section .rj-banner {
  background: var(--rj-primary);
  border-radius: 16px;
  padding: 52px 60px;
  text-align: center;
}

.rj-banner-support-section .rj-banner__heading {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--rj-white);
  line-height: 1.35;
  margin-bottom: 20px;
}
.rj-banner-support-section .rj-banner__heading .accent-orange { color: var(--rj-secondary); }

.rj-banner-support-section .rj-banner__body {
  font-size: clamp(0.88rem, 1.4vw, 0.97rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 12px;
}

/* ══════════════════════════════════
   SUPPORT SECTION
══════════════════════════════════ */
.rj-banner-support-section .rj-support {
  padding: 56px 0 24px;
  text-align: center;
}

.rj-banner-support-section .rj-support__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--rj-accent);
  margin-bottom: 14px;
}

.rj-banner-support-section .rj-support__sub {
  font-size: 0.95rem;
  color: var(--rj-text);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ── Feature cards ── */
.rj-banner-support-section .rj-feat-card {
  background: var(--rj-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 36px 20px 28px;
  text-align: center;
  height: 100%;
  transition: box-shadow .22s, transform .22s;
}
.rj-banner-support-section .rj-feat-card:hover {
  box-shadow: 0 8px 28px rgba(85,50,145,.12);
  transform: translateY(-3px);
}

.rj-banner-support-section .rj-feat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rj-banner-support-section .rj-feat-icon svg {
  width: 100%;
  height: 100%;
}

.rj-banner-support-section .rj-feat-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--rj-accent);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .rj-banner-support-section .rj-banner { padding: 40px 32px; }
}
@media (max-width: 575.98px) {
  .rj-banner-support-section .rj-banner { padding: 32px 20px; border-radius: 12px; }
  .rj-banner-support-section .rj-support { padding: 40px 0 16px; }
}
.rj-banner-support-section .rj-support__sub{
  margin-bottom: 24px;
}

/* -------------------------------------------------------------------------
   Finance page — full responsive (calculator, info, support strip)
   ------------------------------------------------------------------------- */

.rj-car-loan-calculator-section {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
  overflow-x: clip;
}

.rj-car-loan-information-section .rj-car-loan-info__title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--rj-accent);
}

.rj-car-loan-information-section p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.7;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1199.98px) {
  .carLoanSection-heading {
    padding: 32px 36px 28px;
  }
}

@media (max-width: 991.98px) {
  .carLoanSection .carLoan-wrapper {
    flex-direction: column;
  }

  .carLoanSection .col-left,
  .carLoanSection .col-right {
    width: 100%;
    max-width: 100%;
  }

  .carLoanSection .col-left {
    border-right: none;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
  }

  .carloanpayment-Box {
    padding: 36px 28px 32px;
  }

  .carLoanSection .carloanEstimatDiv {
    padding: 36px 28px 32px;
  }

  .carLoanSection .carloancntDesc {
    padding: 28px 28px 36px;
  }

  .carLoanSection .carloanEstimatDiv .estimatit {
    margin-bottom: 32px;
  }

  .carLoanSection .carloantotleprice #estimated_repay {
    font-size: clamp(2.25rem, 8vw, 3.25rem);
    line-height: 1.05;
  }

  .rj-support .rj-support-support-text h2 {
    font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    line-height: 1.2;
  }

  .rj-support-support-text p {
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    line-height: 1.55;
  }
}

@media (max-width: 767.98px) {
  .carLoanSection-heading {
    padding: 24px 20px 20px;
  }

  .carloadtabUl ul {
    max-width: 100%;
    flex-wrap: nowrap;
    border-width: 2px;
    border-radius: 12px;
  }

  .carloadtabUl ul li {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    border-radius: 8px;
  }

  .carloadtabUl ul li a {
    font-size: clamp(0.8rem, 2.8vw, 1rem);
    line-height: 1.25;
    text-align: center;
    padding: 0.35rem 0.25rem;
    word-break: break-word;
  }

  .carloanpayment-Box .paymentxt {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
  }

  .carLoanSection .loanpricTit {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .carLoanSection .sliderange output,
  .carLoanSection .sliderange .symbol {
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  }

  .carloadtabContent .slider-wrapper {
    padding-top: 32px;
  }

  .carLoanSection .sliderange #amtBorrow ~ .doller {
    position: static;
    right: auto;
    top: auto;
  }

  .carLoanSection .total-amt-btn-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .carLoanSection .carloanquoteBtn {
    width: 100%;
  }

  .carLoanSection .carloanquoteBtn .btngetquote {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
  }

  .carLoanSection .carloantotleprice .total-amt-txt {
    margin-bottom: 6px;
  }

  .rj-banner-support-section .rj-feat-card {
    padding: 28px 16px 22px;
  }

  .rj-banner-support-section .rj-feat-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .rj-support-btn-phone {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    padding: 10px 16px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .rj-support-chat-label {
    font-size: clamp(0.95rem, 3.2vw, 1.1rem);
    line-height: 1.35;
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .carLoanSection-outer {
    border-radius: 12px;
  }

  .carLoanSection .carLoan-wrapper {
    border-radius: 0 0 16px 16px;
  }

  .carloanpayment-Box {
    padding: 22px 16px 20px;
  }

  .carLoanSection .carloanEstimatDiv {
    padding: 24px 16px 22px;
  }

  .carLoanSection .carloanEstimatDiv .estimatit {
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    line-height: 1.3;
    margin-bottom: 22px;
    display: block;
    text-align: left;
  }

  .carLoanSection .carloantotleprice #estimated_repay {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .carLoanSection .carloancntDesc {
    padding: 20px 16px 24px;
  }

  .carLoanSection .carloancntDesc p {
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .carloadtabUl ul li:not(.current)::after {
    display: none;
  }

  .carloadtabUl ul li {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .carloadtabUl ul li a {
    font-size: 0.72rem;
    padding: 0.25rem 0.15rem;
  }
}
.rj-about-quote {
  text-align: center;
}

.rj-about-quote-inner {
    background: var(--rj-white);
    padding: 63px 15px 62px 15px;
    border-radius: 20px;
}

.rj-about-quote__icon {
  font-size: 3.4rem;
  line-height: 1;
  color: var(--rj-primary);
  margin-bottom: 20px;
  display: block;
  font-family: Georgia, serif;
  letter-spacing: -6px;
}

.rj-about-quote__heading {
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  font-weight: 500;
  color: var(--rj-accent);
  line-height: 1.3;
  max-width: 1000px;
  margin: 0 auto 24px;
}

.rj-about-quote__heading .rj-about-quote__accent {
  color: var(--rj-secondary);
}

.rj-about-quote__body {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  color: var(--rj-text);
  font-weight: 500;
  line-height: 1.5;
  max-width: 1000px;
  margin: 0 auto;
}

/* ════════════════════════════════════════
   SECTION 2 – OUR MISSION
════════════════════════════════════════ */
.rj-about-mission {
  padding: 60px 0 56px;
}
.rj-about-mission-inner {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}
.rj-about-mission__img-wrap {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.rj-about-mission__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  clip-path: polygon(100% 0, 100% 83%, 88% 100%, 0 100%, 0 0);
}

.rj-about-mission__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 48px;
}

.rj-about-mission__title {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--rj-accent);
  margin-bottom: 18px;
}

.rj-about-mission__text {
  font-size: clamp(0.88rem, 1.3vw, 0.95rem);
  color: var(--rj-text);
  line-height: 1.8;
  margin: 0;
}

/* ════════════════════════════════════════
   SECTION 3 – OUR PROMISE
════════════════════════════════════════ */
.rj-about-promise {
  background: var(--rj-primary);
  border-radius: 20px;
  margin: 0 0 56px;
  padding: 56px 60px;
  position: relative;
  overflow: hidden;
}

/* decorative blob bottom-right */
.rj-about-promise::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.rj-about-promise__label {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--rj-white);
  margin-bottom: 0;
}

.rj-about-promise__text {
  font-size: clamp(0.88rem, 1.3vw, 0.95rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .rj-about-mission__content {
    padding-left: 0;
    padding-top: 32px;
  }
  .rj-about-promise {
    padding: 40px 32px;
  }
}

@media (max-width: 767.98px) {
  .rj-about-mission__img-wrap {
    min-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .rj-about-quote { padding: 44px 16px 40px; }
  .rj-about-mission { padding: 40px 0 40px; }
  .rj-about-promise {
    padding: 32px 22px;
    border-radius: 14px;
    margin-bottom: 40px;
  }
  .rj-about-promise__label { margin-bottom: 16px; }
}

/*Reservation*/
.reserve-form-main .reserveNow, .summary-form .reserveNow {
  border: 1px solid #c5c2cb;
  background-color: #fff;
  border-radius: 8px;
  padding: 40px 20px;
}

.reserve-form-main .frmTitle, .summary-form .frmTitle {
  font-size: 25px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: -0.04em;
  text-align: left;
  color: var(--rj-primary) ;
  margin-bottom: 20px;
}

.reserve-form-main .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0px;
}

.reserve-form-main .col-lg-4 {
  width: calc( 33.33333333% - 15px );
}

.reserve-form-main .form-group {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  position: relative;
}

.reserve-form-main .frmFieldTitle {
  font-size: 16px;
  line-height: 1.2em;
  color: #fff;
  display: block;
  font-weight: 600;
  margin-bottom: 9px;
}

.reserve-form-main .input-div {
  position: relative;
}

.reserve-form-main .inputField {
  width: 100%;
  height: 65px;
  border-radius: 10px;
  padding: 0 25px;
  color: #000;
  background: #F2F2F2;
  border: 0px solid #ddd;
  font-size: 18px;
  line-height: 24px;
}

.reserve-form-main .inputField:focus-visible {
  outline: none;
}

.reserve-form-main label.error {
  position: absolute;
  right: 0;
  top: -20px;
  width: auto;
  height: auto;
  margin: 0;
  -webkit-font-smoothing: auto;
  line-height: normal;
  font: 11px / 11px arial;
  background: #fb0101;
  padding: 5px 5px 4px;
  color: #fff;
}

.summary-form .checkboxDiv label.error {
  position: absolute;
  right: unset;
  left: 0px ;
  top: -26px;
  width: auto;
  height: auto;
  margin: 0;
  -webkit-font-smoothing: auto;
  line-height: normal;
  font: 11px / 11px arial;
  background: #fb0101;
  padding: 5px 5px 4px;
  color: #fff;
}

.summary-form label.error::after {
  content: '';
  position: absolute;
  left: 7px;
  bottom: -4px;
  height: 0;
  width: 0;
  border: 5px solid red;
  border-left-color: transparent;
  border-top-color: transparent;
  transform: rotate(45deg);
}

.reserve-form-main .reserveNowBtnDiv {
  text-align: right;
}

.reserve-form-main .reserveNowBtnDiv .btn {
  min-width: 150px;
}

.reserve-form-main .btn, .summary-form .btn {
  text-decoration: none;
  color: #fff;
  text-align: center;
  background: var(--rj-primary);
  font-size: 16px;
  height: 45px;
  line-height: 40px;
  letter-spacing: 1px;
  font-weight: 700;
  /* padding: 0 20px; */
  border-radius: 5px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.reserve-form-main .btn:hover, .summary-form .btn:hover {
  background-color: var(--rj-secondary);
}

.reserve-form-main .reserveNowBtnDiv .btn + .btn {
  margin-left: 4px;
  vertical-align: top;
}

.reserve-form-main .skyBlueBtn {
  background-color: var(--rj-secondary);
}

.reserve-form-main .skyBlueBtn:hover {
  background-color: var(--rj-primary);
}

.summary-form {
  padding-top: 20px;
}

.summary-form ul {
  list-style-type: none;
  padding: 0px;
}

.summary-form .depositSummarytitle {
  color: #000;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2em;
  margin-bottom: 20px;
  border-bottom: 1px solid #dad8d8;
  padding-bottom: 5px;
}

.summary-form .depositSummaryDetail ul li {
  display: inline-block;
  vertical-align: top;
  width: calc(33.33% - 4px);
}

.summary-form .lbldpSum {
  display: inline-block;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.3em;
  font-weight: 600;
  width: 100px;
  color: #000;
}

.summary-form .dpSumTxt {
  word-wrap: break-word;
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 104px);
  font-size: 15px;
  line-height: 1.3em;
  padding-left: 6px;
}

.summary-form .dpSumTxt a {
  color: inherit;
}

.summary-form .depositSummarydiv:not(:last-child) {
  margin-bottom: 35px;
}

.summary-form .reserveNowBtnDiv {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.summary-form .payPalBnt {
  padding: 0;
  border: 0;
  line-height: 0;
  background: transparent;
  margin-left: 10px;
}

.summary-form .depositSummaryWrap {
  margin-bottom: 20px;
  border-bottom: 1px solid #c5c2cb;
  padding-bottom: 20px;
}

.summary-form .customCHeckbox .checkLable {
  padding-left: 26px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.summary-form .customCHeckbox .checkinput {
  position: absolute;
  width: 20px;
  height: 24px;
}

.summary-form .payPalBnt:hover {
  background: transparent;
}

.summary-form .payPalBnt img {
  height: 100%;
  width: auto;
}

.summary-form .checkboxDiv {
  margin-top: 10px;
}

.popclick.termsAndConditionsLink {
    color: var(--rj-primary);
    cursor: pointer;
}

.popclick.termsAndConditionsLink:hover {
    color: var(--rj-secondary);
}
.rj-custom-list{
  list-style: none;
}
.rj-custom-list li{
  position: relative;
  line-height: 1.3;
  margin: 20px 0;
}
.rj-custom-list li:before {
  content: '';
  background-image: url(../images/icons/list-icon.svg);
  position: absolute;
  top: -2px;
  left: -35px;
  width: 28px;
  height: 28px;
}

.rj-custom-list .rj-list-title {
  color: var(--rj-primary);
  font-weight: 500;
  width: 100%;
  display: block;
}

/* -------------------------------------------------------------------------
   Reservation page (main only — header/footer unchanged)
   Fluid spacing, stacked summaries, form + actions on narrow viewports
   ------------------------------------------------------------------------- */

.rj-page-reservation main {
  overflow-x: clip;
}

.rj-page-reservation main .rank-math-breadcrumb {
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
  padding-bottom: clamp(0.25rem, 1vw, 0.5rem);
}

.rj-page-reservation .rj-reservation-summary-section {
  padding-bottom: clamp(1.75rem, 5vw, 3.25rem);
  margin-bottom: clamp(1.25rem, 4vw, 3rem);
}

.rj-page-reservation .summary-form {
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.rj-page-reservation .summary-form .reserveNow,
.rj-page-reservation .reserve-form-main .reserveNow {
  padding: clamp(1.1rem, 3.5vw, 2.5rem) clamp(0.85rem, 3vw, 1.25rem);
  border-radius: clamp(10px, 2vw, 14px);
}

.rj-page-reservation .summary-form .frmTitle,
.rj-page-reservation .reserve-form-main .frmTitle {
  font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: clamp(0.65rem, 2vw, 1.15rem);
}

.rj-page-reservation .summary-form h1.frmTitle {
  font-size: clamp(1.35rem, 4.2vw, 1.65rem);
}

.rj-page-reservation .summary-form .depositSummarytitle {
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  margin-bottom: clamp(0.65rem, 2vw, 1.15rem);
}

.rj-page-reservation .summary-form .depositSummaryWrap {
  margin-bottom: clamp(1rem, 3vw, 1.35rem);
  padding-bottom: clamp(0.85rem, 2.5vw, 1.25rem);
}

.rj-page-reservation .summary-form .depositSummarydiv:not(:last-child) {
  margin-bottom: clamp(1.25rem, 3.5vw, 2rem);
}

/* Restore Bootstrap row gutters (global rule used margin: 0) */
.rj-page-reservation .reserve-form-main .row {
  justify-content: flex-start;
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1rem));
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1rem));
  margin-top: calc(-1 * var(--bs-gutter-y, 1rem));
}

.rj-page-reservation .reserve-form-main .row > [class*="col-"] {
  margin-top: var(--bs-gutter-y, 1rem);
}

.rj-page-reservation .reserve-form-main .form-group {
  margin-bottom: 0;
}

.rj-page-reservation .reserve-form-main .inputField,
.rj-page-reservation .summary-form .inputField {
  height: clamp(52px, 12vw, 65px);
  padding-left: clamp(0.85rem, 3vw, 1.55rem);
  padding-right: clamp(0.85rem, 3vw, 1.55rem);
  font-size: clamp(16px, 2.8vw, 18px);
  border-radius: clamp(8px, 2vw, 10px);
}

.rj-page-reservation .summary-form .checkboxDiv {
  margin-top: clamp(0.75rem, 2vw, 1rem);
}

.rj-page-reservation .summary-form .checkboxDiv p {
  margin-bottom: 0;
}

.rj-page-reservation .summary-form .wpcf7-list-item-label,
.rj-page-reservation .summary-form .checkboxDiv label {
  font-size: clamp(0.82rem, 2.6vw, 1rem);
  line-height: 1.5;
  display: inline-block;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 991.98px) {
  .rj-page-reservation .summary-form .depositSummaryDetail ul li {
    width: calc(50% - 6px);
    vertical-align: top;
    margin-bottom: 0.35rem;
  }

  .rj-page-reservation .summary-form .lbldpSum {
    width: 96px;
  }

  .rj-page-reservation .summary-form .dpSumTxt {
    width: calc(100% - 102px);
  }
}

@media (max-width: 767.98px) {
  .rj-page-reservation .summary-form .depositSummaryDetail ul li {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .rj-page-reservation .summary-form .lbldpSum {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.15rem;
  }

  .rj-page-reservation .summary-form .dpSumTxt {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
  }

  .rj-page-reservation .summary-form .reserveNowBtnDiv {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: clamp(1rem, 3vw, 1.35rem);
    text-align: center;
  }

  .rj-page-reservation .summary-form .reserveNowBtnDiv .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin-left: 0 !important;
  }

  .rj-page-reservation .summary-form .payPalBnt {
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    display: flex;
  }

  .rj-page-reservation .summary-form .payPalBnt img {
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
  }
}

@media (max-width: 575.98px) {
  .rj-page-reservation .summary-form .reserveNow,
  .rj-page-reservation .reserve-form-main .reserveNow {
    padding: 1rem 0.75rem;
  }

  .rj-page-reservation .reserve-form-main .inputField,
  .rj-page-reservation .summary-form .inputField {
    font-size: 16px; /* iOS: avoid zoom on focus */
  }
}

/* Terms modal on reservation: list bullets don’t clip on small screens */
.rj-page-reservation .rj-priceweek-modal .rj-custom-list {
  padding-left: 0;
  margin-left: 0;
}

.rj-page-reservation .rj-priceweek-modal .rj-custom-list li {
  padding-left: 2.25rem;
  margin: clamp(0.85rem, 2vw, 1.25rem) 0;
}

.rj-page-reservation .rj-priceweek-modal .rj-custom-list li::before {
  left: 0;
}

@media (max-width: 575.98px) {
  .rj-page-reservation .rj-priceweek-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .rj-page-reservation .rj-priceweek-modal .rj-finance-modal__title {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .rj-page-reservation .rj-priceweek-modal .popDetails {
    padding-top: 1rem !important;
  }
}

ul.rj-contact-items-wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
}

li.rj-contact-item {
  display: flex;
  align-items: flex-start;
  line-height: 1.3;
  margin-bottom: 20px;
}
li.rj-contact-item:last-child{
  
}
li.rj-contact-item span {
  width: calc(100% - 40px);
  display: block;
}

li.rj-contact-item svg {
  width: 40px;
  height: 40px;
}

li.rj-contact-item span strong {
  width: 100%;
  display: block;
  color: var(--rj-primary);
}

li.rj-contact-item span,
li.rj-contact-item span a {
  color: var(--rj-accent);
}

.rj-car-brand-list-section a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 40px 20px;
  border: 1px solid #00000014;
  border-radius: 20px;
  height: 100%;
}

.rj-car-brand-list-section a img {
  max-height: 70px;
  object-fit: contain;
}
