/* about-pass: flush header + about band */
/* visual-pass-4: containers + flush header + section contrast */
/* visual-pass-3: thumbs-left + first-viewport buy */
/* Genesis Shop storefront — visual composition (load after shop.css) */
:root{
  --sf-bg:#F7F3EE;
  --sf-ink:#14233A;
  --sf-ink-soft:#3A4A61;
  --sf-line:#E4DCD2;
  --sf-card:#FFFCFA;
  --sf-accent:#1E3A5F;
  --sf-accent-soft:#2B4C78;
  /* One content width for hero / sections / footer / catalog / product */
  --shop-rail: min(1280px, calc(100% - 2 * max(4vw, 24px)));
  --shop-rail-pad: 0px;
}
html body.shop-front,
html body.construction-front{
  background:var(--sf-bg) !important;
  color:var(--sf-ink);
}

html body.shop-front,
html body.construction-front{
  margin:0 !important;
  padding:0 !important;
}
html body.shop-front .auto-header,
html body.construction-front .auto-header{
  top:var(--site-topbar-height, 0px) !important;
  margin-top:0 !important;
}
html body.shop-front:not(:has(.auto-topbar)),
html body.construction-front:not(:has(.auto-topbar)){
  --site-topbar-height:0px;
}

/* Shared content rail — ONE width for all page blocks */
html body.shop-front .sf-hero,
html body.shop-front .sf-catalog,
html body.shop-front .sf-product,
html body.shop-front .inner-page-content,
html body.shop-front .inner-page-hero,
html body.shop-front .auto-section,
html body.shop-front .auto-footer,
html body.shop-front .partners-section,
html body.shop-front .problem-strip,
html body.construction-front .sf-hero,
html body.construction-front .auto-section,
html body.construction-front .auto-footer{
  width: var(--shop-rail) !important;
  max-width: var(--shop-rail) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
html body.shop-front .sf-catalog,
html body.shop-front .sf-product{
  padding-left:0 !important;
  padding-right:0 !important;
}
html body.shop-front .sf-product__grid{
  max-width:none !important;
}
html body.shop-front .sf-hero,
html body.construction-front .sf-hero{
  border-radius:0 0 24px 24px;
  overflow:hidden;
}
html body.shop-front .sf-hero__media img{
  object-fit:cover;
}

/* Articles / inner pages: readable titles on cream */
html body.shop-front .inner-page-hero .eyebrow,
html body.shop-front .inner-page-hero .back-link{
  color:#8A6A1E !important;
}
html body.shop-front .inner-page-hero h1{
  color:var(--sf-ink, #14233A) !important;
  opacity:1 !important;
}
html body.shop-front .inner-page-hero p,
html body.shop-front .inner-page-content{
  color:var(--sf-ink-soft, #3A4A61) !important;
}
html body.shop-front .inner-page-content .empty-state,
html body.shop-front .inner-page-content > p{
  color:var(--sf-ink-soft, #3A4A61) !important;
  font-size:1.05rem;
}

/* Footer: hide empty paragraphs; tighten about */
html body.shop-front .auto-footer .footer-about p:empty{display:none}
html body.shop-front .auto-footer .footer-hours p:empty{display:none}


html body.shop-front .sf-hero,
html body.construction-front .sf-hero{
  position:relative;
  min-height:auto !important;
  height:min(64vh,560px);
  max-height:560px;
  display:grid !important;
  grid-template-columns:minmax(280px,.95fr) minmax(280px,1.05fr);
  align-items:stretch;
  background:#d9cfc4;
  overflow:hidden;
}
html body.shop-front .sf-hero__media,
html body.construction-front .sf-hero__media{
  position:relative !important;
  inset:auto !important;
  order:2;
  min-height:100%;
}
html body.shop-front .sf-hero__media img,
html body.construction-front .sf-hero__media img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
}
html body.shop-front .sf-hero__veil,
html body.construction-front .sf-hero__veil{display:none !important}
html body.shop-front .sf-hero__copy,
html body.construction-front .sf-hero__copy{
  position:relative !important;
  z-index:2;
  order:1;
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(24px,4vw,56px) !important;
  max-width:none !important;
  color:var(--sf-ink) !important;
  background:linear-gradient(180deg,#F7F3EE 0%,#EFE7DC 100%);
}
html body.shop-front .sf-hero__copy .eyebrow,
html body.construction-front .sf-hero__copy .eyebrow{color:var(--sf-accent-soft)!important}
html body.shop-front .sf-hero__copy h1,
html body.construction-front .sf-hero__copy h1{
  margin:10px 0 12px !important;
  font-size:clamp(1.7rem,3.2vw,2.7rem)!important;
  line-height:1.08!important;
  color:var(--sf-ink)!important;
}
html body.shop-front .sf-hero__copy p,
html body.construction-front .sf-hero__copy p{
  margin:0 0 20px!important;color:var(--sf-ink-soft)!important;max-width:36ch!important;
}
html body.shop-front .sf-hero__copy .btn.primary,
html body.construction-front .sf-hero__copy .btn.primary{
  align-self:flex-start;
  background:var(--sf-accent)!important;color:#fff!important;
  border:0!important;border-radius:14px!important;padding:14px 18px!important;font-weight:800!important;
}

html body.shop-front .sf-catalog,
html body.construction-front .sf-catalog{padding:36px max(4vw,20px) 64px}
html body.shop-front .sf-catalog__head,
html body.construction-front .sf-catalog__head{max-width:760px;margin-bottom:16px}
html body.shop-front .sf-catalog__head h1{margin:0 0 8px;font-size:clamp(1.6rem,2.8vw,2.2rem);color:var(--sf-ink);scroll-margin-top:96px;line-height:1.15}
html body.shop-front .sf-catalog__head p{margin:0;color:var(--sf-ink-soft);line-height:1.5;font-size:.98rem}
html body.shop-front .sf-catalog__toolbar{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px;
}
html body.shop-front .sf-chips{display:flex;flex-wrap:wrap;gap:8px}
html body.shop-front .sf-chip{
  display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;text-decoration:none;
  border:1px solid var(--sf-line);background:var(--sf-card);color:var(--sf-ink);font-size:13px;font-weight:700;
}
html body.shop-front .sf-chip.is-active,
html body.shop-front .sf-chip:hover{background:var(--sf-accent);border-color:var(--sf-accent);color:#fff}
html body.shop-front .sf-search{display:flex;gap:8px;margin-left:0}
html body.shop-front .sf-search input{
  width:min(220px,68vw);border:1px solid var(--sf-line);border-radius:12px;padding:10px 12px;background:#fff;color:var(--sf-ink);
}
html body.shop-front .sf-search button{
  border:0;border-radius:12px;padding:10px 14px;background:var(--sf-accent);color:#fff;font-weight:700;cursor:pointer;
}
html body.shop-front .sf-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr)) !important;
  gap:16px !important;
}
html body.shop-front .sf-card{
  display:flex !important;flex-direction:column !important;
  background:var(--sf-card)!important;border:1px solid var(--sf-line)!important;border-radius:18px!important;
  overflow:hidden!important;text-decoration:none!important;color:inherit!important;max-width:100%!important;
}
html body.shop-front .sf-card__media{
  aspect-ratio:1 / 1 !important;background:#efe8df!important;overflow:hidden!important;flex:0 0 auto!important;
}
html body.shop-front .sf-card__media img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important;
  max-width:none!important;
}
html body.shop-front .sf-card__body{display:grid;gap:6px;padding:12px 14px 14px}
html body.shop-front .sf-card__body h2{margin:0;font-size:1.02rem;line-height:1.25;color:var(--sf-ink)}
html body.shop-front .sf-card__stock{font-size:13px;font-weight:700;color:var(--sf-accent)}

html body.shop-front .sf-product{padding:28px max(4vw,20px) 56px}
html body.shop-front .sf-product__crumb{display:inline-flex;margin-bottom:14px;color:var(--sf-ink-soft);text-decoration:none;font-size:14px}
html body.shop-front .sf-product__grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.85fr) !important;
  gap:28px !important;
  align-items:start !important;
  max-width:none !important;
  width:100% !important;
}
html body.shop-front .sf-gallery{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:start!important;
}
html body.shop-front .sf-gallery__thumbs{
  display:flex!important;flex-direction:column!important;gap:8px!important;
  max-height:min(58vh,520px);overflow:auto;padding:1px;
}
html body.shop-front .sf-gallery__thumb{
  border:1px solid var(--sf-line);border-radius:12px;overflow:hidden;padding:0;background:var(--sf-card);
  cursor:pointer;width:76px;height:76px;flex:0 0 auto;display:block;
}
html body.shop-front .sf-gallery__thumb img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
html body.shop-front .sf-gallery__thumb.is-active{outline:2px solid var(--sf-accent);outline-offset:1px}
html body.shop-front .sf-gallery__thumb.is-preview{position:relative}
html body.shop-front .sf-gallery__thumb.is-preview::after{
  content:"";position:absolute;inset:auto 6px 6px auto;width:8px;height:8px;border-radius:50%;
  background:#C8922A;box-shadow:0 0 0 2px #fff;
}
html body.shop-front .sf-gallery__stage{display:grid;gap:8px;min-width:0}
html body.shop-front .sf-gallery__main{
  margin:0!important;border-radius:20px!important;overflow:hidden!important;border:1px solid var(--sf-line);
  background:#efe8df;aspect-ratio:1 / 1;max-height:min(58vh,520px);
}
html body.shop-front .sf-gallery__main img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}
html body.shop-front .sf-gallery__caption{margin:0;color:var(--sf-ink-soft);font-size:12px;line-height:1.35}
html body.shop-front .sf-gallery__caption.is-empty{display:none}
html body.shop-front .sf-buy{display:grid;gap:12px;padding-top:4px;position:sticky;top:1rem}
html body.shop-front .sf-buy__eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--sf-accent-soft);font-weight:700}
html body.shop-front .sf-buy__title{margin:0;font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.15;color:var(--sf-ink)}
html body.shop-front .sf-buy__short{margin:0;color:var(--sf-ink-soft);line-height:1.55}
html body.shop-front .sf-buy__meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body.shop-front .sf-pill{display:inline-flex;padding:7px 11px;border-radius:999px;background:#EAF0F7;color:var(--sf-accent);font-size:13px;font-weight:700}
html body.shop-front .sf-pill--sold{background:#F3E6E4;color:#8A3B32}
html body.shop-front .sf-price{font-size:1.3rem;font-weight:800}
html body.shop-front .sf-price-note{margin-top:4px;font-size:.85rem;opacity:.72;font-weight:600}
html body.shop-front .sf-buy__block{padding-top:10px;border-top:1px solid var(--sf-line)}
html body.shop-front .sf-buy__block h2{margin:0 0 6px;font-size:.98rem}
html body.shop-front .sf-buy__block p{margin:0;color:var(--sf-ink-soft);line-height:1.55;white-space:pre-wrap}
html body.shop-front .sf-product .inner-page-hero{display:none!important}

@media (max-width:900px){
  html body.shop-front .sf-hero,
  html body.construction-front .sf-hero{
    grid-template-columns:1fr !important;
    height:auto !important;
    max-height:none !important;
  }
  html body.shop-front .sf-hero__media{order:1;min-height:38vh;max-height:44vh}
  html body.shop-front .sf-hero__copy{order:2;padding:22px 18px !important}
  html body.shop-front .sf-product__grid{grid-template-columns:1fr !important;gap:16px !important}
  html body.shop-front .sf-buy{position:static}
  html body.shop-front .sf-gallery{
    grid-template-columns:1fr !important;
  }
  html body.shop-front .sf-gallery__thumbs{
    order:2;flex-direction:row!important;flex-wrap:wrap!important;max-height:none;overflow:visible;
  }
  html body.shop-front .sf-gallery__stage{order:1}
  html body.shop-front .sf-gallery__thumb{width:64px;height:64px}
  html body.shop-front .sf-gallery__main{max-height:min(48vh,420px);aspect-ratio:1 / 1}
  html body.shop-front .sf-search{margin-left:0;width:100%}
  html body.shop-front .sf-search input{flex:1;width:auto}
}
@media (max-width:430px){
  html body.shop-front .sf-grid{grid-template-columns:1fr !important}
  html body.shop-front .sf-hero__copy h1{font-size:1.55rem !important}
  html body.shop-front .sf-gallery__main{max-height:min(42vh,360px)}
  html body.shop-front .sf-card__media{aspect-ratio:4 / 3 !important;max-height:42vh}
  html body.shop-front .sf-catalog__head h1{font-size:1.45rem}
  html body.shop-front .sf-catalog__head p{font-size:.9rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}


/* auto-footer rail: uses --shop-rail */
html body.shop-front .auto-footer .footer-pages a,
html body.shop-front .auto-footer .footer-hours a{
  color:#8A6A1E !important;
  font-weight:700;
}

/* header height lock */
@media (max-width:900px){
  html body.shop-front .auto-header,
  html body.construction-front .auto-header{height:58px !important}
}

/* Flush header — kill any reserved top gap */
html, body.shop-front, body.construction-front{
  margin:0 !important;
  padding:0 !important;
  --site-topbar-height:0px;
}
html body.shop-front .auto-header,
html body.construction-front .auto-header{
  top:0 !important;
  margin:0 !important;
  border-top:0 !important;
}
html body.shop-front .auto-topbar + .auto-header,
html body.construction-front .auto-topbar + .auto-header{
  top:var(--site-topbar-height, 0px) !important;
}

/* About band (nav #about) */
html body.shop-front .sf-about-band,
html body.shop-front #about.autosport-band{
  scroll-margin-top:80px;
  min-height:min(58vh,520px);
  width:100%;
  margin:0;
  border-radius:0;
  padding:72px max(4vw,24px) !important;
}
html body.shop-front .sf-about-band h2,
html body.shop-front #about.autosport-band h2{
  color:#fff !important;
  max-width:18ch;
}
html body.shop-front .sf-about-band p,
html body.shop-front #about.autosport-band p{
  color:rgba(255,255,255,.88) !important;
  max-width:42ch;
}
html body.shop-front .sf-about-band .eyebrow{
  color:#E8B923 !important;
}

