/* SAK 0.8.0 — reversible presentation layer. No checkout fields or product data are hidden. */
body.sak-experience {
  --sak-navy:#142b4b; --sak-blue:#165ab4; --sak-blue-dark:#10488f;
  --sak-yellow:#ffd323; --sak-light:#f5f8fc; --sak-white:#fff;
  --sak-ink:#17283d; --sak-muted:#617086; --sak-border:#dce5f0;
  color:var(--sak-ink); background:var(--sak-light);
}
body.sak-experience.sak-product-enhanced {
  --sak-product-red:var(--sak-blue); --sak-product-red-dark:var(--sak-blue-dark);
  --sak-product-ink:var(--sak-navy); --sak-product-muted:var(--sak-muted);
  --sak-product-border:var(--sak-border); --sak-product-soft:#edf4ff;
}
body.sak-experience.sak-purchase-enhanced {
  --sak-red:var(--sak-blue); --sak-red-dark:var(--sak-blue-dark); --sak-soft:#edf4ff;
}
body.sak-experience :is(a,button,input,select,textarea):not(#wpadminbar *):focus-visible {
  outline:3px solid #ffd323b8; outline-offset:3px;
}
body.sak-experience :is(.site-header,.ast-primary-header-bar,.main-header-bar) {
  background:var(--sak-white); border-color:var(--sak-border);
}
body.sak-experience .custom-logo { max-height:56px; width:auto; object-fit:contain; }
body.sak-experience .main-header-menu > .menu-item > .menu-link {
  color:var(--sak-navy); min-height:44px; font-weight:700;
}
body.sak-experience .main-header-menu > .menu-item > .menu-link:hover,
body.sak-experience .main-header-menu > .current-menu-item > .menu-link { color:var(--sak-blue); }
body.sak-experience :is(.ast-menu-toggle,.menu-toggle) { color:var(--sak-navy); border-radius:8px; }
body.sak-experience .main-header-menu .sub-menu { background:white; border-color:var(--sak-border); }

