/* Homepage only: the module registers this stylesheet on the index controller. */
body.page-index #wrapper-top {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 18px;
  width: min(100% - 40px, 1280px);
  margin: 0 auto 30px;
  padding-top: 30px;
  background: #fff;
}

body.page-index #wrapper-top > .ar24-finder {
  box-sizing: border-box;
  order: -1;
  flex: 0 0 calc(38% - 9px);
  min-width: 0;
}

body.page-index #wrapper-top > .flexslider {
  box-sizing: border-box;
  order: 0;
  flex: 0 0 calc(62% - 9px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #17201f;
}

body.page-index #wrapper-top .flexslider .slides img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.ar24-finder {
  padding: 27px clamp(18px, 2.8vw, 38px);
  border: 1px solid #e5e9ed;
  border-radius: 12px;
  background: #f8fafb;
  color: #18212b;
}

.ar24-finder__eyebrow {
  color: #a65a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ar24-finder h1 {
  margin: 10px 0 7px;
  color: #18212b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.3;
}

.ar24-finder p {
  margin: 0 0 21px;
  color: #53616d;
  font-size: 13px;
  line-height: 1.45;
}

.ar24-finder__form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.ar24-finder__form input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  border: 1px solid #c9d2da;
  border-radius: 7px;
  background: #fff;
  color: #18212b;
  font-size: 15px;
}

.ar24-finder__form input:focus {
  border-color: #1774d1;
  outline: 3px solid #d8ebfc;
}

.ar24-finder__form button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 49px;
  margin-top: 10px;
  padding: 11px 16px;
  border: 0;
  border-radius: 7px;
  background: #1268c5;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ar24-finder__form button:hover { background: #0b529e; }

.ar24-finder__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.ar24-finder__categories a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid #e5d6c4;
  border-radius: 6px;
  background: #fff;
  color: #9a5200;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ar24-finder__categories a:hover { border-color: #f4a000; color: #593100; }

@media (max-width: 900px) {
  body.page-index #wrapper-top > .ar24-finder,
  body.page-index #wrapper-top > .flexslider { flex-basis: 100%; }
  body.page-index #wrapper-top .flexslider .slides img { height: auto; }
}

@media (max-width: 560px) {
  body.page-index #wrapper-top { width: calc(100% - 24px); margin: 0 auto 22px; padding-top: 20px; gap: 12px; }
  .ar24-finder { padding: 22px 18px; }
}

/* Compact storefront header, scoped to the home page. */
body.page-index #header .header-nav { background: #f47b20; padding: 0; }
body.page-index #header .header-nav .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-left: 20px;
  padding-right: 12px;
  min-height: 27px;
  gap: 18px;
}
@media (min-width: 901px) {
  body.page-index #header .header-nav .right-nav { display: none; }
}
body.page-index #header .header-nav .left-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
body.page-index #header .header-nav #cpheadercms1 .contact-link {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
}
body.page-index #header .header-nav .ar24-live-clock {
  margin-left: auto;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
body.page-index #header .header-top > .container {
  padding-top: 8px;
  padding-bottom: 8px;
}
body.page-index #_desktop_logo img.logo {
  width: 145px;
  height: auto;
}
body.page-index #header #cpheadercms3 { display: none; }
@media (min-width: 901px) {
  body.page-index #header .header-left { width: 145px; flex: 0 0 145px; }
  body.page-index #header .header-center { flex: 1; min-width: 0; justify-content: center; }
  body.page-index #header #search_block_top { width: 100%; max-width: 730px; }
  body.page-index #header #searchbox { width: 100%; }
}
body.page-index #header .header-top-main,
body.page-index #header .header-top-main > .container { min-height: 42px; }
body.page-index #header .header-top-main .container.text-xs-center.mobile,
body.page-index #header .header-top-main #_top_main_menu { height: 42px; }
body.page-index #header .header-top-main .container.text-xs-center.mobile { padding: 1px 0; }
body.page-index #header .header-top-main #cpheadercms2 { line-height: 42px; }

/* Scale the slider captions to the narrower slide without editing slide content. */
body.page-index #wrapper-top .flexslider .slide-text {
  box-sizing: border-box;
  width: 82%;
  max-width: 82%;
  margin-left: 9%;
  left: 0 !important;
  transform: none !important;
}
body.page-index #wrapper-top .flexslider .slidertext1 {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.35;
}
body.page-index #wrapper-top .flexslider .slidertext2 {
  padding-top: 4px;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.18;
}
body.page-index #wrapper-top .flexslider .slidertext3 {
  font-size: 13px;
  line-height: 1.4;
}
body.page-index #wrapper-top .flexslider .sliderbutton {
  padding: 8px 18px;
  font-size: 13px;
}