html body.shop-front .sf-about-actions .btn.primary{
  background:#C8922A!important;color:#101820!important;border:0!important;border-radius:12px!important;font-weight:800!important;
}
html body.shop-front .sf-about-actions .btn.ghost{
  border:1px solid rgba(255,255,255,.45)!important;color:#fff!important;background:transparent!important;border-radius:12px!important;font-weight:700!important;
}


/* === mobile gallery SSOT (must stay last) === */
@media (max-width: 900px) {
  html body.shop-front .sf-gallery {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 10px !important;
  }
  html body.shop-front .sf-gallery__stage {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html body.shop-front .sf-gallery__main {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-height: min(48vh, 420px) !important;
    aspect-ratio: 1 / 1 !important;
  }
  html body.shop-front .sf-gallery__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  html body.shop-front .sf-gallery__thumbs {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }
  html body.shop-front .sf-gallery__thumb {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 auto !important;
  }
  html body.shop-front .sf-product__grid {
    grid-template-columns: 1fr !important;
  }
  html body.shop-front .sf-buy {
    position: static !important;
  }
}


/* Mobile chrome: logo left + FAB/AI stack (no overlap) */
@media (max-width:900px){
  html body.shop-front .sf-product{
    padding-bottom:120px !important;
  }
  html body.shop-front .mobile-action-bar{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  /* Logo stays left — do not flex into the header center */
  html body.shop-front .auto-header,
  html body.construction-front .auto-header{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding:0 12px 0 10px !important;
  }
  html body.shop-front .auto-logo,
  html body.construction-front .auto-logo{
    flex:0 1 auto !important;
    min-width:0 !important;
    max-width:min(132px, 34vw) !important;
    margin-right:auto !important;
  }
  html body.shop-front .auto-logo img,
  html body.construction-front .auto-logo img{
    display:block !important;
    max-height:42px !important;
    max-width:100% !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    object-position:left center !important;
  }
  html body.shop-front .auto-langs-mobile,
  html body.construction-front .auto-langs-mobile{
    flex:0 0 auto !important;
    margin-left:0 !important;
  }
  html body.shop-front .auto-menu-toggle,
  html body.construction-front .auto-menu-toggle{
    flex:0 0 44px !important;
    margin-left:0 !important;
  }

  /* Stack: action bar → phone/WA FABs → AI launcher above them */
  html body.shop-front .floating-contacts{
    bottom:100px !important;
    right:14px !important;
    gap:10px !important;
    z-index:998 !important;
  }
  html body.shop-front .floating-contacts .contact-fab{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    box-sizing:border-box !important;
  }
  html body.shop-front .floating-contacts .fab-label{
    display:none !important;
  }
  /* 2 fabs (48+10+48) + gap 14 above stack + bar clearance */
  html body.shop-front .ca-launcher{
    right:14px !important;
    bottom:calc(100px + 48px + 10px + 48px + 22px) !important; /* 228px */
    z-index:997 !important;
    width:52px !important;
    height:52px !important;
    padding:0 !important;
    justify-content:center !important;
    border-radius:999px !important;
  }
  html body.shop-front .ca-launcher-label{
    display:none !important;
  }
  html body.shop-front .sf-buy__short{
    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}
/* FAB/AI + logo mobile SSOT */
@media (max-width:900px){
  html body.shop-front .auto-header{
    padding-left:6px !important;
    padding-right:10px !important;
  }
  html body.shop-front .auto-logo{
    flex:0 0 auto !important;
    max-width:150px !important;
    margin:0 auto 0 0 !important;
  }
  html body.shop-front .auto-logo img{
    display:block !important;
    max-height:48px !important;
    max-width:150px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    object-position:left center !important;
  }
  html body.shop-front{
    --shop-fab-size:48px;
    --shop-fab-gap:10px;
    --shop-fab-rail-bottom:96px;
  }
  /* Contacts stay right */
  html body.shop-front .floating-contacts{
    right:12px !important;
    left:auto !important;
    bottom:var(--shop-fab-rail-bottom) !important;
    gap:var(--shop-fab-gap) !important;
    z-index:998 !important;
  }
  html body.shop-front .floating-contacts .contact-fab{
    width:var(--shop-fab-size) !important;
    height:var(--shop-fab-size) !important;
    min-width:var(--shop-fab-size) !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  html body.shop-front .floating-contacts .fab-label{display:none !important;}
  /* AI moves left — cannot collide with WhatsApp */
  html body.shop-front .ca-launcher{
    left:12px !important;
    right:auto !important;
    bottom:var(--shop-fab-rail-bottom) !important;
    width:50px !important;
    height:50px !important;
    padding:0 !important;
    justify-content:center !important;
    border-radius:999px !important;
    box-shadow:0 6px 14px rgba(7,24,47,.25) !important;
    z-index:997 !important;
  }
  html body.shop-front .ca-launcher-label{display:none !important;}
}

/* Desktop FAB/AI stack clearance */
@media (min-width:901px){
  html body.shop-front{
    --shop-fab-size:48px;
    --shop-fab-gap:12px;
    --shop-fab-rail-bottom:24px;
    --shop-fab-ai-gap:28px;
  }
  html body.shop-front .floating-contacts{
    right:20px !important;
    bottom:var(--shop-fab-rail-bottom) !important;
    gap:var(--shop-fab-gap) !important;
    z-index:998 !important;
  }
  html body.shop-front .ca-launcher{
    right:20px !important;
    left:auto !important;
    bottom:calc(
      var(--shop-fab-rail-bottom)
      + (var(--shop-fab-size) * 2)
      + var(--shop-fab-gap)
      + var(--shop-fab-ai-gap)
    ) !important;
    z-index:997 !important;
  }
}

/* Rail SSOT — equal block widths on every page */
html body.shop-front,
html body.construction-front{
  --shop-rail: min(1280px, calc(100% - 2 * max(4vw, 24px)));
}
html body.shop-front .sf-hero,
html body.shop-front .sf-catalog,
html body.shop-front .sf-product,
html body.shop-front .inner-page-hero,
html body.shop-front .inner-page-content,
html body.shop-front .auto-section,
html body.shop-front .auto-footer,
html body.shop-front .partners-section,
html body.construction-front .sf-hero,
html body.construction-front .auto-section,
html body.construction-front .auto-footer{
  width: var(--shop-rail) !important;
  max-width: var(--shop-rail) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
/* Keep horizontal padding inside the rail, not outside it */
html body.shop-front .auto-footer,
html body.construction-front .auto-footer{
  padding-left: max(3vw, 28px) !important;
  padding-right: max(3vw, 28px) !important;
}
html body.shop-front .auto-section,
html body.construction-front .auto-section{
  padding-left: max(3vw, 28px) !important;
  padding-right: max(3vw, 28px) !important;
}
@media (max-width:900px){
  html body.shop-front,
  html body.construction-front{
    --shop-rail: min(100%, calc(100% - 2 * 14px));
  }
  html body.shop-front .auto-footer,
  html body.construction-front .auto-footer,
  html body.shop-front .auto-section,
  html body.construction-front .auto-section{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* About page */
html body.shop-front .sf-about-page__media{margin:0 0 22px}
html body.shop-front .sf-about-page__media img{
  display:block;width:100%;max-height:420px;object-fit:cover;border-radius:18px;border:1px solid var(--sf-line,#E4DCD2);
}

/* Product details synced from admin structured fields */
html body.shop-front .sf-specs{display:grid;gap:8px;margin:0}
html body.shop-front .sf-specs__row{display:grid;grid-template-columns:minmax(110px,.9fr) minmax(0,1.2fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--sf-line,#E4DCD2)}
html body.shop-front .sf-specs__row:last-child{border-bottom:0}
html body.shop-front .sf-specs dt{margin:0;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--sf-accent-soft,#2B4C78)}
html body.shop-front .sf-specs dd{margin:0;font-size:15px;color:var(--sf-ink,#14233A)}
html body.shop-front .sf-buy__care{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--sf-ink-soft,#3A4A61)}
html body.shop-front .sf-buy__mto{margin-top:18px;display:grid;gap:8px}
html body.shop-front .sf-buy__mto-note{font-size:13px;color:var(--sf-ink-soft,#3A4A61)}
@media (max-width:560px){
  html body.shop-front .sf-specs__row{grid-template-columns:1fr}
}



/* ABOUT_NAV_ACTIVE */
html body.shop-front .auto-header nav a.is-active{
  color:var(--brand-primary,#1769f6);
}
html body.shop-front .auto-header nav a.is-active:after{
  right:0;
}
html body.shop-front .sf-about-page__card{
  max-width:920px;
  margin:0 auto;
}
html body.shop-front .sf-about-page__body{
  font-size:1.05rem;
  line-height:1.75;
}
html body.shop-front .sf-about-page__body h2{
  margin:0 0 14px;
  font-size:clamp(1.4rem,2.4vw,1.9rem);
  letter-spacing:-.02em;
}
html body.shop-front .sf-about-page__body p{
  margin:0 0 14px;
  color:var(--muted,#667085);
}
html body.shop-front .sf-about-page__actions{
  margin-top:22px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* === DARK_THEME_SSOT === */
/* shop-storefront loads after shop-theme and previously forced cream
   background with !important — that broke theme-dark (white side gutters).
   This block is the dark-mode SSOT for the shop front. */

html body.shop-front.theme-dark,
html body.construction-front.theme-dark{
  --sf-bg:#0B1117;
  --sf-ink:#E9EEF4;
  --sf-ink-soft:#B4C2CF;
  --sf-line:#28343F;
  --sf-card:#111C26;
  --sf-accent:#E8B923;
  --sf-accent-soft:#F5C84C;
  --text:#E9EEF4;
  --muted:#B4C2CF;
  --line:#28343F;
  --soft:#0C161F;
  --shop-mist:#0C161F;
  --shop-stone:#0F1A24;
  --shop-line:#28343F;
  --shop-muted:#B4C2CF;
  color-scheme:dark;
  color:var(--sf-ink) !important;
  background:
    radial-gradient(1200px 480px at 8% -10%, rgba(212,160,23,.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(42,54,66,.35), transparent 55%),
    linear-gradient(180deg,#0B1117 0%,#0D141C 100%) !important;
}

/* Sticky header */
html body.shop-front.theme-dark .auto-header,
html body.construction-front.theme-dark .auto-header{
  background:rgba(11,17,23,.92) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.35) !important;
  color:var(--sf-ink) !important;
}
html body.shop-front.theme-dark .auto-header nav a,
html body.construction-front.theme-dark .auto-header nav a{
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .auto-header nav a.is-active,
html body.shop-front.theme-dark .auto-header nav a:hover{
  color:#F5C84C !important;
}
html body.shop-front.theme-dark .auto-logo,
html body.shop-front.theme-dark .auto-logo strong,
html body.shop-front.theme-dark .auto-logo small{
  color:#F2F6FA !important;
}
html body.shop-front.theme-dark .theme-toggle{
  border-color:rgba(255,255,255,.28) !important;
  background:rgba(255,255,255,.06) !important;
  color:#F2F6FA !important;
}
html body.shop-front.theme-dark .front-langs a{
  color:#D0D9E1 !important;
}
html body.shop-front.theme-dark .front-langs a.active{
  background:#C8922A !important;
  color:#101820 !important;
}
html body.shop-front.theme-dark .auto-header .header-social--menu .social-link{
  background:rgba(255,255,255,.08) !important;
  color:#E9EEF4 !important;
}

/* Full-bleed dark bands: about + footer paint edge-to-edge,
   content stays on the shared rail via inner padding */
html body.shop-front.theme-dark .sf-about-band,
html body.shop-front.theme-dark #about.autosport-band,
html body.shop-front.theme-dark .auto-footer,
html body.construction-front.theme-dark .auto-footer{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  border-radius:0 !important;
  box-sizing:border-box !important;
}
html body.shop-front.theme-dark .auto-footer,
html body.construction-front.theme-dark .auto-footer{
  background:#0B1117 !important;
  border-top:1px solid var(--sf-line) !important;
  color:var(--sf-ink) !important;
  padding-left:max(4vw,24px) !important;
  padding-right:max(4vw,24px) !important;
}
html body.shop-front.theme-dark .auto-footer .footer-about b,
html body.shop-front.theme-dark .auto-footer .footer-contact b,
html body.shop-front.theme-dark .auto-footer .footer-hours b{
  color:#F5C84C !important;
}
html body.shop-front.theme-dark .auto-footer .footer-about p,
html body.shop-front.theme-dark .auto-footer .footer-contact p,
html body.shop-front.theme-dark .auto-footer .footer-hours p,
html body.shop-front.theme-dark .auto-footer .footer-idno,
html body.shop-front.theme-dark .auto-footer .footer-company-name{
  color:#C6D0DA !important;
}
html body.shop-front.theme-dark .auto-footer .footer-brand strong{
  color:#fff !important;
}
html body.shop-front.theme-dark .auto-footer a,
html body.shop-front.theme-dark .auto-footer .footer-pages a,
html body.shop-front.theme-dark .auto-footer .footer-hours a{
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .auto-footer a:hover{
  color:#fff !important;
}
html body.shop-front.theme-dark .auto-footer .product-credit,
html body.shop-front.theme-dark .product-credit{
  color:rgba(233,238,244,.78) !important;
  border-top-color:rgba(255,255,255,.14) !important;
}
html body.shop-front.theme-dark .auto-footer .product-credit a,
html body.shop-front.theme-dark .product-credit a{
  color:#E9EEF4 !important;
}

/* Sections / cards / catalog / product */
html body.shop-front.theme-dark .auto-section,
html body.shop-front.theme-dark .sf-catalog,
html body.shop-front.theme-dark .sf-product,
html body.shop-front.theme-dark .inner-page-content,
html body.shop-front.theme-dark .inner-page-hero,
html body.shop-front.theme-dark .partners-section{
  color:var(--sf-ink) !important;
}
html body.shop-front.theme-dark .inner-page-hero .eyebrow,
html body.shop-front.theme-dark .inner-page-hero .back-link{
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .inner-page-hero h1,
html body.shop-front.theme-dark .sf-catalog__head h1,
html body.shop-front.theme-dark .sf-card__body h2,
html body.shop-front.theme-dark .sf-buy__title{
  color:#F2F6FA !important;
}
html body.shop-front.theme-dark .inner-page-hero p,
html body.shop-front.theme-dark .inner-page-content,
html body.shop-front.theme-dark .sf-catalog__head p,
html body.shop-front.theme-dark .sf-buy__lead,
html body.shop-front.theme-dark .sf-buy__block p,
html body.shop-front.theme-dark .sf-gallery__caption{
  color:#B4C2CF !important;
}
html body.shop-front.theme-dark .sf-card,
html body.shop-front.theme-dark .service-detail-card,
html body.shop-front.theme-dark .article-card,
html body.shop-front.theme-dark .mini-card,
html body.shop-front.theme-dark .partner-card,
html body.shop-front.theme-dark .sf-buy__block{
  background:#111C26 !important;
  border-color:var(--sf-line) !important;
  color:var(--sf-ink) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.4),0 18px 44px -22px rgba(0,0,0,.55) !important;
}
html body.shop-front.theme-dark .sf-chip{
  background:#111C26 !important;
  border-color:var(--sf-line) !important;
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .sf-chip.is-active,
html body.shop-front.theme-dark .sf-chip:hover{
  background:#C8922A !important;
  border-color:#C8922A !important;
  color:#101820 !important;
}
html body.shop-front.theme-dark .sf-search input,
html body.shop-front.theme-dark .contact-form input,
html body.shop-front.theme-dark .contact-form textarea,
html body.shop-front.theme-dark .contact-form select{
  background:#111C26 !important;
  border-color:var(--sf-line) !important;
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .sf-specs__row,
html body.shop-front.theme-dark .sf-specs{
  border-color:var(--sf-line) !important;
}
html body.shop-front.theme-dark .sf-specs dt{
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .sf-specs dd{
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .sf-gallery__thumb{
  border-color:var(--sf-line) !important;
  background:#0F1A24 !important;
}
html body.shop-front.theme-dark .sf-gallery__main{
  background:#0F1A24 !important;
  border-color:var(--sf-line) !important;
}
html body.shop-front.theme-dark .partner-card b{color:#F2F6FA !important}
html body.shop-front.theme-dark .partner-card p{color:#C6D0DA !important}
html body.shop-front.theme-dark .section-head a,
html body.shop-front.theme-dark .card-link{
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .back-to-top{
  background:#16222D !important;
  color:#E9EEF4 !important;
  border-color:var(--sf-line) !important;
}

/* Keep about band full-bleed in dark (and light): override rail clamp */
html body.shop-front .sf-about-band,
html body.shop-front #about.autosport-band{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* === DARK_THEME_CONTRAST === */
/* Solid fallback under the gradient (background-color is what
   browsers paint in gutters / overscroll). */
html body.shop-front.theme-dark,
html body.construction-front.theme-dark{
  background-color:#0B1117 !important;
}

/* Hero copy panel stays cream in light mode; in dark mode make it
   a dark panel so --sf-ink light text remains readable. */
html body.shop-front.theme-dark .sf-hero__copy,
html body.construction-front.theme-dark .sf-hero__copy{
  background:linear-gradient(180deg,#121A22 0%,#0E151C 100%) !important;
  color:var(--sf-ink) !important;
}
html body.shop-front.theme-dark .sf-hero,
html body.construction-front.theme-dark .sf-hero{
  background:#0E151C !important;
}
html body.shop-front.theme-dark .sf-hero__copy .eyebrow{
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .sf-hero__copy h1{
  color:#F2F6FA !important;
}
html body.shop-front.theme-dark .sf-hero__copy p{
  color:#C6D0DA !important;
}
html body.shop-front.theme-dark .sf-hero__copy .btn.primary{
  background:#C8922A !important;
  color:#101820 !important;
}
html body.shop-front.theme-dark .sf-hero__copy .btn.ghost,
html body.shop-front.theme-dark .sf-about-actions .btn.ghost{
  border-color:rgba(255,255,255,.45) !important;
  color:#fff !important;
  background:transparent !important;
}

/* Cookie banner keeps a light glass panel — force dark readable text */
html body.shop-front.theme-dark .cookie-banner,
html body.construction-front.theme-dark .cookie-banner{
  color:#142033 !important;
}
html body.shop-front.theme-dark .cookie-banner-inner,
html body.construction-front.theme-dark .cookie-banner-inner{
  background:#FFFCFA !important;
  border-color:#E4DCD2 !important;
  color:#142033 !important;
  box-shadow:0 24px 60px rgba(0,0,0,.55) !important;
}
html body.shop-front.theme-dark .cookie-banner h2,
html body.construction-front.theme-dark .cookie-banner h2{
  color:#142033 !important;
}
html body.shop-front.theme-dark .cookie-banner p,
html body.shop-front.theme-dark .cookie-options,
html body.shop-front.theme-dark .cookie-options label,
html body.shop-front.theme-dark .cookie-status,
html body.construction-front.theme-dark .cookie-banner p,
html body.construction-front.theme-dark .cookie-options label{
  color:#3A4A61 !important;
}
html body.shop-front.theme-dark .cookie-banner .btn.ghost,
html body.construction-front.theme-dark .cookie-banner .btn.ghost{
  background:#fff !important;
  color:#142033 !important;
  border-color:#D6DFEC !important;
}
html body.shop-front.theme-dark .cookie-banner .btn.primary{
  background:#C8922A !important;
  color:#101820 !important;
}
html body.shop-front.theme-dark .cookie-close{
  color:#667085 !important;
}

/* Footer / topbar contact labels that stay brand-dark otherwise */
html body.shop-front.theme-dark .labeled-phone__title,
html body.shop-front.theme-dark .topbar-phone__role,
html body.shop-front.theme-dark .auto-footer .labeled-phone__title{
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .auto-footer .labeled-phone a,
html body.shop-front.theme-dark .auto-footer .footer-contact a,
html body.shop-front.theme-dark .auto-footer .footer-company-name{
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .auto-topbar{
  background:#070C12 !important;
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .auto-topbar a{
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .topbar-phone__number{
  color:#F2F6FA !important;
}

/* product card sequence helpers */
html body.shop-front .sf-buy__meta-pills{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 10px}
html body.shop-front .sf-buy__notes{margin-top:12px;display:grid;gap:6px}
html body.shop-front .sf-buy__notes p{margin:0;color:var(--sf-ink-soft,#3A4A61);font-size:.92rem;line-height:1.5}
html body.shop-front.theme-dark .sf-buy__notes p{color:#B4C2CF!important}

/* === ABOUT_BAND_COMPOSE === */
/* Full-bleed atmospheric band — NOT a second hero split */
html body.shop-front .sf-about-band{
  position:relative;
  display:flex;
  align-items:center;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  min-height:min(42vh,380px);
  max-height:420px;
  padding:56px max(5vw,28px) !important;
  border-radius:0;
  overflow:hidden;
  color:#F4F7FB;
  scroll-margin-top:80px;
  background-color:#0B1117;
  background-image:var(--band-img,none);
  background-size:cover;
  background-position:center 40%;
}
html body.shop-front .sf-about-band::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(100deg,
      rgba(7,12,18,.92) 0%,
      rgba(7,12,18,.78) 42%,
      rgba(7,12,18,.35) 72%,
      rgba(7,12,18,.18) 100%);
  pointer-events:none;
}
html body.shop-front .sf-about-band__inner{
  position:relative;
  z-index:1;
  max-width:560px;
  display:grid;
  gap:14px;
}
html body.shop-front .sf-about-band__title{
  margin:0 !important;
  max-width:none !important;
  color:#fff !important;
  font-size:clamp(1.85rem,3.6vw,2.75rem) !important;
  line-height:1.05 !important;
  letter-spacing:-.02em;
  font-weight:800;
}
html body.shop-front .sf-about-band__lead{
  margin:0 !important;
  max-width:42ch !important;
  color:rgba(244,247,251,.88) !important;
  font-size:1.02rem !important;
  line-height:1.55 !important;
}
html body.shop-front .sf-about-band__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px;
}
html body.shop-front .sf-about-band__actions .btn.primary{
  background:#C8922A!important;
  color:#101820!important;
  border:0!important;
  border-radius:12px!important;
  font-weight:800!important;
  padding:12px 18px!important;
}
html body.shop-front .sf-about-band__actions .btn.ghost{
  border:1px solid rgba(255,255,255,.45)!important;
  color:#fff!important;
  background:rgba(255,255,255,.04)!important;
  border-radius:12px!important;
  font-weight:700!important;
  padding:12px 18px!important;
}
@media (max-width:900px){
  html body.shop-front .sf-about-band{
    min-height:320px;
    max-height:none;
    padding:40px 18px !important;
    background-position:70% center;
  }
  html body.shop-front .sf-about-band::before{
    background:linear-gradient(180deg, rgba(7,12,18,.55) 0%, rgba(7,12,18,.88) 55%, rgba(7,12,18,.94) 100%);
  }
}


/* P0/P1 continue: WhatsApp enquire + full-bag contain SSOT */
html body.shop-front .sf-buy__enquire{
  display:inline-flex;align-items:center;justify-content:center;
  width:fit-content;max-width:100%;margin-top:2px;
  text-decoration:none;font-weight:700;
}
html body.shop-front .sf-gallery__main{
  min-height:min(52vh,420px);
}
html body.shop-front .sf-gallery__main img{
  background:transparent;
}
html body.shop-front .sf-card__media{
  background:#efe8df!important;
}
@media (max-width:700px){
  html body.shop-front .sf-buy__enquire{width:100%;}
}

html body.shop-front .sf-collection-count{margin:6px 0 0;font-size:.92rem;font-weight:700;color:var(--sf-accent-soft,#7a6a58)}


/* Header cart icon (right actions) */
html body.shop-front .auto-actions{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
html body.shop-front a.sf-cart-icon{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  border-radius:12px !important;
  color:var(--sf-ink, #0F2D52) !important;
  text-decoration:none !important;
  border:1px solid var(--sf-line, #E4DCD2) !important;
  background:#fff !important;
  flex:0 0 auto !important;
  opacity:1 !important;
  visibility:visible !important;
  z-index:5 !important;
}
html body.shop-front a.sf-cart-icon svg{
  display:block !important;
  width:22px !important;
  height:22px !important;
}
html body.shop-front a.sf-cart-icon:hover,
html body.shop-front a.sf-cart-icon.is-active{
  border-color:var(--sf-accent,#C9A227) !important;
  color:var(--sf-accent,#C9A227) !important;
}
html body.shop-front a.sf-cart-icon .nav-cart-count{
  position:absolute !important;
  top:2px !important;
  right:2px !important;
  min-width:1.15rem !important;
  height:1.15rem !important;
  padding:0 4px !important;
  margin:0 !important;
  border-radius:999px !important;
  background:var(--sf-accent,#C9A227) !important;
  color:#111 !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1.15rem !important;
  display:grid !important;
  place-items:center !important;
}
html body.shop-front a.sf-cart-icon .nav-cart-count[hidden]{display:none !important}
html body.shop-front.theme-dark a.sf-cart-icon{
  background:#111C26 !important;
  color:#E8EEF5 !important;
  border-color:#3A4A61 !important;
}
@media (max-width:900px){
  html body.shop-front a.sf-cart-icon{
    display:inline-flex !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
  }
}

/* THEME SSOT: product buy actions + contrast */
/* Light --sf-accent is navy (#1E3A5F); dark --sf-accent is gold.
   Never pair #101820 text with navy fill. */

html body.shop-front .sf-buy__cart-form{display:grid;gap:8px;width:fit-content;max-width:100%}

html body.shop-front.theme-light .btn.primary,
html body.shop-front.theme-light .sf-buy .btn.primary,
html body.shop-front.theme-light .sf-buy__cart,
html body.shop-front.theme-light button.sf-buy__cart,
html body.shop-front.theme-light .account-toolbar .btn.primary,
html body.shop-front.theme-light .account-card .btn.primary,
html body.shop-front.theme-light .account-card .btn.primary[type="submit"],
html body.shop-front.theme-light .cart-actions .btn.primary,
html body.shop-front.theme-light .sf-search button,
html body.shop-front.theme-light .sf-search .btn{
  background:var(--sf-accent,#1E3A5F) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:12px !important;
  font-weight:800 !important;
  box-shadow:0 8px 18px rgba(30,58,95,.22) !important;
}

html body.shop-front.theme-dark .btn.primary,
html body.shop-front.theme-dark .sf-buy .btn.primary,
html body.shop-front.theme-dark .sf-buy__cart,
html body.shop-front.theme-dark button.sf-buy__cart,
html body.shop-front.theme-dark .account-toolbar .btn.primary,
html body.shop-front.theme-dark .account-card .btn.primary,
html body.shop-front.theme-dark .cart-actions .btn.primary,
html body.shop-front.theme-dark .sf-search button,
html body.shop-front.theme-dark .sf-search .btn{
  background:var(--sf-accent,#E8B923) !important;
  color:#101820 !important;
  border:0 !important;
  border-radius:12px !important;
  font-weight:800 !important;
  box-shadow:0 8px 18px rgba(200,146,42,.28) !important;
}

html body.shop-front .sf-buy__cart,
html body.shop-front button.sf-buy__cart{
  padding:12px 18px !important;
  width:fit-content;
  max-width:100%;
}

html body.shop-front .sf-buy .btn.ghost,
html body.shop-front .sf-buy__similar,
html body.shop-front .sf-buy__fav{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:fit-content !important;
  max-width:100% !important;
  margin-top:2px !important;
  padding:11px 18px !important;
  border-radius:12px !important;
  border:1.5px solid var(--sf-line,#A89886) !important;
  background:transparent !important;
  color:var(--sf-ink,#14233A) !important;
  font-weight:800 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
html body.shop-front.theme-light .sf-buy .btn.ghost,
html body.shop-front.theme-light .sf-buy__similar,
html body.shop-front.theme-light .sf-buy__fav{
  border-color:#8E7F6C !important;
  color:#14233A !important;
  background:#fff !important;
}
html body.shop-front.theme-light .sf-buy__similar:hover,
html body.shop-front.theme-light .sf-buy__fav:hover{
  border-color:#8A5A00 !important;
  color:#8A5A00 !important;
}
html body.shop-front.theme-dark .sf-buy__similar:hover,
html body.shop-front.theme-dark .sf-buy__fav:hover{
  border-color:var(--sf-accent,#E8B923) !important;
  color:var(--sf-accent,#E8B923) !important;
}
html body.shop-front .sf-buy__fav.is-on{
  border-color:var(--shop-gold,#C8922A) !important;
  background:rgba(200,146,42,.12) !important;
  color:var(--sf-ink,#14233A) !important;
}
html body.shop-front .sf-price{color:var(--sf-ink,#14233A) !important}
html body.shop-front .sf-price-note,
html body.shop-front .sf-buy__sku,
html body.shop-front .sf-product__crumb,
html body.shop-front .sf-gallery__caption{
  color:var(--sf-ink-soft,#3A4A61) !important;
  opacity:1 !important;
}
html body.shop-front.theme-light .sf-gallery__caption,
html body.shop-front.theme-light .sf-price-note,
html body.shop-front.theme-light .sf-buy__sku{
  color:#3A4A61 !important;
}
html body.shop-front .sf-pill{
  background:#EAF0F7 !important;
  color:var(--sf-accent-soft,#2B4C78) !important;
}
html body.shop-front .sf-buy__block{
  background:transparent !important;
  border-top:1px solid var(--sf-line,#E4DCD2) !important;
  color:var(--sf-ink,#14233A) !important;
}
html body.shop-front .sf-buy__block h2{color:var(--sf-ink,#14233A) !important}
html body.shop-front .sf-buy__block p{color:var(--sf-ink-soft,#3A4A61) !important}
html body.shop-front .sf-buy__cart-msg{color:var(--sf-ink-soft,#3A4A61) !important}
html body.shop-front .sf-buy__cart-msg.is-ok{color:#176b36 !important}
html body.shop-front .sf-buy__cart-msg.is-err{color:#b42318 !important}
html body.shop-front.theme-dark .sf-buy__cart-msg.is-ok{color:#9BE7B8 !important}
html body.shop-front.theme-dark .sf-buy__cart-msg.is-err{color:#FFB4A8 !important}
html body.shop-front.theme-dark .cart-warn{color:#FFB4A8 !important}

html body.shop-front.theme-dark .sf-buy .btn.ghost,
html body.shop-front.theme-dark .sf-buy__similar,
html body.shop-front.theme-dark .sf-buy__fav{
  border-color:#5A6B7C !important;
  background:rgba(255,255,255,.06) !important;
  color:#E8EEF5 !important;
}
/* dark ghost hover owned above */
html body.shop-front.theme-dark .sf-buy__fav.is-on{
  background:rgba(200,146,42,.18) !important;
  color:#F2F6FA !important;
}
html body.shop-front.theme-dark .sf-price{color:#E9EEF4 !important}
html body.shop-front.theme-dark .sf-price-note,
html body.shop-front.theme-dark .sf-buy__sku,
html body.shop-front.theme-dark .sf-product__crumb,
html body.shop-front.theme-dark .sf-gallery__caption{color:#B4C2CF !important}
html body.shop-front.theme-dark .sf-pill{
  background:#1B2833 !important;
  color:#E8B923 !important;
}
html body.shop-front.theme-dark .sf-pill--sold{
  background:#3A2422 !important;
  color:#FFB4A8 !important;
}
html body.shop-front.theme-dark .sf-buy__block{
  border-top-color:#28343F !important;
  background:#111C26 !important;
  border-radius:14px !important;
  padding:14px !important;
  margin-top:8px !important;
}
html body.shop-front.theme-dark .sf-buy__block h2{color:#F2F6FA !important}
html body.shop-front.theme-dark .sf-buy__block p,
html body.shop-front.theme-dark .sf-buy__short,
html body.shop-front.theme-dark .sf-buy__care,
html body.shop-front.theme-dark .sf-buy__notes p{color:#B4C2CF !important}
html body.shop-front.theme-dark .sf-buy__title{color:#F2F6FA !important}
html body.shop-front.theme-dark .sf-buy__eyebrow{color:#E8B923 !important}
html body.shop-front.theme-dark .sf-specs dt{color:#E8B923 !important}
html body.shop-front.theme-dark .sf-specs dd{color:#E9EEF4 !important}
html body.shop-front.theme-dark .sf-gallery__thumb{
  background:#111C26 !important;
  border-color:#28343F !important;
}
html body.shop-front.theme-dark .sf-gallery__main{background:#0B1520 !important}

html body.shop-front a.sf-cart-icon{
  color:var(--sf-ink,#14233A) !important;
  background:#fff !important;
  border:1px solid var(--sf-line,#E4DCD2) !important;
}
html body.shop-front.theme-dark a.sf-cart-icon{
  color:#E8EEF5 !important;
  background:#111C26 !important;
  border-color:#3A4A61 !important;
}
html body.shop-front a.sf-cart-icon:hover,
html body.shop-front a.sf-cart-icon.is-active{
  border-color:var(--shop-gold,#C8922A) !important;
  color:var(--shop-gold,#C8922A) !important;
}

html body.shop-front.theme-dark .account-hero h1,
html body.shop-front.theme-dark .account-card h2{color:#F2F6FA !important}
html body.shop-front.theme-dark .account-hero p,
html body.shop-front.theme-dark .muted,
html body.shop-front.theme-dark .account-line,
html body.shop-front.theme-dark .account-welcome,
html body.shop-front.theme-dark .similar-steps{color:#B4C2CF !important}
html body.shop-front.theme-dark .account-card{
  background:#111C26 !important;
  border-color:#28343F !important;
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .account-card label{color:#D0D9E1 !important}
html body.shop-front.theme-dark .account-list li{border-bottom-color:#28343F !important}
html body.shop-front.theme-dark .account-fav-grid article{
  background:#0B1520 !important;
  border-color:#28343F !important;
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .cart-thumb{background:#0B1520 !important}
html body.shop-front.theme-dark .cart-total{color:#F2F6FA !important}
html body.shop-front .account-toolbar .btn.ghost,
html body.shop-front .account-card .btn.ghost{
  border:1.5px solid var(--sf-line,#C9B8A3) !important;
  color:var(--sf-ink,#14233A) !important;
  background:#fff !important;
}
html body.shop-front.theme-dark .account-toolbar .btn.ghost,
html body.shop-front.theme-dark .account-card .btn.ghost{
  border:1.5px solid #5A6B7C !important;
  color:#E8EEF5 !important;
  background:rgba(255,255,255,.04) !important;
}

/* Hero ghost on photo: keep light text; on cream panel use ink */
html body.shop-front.theme-light .sf-hero__copy .btn.ghost{
  color:#14233A !important;
  border-color:#8E7F6C !important;
  background:rgba(255,255,255,.82) !important;
}
html body.shop-front.theme-dark .sf-hero__copy .btn.ghost{
  color:#F2F6FA !important;
  border-color:#5A6B7C !important;
  background:rgba(255,255,255,.06) !important;
}
html body.shop-front.theme-light .sf-hero__copy .btn.primary{
  background:var(--sf-accent,#1E3A5F) !important;
  color:#fff !important;
}
html body.shop-front.theme-dark .sf-hero__copy .btn.primary{
  background:var(--sf-accent,#E8B923) !important;
  color:#101820 !important;
}

@media (max-width:700px){
  html body.shop-front .sf-buy__cart-form,
  html body.shop-front .sf-buy__cart,
  html body.shop-front .sf-buy__similar,
  html body.shop-front .sf-buy__fav{width:100% !important}
}


/* LIGHT_THEME_CONTRAST: footer + forms + secondary text */
html body.shop-front.theme-light .auto-footer,
html body.construction-front.theme-light .auto-footer{
  background:#F5F7F9 !important;
  color:#17202A !important;
  border-top:1px solid #D9DEE5 !important;
}
html body.shop-front.theme-light .auto-footer a,
html body.shop-front.theme-light .auto-footer .footer-pages a,
html body.shop-front.theme-light .auto-footer .footer-hours a,
html body.shop-front.theme-light .auto-footer .footer-contact a{
  color:#1E3A5F !important;
  font-weight:700 !important;
}
html body.shop-front.theme-light .auto-footer a:hover{
  color:#8A5A00 !important;
}
html body.shop-front.theme-light .auto-footer .footer-about b,
html body.shop-front.theme-light .auto-footer .footer-contact b,
html body.shop-front.theme-light .auto-footer .footer-hours b,
html body.shop-front.theme-light .auto-footer .footer-brand strong{
  color:#14233A !important;
}
html body.shop-front.theme-light .auto-footer .footer-about p,
html body.shop-front.theme-light .auto-footer .footer-contact p,
html body.shop-front.theme-light .auto-footer .footer-hours p,
html body.shop-front.theme-light .auto-footer .footer-idno{
  color:#3A4A61 !important;
}
html body.shop-front.theme-light .auto-footer .product-credit,
html body.shop-front.theme-light .product-credit{
  color:#3A4A61 !important;
  border-top-color:#D9DEE5 !important;
}
html body.shop-front.theme-light .auto-footer .product-credit a,
html body.shop-front.theme-light .product-credit a{
  color:#1E3A5F !important;
}

html body.shop-front.theme-light .account-card input,
html body.shop-front.theme-light .account-card textarea,
html body.shop-front.theme-light .contact-form input,
html body.shop-front.theme-light .contact-form textarea,
html body.shop-front.theme-light .sf-search input{
  border:1.5px solid #6F6558 !important;
  background:#fff !important;
  color:#14233A !important;
}
html body.shop-front.theme-light .account-card input:focus,
html body.shop-front.theme-light .account-card textarea:focus,
html body.shop-front.theme-light .contact-form input:focus,
html body.shop-front.theme-light .contact-form textarea:focus,
html body.shop-front.theme-light .sf-search input:focus{
  border-color:#5C3D00 !important;
  outline:2px solid rgba(138,90,0,.35) !important;
}
html body.shop-front.theme-light .account-card label{
  color:#243447 !important;
}
html body.shop-front.theme-light .account-consent,
html body.shop-front.theme-light .account-consent a{
  color:#3A4A61 !important;
}
html body.shop-front.theme-light .account-consent input[type="checkbox"]{
  accent-color:#C8922A;
  outline:1px solid #8E7F6C;
}
html body.shop-front.theme-dark .account-consent input[type="checkbox"]{
  accent-color:#E8B923;
  outline:1px solid #5A6B7C;
}

html body.shop-front.theme-light .account-hero .eyebrow{
  color:#8A5A00 !important;
}
html body.shop-front.theme-light .sf-buy__eyebrow,
html body.shop-front.theme-light .inner-page-hero .eyebrow{
  color:#8A5A00 !important;
}


/* MUTED TEXT SSOT: Genesis .muted also means section soft-bg in style.css.
   That paints empty-cart / cabinet copy as a cream strip under light text. */
html body.shop-front p.muted,
html body.shop-front div.muted,
html body.shop-front span.muted,
html body.shop-front .account-card .muted,
html body.shop-front .account-line.muted,
html body.shop-front .sf-buy__cart-msg.muted{
  background:transparent !important;
  background-image:none !important;
  color:var(--sf-ink-soft,#3A4A61) !important;
  padding:0 !important;
  box-shadow:none !important;
}
html body.shop-front.theme-dark p.muted,
html body.shop-front.theme-dark div.muted,
html body.shop-front.theme-dark span.muted,
html body.shop-front.theme-dark .account-card .muted,
html body.shop-front.theme-dark .account-line.muted,
html body.shop-front.theme-dark .sf-buy__cart-msg.muted{
  color:#B4C2CF !important;
  background:transparent !important;
  background-image:none !important;
}
/* Keep section-level muted bands (promotions/reviews strip) */
html body.shop-front section.muted,
html body.shop-front .auto-section.muted,
html body.shop-front .how-section.muted{
  background:var(--soft, #F3EEE7) !important;
}
html body.shop-front.theme-dark section.muted,
html body.shop-front.theme-dark .auto-section.muted,
html body.shop-front.theme-dark .how-section.muted{
  background:#0C161F !important;
  color:#E9EEF4 !important;
}

/* Empty cart / empty cabinet states */
html body.shop-front .account-card > p.muted:first-child{
  font-size:1.08rem;
  font-weight:700;
  line-height:1.5;
  margin:0 0 6px;
  color:var(--sf-ink,#14233A) !important;
}
html body.shop-front.theme-dark .account-card > p.muted:first-child{
  color:#E9EEF4 !important;
}
html body.shop-front.theme-dark .account-alert.ok{
  background:#163226 !important;
  color:#9BE7B8 !important;
}
html body.shop-front.theme-dark .account-alert.err{
  background:#3A2422 !important;
  color:#FFB4A8 !important;
}



/* ABOUT_BAND_REMOVED */
html body.shop-front .sf-about-band,
html body.shop-front #about.sf-about-band,
html body.shop-front #about.autosport-band{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:0 !important;
  background:none !important;
}
html body.shop-front .sf-about-band::before{content:none !important;display:none !important}


/* === P0/P1/P2 storefront refresh (2026-11) === */
html body.shop-front .sf-hero__media img,
html body.construction-front .sf-hero__media img{
  object-fit:cover !important;
  object-position:center 28% !important;
}
@media (max-width:900px){
  html body.shop-front .sf-hero__media{
    min-height:42vh !important;
    max-height:52vh !important;
  }
  html body.shop-front .sf-hero__media img{
    object-position:center 22% !important;
  }
}
@media (min-width:1200px){
  html body.shop-front .sf-hero{
    height:min(68vh,620px) !important;
    max-height:620px !important;
  }
  html body.shop-front .sf-hero__media img{
    object-position:center 32% !important;
  }
}

html body.shop-front .sf-featured__card{
  display:grid;
  grid-template-columns:minmax(160px,.9fr) minmax(200px,1.1fr);
  gap:18px;
  align-items:center;
  text-decoration:none;
  color:inherit;
  padding:12px;
  border:1px solid rgba(20,35,58,.08);
  background:linear-gradient(180deg,#fff,#F7F3EE);
}
html body.shop-front .sf-featured__card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
}
html body.shop-front .sf-featured__meta{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-start;
}
html body.shop-front .sf-purpose__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
html body.shop-front .sf-purpose__rail{
  padding:14px 16px;
  border:1px solid rgba(20,35,58,.08);
  background:#fff;
}
html body.shop-front .sf-purpose__rail ul{margin:8px 0 0;padding-left:1.1rem}
@media (max-width:900px){
  html body.shop-front .sf-featured__card{grid-template-columns:1fr}
  html body.shop-front .sf-purpose__grid{grid-template-columns:1fr}
}

/* Compact contact hub — one entry for WhatsApp / phone / AI */
html body.shop-front .contact-hub.floating-contacts{
  position:fixed;
  right:14px;
  bottom:96px;
  z-index:998;
  display:block;
  width:auto;
  background:transparent;
  border:0;
  padding:0;
}
html body.shop-front .contact-hub > summary{
  list-style:none;
  cursor:pointer;
  width:52px;
  height:52px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--brand-primary,#C8922A);
  color:#101820;
  box-shadow:0 8px 24px rgba(16,24,32,.18);
}
html body.shop-front .contact-hub > summary::-webkit-details-marker{display:none}
html body.shop-front .contact-hub > summary .fab-label{display:none}
html body.shop-front .contact-hub__menu{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:10px;
  align-items:flex-end;
}
html body.shop-front .contact-hub:not([open]) .contact-hub__menu{display:none}
html body.shop-front .contact-hub .contact-fab{
  width:auto !important;
  min-width:48px;
  height:44px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  text-decoration:none;
  border:0;
  background:#101820;
  color:#F4F5F2;
}
html body.shop-front .contact-hub .contact-fab .fab-label{display:inline !important;font-size:.85rem}
html body.shop-front .contact-hub .fab-icon{width:18px;height:18px;display:inline-grid;place-items:center}
html body.shop-front .contact-hub .fab-icon svg{width:18px;height:18px}
html body.shop-front .ca-launcher[hidden],
html body.shop-front .ca-launcher[aria-hidden="true"]{display:none !important}

html body.shop-front .sf-gallery__thumb img{
  background:linear-gradient(90deg,#ece7e0,#f7f3ee,#ece7e0);
  background-size:200% 100%;
}
html body.shop-front .sf-gallery__thumb img:not([src]),
html body.shop-front .sf-gallery__thumb img[src=""]{
  min-height:100%;
  animation:sf-thumb-pulse 1.2s linear infinite;
}
@keyframes sf-thumb-pulse{
  0%{background-position:0% 0}
  100%{background-position:200% 0}
}
html body.shop-front .cart-qty-fixed{display:block;font-size:.8rem;margin-top:4px}
html body.shop-front .sf-buy__qty-note{margin:6px 0 0}
html body.shop-front .sf-buy__similar--lead{margin-top:8px}


/* Share bag — secondary to Add to cart */
.sf-buy__share {
  width: 100%;
  margin-top: 0.5rem;
}
.sf-buy__cart-form + .sf-buy__qty-note + .sf-buy__share,
.sf-buy__cart-form + .sf-buy__share {
  margin-top: 0.65rem;
}
.sf-collection-story {
  margin: 0.35rem 0 0;
  max-width: 42rem;
  color: var(--muted, #5a5a5a);
  font-size: 0.95rem;
  line-height: 1.45;
}


/* === PDP compact SSOT (2026-11-18) ===
   Fixes tall empty left column: sticky buy + short gallery left a void while
   scrolling long description cards. Gallery stays visible; long copy moves
   below the purchase grid. */
html body.shop-front .sf-product{
  padding:18px max(3vw,16px) 40px !important;
}
html body.shop-front .sf-product__crumb-wrap{margin:0 0 10px}
html body.shop-front .sf-product__crumb{margin-bottom:0 !important}
html body.shop-front .sf-product__grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.9fr) !important;
  gap:20px !important;
  align-items:start !important;
}
html body.shop-front .sf-gallery{
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  gap:10px !important;
  align-items:start !important;
  position:sticky;
  top:calc(var(--ed-header-h, 72px) + 12px);
  align-self:start;
  z-index:2;
}
html body.shop-front .sf-gallery__thumbs{
  max-height:min(56vh,480px) !important;
}
html body.shop-front .sf-gallery__thumb{
  width:72px !important;
  height:72px !important;
}
html body.shop-front .sf-gallery__main{
  margin:0 !important;
  width:100% !important;
  max-width:480px !important;
  aspect-ratio:4 / 5 !important;
  max-height:min(62vh,560px) !important;
  min-height:0 !important;
  height:auto !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:var(--ed-surface-2, #171A1D) !important;
}
html body.shop-front .sf-gallery__main img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}
html body.shop-front .sf-gallery__caption{
  margin:4px 0 0 !important;
  font-size:12px !important;
}
html body.shop-front .sf-buy{
  display:grid !important;
  gap:8px !important;
  padding-top:0 !important;
  position:static !important; /* purchase column stays with gallery row */
}
html body.shop-front .sf-buy .btn,
html body.shop-front .sf-buy__cart-form,
html body.shop-front .sf-buy__share,
html body.shop-front .sf-buy__fav,
html body.shop-front .sf-buy__similar{
  margin-top:0 !important;
}
html body.shop-front .sf-buy__cart-form{gap:6px !important}
html body.shop-front .sf-buy__title{
  font-size:clamp(1.35rem,2vw,1.85rem) !important;
  margin:0 !important;
}
html body.shop-front .sf-buy__short{
  margin:0 !important;
  font-size:.95rem !important;
  line-height:1.45 !important;
}
html body.shop-front .sf-buy__block{
  padding:12px 14px !important;
  border:1px solid var(--sf-line, rgba(255,255,255,.1)) !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.03);
}
html body.shop-front .sf-buy__block h2{
  margin:0 0 6px !important;
  font-size:.95rem !important;
}
html body.shop-front .sf-buy__block p{
  margin:0 !important;
  line-height:1.5 !important;
}
html body.shop-front .sf-product__copy{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:22px;
  width:100%;
}
html body.shop-front .sf-product__copy .sf-buy__block{
  margin:0;
  height:100%;
}
html body.shop-front.theme-dark .sf-buy__block,
html body.shop-front.theme-dark .sf-product__copy .sf-buy__block{
  background:rgba(255,255,255,.04) !important;
  border-color:rgba(255,255,255,.12) !important;
}

@media (max-width:1100px){
  html body.shop-front .sf-product__copy{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  html body.shop-front .sf-gallery{
    position:static !important;
    grid-template-columns:1fr !important;
  }
  html body.shop-front .sf-product__grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  html body.shop-front .sf-gallery__main{
    max-width:none !important;
    max-height:min(48vh,420px) !important;
  }
  html body.shop-front .sf-product__copy{grid-template-columns:1fr;margin-top:16px}
}
