/* Three menu levels, preserving the existing black/gold explorer design. */
html body .product-drawer[data-product-levels="3"] .product-drawer-inner {
 display:grid;grid-template-columns:minmax(130px,13%) clamp(220px,18vw,290px) minmax(0,1fr);height:100%;
}
html body .product-drawer[data-product-levels="3"] :is(.product-family-list,.product-category-list,.explorer-model-list) {
 box-sizing:border-box;min-width:0;padding:48px clamp(20px,2vw,38px);border-right:1px solid rgba(255,255,255,.12);
}
html body .product-drawer[data-product-levels="3"] .product-family-list {background:#0b0c0d;}
html body .product-drawer[data-product-levels="3"] :is(.product-family-list,.product-category-list,.explorer-model-list)>span {
 display:block;min-height:28px;margin:0 0 20px;color:#7f8285;font-size:9px;line-height:1.6;letter-spacing:.12em;
}
html body .product-drawer[data-product-levels="3"] .product-family {
 position:relative;display:block;width:100%;padding:16px 22px 17px 0;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.13);color:#fff;text-align:left;cursor:pointer;font-family:inherit;
}
html body .product-drawer[data-product-levels="3"] .product-family b {display:block;font-size:18px;line-height:1.3;font-weight:500;}
html body .product-drawer[data-product-levels="3"] .product-family small {display:block;margin-top:8px;color:#d4a752;font-size:11px;letter-spacing:.07em;}
html body .product-drawer[data-product-levels="3"] .product-family i {position:absolute;right:0;top:22px;color:#d4a752;font-style:normal;transition:transform .25s;}
html body .product-drawer[data-product-levels="3"] .product-family:hover i {transform:translateX(4px);}
html body .product-drawer[data-product-levels="3"] .product-category b {font-size:clamp(14px,1.1vw,18px);}
html body .product-drawer[data-product-levels="3"] .product-category small {font-size:9px;line-height:1.5;letter-spacing:.04em;}
html body .product-drawer[data-product-levels="3"] .product-drawer-preview {min-width:0;}
html body .product-drawer[data-product-levels="3"] .explorer-products {grid-template-columns:clamp(230px,18vw,280px) minmax(0,1fr);}
html body .product-drawer[data-product-levels="3"] .explorer-model-list {justify-content:flex-start;}
html body .product-drawer[data-product-levels="3"] .explorer-model {padding:18px 24px 18px 0;}
html body .product-drawer[data-product-levels="3"] .explorer-model b {font-size:clamp(16px,1.25vw,21px);line-height:1.45;word-break:keep-all;}
html body .product-drawer[data-product-levels="3"] .explorer-model small {font-size:9px;line-height:1.6;letter-spacing:.06em;}
html body .product-drawer[data-product-levels="3"] .explorer-product-stage {padding:48px 24px;}
html body .product-drawer[data-product-levels="3"] .explorer-cutout {width:94%;max-height:76%;}
@media(max-width:1100px) and (min-width:901px){
 html body .product-drawer[data-product-levels="3"] .product-drawer-inner {grid-template-columns:120px 200px minmax(0,1fr);}
 html body .product-drawer[data-product-levels="3"] .explorer-products {grid-template-columns:210px minmax(0,1fr);}
 html body .product-drawer[data-product-levels="3"] :is(.product-family-list,.product-category-list,.explorer-model-list) {padding-inline:18px;}
}
@media(max-width:900px){
 html body .product-drawer[data-product-levels="3"] {height:calc(100svh - var(--header));overflow-y:auto;overscroll-behavior:contain;}
 html body .product-drawer[data-product-levels="3"] .product-drawer-inner {grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;height:auto;min-height:100%;}
 html body .product-drawer[data-product-levels="3"] .product-family-list {display:flex;align-items:center;gap:28px;padding:22px 64px 18px 24px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12);}
 html body .product-drawer[data-product-levels="3"] .product-family-list>span {min-height:0;margin:0;}
 html body .product-drawer[data-product-levels="3"] .product-family {width:auto;min-width:100px;padding:0 24px 0 0;border:0;}
 html body .product-drawer[data-product-levels="3"] .product-family b {font-size:16px;}
 html body .product-drawer[data-product-levels="3"] .product-family small {margin-top:4px;font-size:9px;}
 html body .product-drawer[data-product-levels="3"] .product-family i {top:9px;}
 html body .product-drawer[data-product-levels="3"] .product-category-list {display:flex;gap:20px;overflow-x:auto;scrollbar-width:none;padding:18px 24px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12);}
 html body .product-drawer[data-product-levels="3"] .product-category-list>span {display:none;}
 html body .product-drawer[data-product-levels="3"] .product-category {flex:0 0 auto;width:auto;max-width:220px;padding:10px 0 12px;}
 html body .product-drawer[data-product-levels="3"] .product-category.active {padding-left:0;border-bottom-color:#d4a752;}
 html body .product-drawer[data-product-levels="3"] .product-category:hover {padding-left:0;}
 html body .product-drawer[data-product-levels="3"] .explorer-products {grid-template-columns:minmax(0,1fr);}
 html body .product-drawer[data-product-levels="3"] .product-drawer-preview.explorer-mode {min-height:0;}
 html body .product-drawer[data-product-levels="3"] .explorer-model-list {padding:24px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12);}
 html body .product-drawer[data-product-levels="3"] .explorer-model-list>span {min-height:0;margin-bottom:12px;}
 html body .product-drawer[data-product-levels="3"] .explorer-model {padding:14px 24px 14px 0;}
 html body .product-drawer[data-product-levels="3"] .explorer-product-stage {min-height:260px;padding:24px;}
}
html body .product-drawer[data-product-levels="3"] .explorer-model {display:block;text-decoration:none;font-family:inherit;}
html body .product-drawer[data-product-levels="3"] .explorer-image-link {position:absolute;inset:0;display:grid;place-items:center;visibility:hidden;pointer-events:none;}
html body .product-drawer[data-product-levels="3"] .explorer-image-link.active {visibility:visible;pointer-events:auto;cursor:pointer;}
html body .product-drawer[data-product-levels="3"] .product-family b,
html body .product-drawer[data-product-levels="3"] .product-family small {transition:transform .35s cubic-bezier(.2,.7,.2,1),color .25s;}
html body .product-drawer[data-product-levels="3"] .product-family:is(:hover,:focus-visible,.active) b,
html body .product-drawer[data-product-levels="3"] .product-family:is(:hover,:focus-visible,.active) small {transform:translateX(8px);}
@media(prefers-reduced-motion:reduce){html body .product-drawer[data-product-levels="3"] *{transition:none!important;}html body .product-drawer[data-product-levels="3"] .product-family :is(b,small){transform:none!important;}}