/* Do not change the width of generic .woocommerce wrappers: cart and product own their layouts. */
body.sak-experience .sak-home { box-sizing:border-box; width:min(100% - 32px,1180px); margin:auto; padding:30px 0 56px; }
body.sak-experience .sak-home * { box-sizing:border-box; }
body.sak-experience .sak-home-hero {
  display:grid; grid-template-columns:minmax(0,1fr); gap:28px; align-items:center;
  padding:32px; border-radius:20px; background:linear-gradient(135deg,#142b4b,#1c4778);
  box-shadow:0 16px 38px #142b4b24;
}
body.sak-experience .sak-home-intro { min-width:0; color:white; }
body.sak-experience .sak-home-kicker { margin:0 0 12px; color:var(--sak-yellow); font-size:13px; font-weight:700; }
body.sak-experience .sak-home-intro h1 { margin:0; color:white; font-size:clamp(27px,3.1vw,43px); line-height:1.65; }
body.sak-experience .sak-home-intro p:not(.sak-home-kicker) { margin:14px 0; color:#e2eafb; font-size:14px; line-height:2; }
body.sak-experience .sak-home-links { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0; }
body.sak-experience .sak-home-links a {
  display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:11px 18px;
  border:1px solid transparent; border-radius:8px; font-weight:700; text-decoration:none;
}
body.sak-experience .sak-home-links a.primary { background:var(--sak-yellow); color:var(--sak-navy); }
body.sak-experience .sak-home-links a.secondary { border-color:#ffffff8f; background:transparent; color:white; }
body.sak-experience .sak-home-links a:hover { box-shadow:0 4px 12px #0002; }
body.sak-experience .sak-home-filter { min-width:0; }
body.sak-experience .sak-home-filter #sak-vehicle-filter { padding:0; margin:0; max-width:none; }
body.sak-experience .sak-home-filter .sak-vf__shell { border-radius:14px; border-top:4px solid var(--sak-yellow); }
body.sak-experience .sak-home-filter .sak-vf__header { padding:20px 20px 8px; }
body.sak-experience .sak-home-filter .sak-vf__body { padding:14px 20px 20px; }
body.sak-experience .sak-home-filter .sak-vf__title { font-size:23px; line-height:1.7; }
body.sak-experience .sak-home-filter .sak-vf__subtitle { font-size:12px; }
body.sak-experience .sak-home-filter .sak-storefront-main-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.sak-experience .sak-home-filter .sak-storefront-main-fields > .sak-vf__submit { width:100%; justify-self:stretch; }

/* Restyle the existing form on every commerce page, not its choices or submission logic. */
body.sak-experience .sak-vf--storefront {
  --sak-vf-green:var(--sak-blue); --sak-vf-green-dark:var(--sak-blue-dark);
  --sak-vf-ink:var(--sak-navy); --sak-vf-muted:var(--sak-muted);
  --sak-vf-border:var(--sak-border); --sak-vf-soft:var(--sak-light);
}
body.sak-experience .sak-vf--storefront .sak-vf__shell { border-color:var(--sak-border); border-top-color:var(--sak-yellow); }
body.sak-experience .sak-vf--storefront .sak-vf__eyebrow { color:var(--sak-blue); }
body.sak-experience .sak-vf--storefront .sak-vf__eyebrow::before { background:var(--sak-yellow); }
body.sak-experience .sak-vf--storefront .sak-vf__title { color:var(--sak-navy); }
body.sak-experience .sak-vf--storefront .sak-vf__submit { background:var(--sak-blue); border-color:var(--sak-blue); color:white; }
body.sak-experience .sak-vf--storefront .sak-vf__submit:hover { background:var(--sak-blue-dark); border-color:var(--sak-blue-dark); }
body.sak-experience .sak-storefront-step { background:#edf4ff; color:var(--sak-blue); }
body.sak-experience .sak-storefront-emblem { background:#fff6cd; color:var(--sak-navy); }
body.sak-experience .sak-storefront-more summary::marker { color:var(--sak-blue); }
body.sak-experience :is(.sak-storefront-bottom a,.sak-storefront-note a,.sak-search-selection a) { color:var(--sak-blue); }
body.sak-experience .sak-storefront-note { background:#edf4ff; }

/* Native FiboSearch and Woo fallback. Scope to the module; preserve the header search mechanics. */
body.sak-experience .sak-brand-search { max-width:1180px; margin:22px auto; }
body.sak-experience .sak-brand-search > :is(label,p) { display:block; margin-bottom:10px; font-weight:700; }
body.sak-experience .sak-home-intro .sak-brand-search > :is(label,p) { color:white; font-size:13px; }
body.sak-experience .sak-brand-search :is(.dgwt-wcas-search-wrapp,.dgwt-wcas-search-form) { width:100%; max-width:none; }
body.sak-experience .sak-brand-search .dgwt-wcas-sf-wrapp { padding:4px; border:1px solid var(--sak-border); border-radius:10px; background:white; }
body.sak-experience .sak-brand-search input[type=search] {
  min-height:50px; color:var(--sak-ink); background:white; border-radius:8px; font:inherit; font-size:14px; max-width:100%;
}
body.sak-experience .sak-brand-search .dgwt-wcas-search-submit { min-width:48px; background:var(--sak-blue); color:white; border-radius:7px; }
body.sak-experience .sak-brand-search .dgwt-wcas-search-submit svg path { fill:white; }
body.sak-experience .sak-brand-search .woocommerce-product-search { display:flex; flex-wrap:wrap; gap:8px; }
body.sak-experience .sak-brand-search .woocommerce-product-search input[type=search] { flex:1 1 220px; width:0; padding:10px 14px; }
body.sak-experience .sak-brand-search .woocommerce-product-search button { background:var(--sak-blue); color:white; border-radius:8px; min-height:48px; }

body.sak-experience :is(.sak-home-categories,.sak-home-picks,.sak-home-support) { margin-top:40px; }
body.sak-experience .sak-home-categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.sak-experience .sak-category {
  display:flex; align-items:center; gap:14px; min-height:92px; padding:16px; border:1px solid var(--sak-border);
  border-radius:12px; background:white; color:var(--sak-navy); text-decoration:none; box-shadow:0 4px 14px #142b4b08;
}
body.sak-experience .sak-category:hover { border-color:var(--sak-blue); }
body.sak-experience .sak-category :is(strong,small) { display:block; line-height:1.8; }
body.sak-experience .sak-category strong { font-size:14px; color:var(--sak-navy); }
body.sak-experience .sak-category small { font-size:11px; color:var(--sak-muted); }
body.sak-experience .sak-category img { width:48px; height:48px; object-fit:contain; flex:0 0 48px; }
body.sak-experience .sak-category-symbol { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:8px; color:var(--sak-blue); background:#edf4ff; font-size:13px; font-weight:700; }
body.sak-experience .sak-home-picks > header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
body.sak-experience .sak-home-picks h2 { color:var(--sak-navy); font-size:clamp(21px,2.3vw,29px); line-height:1.7; margin:0; }
body.sak-experience .sak-home-picks > header a { font-size:12px; color:var(--sak-blue); white-space:nowrap; }
body.sak-experience .sak-home-support { padding:28px; border-radius:14px; background:var(--sak-blue); color:white; }
body.sak-experience .sak-home-support :is(h2,h3,p) { color:white; line-height:1.9; }
body.sak-experience .sak-home-support h2 { margin:0 0 8px; font-size:24px; }
body.sak-experience .sak-home-support a { display:inline-flex; align-items:center; min-height:46px; margin-top:8px; padding:10px 18px; border-radius:8px; background:var(--sak-yellow); color:var(--sak-navy); font-weight:700; text-decoration:none; }

/* Native WC cards: render the same loops, image sources, prices and links. */
body.sak-experience ul.products {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:0 0 28px; padding:0;
}
body.sak-experience ul.products::before,
body.sak-experience ul.products::after { content:none; display:none; }
body.sak-experience ul.products > li.product {
  box-sizing:border-box; display:flex; flex-direction:column; min-width:0; width:auto; float:none; margin:0; padding:14px;
  border:1px solid var(--sak-border); border-radius:12px; background:white; box-shadow:0 5px 15px #142b4b08;
}
body.sak-experience ul.products > li.product:hover { border-color:#b7cbe2; box-shadow:0 10px 24px #142b4b16; }
body.sak-experience ul.products > li.product img {
  width:100%; height:clamp(125px,30vw,205px); object-fit:contain; object-position:center; margin:0 0 12px; background:var(--sak-light); border-radius:8px;
}
body.sak-experience ul.products > li.product :is(.woocommerce-loop-product__title,h2) {
  color:var(--sak-navy); font-size:14px; line-height:1.75; margin:0 0 8px; overflow-wrap:anywhere; white-space:normal;
}
body.sak-experience ul.products > li.product .price { color:var(--sak-blue); font-size:16px; font-weight:700; margin-bottom:10px; }
body.sak-experience ul.products > li.product .price del { color:var(--sak-muted); font-size:.8em; }
body.sak-experience ul.products > li.product .price ins { text-decoration:none; }
body.sak-experience ul.products > li.product .sak-card-stock { display:block; margin:6px 0 12px; color:#17683d; font-size:11px; font-weight:700; line-height:1.7; }
body.sak-experience ul.products > li.product .sak-card-stock[data-status=outofstock] { color:#66717c; }
body.sak-experience ul.products > li.product .sak-card-stock[data-status=onbackorder] { color:#77520e; }
body.sak-experience ul.products > li.product .button {
  display:block; width:100%; align-self:stretch; margin-top:auto; min-height:44px; border:1px solid var(--sak-blue);
  border-radius:8px; padding:10px 8px; background:var(--sak-blue); color:white; font-size:12px; font-weight:700; text-align:center;
}
body.sak-experience ul.products > li.product .button:hover { background:var(--sak-blue-dark); }
body.sak-experience ul.products > li.product.outofstock { background:#f7f8fa; }

/* Preserve the native product layout and gallery; recolor only existing components. */
body.sak-experience div.product.sak-product-root .summary .product_title { line-height:1.65; }
body.sak-experience div.product.sak-product-root .summary :is(p.price,span.price) { color:var(--sak-blue); }
body.sak-experience div.product.sak-product-root form.cart .sak-buy-now { border-color:var(--sak-blue); color:var(--sak-blue); }
body.sak-experience div.product.sak-product-root form.cart .sak-buy-now:hover { background:var(--sak-blue); color:white; }
body.sak-experience div.product.sak-product-root .sak-product-fitment-actions a { color:var(--sak-blue); border-color:var(--sak-border); }
body.sak-experience div.product.sak-product-root .sak-product-fitment-actions a:first-child { background:var(--sak-blue); border-color:var(--sak-blue); color:white; }
body.sak-experience div.product.sak-product-root .sak-product-fitment-link { color:var(--sak-blue); }
body.sak-experience div.product.sak-product-root .sak-product-fitment-link:hover { background:#edf4ff; color:var(--sak-blue-dark); border-color:var(--sak-blue); }
body.sak-experience div.product.sak-product-root .sak-product-stock[data-status=outofstock] { background:#eef1f4; color:#66717c; border-color:#d4dbe2; }
body.sak-experience .sak-product-sticky [data-sak-scroll-cart] { background:var(--sak-blue); border-color:var(--sak-blue); }
body.sak-experience .sak-purchase-help { border-color:var(--sak-border); color:var(--sak-navy); background:#edf4ff; }
body.sak-experience .sak-purchase-whatsapp { border-color:var(--sak-blue); color:var(--sak-blue); }
body.sak-experience .sak-purchase-whatsapp:hover { background:var(--sak-blue); color:white; }
body.sak-experience :is(.checkout-button,#place_order) { background:var(--sak-blue); border-color:var(--sak-blue); color:white; }
body.sak-experience :is(.checkout-button,#place_order):hover { background:var(--sak-blue-dark); }
body.sak-experience form.checkout :is(input.input-text,textarea,select) { border-color:#c7d4e3; }

@media(min-width:900px) {
  body.sak-experience .sak-home-hero { grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); padding:38px; }
  body.sak-experience .sak-home-categories { grid-template-columns:repeat(4,minmax(0,1fr)); }
  body.sak-experience ul.products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
}
@media(min-width:621px) and (max-width:899px) {
  body.sak-experience ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:620px) {
  body.sak-experience .sak-home { width:calc(100% - 24px); padding-top:16px; }
  body.sak-experience .sak-home-hero { padding:22px 16px; border-radius:14px; gap:20px; }
  body.sak-experience .sak-home-intro h1 { font-size:26px; line-height:1.7; }
  body.sak-experience .sak-home-intro p:not(.sak-home-kicker) { font-size:12px; }
  body.sak-experience .sak-home-links a { font-size:12px; flex:1; padding-inline:12px; }
  body.sak-experience .sak-home-filter .sak-vf__header { padding:18px 14px 6px; }
  body.sak-experience .sak-home-filter .sak-vf__body { padding:14px; }
  body.sak-experience .sak-home-filter .sak-storefront-main-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  body.sak-experience .sak-home-filter .sak-storefront-extra-fields { grid-template-columns:minmax(0,1fr); }
  body.sak-experience .sak-home-filter .sak-vf__field label { font-size:11px; }
  body.sak-experience .sak-home-filter select { font-size:12px; min-height:48px; height:48px; padding-right:9px; padding-left:25px; background-position:10px 52%,15px 52%; }
  body.sak-experience .sak-home-filter .sak-vf__subtitle { font-size:11px; }
  body.sak-experience .sak-category { min-height:82px; padding:12px; gap:8px; }
  body.sak-experience .sak-category strong { font-size:12px; }
  body.sak-experience .sak-category img { width:32px; height:32px; flex-basis:32px; }
  body.sak-experience :is(.sak-home-categories,.sak-home-picks,.sak-home-support) { margin-top:28px; }
  body.sak-experience .sak-home-picks > header { align-items:start; }
  body.sak-experience .sak-home-picks h2 { font-size:19px; }
  body.sak-experience ul.products > li.product { padding:10px; }
  body.sak-experience ul.products > li.product :is(.woocommerce-loop-product__title,h2) { font-size:12px; }
  body.sak-experience ul.products > li.product .price { font-size:14px; }
  body.sak-experience .sak-home-support { padding:22px 18px; }
  body.sak-experience .sak-home-support h2 { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) {
  body.sak-experience .sak-home-links a,
  body.sak-experience .sak-category,
  body.sak-experience ul.products > li.product { transition:none; }
}

/* Astra's transparent homepage header must stay in normal flow with the new hero. */
body.sak-experience.ast-theme-transparent-header #masthead { position:relative; inset:auto; }
body.sak-experience #masthead :is(.ast-primary-header-bar,.main-header-bar,.ast-main-header-wrap) {
  background:var(--sak-navy); border-bottom-color:var(--sak-yellow);
}
body.sak-experience #masthead :is(.site-title a,.site-description) { color:#f1f5fc; }
body.sak-experience.ast-desktop #masthead .main-header-menu > .menu-item > .menu-link { color:#f1f5fc; }
body.sak-experience.ast-desktop #masthead .main-header-menu > .current-menu-item > .menu-link,
body.sak-experience.ast-desktop #masthead .main-header-menu > .menu-item > .menu-link:hover { color:var(--sak-yellow); }
body.sak-experience #masthead .menu-toggle { color:white; background:var(--sak-blue); border-color:var(--sak-blue); }
body.sak-experience #masthead .menu-toggle svg { fill:white; }
body.sak-experience #masthead .ast-site-identity { padding-block:8px; }
body.sak-experience #primary { margin-block:28px; }
body.sak-experience.home #primary { margin-block:0; }
body.sak-experience.ast-separate-container .ast-article-single { padding:28px; }
body.sak-experience.home.ast-separate-container .ast-article-single { padding:0; background:transparent; }
body.sak-experience #masthead .ast-header-html { font-size:11px; line-height:1.9; }
@media(max-width:620px) {
  body.sak-experience.ast-separate-container .ast-article-single { padding:16px 12px; }
  body.sak-experience.home.ast-separate-container .ast-article-single { padding:0; }
  body.sak-experience #primary { margin-block:16px; }
}

body.sak-experience .sak-home-categories { display:block; }
body.sak-experience .sak-home-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.sak-experience .sak-home-section-heading { margin-bottom:18px; }
body.sak-experience .sak-home-section-heading h2 { margin:0; color:var(--sak-navy); font-size:clamp(21px,2.3vw,29px); line-height:1.8; }
body.sak-experience .sak-home-section-heading .sak-home-kicker,
body.sak-experience .sak-home-picks .sak-home-kicker { color:var(--sak-blue); margin-bottom:4px; }
@media(min-width:900px) { body.sak-experience .sak-home-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }

/* Reuse the installed WP Bottom Menu, including its native Search control. */
body.sak-experience .wp-bottom-menu { border-top:1px solid var(--sak-border); background:white; box-shadow:0 -4px 16px #142b4b0d; }
body.sak-experience .wp-bottom-menu :is(.wp-bottom-menu-item,.wp-bottom-menu-item-icons,span) { color:var(--sak-blue); }
body.sak-experience .wp-bottom-menu .wp-bottom-menu-item.active :is(.wp-bottom-menu-item-icons,span) { color:var(--sak-navy); }
body.sak-experience .wp-bottom-menu .wp-bottom-menu-item { min-height:52px; }

body.sak-experience { --ast-global-color-0:var(--sak-blue); --ast-global-color-1:var(--sak-blue-dark); --ast-global-color-2:var(--sak-navy); }
body.sak-experience .sak-purchase-steps a,
body.sak-experience .woocommerce-info a,
body.sak-experience .woocommerce-message a,
body.sak-experience .woocommerce-form-login-toggle a,
body.sak-experience .woocommerce-form-coupon-toggle a { color:var(--sak-blue); }
body.sak-experience .woocommerce-info { border-top-color:var(--sak-blue); }
body.sak-experience .woocommerce-info::before { color:var(--sak-blue); }

/* Astra declares percentage item widths with !important. Grid items must fill their column. */
body.sak-experience #content ul.products > li.product { width:100% !important; max-width:none; margin:0; float:none; }

/* 0.8.3: make existing search, vehicle fields and Winch visible at the top. */
body.sak-experience .sak-top-tools { display:flex; justify-content:center; gap:8px; padding:7px 12px; position:sticky; top:0; z-index:90; background:#fff; border-bottom:1px solid var(--sak-border); }
body.sak-experience.admin-bar .sak-top-tools { top:32px; }
body.sak-experience .sak-top-tools a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:7px 16px; color:var(--sak-blue); background:#edf4ff; border-radius:7px; text-decoration:none; font-size:12px; font-weight:700; white-space:nowrap; }
body.sak-experience .sak-top-tools svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
body.sak-experience .sak-top-tools .sak-top-winch { color:var(--sak-navy); background:var(--sak-yellow); }
body.sak-experience #sak-vehicle-filter { scroll-margin-top:66px; }
body.sak-experience ul.products > li.product .astra-shop-summary-wrap { display:flex; flex-direction:column; flex:1; min-width:0; }
body.sak-experience ul.products > li.product .ast-loop-product__link { display:block; flex:1; }
body.sak-experience ul.products > li.product .woocommerce-loop-product__title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; min-height:5.5em; word-break:normal; overflow-wrap:break-word; }
body.sak-experience ul.products > li.product :is(.price,.woocommerce-Price-amount) { white-space:nowrap; }
body.sak-experience ul.products > li.product .price bdi { display:inline-block; direction:ltr; }
body.sak-experience .sak-storefront-main-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.sak-experience .sak-storefront-extra-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(min-width:900px) { body.sak-experience .sak-storefront-main-fields { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:620px) {
  body.sak-experience .sak-top-tools { gap:5px; padding:6px 8px; }
  body.sak-experience .sak-top-tools a { flex:1; min-width:0; font-size:11px; padding:7px 6px; gap:5px; }
  body.sak-experience.admin-bar .sak-top-tools { top:46px; }
  body.sak-experience .sak-home { padding-top:10px; }
  body.sak-experience .sak-home-hero { padding:14px; gap:10px; }
  body.sak-experience .sak-home-intro > .sak-home-kicker { font-size:11px; margin:0 0 5px; }
  body.sak-experience .sak-home-intro h1 { font-size:20px; line-height:1.45; }
  body.sak-experience .sak-home-intro > p:not(.sak-home-kicker) { display:none; }
  body.sak-experience .sak-home-intro .sak-brand-search { margin:10px 0 0; }
  body.sak-experience .sak-home-intro .sak-brand-search > p { margin:0 0 5px; }
  body.sak-experience .sak-home-links { margin:10px 0 0; gap:8px; }
  body.sak-experience .sak-home-links a { min-height:40px; padding:8px; }
  body.sak-experience .sak-home-filter .sak-vf__header { padding:10px 12px 0; }
  body.sak-experience .sak-home-filter .sak-vf__title { font-size:18px; line-height:1.5; }
  body.sak-experience .sak-home-filter .sak-vf__eyebrow { display:none; }
  body.sak-experience .sak-home-filter .sak-vf__subtitle { font-size:10px; line-height:1.5; margin-top:4px; }
  body.sak-experience .sak-home-filter .sak-vf__body { padding:10px 12px; }
  body.sak-experience .sak-home-filter .sak-storefront-main-fields { gap:8px; }
  body.sak-experience .sak-home-filter select { min-height:43px; height:43px; }
  body.sak-experience .sak-home-filter .sak-vf__submit { min-height:42px; padding:9px; }
  body.sak-experience .sak-compact-search { margin-block:8px 12px; }
  body.sak-experience .sak-compact-search .sak-brand-search { margin-block:8px; }
  body.sak-experience .sak-storefront-extra-fields { grid-template-columns:minmax(0,1fr); }
  body.sak-experience ul.products > li.product .woocommerce-loop-product__title { font-size:13px; line-height:1.75; }
}

/* 0.8.5: requested header notice removal; shipping/payment configuration is untouched. */
body.sak-experience #masthead .ast-below-header-wrap { display:none; }
@media(max-width:620px) {
  body.sak-experience #sak-vehicle-filter { box-sizing:border-box; width:100%; max-width:100%; margin:8px 0 14px; padding:0; overflow:visible; }
  body.sak-experience #sak-vehicle-filter .sak-vf__header { padding:10px 12px 4px; gap:8px; }
  body.sak-experience #sak-vehicle-filter .sak-vf__eyebrow { display:none; }
  body.sak-experience #sak-vehicle-filter .sak-vf__title { font-size:18px; line-height:1.5; margin:0; }
  body.sak-experience #sak-vehicle-filter .sak-vf__subtitle { font-size:10px; line-height:1.55; margin:4px 0 0; }
  body.sak-experience #sak-vehicle-filter .sak-vf__body { padding:10px 12px 12px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-main-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 8px; align-items:end; }
  body.sak-experience #sak-vehicle-filter .sak-vf__field { min-width:0; }
  body.sak-experience #sak-vehicle-filter .sak-vf__field label { display:block; font-size:11px; line-height:1.55; margin-bottom:5px; white-space:normal; }
  body.sak-experience #sak-vehicle-filter .sak-vf__optional { font-size:9px; }
  body.sak-experience #sak-vehicle-filter select { box-sizing:border-box; width:100%; max-width:100%; min-width:0; height:44px; min-height:44px; font-size:12px; padding-right:8px; padding-left:23px; background-position:8px 52%,13px 52%; }
  body.sak-experience #sak-vehicle-filter .sak-vf__submit { box-sizing:border-box; width:100%; min-width:0; min-height:44px; height:44px; padding:9px 8px; font-size:12px; }
  body.sak-experience #sak-vehicle-filter .sak-search-submit { margin-top:10px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-more { margin-top:12px; padding-top:8px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-extra-fields { gap:9px; padding-top:10px; }
  body.sak-experience .sak-compact-search { margin:0 0 10px; }
  body.sak-experience .sak-compact-search .sak-brand-search { margin:6px 0 10px; }
  body.sak-experience .sak-compact-search .sak-brand-search > p { font-size:12px; margin-bottom:6px; }
  body.sak-experience .sak-compact-search .sak-brand-search input[type=search] { min-height:44px; height:44px; }
}

/* 0.8.6: keep the primary search action directly under the four vehicle fields. */
@media(max-width:620px) {
  body.sak-experience.sak-search-experience #primary { margin-top:12px; }
  body.sak-experience.sak-search-experience .ast-article-single { padding-top:12px; }
  body.sak-experience.sak-search-experience .entry-header { margin-bottom:10px; }
  body.sak-experience.sak-search-experience .entry-title { font-size:22px; line-height:1.5; margin:0 0 10px; }
  body.sak-experience .sak-vehicle-search-page .sak-vf__form { display:flex; flex-direction:column; gap:0; }
  body.sak-experience .sak-vehicle-search-page .sak-storefront-main-fields { order:0; }
  body.sak-experience .sak-vehicle-search-page .sak-search-submit { order:1; }
  body.sak-experience .sak-vehicle-search-page .sak-storefront-more { order:2; }
  body.sak-experience .sak-vehicle-search-page .sak-storefront-bottom { order:3; }
  body.sak-experience .sak-vehicle-search-page .sak-storefront-extra-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* 0.8.7: mobile filter-first composition, including the native results action and optional fields. */
@media(max-width:620px) {
  body.sak-experience.home .sak-home { padding-top:6px; }
  body.sak-experience.home .sak-home-hero { display:flex; flex-direction:column; gap:12px; padding:10px; align-items:stretch; }
  body.sak-experience.home .sak-home-filter { order:0; width:100%; }
  body.sak-experience.home .sak-home-intro { order:1; width:100%; }
  body.sak-experience.home #sak-vehicle-filter { margin:0; }
  body.sak-experience:is(.home,.sak-search-experience,.woocommerce-shop) #masthead .ast-builder-grid-row { min-height:60px; }
  body.sak-experience:is(.home,.sak-search-experience,.woocommerce-shop) #masthead .ast-site-identity { padding-block:4px; }
  body.sak-experience:is(.home,.sak-search-experience,.woocommerce-shop) #masthead .custom-logo { max-height:36px; }
  body.sak-experience:is(.home,.sak-search-experience,.woocommerce-shop) #masthead .site-description { font-size:10px; line-height:1.3; }
  body.sak-experience.sak-search-experience #content,
  body.sak-experience.woocommerce-shop #content { padding-top:0; margin-top:0; }
  body.sak-experience.sak-search-experience #content > .ast-container,
  body.sak-experience.woocommerce-shop #content > .ast-container { padding-top:0; margin-top:0; }
  body.sak-experience.sak-search-experience #primary,
  body.sak-experience.woocommerce-shop #primary { margin-top:0; }
  body.sak-experience.sak-search-experience .ast-article-single { padding-top:8px; }
  body.sak-experience.sak-search-experience .entry-header { margin:0 0 8px; }
  body.sak-experience.sak-search-experience .entry-title { font-size:18px; line-height:1.5; margin:0 0 8px; }
  body.sak-experience #sak-vehicle-filter .sak-vf__header { padding:8px 10px 3px; }
  body.sak-experience #sak-vehicle-filter .sak-vf__body { padding:8px 10px 10px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-extra-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding-top:8px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-extra-fields .sak-vf__query-field { grid-column:auto; min-width:0; }
  body.sak-experience #sak-vehicle-filter .sak-vf__query-label { font-size:11px; margin-bottom:5px; line-height:1.55; }
  body.sak-experience #sak-vehicle-filter input[type=search] { box-sizing:border-box; width:100%; min-width:0; min-height:44px; height:44px; padding:8px; font-size:12px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-more { margin-top:9px; padding-top:7px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-more summary { font-size:10px; line-height:1.5; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-bottom { margin-top:9px; gap:4px; font-size:9px; line-height:1.6; }
}
@media(max-width:620px) {
  body.sak-experience.woocommerce-shop .ast-woocommerce-container { display:flex; flex-direction:column; }
  body.sak-experience.woocommerce-shop #sak-vehicle-filter { order:-2; }
  body.sak-experience.woocommerce-shop .sak-compact-search { order:-1; }
}
@media(max-width:620px) {
  body.sak-experience.home #primary,
  body.sak-experience.sak-search-experience #primary,
  body.sak-experience.woocommerce-shop #primary { padding-top:0; }
  /* The page h1 remains accessible and in the source; the filter's visible heading is the same label. */
  body.sak-experience.sak-search-experience .entry-header { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  body.sak-experience #sak-vehicle-filter .sak-vf__subtitle { display:none; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-emblem { width:32px; height:32px; flex-basis:32px; font-size:13px; }
  body.sak-experience #sak-vehicle-filter .sak-vf__form { display:flex; flex-direction:column; gap:0; }
  body.sak-experience #sak-vehicle-filter .sak-vf__body { padding:6px 10px 8px; }
  body.sak-experience #sak-vehicle-filter .sak-search-submit { margin-top:6px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-more { margin-top:7px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-bottom { margin-top:7px; }
  /* Respect the existing hidden attribute; do not suppress messages when JS unhides them. */
  body.sak-experience #sak-vehicle-filter [hidden] { display:none !important; }
}
@media(max-width:620px) and (max-height:700px) {
  body.sak-experience .sak-top-tools { padding-block:2px; }
  body.sak-experience .sak-top-tools a { min-height:44px; line-height:1.25; padding-block:6px; }
  body.sak-experience:is(.home,.sak-search-experience,.woocommerce-shop) #masthead .ast-builder-grid-row { min-height:56px; }
  body.sak-experience.home .sak-home { padding-top:4px; }
  body.sak-experience.home .sak-home-hero { padding:8px; }
  body.sak-experience #sak-vehicle-filter .sak-vf__body { padding-top:4px; padding-bottom:6px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-bottom { flex-direction:row; align-items:center; gap:6px; }
  body.sak-experience #sak-vehicle-filter .sak-storefront-bottom > span { display:none; }
}
@media(max-width:620px) and (max-height:700px) {
  body.sak-experience #sak-vehicle-filter .sak-storefront-bottom { margin-top:4px; }
  body.sak-experience #sak-vehicle-filter .sak-vf__body { padding-bottom:4px; }
}

/* 0.8.8: keep name/number search above the four vehicle fields and blue action. */
@media(max-width:620px) {
  body.sak-experience.home .sak-home-intro { display:contents; }
  body.sak-experience.home .sak-home-intro .sak-brand-search { order:0; margin:0 0 4px; }
  body.sak-experience.home .sak-home-filter { order:1; }
  body.sak-experience.home .sak-home-intro > .sak-home-kicker { order:2; margin-top:8px; }
  body.sak-experience.home .sak-home-intro > h1 { order:3; }
  body.sak-experience.home .sak-home-links { order:4; }
  body.sak-experience.woocommerce-shop .sak-compact-search { order:-2; }
  body.sak-experience.woocommerce-shop #sak-vehicle-filter { order:-1; }
}