@media (max-width: 900px) {
  body.page-index #header .header-top > .container { padding-top: 10px; padding-bottom: 10px; }
  body.page-index #wrapper-top .flexslider .slide-text { width: 88%; max-width: 88%; margin-left: 6%; }
  body.page-index #header .header-nav .container { min-height: 27px; }
  body.page-index #header .header-nav .ar24-live-clock { font-size: 11px; }
}
@media (max-width: 560px) {
  body.page-index #header .header-nav .left-nav { position: static; transform: none; white-space: normal; }
  body.page-index #header .header-nav .ar24-live-clock { margin-left: auto; }
  body.page-index #header .header-nav #cpheadercms1 .contact-link { font-size: 11px; line-height: 1.25; }
  body.page-index #header .header-nav .ar24-live-clock { font-size: 10px; }
}

/* The blue search action remains the primary call to action. */
body.page-index #header #search_block_top .btn-primary { background: #1680df; border-color: #1680df; }
body.page-index #header #search_block_top .btn-primary:hover { background: #0c67b9; border-color: #0c67b9; }

/* Keep the product search and submit button together. */
@media (min-width: 901px) {
  body.page-index #header #searchbox { display: flex; align-items: stretch; gap: 7px; }
  body.page-index #header #searchbox .cpsearch-main { width: auto; flex: 1; min-width: 0; }
  body.page-index #header #searchbox .search_query { width: 100%; }
  body.page-index #header #searchbox > button { flex: 0 0 auto; }
}

/* Replace the oversized yellow category strip with a compact orange menu. */
body.page-index #header .header-top-main.bg_main { background: #1a1a1a !important; }
body.page-index #header .header-top-main #_top_main_menu > .top-menu > li > a { color: #fff; }
body.page-index #header #cpheadercms2 { display: none; }
body.page-index #header .header-top-main .menu-container { padding: 4px 14px; }
body.page-index #header #_top_main_menu > .top-menu > li > a { padding-top: 7px; padding-bottom: 7px; }
body.page-index #header .header-top-main .container.text-xs-center.mobile { height: 38px; }
body.page-index #header .header-top-main #_top_main_menu { height: 38px; }

/* Account and basket take the space previously occupied by the telephone. */
body.page-index #header .ar24-header-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-left: 45px;
  white-space: nowrap;
}
body.page-index #header .ar24-header-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
body.page-index #header .ar24-header-actions a:hover { color: #f47b20; }
body.page-index #header .ar24-header-actions .material-icons { font-size: 21px; }
@media (max-width: 900px) {
  body.page-index #header .ar24-header-actions { display: none; }
}

body.page-index #header #searchbox > button,
body.page-index #header #searchbox > button .submit-text { color: #fff !important; }
body.page-index #header .header-top-main .menu-container {
  background: #1a1a1a;
  border: 1px solid #fff;
  color: #fff;
  transition: background-color .2s ease, color .2s ease;
}
body.page-index #header .header-top-main .menu-container .cat-title,
body.page-index #header .header-top-main .menu-container .material-icons { color: #fff; }
body.page-index #header .header-top-main .menu-container:hover,
body.page-index #header .header-top-main .menu-container:focus-within { background: #fff; color: #1c1c1c; }
body.page-index #header .header-top-main .menu-container:hover .cat-title,
body.page-index #header .header-top-main .menu-container:hover .material-icons,
body.page-index #header .header-top-main .menu-container:focus-within .cat-title,
body.page-index #header .header-top-main .menu-container:focus-within .material-icons { color: #1c1c1c; }

/* Lift the divider clear of the category button, without making the header taller. */
body.page-index #header .header-top-main {
  position: relative;
  border-top: 0;
}
body.page-index #header .header-top-main::before {
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #60656a;
  content: '';
  pointer-events: none;
}

/* Leave the search clear while using more of the available right-hand space. */
@media (min-width: 901px) {
  body.page-index #header .ar24-header-actions { transform: translateX(30px); }
}

/* Search cue at the right edge of the white input; the blue submit button remains functional. */
body.page-index #header #search_query_top {
  padding-right: 42px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556069' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 19px 19px;
}

/* Vehicle selection remains visibly pending until verified fitment data is available. */
.ar24-finder:has(.ar24-vehicle-form) { padding-top: 20px; padding-bottom: 18px; }
.ar24-finder:has(.ar24-vehicle-form) > p { margin-bottom: 10px; }
.ar24-vehicle-form label { margin-top: 5px; margin-bottom: 4px; font-size: 13px; }
.ar24-vehicle-form select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 39px;
  padding: 8px 12px;
  border: 1px solid #cbd4dd;
  border-radius: 6px;
  background: #fff;
  color: #53616d;
  font-size: 14px;
}
.ar24-vehicle-form select:disabled { opacity: 1; cursor: not-allowed; }
.ar24-finder .ar24-finder__notice {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
}
.ar24-finder:has(.ar24-vehicle-form) .ar24-finder__categories { margin-top: 11px; }

/* One business telephone, placed under the date without increasing header height. */
body.page-index #header { position: relative; }
body.page-index #header .ar24-header-contact {
  position: absolute;
  z-index: 4;
  top: 30px;
  right: 20px;
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  font-family: Arial, sans-serif;
}
body.page-index #header .ar24-header-contact span { font-size: 11px; line-height: 13px; }
body.page-index #header .ar24-header-contact a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 17px;
  text-decoration: none;
}