/* Four primary families share the existing selection treatment. */
html body .product-drawer[data-catalogue-ready] .product-family b {font-size:clamp(14px,1.25vw,18px);color:#8b8d90;}
html body .product-drawer[data-catalogue-ready] .product-family small {color:#66696c;font-size:9px;line-height:1.5;}
html body .product-drawer[data-catalogue-ready] .product-family i {opacity:0;}
html body .product-drawer[data-catalogue-ready] .product-family.active b,
html body .product-drawer[data-catalogue-ready] .product-family:hover b {color:#fff;}
html body .product-drawer[data-catalogue-ready] .product-family.active small {color:#d4a752;}
html body .product-drawer[data-catalogue-ready] .product-family.active i,
html body .product-drawer[data-catalogue-ready] .product-family:hover i {opacity:1;}
html body .product-drawer[data-catalogue-ready] .explorer-product-stage::after {content:none;}
@media(max-width:900px){
 html body .product-drawer[data-catalogue-ready] .product-family-list {gap:24px;overflow-x:auto;scrollbar-width:none;padding:26px 64px 18px 24px;}
 html body .product-drawer[data-catalogue-ready] .product-family-list>span {display:none;}
 html body .product-drawer[data-catalogue-ready] .product-family {flex:0 0 106px;min-width:0;padding:0 20px 0 0;}
 html body .product-drawer[data-catalogue-ready] .product-family b {font-size:16px;}
}

/* Selected titles share the site gold across all three catalogue levels.
   Keep this after hover rules so an active title remains gold on pointer/focus. */
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] :is(.product-family,.product-category,.explorer-model).active > b {
 color:#b89358;
}

/* Fill the viewport below the fixed header on every screen size.
   --aj-header-bottom includes the WordPress admin bar on shared pages. */
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] {
 height:calc(100svh - var(--aj-header-bottom,var(--header)))!important;
}

/* Single-title catalogue: restore a generous rhythm after subtitle removal. */
@media(min-width:901px){
 html body .product-drawer[data-product-levels="3"] .product-drawer-inner {
  grid-template-columns:minmax(160px,15%) clamp(240px,20vw,360px) minmax(0,1fr);
 }
 html body .product-drawer[data-product-levels="3"] .explorer-products {
  grid-template-columns:clamp(240px,19vw,340px) minmax(0,1fr);min-height:0;height:100%;
 }
 html body .product-drawer[data-product-levels="3"] :is(.product-family-list,.product-category-list,.explorer-model-list) {
  min-height:0;padding:56px clamp(24px,2.3vw,44px) 40px;overflow-y:auto;scrollbar-width:thin;
 }
 html body .product-drawer[data-product-levels="3"] :is(.product-family-list,.product-category-list,.explorer-model-list)>span {
  min-height:32px;margin-bottom:24px;
 }
 html body .product-drawer[data-product-levels="3"] :is(.product-family,.product-category,.explorer-model) {
  box-sizing:border-box;min-height:84px;padding-top:28px;padding-bottom:28px;
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] :is(.product-family,.product-category,.explorer-model)>b {
  font-size:clamp(17px,1.15vw,20px);line-height:1.45;
 }
 html body .product-drawer[data-product-levels="3"] .product-family i {top:50%;margin-top:-.65em;}
}
@media(min-width:901px) and (max-width:1100px){
 html body .product-drawer[data-product-levels="3"] .product-drawer-inner {grid-template-columns:150px 220px minmax(0,1fr);}
 html body .product-drawer[data-product-levels="3"] .explorer-products {grid-template-columns:220px minmax(0,1fr);}
 html body .product-drawer[data-product-levels="3"] :is(.product-family-list,.product-category-list,.explorer-model-list) {padding-inline:22px;}
}
@media(max-width:900px){
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family-list {
  gap:28px;padding:24px 64px 24px 24px;
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family {
  box-sizing:border-box;min-height:48px;display:flex;align-items:center;
 }
 html body .product-drawer[data-product-levels="3"] .product-family i {top:50%;margin-top:-.65em;}
 html body .product-drawer[data-product-levels="3"] .product-category-list {gap:28px;padding:20px 24px;}
 html body .product-drawer[data-product-levels="3"] .product-category {
  box-sizing:border-box;min-height:54px;display:flex;align-items:center;padding-top:16px;padding-bottom:16px;
 }
 html body .product-drawer[data-product-levels="3"] .explorer-model-list {padding:32px 24px;}
 html body .product-drawer[data-product-levels="3"] .explorer-model-list>span {margin-bottom:24px;}
 html body .product-drawer[data-product-levels="3"] .explorer-model {
  box-sizing:border-box;min-height:76px;padding-top:24px;padding-bottom:24px;
 }
}

/* Mobile/tablet product entry: one clear gold action beside the menu icon. */
html body :is(.aj-chrome,.sl-site) .site-header .mobile-products-trigger {
 display:none;box-sizing:border-box;align-items:center;justify-content:center;
 min-height:44px;padding:0;background:transparent!important;border:0!important;border-radius:0;
 box-shadow:none!important;color:#b89358!important;-webkit-text-fill-color:currentColor;
 font-family:inherit;font-size:13px;font-weight:500;line-height:1.2;letter-spacing:.015em;
 white-space:nowrap;cursor:pointer;flex:0 0 auto;transition:color .2s ease;
}
@media(max-width:1180px){
 html body :is(.aj-chrome,.sl-site) .site-header .mobile-products-trigger {display:inline-flex;}
}
@media(max-width:700px){
 html body :is(.aj-chrome,.sl-site) .site-header .nav-left {gap:10px!important;}
}
html body :is(.aj-chrome,.sl-site) .site-header .mobile-products-trigger:is(:hover,:focus-visible,[aria-expanded="true"]) {
 color:#d4b47e!important;
}

/* Third-level labels transition directly between brand gold and neutral gray.
   Give the text its own color so legacy white hover rules cannot bleed through. */
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .explorer-model,
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .explorer-model:is(:hover,:focus,:focus-visible,:active,.active) {
 color:#81858a;
}
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .explorer-model>b {
 color:#81858a;transition:color .2s ease;
}
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .explorer-model:is(.active,:hover,:focus-visible)>b {
 color:#b89358;
}
html body .product-drawer[data-product-levels="3"] .explorer-model::after {content:"\2192";}
html body :is(.aj-chrome,.sl-site) .site-header .mobile-products-trigger,
html body :is(.aj-chrome,.sl-site) .site-header .mobile-products-trigger:is(:hover,:focus,:focus-visible,:active,[aria-expanded="true"]) {
 color:#fff!important;
}
@media(min-width:901px){
 /* The restored desktop heading provides the same top rhythm as the other columns. */
 html body .product-drawer[data-product-levels="3"] .explorer-model-list {padding-top:56px;}
}
@media(max-width:900px){
 /* Five visible families, then a vehicle-type grid, then a quiet filter grid.
    Only the boundaries between menu levels use horizontal divider lines. */
 html body .product-drawer[data-product-levels="3"] .product-drawer-inner {
  grid-template-rows:auto auto minmax(0,1fr);
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family-list {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 4px;
  padding:18px 20px 14px;overflow:visible;border-bottom:1px solid rgba(255,255,255,.12);
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family-list>span {
  display:flex;align-items:center;grid-column:1 / -1;min-height:32px;margin:0 44px 12px 0;
  font-size:10px;line-height:1.4;letter-spacing:.13em;
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family {
  display:flex;justify-content:flex-start;align-items:center;width:100%;min-width:0;min-height:44px;
  padding:0;border:0;background:transparent!important;box-shadow:none!important;
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family>b {
  font-size:clamp(13px,3.8vw,15px);line-height:1.35;transform:none!important;
 }
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family i {display:none!important;}
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family:not(.active):is(:hover,:focus-visible)>b {color:#8b8d90;}
 html body .product-drawer[data-product-levels="3"] .product-drawer-close {
  top:12px;right:12px;width:44px;height:44px;
 }
 html body .product-drawer[data-product-levels="3"] .product-category-list {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px 20px;
  padding:12px 20px;border-bottom:1px solid rgba(255,255,255,.12);overflow:visible;
 }
 html body .product-drawer[data-product-levels="3"] .product-category {
  box-sizing:border-box;width:100%;max-width:100%;min-height:44px;
  padding:10px 0;border:0;background:transparent!important;box-shadow:none!important;
  text-decoration:none!important;
 }
 html body .product-drawer[data-product-levels="3"] .product-category:only-of-type {grid-column:1 / -1;}
 html body .product-drawer[data-product-levels="3"] .product-category>b {
  color:#8b8d90;font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:break-word;
 }
 html body .product-drawer[data-product-levels="3"] .product-category.active {border:0;padding-left:0;}
 html body .product-drawer[data-product-levels="3"] .product-category::after {content:none;}
 html body .product-drawer[data-product-levels="3"] .explorer-products {
  grid-template-rows:auto minmax(220px,1fr);
 }
 html body .product-drawer[data-product-levels="3"] .explorer-model-list {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:4px 24px;
  padding:16px 20px 20px;border:0;background:transparent;
 }
 html body .product-drawer[data-product-levels="3"] .explorer-model {
  min-width:0;min-height:52px;margin:0;padding:12px 24px 12px 0;
  border:0!important;background:transparent!important;box-shadow:none!important;
 }
 html body .product-drawer[data-product-levels="3"] .explorer-model:only-of-type {grid-column:1 / -1;}
 html body .product-drawer[data-product-levels="3"] .explorer-model>b {
  font-size:18px;line-height:1.45;white-space:normal;overflow-wrap:break-word;
 }
 html body .product-drawer[data-product-levels="3"] .explorer-product-stage {min-height:220px;padding:24px 20px;}
}

/* Category titles own their colors just like third-level links, preventing a
   legacy white parent hover/focus color from flashing during deselection. */
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-category,
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-category:is(:hover,:focus,:focus-visible,:active,.active) {
 color:#8b8d90;
}
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-category>b {
 color:#8b8d90;transition:color .2s ease;
}
html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-category.active>b {
 color:#b89358;
}
@media(min-width:901px){
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-category:is(:hover,:focus-visible)>b {color:#b89358;}
}
@media(max-width:900px){
 /* Mobile is navigation only. Keep desktop preview data intact for resizing. */
 html body .product-drawer[data-product-levels="3"] .explorer-model-list>span {display:none;}
 html body .product-drawer[data-product-levels="3"] .explorer-product-stage {display:none!important;}
 html body .product-drawer[data-product-levels="3"] .explorer-products {
  grid-template-rows:auto;align-content:start;min-height:0;
 }
 html body .product-drawer[data-product-levels="3"] .product-drawer-preview.explorer-mode {
  background:#080909;
 }
 html body .product-drawer[data-product-levels="3"] .product-drawer-preview::before {display:none;}
}

/* All product-drawer right arrows are removed, including legacy pseudo arrows. */
html body .product-drawer[data-product-levels="3"] .product-family i {
 display:none!important;
}
html body .product-drawer[data-product-levels="3"] :is(.product-family,.product-category,.explorer-model)::after {
 content:none!important;display:none!important;
}
html body .product-drawer[data-product-levels="3"] .explorer-model {padding-right:0;}
html body .product-drawer[data-product-levels="3"] :is(.product-family,.product-category,.explorer-model) {
 background:transparent!important;box-shadow:none!important;border-radius:0;
}
@media(min-width:901px){
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family>b {color:#8b8d90;}
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] .product-family:is(.active,:hover,:focus-visible)>b {color:#b89358;}
}
html body .product-drawer[data-product-levels="3"] .explorer-open-center {
 position:absolute;z-index:2;bottom:48px;left:50%;transform:translateX(-50%);
 padding:6px 0;border:0;border-bottom:1px solid currentColor;background:transparent;
 color:#b89358;font:400 12px/1.5 Arial,sans-serif;letter-spacing:.06em;
 text-decoration:none;white-space:nowrap;
}
html body .product-drawer[data-product-levels="3"] .explorer-open-center[hidden] {display:none;}
@media(max-width:900px){
 html body .product-drawer[data-product-levels="3"][data-catalogue-ready] {
  height:auto!important;min-height:0;bottom:auto!important;
  max-height:calc(100svh - var(--aj-header-bottom,var(--header)));overflow-y:auto;
  box-shadow:0 12px 24px rgba(0,0,0,.16);
 }
 html body .product-drawer[data-product-levels="3"] .product-drawer-inner {
  height:auto;min-height:0;grid-template-rows:auto auto auto;
 }
 html body .product-drawer[data-product-levels="3"] :is(.product-drawer-preview.explorer-mode,.explorer-products) {
  height:auto;min-height:0;
 }
 /* Only the short product dropdown is non-modal; quote/main-menu dialogs stay locked. */
 html body.locked:has(.product-drawer.open):not(:has(.drawer.open,.modal.open)) {overflow-y:auto!important;}
}

/* Real vehicle cutouts share one quiet near-black studio environment. */
@media(min-width:901px){
 html body .product-drawer[data-product-levels="3"] .explorer-product-stage.has-menu-vehicle {
  isolation:isolate;background:radial-gradient(ellipse at 50% 48%,#242622 0%,#141615 45%,#080909 84%);
 }
 html body .product-drawer[data-product-levels="3"] .explorer-product-stage.has-menu-vehicle::before {
  content:"";position:absolute;inset:63% 8% 16%;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse,rgba(184,147,88,.08),transparent 68%);
 }
 html body .product-drawer[data-product-levels="3"] .explorer-menu-vehicle {
  width:94%;max-height:72%;object-fit:contain;opacity:0;
  filter:drop-shadow(0 24px 24px rgba(0,0,0,.6));
 }
 html body .product-drawer[data-product-levels="3"] .explorer-menu-vehicle.active.is-ready {opacity:1;}
 html body .product-drawer[data-product-levels="3"] .explorer-menu-group {
  width:min(96%,calc((100svh - var(--aj-header-bottom,76px) - 180px) * 2.5));height:auto;aspect-ratio:auto;max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,40px);align-items:end;filter:none;isolation:isolate;
 }
 html body .product-drawer[data-product-levels="3"] .explorer-menu-group .explorer-menu-vehicle {
  position:relative;inset:auto;width:100%;height:auto;max-height:none;min-width:0;min-height:0;align-self:end;object-fit:contain;transform:none;
  filter:drop-shadow(0 18px 20px rgba(0,0,0,.5));
 }
}