/* Two ways to use the same vehicle-search panel. */
.ar24-finder__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
}
.ar24-finder__modes button {
  min-height: 52px;
  padding: 7px 9px;
  border: 2px solid #f47b20;
  border-radius: 8px;
  background: #fff;
  color: #9a4800;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(24, 33, 43, .15);
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.ar24-finder__modes button[aria-selected="true"] { background: #f47b20; color: #fff; box-shadow: 0 3px 10px rgba(244, 123, 32, .35); }
.ar24-finder__modes button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(24, 33, 43, .2); }
.ar24-finder__modes button:focus-visible,
.ar24-finder__brand-grid a:focus-visible,
.ar24-finder__back:focus-visible { outline: 3px solid #1268c5; outline-offset: 2px; }
#ar24-panel-visual { min-height: 305px; }
.ar24-finder .ar24-finder__visual-intro { margin: 0 0 9px; font-size: 12px; }
.ar24-finder__brand-grid,
.ar24-finder__model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  max-height: 260px;
  overflow: auto;
  padding: 2px 4px 2px 2px;
}
.ar24-finder__brand-grid a,
.ar24-finder__model-grid button {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 7px;
  border: 1px solid #d4dce3;
  border-radius: 8px;
  background: #fff;
  color: #18212b;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.ar24-finder__brand-grid a::before,
.ar24-finder__model-grid button::before {
  content: "";
  flex: 1 1 auto;
  width: 100%;
  border-radius: 5px;
  background: #f4f6f8;
  margin-bottom: 6px;
}
.ar24-finder__brand-grid a {
  justify-content: center;
  gap: 5px;
}
.ar24-finder__brand-grid a::before { display: none; }
.ar24-finder__brand-logo {
  display: block;
  width: 100%;
  height: 48px;
  max-height: 58%;
  object-fit: contain;
  flex: 0 1 auto;
}
.ar24-finder__brand-name { display: block; line-height: 1.1; }
.ar24-finder__brand-grid a:hover,
.ar24-finder__model-grid button:hover { border-color: #f47b20; background: #fff7f0; color: #18212b; text-decoration: none; }
.ar24-finder__model-grid button { font-family: inherit; }
.ar24-finder__model-step h2 { margin: 10px 0; font-size: 18px; }
.ar24-finder__back,
.ar24-finder__back-models { border: 0; padding: 5px 0; background: transparent; color: #1268c5; cursor: pointer; }
.ar24-finder__product-step h2 { margin: 10px 0; font-size: 18px; }
.ar24-finder__product-step .ar24-finder__categories { margin-top: 18px; }
.ar24-finder__pending-link { display: inline-block; margin-top: 8px; color: #1268c5; }
[hidden] { display: none !important; }
body.page-index #header .ar24-header-contact a:hover,
body.page-index #header .ar24-header-contact a:focus-visible { text-decoration: underline; }
@media (max-width: 1100px) {
  body.page-index #header .ar24-header-contact { display: none; }
}

/* Balance space above and below the contact without changing header height. */
@media (min-width: 1101px) {
  body.page-index #header .ar24-header-contact { top: 56px; right: 30px; }
  body.page-index #header .ar24-header-contact .ar24-contact-caption { font-size: 10.5px; line-height: 13px; }
  body.page-index #header .ar24-header-contact a { display: inline-flex; align-items: center; gap: 5px; font-size: 22px; line-height: 25px; }
  body.page-index #header .ar24-header-contact .ar24-phone-icon { font-size: 20px; line-height: 1; }
  body.page-index #header .ar24-header-contact a span:not(.ar24-phone-icon) { font-size: inherit; line-height: inherit; }
  body.page-index #header .ar24-header-actions { transform: translate(30px, 28px); }
}

/* Persistent direct telephone, placed above the cookie/privacy control. */
.ar24-floating-phone {
  position: fixed;
  left: 0;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  z-index: 500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 184px;
  min-height: 47px;
  padding: 5px 9px;
  border-radius: 0 9px 9px 0;
  background: #f47b20;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.23);
  font-family: Arial, sans-serif;
  text-decoration: none;
  line-height: 1;
}
.ar24-floating-phone:hover,
.ar24-floating-phone:focus-visible {
  background: #df650c;
  color: #fff;
  text-decoration: none;
}
.ar24-floating-phone:focus-visible { outline: 3px solid #222; outline-offset: 2px; }
.ar24-floating-phone-main { display: flex; align-items: center; gap: 5px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.ar24-floating-phone .material-icons { font-size: 18px; line-height: 1; }
.ar24-floating-phone small { margin-top: 3px; font-size: 9px; white-space: nowrap; }
@media (max-width: 600px) {
  .ar24-floating-phone { width: 158px; min-height: 44px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .ar24-floating-phone-main { font-size: 15px; }
  .ar24-floating-phone .material-icons { font-size: 16px; }
  .ar24-floating-phone small { font-size: 8px; }
}
