/* Aero-Hill Diesel — Athlete2-inspired Hyvä child (2026-09) */
:root {
  --ah-yellow: #FFBB00;
  --ah-yellow-rgb: 255, 187, 0;
  --ah-dark: #333333;
  --ah-body: #3d3d3d;
  --ah-muted: #f2f2f2;
  --ah-max: 1180px;
}

/* Inter — primary UI / body / heading font (Google Fonts) */
body,
button,
input,
select,
textarea,
.page-wrapper,
.hyva-diesel-home,
.ah-engine-nav,
.ah-util,
.ah-btn,
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}



/* Kill Hyvä page padding so full-bleed sections sit under header */
body.cms-diesel-home .page-main,
body.cms-index-index .page-main,
body.cms-diesel-home .columns,
body.cms-index-index .columns,
body.cms-diesel-home .column.main,
body.cms-index-index .column.main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}
body.cms-diesel-home .page-main > .columns,
body.cms-index-index .page-main > .columns {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hyva-diesel-home {
  color: var(--ah-body);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Yellow highlight bar behind emphasized words (Athlete .hightlighted-text:before) */
.ah-hl {
  font-style: normal;
  position: relative;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, var(--ah-yellow) 62%, var(--ah-yellow) 92%, transparent 92%);
  padding: 0 0.12em;
}

/* ========== HEADER / ATHLETE-LIKE ========== */
.ah-topbar a:hover { filter: brightness(0.95); }

.ah-util {
  background: var(--ah-yellow);
  color: var(--ah-dark);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ah-util__inner {
  max-width: var(--ah-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ah-util__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
}
.ah-util__items span { white-space: nowrap; }
.ah-util a {
  color: var(--ah-dark);
  text-decoration: none;
  font-weight: 800;
}

.ah-engine-nav {
  background: var(--ah-dark) !important;
  border-bottom: none !important;
}
.ah-engine-nav .ah-engine-nav__inner,
.ah-engine-nav > div {
  max-width: var(--ah-max);
  margin: 0 auto;
}
 .ah-engine-nav a {
  color: #fff !important;
  margin-right: 0.35rem;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.85rem 0.65rem !important;
}
.ah-engine-nav a:hover { color: var(--ah-yellow) !important; }
.ah-engine-nav .ah-nav-phone {
  color: var(--ah-yellow) !important;
  margin-left: auto;
}
.ah-engine-nav .ah-nav-sep { display: none; }

.ah-logo-img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}


/* ========== MOBILE HEADER (≤767px) ========== */
/* Topbar base (desktop-friendly; mobile overrides below) */
.ah-topbar {
  background: rgb(51, 51, 51);
}
.ah-topbar__inner {
  max-width: var(--ah-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  box-sizing: border-box;
}
.ah-topbar__msg {
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.3;
  min-width: 0;
}
.ah-topbar__msg-strong {
  font-weight: 600;
  color: var(--ah-yellow);
}
.ah-topbar__msg-secondary {
  color: #9ca3af;
}
.ah-topbar__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none !important;
  background: var(--ah-yellow);
  color: var(--ah-dark) !important;
  white-space: nowrap;
}

/* Engine nav desktop row (default visible ≥768) */
.ah-engine-nav {
  position: relative;
}
.ah-engine-nav__desktop {
  max-width: var(--ah-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  padding: 0 1rem;
  box-sizing: border-box;
}
.ah-engine-nav__mobile {
  display: none;
}
.ah-engine-nav__drawer {
  display: none;
}

@media (max-width: 767px) {
    /* --- Topbar: slim dark strip + Call pill (not full-bleed yellow) --- */
  .ah-topbar__inner {
    justify-content: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    min-height: 44px;
  }
  .ah-topbar__msg {
    display: none;
  }
  .ah-topbar__call {
    width: auto;
    min-height: 40px;
    padding: 0.4rem 1.1rem;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    border-radius: 2px;
  }

  /* --- Logo + icons: force ONE row (Hyvä default uses w-full on logo) --- */
  #header > .container {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  #header > .container > .w-full,
  #header > .container > div.sm\:order-1 {
    width: auto !important;
    max-width: calc(100% - 8.5rem) !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-bottom: 0 !important;
    order: 0 !important;
  }
  #header > .container > .flex.items-center {
    flex-shrink: 0 !important;
    order: 1 !important;
    gap: 0.15rem !important;
  }
  #header .btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .ah-logo-img {
    max-height: 38px !important;
    width: auto !important;
    max-width: 100%;
  }

  /* --- Yellow util: hide on small screens (Call lives in topbar + shop bar) --- */
  .ah-util {
    display: none !important;
  }

  /* --- Logo row: Shop hamburger + search/cart (≥44px) --- */
  .ah-header-shop-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    order: -1;
    min-width: 44px;
    min-height: 44px;
    padding: 0.35rem 0.55rem;
    margin-right: 0.15rem;
    background: transparent;
    border: 1px solid #d4d4d4;
    color: var(--ah-dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 2px;
  }
  .ah-header-shop-btn:hover,
  .ah-header-shop-btn:focus-visible {
    border-color: var(--ah-dark);
    outline: none;
  }
  .ah-header-shop-btn__label {
    line-height: 1;
  }
  @media (max-width: 389px) {
    .ah-header-shop-btn__label { display: none; }
    .ah-header-shop-btn { padding: 0.35rem; min-width: 44px; }
  }

  /* --- Engine nav: no wrapping bar; drawer only when open --- */
  .ah-engine-nav {
    background: transparent !important;
    min-height: 0 !important;
  }
  .ah-engine-nav__desktop {
    display: none !important;
  }
  .ah-engine-nav__mobile {
    display: none !important;
  }
  .ah-engine-nav__drawer {
    display: none;
    flex-direction: column;
    background: #222;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .ah-engine-nav__drawer--open {
    display: flex !important;
  }
  .ah-engine-nav__drawer-link {
    display: flex !important;
    align-items: center;
    min-height: 48px;
    padding: 0.85rem 1rem !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .ah-engine-nav__drawer-link:hover,
  .ah-engine-nav__drawer-link:focus-visible {
    color: var(--ah-yellow) !important;
    background: rgba(255, 255, 255, 0.04);
  }
  .ah-engine-nav__drawer-link--call {
    color: var(--ah-yellow) !important;
    border-bottom: none;
  }

  /* Kill leftover desktop link padding rules on mobile drawer links */
  .ah-engine-nav a.ah-engine-nav__drawer-link {
    padding: 0.85rem 1rem !important;
  }

  /* Prevent any horizontal overflow from header chrome */
  .page-header,
  .ah-topbar,
  .ah-util,
  .ah-engine-nav {
    overflow-x: clip;
    max-width: 100vw;
  }
  /* #header overflow must stay visible so search bar is not clipped */
  #header {
    overflow: visible;
    max-width: 100vw;
  }
}

/* Header shop btn hidden on desktop by default */
.ah-header-shop-btn { display: none; }

@media (min-width: 768px) {
  .ah-header-shop-btn {
    display: none !important;
  }
  .ah-engine-nav__mobile,
  .ah-engine-nav__drawer {
    display: none !important;
  }
  .ah-engine-nav__desktop {
    display: flex !important;
  }
  .ah-engine-nav__desktop a {
    color: #fff !important;
    margin-right: 0.35rem;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.85rem 0.65rem !important;
  }
  .ah-engine-nav__desktop a:hover {
    color: var(--ah-yellow) !important;
  }
  .ah-engine-nav__desktop .ah-nav-phone {
    color: var(--ah-yellow) !important;
    margin-left: auto;
  }
}
/* ========== /MOBILE HEADER ========== */

/* ========== HERO (Revslider approx) ========== */
.ah-hero--bleed {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .ah-hero--bleed { min-height: 500px; }
}
.ah-hero__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
  overflow: hidden;
}
.ah-hero__bg picture,
.ah-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ah-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.72) 55%, rgba(20,20,20,.85) 100%);
}
.ah-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 3.25rem 1.25rem 3.5rem;
}
.ah-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ah-yellow);
}
.ah-hero__title {
  margin: 0 0 1.55rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}
.ah-hero__title .ah-hl {
  color: #111;
  background-image: none;
  background-color: var(--ah-yellow);
  display: inline-block;
  padding: 0.14em 0.28em 0.16em;
  margin: 0.18em 0 0.35em;
  line-height: 1.12;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  position: relative;
  z-index: 2;
}
.ah-hero__sub {
  margin: 0.5rem auto 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
  position: relative;
  z-index: 2;
  padding-top: 0.35rem;
}
.ah-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.ah-btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  border: 2px solid transparent;
}
.ah-btn--yellow {
  background: var(--ah-yellow);
  color: var(--ah-dark) !important;
  border-color: var(--ah-yellow);
}
.ah-btn--dark {
  background: var(--ah-dark);
  color: #fff !important;
  border-color: #fff;
}
.ah-btn:hover { filter: brightness(1.05); }

/* ========== OX-STYLE CARDS ========== */
.ah-cards--main {
  background: var(--ah-muted);
  padding: 1.5rem 1rem 0.5rem;
}
.ah-cards__grid {
  max-width: var(--ah-max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.ah-cards__grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .ah-cards__grid--2 { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}

.ah-oxcard {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  background: transparent;
  border: 3px solid transparent; /* transparent + transparent bg = no black frame */
  outline: none;
  box-shadow: none;
  min-height: 240px;
  transition: border-color .15s ease, transform .15s ease;
}
@media (min-width: 768px) {
  .ah-oxcard { min-height: 300px; }
}
.ah-oxcard img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ah-oxcard picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
}
.ah-oxcard picture img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .ah-oxcard img,
  .ah-oxcard picture,
  .ah-oxcard picture img { min-height: 300px; }
}
.ah-oxcard:hover {
  border-color: var(--ah-yellow);
}
.ah-oxcard:hover img {
  transform: scale(1.04);
}
.ah-oxcard:focus-visible {
  border-color: var(--ah-yellow);
}
.ah-oxcard__labels {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 90%;
  z-index: 2;
}
.ah-oxcard__title {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  line-height: 1.2;
}
.ah-oxcard__cta {
  display: inline-block;
  background: var(--ah-yellow);
  color: #111;
  font-size: 0.85rem;
  font-weight: 800;
  font-style: normal;
  padding: 0.4rem 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ========== REMAN BAND ========== */
.ah-reman-band {
  text-align: center;
  padding: 2.5rem 1rem 1.25rem;
  background: #fff;
}
.ah-reman-band__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
}
.ah-reman-band__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ah-dark);
}

.ah-reman-row {
  max-width: var(--ah-max);
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 960px) {
  .ah-reman-row {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}
.ah-machine {
  background: var(--ah-muted);
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
}
.ah-machine__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ah-machine__label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.ah-machine__select {
  width: 100%;
  padding: 0.55rem 0.5rem;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.95rem;
}
.ah-machine__hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #666;
}
.ah-machine__hint a { color: var(--ah-dark); font-weight: 700; }

/* ========== QUOTE ========== */
.ah-quote {
  text-align: center;
  padding: 2.5rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}
.ah-quote blockquote {
  margin: 0 0 1.25rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ah-dark);
}
.ah-quote__accent {
  width: 3.5rem;
  height: 0.35rem;
  margin: 0 auto 1.25rem;
  background: var(--ah-yellow);
  border-radius: 2px;
}
.ah-quote img {
  margin: 0 auto;
  max-width: 280px;
  height: auto;
  display: block;
}

/* ========== CALL STRIP ========== */
.ah-callstrip {
  background: var(--ah-dark);
  color: #fff;
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 1.25rem;
  max-width: none;
}
@media (min-width: 800px) {
  .ah-callstrip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 2rem;
  }
}
.ah-callstrip__item {
  text-align: center;
}
.ah-callstrip__item a {
  color: #fff;
  text-decoration: none;
}
.ah-callstrip__kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  margin-bottom: 0.2rem;
}
.ah-callstrip__strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ah-yellow);
}

/* ========== FOOTER BREATHING ROOM (tightened ~25–30%; links + map) ========== */
/* Full-bleed chrome; inset lives on inner containers */
.page-footer,
.page-footer .footer.content,
.page-footer .ah-footer {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box;
}
.page-footer .footer.content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Light grey footer: ~40×28–32px (was 56×40) */
.ah-footer > .ah-footer__inner,
.ah-footer > .container {
  max-width: var(--ah-max) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2.5rem 1.875rem 2.5rem !important; /* 40px / 30px */
  box-sizing: border-box !important;
}
@media (max-width: 767px) {
  .ah-footer > .ah-footer__inner,
  .ah-footer > .container {
    padding: 2rem 1.25rem 2.25rem !important;
  }
}

/* Column row: Engines+Company+Hours | compact map */
.ah-footer__cols,
.ah-footer > .ah-footer__inner > .flex,
.ah-footer > .container > .flex {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 2rem 2rem !important;
  align-items: start;
  width: 100%;
}
@media (min-width: 768px) {
  .ah-footer__cols,
  .ah-footer > .ah-footer__inner > .flex,
  .ah-footer > .container > .flex {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  }
}
@media (min-width: 1024px) {
  .ah-footer__cols,
  .ah-footer > .ah-footer__inner > .flex,
  .ah-footer > .container > .flex {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  }
}
/* Neutralize Tailwind width utilities that fight the grid */
.ah-footer__cols > .md\:w-1\/2,
.ah-footer__cols > .lg\:w-1\/4,
.ah-footer__cols > .w-full,
.ah-footer__cols > [class*="w-"],
.ah-footer .ah-footer__col,
.ah-footer .md\:w-1\/2,
.ah-footer .lg\:w-1\/4 {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0.35rem !important;
  padding-right: 0.5rem !important;
  box-sizing: border-box;
}

/* Headers + link list vertical rhythm (~14px gaps) */
.ah-footer nav h2,
.ah-footer #footer-newsletter-heading,
.ah-footer #currency-heading,
.ah-footer .ah-footer__map-title {
  margin: 0 0 1rem 0 !important;
  letter-spacing: 0.06em;
}
.ah-footer nav ul,
.ah-footer__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.ah-footer nav ul li,
.ah-footer nav ul li.mt-4,
.ah-footer__list li {
  margin-top: 0 !important;
  margin-bottom: 0.875rem !important; /* ~14px between links */
  line-height: 1.65 !important;
  padding: 0 !important;
}
.ah-footer nav ul li:last-child,
.ah-footer__list li:last-child {
  margin-bottom: 0 !important;
}
.ah-footer nav ul li a,
.ah-footer__list li a {
  line-height: 1.65 !important;
  display: inline-block;
  padding: 0.15rem 0;
}

/* Hide newsletter / currency if parent still emits them */
.ah-footer form.subscribe,
.ah-footer [x-data="initCurrencySwitcher"],
.ah-footer .form.subscribe,
.ah-footer #footer-newsletter-heading,
.ah-footer #currency-heading {
  display: none !important;
}

/* Map column — compact height (~200px), not a tall square */
.ah-footer__map {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
@media (max-width: 767px) {
  .ah-footer__map {
    max-width: none;
    margin-left: 0;
  }
}
.ah-footer__map-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 200px;
  min-height: 180px;
  max-height: 220px;
  overflow: hidden;
  border-radius: 0.375rem;
  border: 1px solid #d4d4d4;
  background: #e8e8e8;
  aspect-ratio: auto;
}
.ah-footer__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ah-footer__map-addr {
  margin: 0.65rem 0 0 !important;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #555;
  max-width: 420px;
}
.ah-footer__map-addr a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Links inner: Engines | Company | Hours (force 3-col; Tailwind grid-cols-3 may be absent) */
.ah-footer__col--links > .grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.5rem !important;
  width: 100%;
}
@media (min-width: 640px) {
  .ah-footer__col--links > .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hours column text */

.ah-footer__hours .ah-footer__list li {
  margin-bottom: 0.75rem !important;
}
.ah-footer__hours-note {
  line-height: 1.5 !important;
}

/* Dark sub-footer bar: ~26×30px (was 36×40) */
.ah-footer-bar {
  background: rgb(51, 51, 51) !important;
}
.ah-footer-bar > .ah-footer-bar__inner,
.ah-footer-bar > .container {
  max-width: var(--ah-max) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 1.625rem 1.875rem !important; /* ~26px / 30px */
  box-sizing: border-box !important;
}
@media (max-width: 767px) {
  .ah-footer-bar > .ah-footer-bar__inner,
  .ah-footer-bar > .container {
    padding: 1.35rem 1.25rem !important;
  }
}
.ah-footer-bar p {
  margin: 0 !important;
}
.ah-footer-bar p + p {
  margin-top: 0.45rem !important;
}

/* Footer accents */
.ah-footer .action.primary,
.ah-footer button[type="submit"],
.ah-footer .btn.btn-primary {
  background-color: var(--ah-yellow) !important;
  border-color: var(--ah-yellow) !important;
  color: var(--ah-dark) !important;
}
.page-footer a[href="https://hyva.io"] { display: none !important; }

/* PDP Call for Price */
.catalog-product-view .ah-call-for-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--ah-yellow);
  color: var(--ah-dark);
  border: 2px solid var(--ah-yellow);
}
.catalog-product-view .ah-call-for-price:hover { filter: brightness(0.97); }
.catalog-product-view .ah-call-secondary {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--ah-dark);
}

/* === AH CATEGORY / PLP 2026-09 === */

/* Category page breathing */
body.catalog-category-view .page-main {
  padding-top: 0 !important;
}
body.catalog-category-view .breadcrumbs {
  background: #f7f7f7 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
body.catalog-category-view .breadcrumbs .items,
body.catalog-category-view .breadcrumbs .item {
  font-size: 0.8rem;
  font-weight: 600;
}
body.catalog-category-view .breadcrumbs a { color: var(--ah-dark); }
body.catalog-category-view .breadcrumbs strong { color: #666; }

.ah-cat-title,
body.catalog-category-view .page-title {
  max-width: var(--ah-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  color: var(--ah-dark) !important;
  letter-spacing: -0.02em;
}

/* Compact industrial hero band */
.ah-cat-hero {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  margin: 0 0 1.5rem;
  background: #1a1a1a;
  color: #fff;
}
@media (min-width: 768px) {
  .ah-cat-hero { min-height: 240px; }
}
.ah-cat-hero__bg {
  position: absolute;
  inset: 0;
}
.ah-cat-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ah-cat-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.35) 100%);
}
.ah-cat-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ah-max);
  margin: 0 auto;
  padding: 1.75rem 1rem;
}
@media (min-width: 768px) {
  .ah-cat-hero__inner { padding: 2.25rem 1.25rem; }
}
.ah-cat-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-yellow);
}
.ah-cat-hero__lede {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
}
.ah-cat-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.ah-cat-hero .ah-btn,
.ah-parts-splash .ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
}
.ah-cat-hero .ah-btn--primary {
  background: var(--ah-yellow);
  color: var(--ah-dark);
  border-color: var(--ah-yellow);
}
.ah-cat-hero .ah-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.ah-cat-hero .ah-btn--ghost:hover { border-color: var(--ah-yellow); color: var(--ah-yellow); }

/* Parts search splash */
.ah-parts-splash {
  max-width: var(--ah-max);
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.ah-parts-splash__card {
  background: #111;
  color: #fff;
  border-top: 4px solid var(--ah-yellow);
  padding: 1.75rem 1.25rem;
}
@media (min-width: 768px) {
  .ah-parts-splash__card { padding: 2.25rem 2rem; }
}
.ah-parts-splash__title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.ah-parts-splash__sub {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  line-height: 1.45;
}
.ah-parts-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 40rem;
}
.ah-parts-search__input {
  flex: 1 1 14rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 2px solid #333;
  background: #fff;
  color: var(--ah-dark);
  font-size: 1rem;
  font-weight: 600;
}
.ah-parts-search__input:focus {
  outline: 2px solid var(--ah-yellow);
  border-color: var(--ah-yellow);
}
.ah-parts-search__btn {
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  background: var(--ah-yellow);
  color: var(--ah-dark);
  border: 2px solid var(--ah-yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.ah-parts-search__btn:hover { filter: brightness(0.97); }
.ah-parts-splash__hint {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,.75);
}
.ah-parts-splash__hint a {
  color: var(--ah-yellow);
  font-weight: 800;
  text-decoration: none;
}

.ah-parts-splash__browse { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); }
.ah-parts-splash__browse-label { margin: 0 0 0.65rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ah-parts-splash__browse-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.ah-parts-splash__browse-links a {
  display: inline-flex; align-items: center; padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none;
  font-size: 0.82rem; font-weight: 700;
}
.ah-parts-splash__browse-links a:hover { border-color: var(--ah-yellow); color: var(--ah-yellow); }


/* PLP cards */
body.catalog-category-view .products.wrapper {
  max-width: var(--ah-max);
  margin-left: auto;
  margin-right: auto;
}
body.catalog-category-view .products.wrapper ul[role="list"] {
  gap: 1.15rem !important;
}
.ah-plp-card {
  border: 1px solid #e6e6e6 !important;
  border-radius: 0 !important;
  background: #fff;
  padding: 1rem 1rem 1.15rem !important;
  box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ah-plp-card:hover {
  border-color: var(--ah-yellow) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.ah-plp-card__photo img,
.ah-plp-card .product-image-photo {
  max-height: 220px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.ah-plp-card__sku {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
}
.ah-plp-cfp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 18rem;
  padding: 0.7rem 0.9rem;
  background: var(--ah-yellow);
  color: var(--ah-dark) !important;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none !important;
  text-align: center;
  border: 2px solid var(--ah-yellow);
}
.ah-plp-cfp:hover { filter: brightness(0.97); }
.ah-plp-view {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ah-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hide Magento default ATC remnants if any slip through */
body.catalog-category-view .ah-plp-card .price-box,
body.catalog-category-view .ah-plp-card [data-addto="cart"],
body.catalog-category-view .box-tocart { display: none !important; }

/* Category description polish */
body.catalog-category-view .category-description {
  max-width: var(--ah-max);
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
  color: var(--ah-body);
  font-size: 1rem;
  line-height: 1.55;
}
body.catalog-category-view #category-view-container,
body.catalog-category-view .category-view.container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 767px) {
  .ah-cat-hero__lede { font-size: 0.98rem; }
  .ah-parts-splash__title { font-size: 1.35rem; }
  .ah-plp-cfp { font-size: 0.78rem; padding: 0.65rem 0.75rem; }
}

/* ---- Manufacturer subcategory browse grid (New / Rebuilt parents) ---- */
.ah-mfr-grid {
  margin: 0 auto 2.25rem;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) 0.75rem; /* 24–40px side padding */
  max-width: 1140px;
  width: 100%;
  box-sizing: border-box;
}
.ah-mfr-grid__title {
  margin: 0 0 0.3rem;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1f1f1f;
}
.ah-mfr-grid__sub {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #555;
}
.ah-mfr-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.9rem;
}
@media (min-width: 640px) {
  .ah-mfr-grid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.1rem; }
}
@media (min-width: 900px) {
  .ah-mfr-grid__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
}
@media (min-width: 1100px) {
  .ah-mfr-grid__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem 1.35rem; }
}
.ah-mfr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #222;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ah-mfr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  color: #fff;
}
.ah-mfr-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  max-height: 140px;
  background: #111;
  position: relative;
  overflow: hidden;
}
.ah-mfr-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ah-mfr-card__initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ah-yellow, #ffbb00);
  background: linear-gradient(145deg, #2a2a2a, #111);
}
.ah-mfr-card__name {
  display: block;
  padding: 0.5rem 0.65rem 0.1rem;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}
.ah-mfr-card__cta {
  display: block;
  padding: 0 0.65rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ah-yellow, #ffbb00);
}
/* Hide empty product message on New/Rebuilt parents when mfr grid is present */
.ah-mfr-grid ~ .products.wrapper .message.info.empty,
.column.main:has(.ah-mfr-grid) .message.info.empty {
  display: none;
}

/* ---- Mfr grid class aliases (manufacturer-grid.phtml + legacy) ---- */
.ah-mfr-grid__card { display: flex; flex-direction: column; height: 100%; background: #222; border-radius: 0.5rem; overflow: hidden; text-decoration: none; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); transition: transform .15s ease, box-shadow .15s ease; }
.ah-mfr-grid__card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); color: #fff; }
.ah-mfr-grid__img { display: block; aspect-ratio: 16 / 9; max-height: 140px; background: #111; position: relative; overflow: hidden; }
.ah-mfr-grid__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-mfr-grid__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 800; color: var(--ah-yellow, #ffbb00); background: linear-gradient(145deg, #2a2a2a, #111); }
.ah-mfr-grid__name { display: block; padding: 0.5rem 0.65rem 0.1rem; font-size: 0.88rem; font-weight: 800; line-height: 1.25; color: #fff; }
.ah-mfr-grid__item { margin: 0; padding: 0; }

/* Force-hide Magento empty products message on manufacturer landings */
body.catalog-category-view:has(.ah-mfr-grid) .message.info.empty,
body.catalog-category-view:has(.ah-mfr-grid) .toolbar-products {
  display: none !important;
}



/* Desktop: engine nav must remain visible on ALL pages including category PLPs */
@media (min-width: 768px) {
  .ah-engine-nav,
  .ah-engine-nav__desktop {
    display: flex !important;
  }
  .ah-engine-nav__desktop {
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.catalog-category-view .ah-engine-nav,
  body.catalog-category-view .ah-engine-nav__desktop {
    display: flex !important;
  }
}

/* ========== MANUFACTURER GRID + ENGINE-NAV HARDENING ========== */
.catalog-category-view .ah-engine-nav,
.cms-index-index .ah-engine-nav,
.page-header .ah-engine-nav {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 40 !important;
  background: var(--ah-dark) !important;
  min-height: 2.75rem !important;
}
@media (min-width: 768px) {
  .catalog-category-view .ah-engine-nav__desktop,
  .cms-index-index .ah-engine-nav__desktop,
  .page-header .ah-engine-nav__desktop {
    display: flex !important;
    visibility: visible !important;
  }
}
/* Manufacturer grid — constrained / padded (overrides earlier block) */
.ah-mfr-grid {
  margin: 1.25rem auto 2rem !important;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) 0.85rem !important; /* 24–40px sides */
  max-width: 1140px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}
.ah-mfr-grid__head { margin-bottom: 0.85rem !important; }
.ah-mfr-grid__title { margin: 0 0 0.3rem !important; font-size: 1.28rem !important; font-weight: 800 !important; color: var(--ah-dark) !important; }
.ah-mfr-grid__sub { margin: 0 0 0.85rem !important; color: #555 !important; font-size: 0.92rem !important; }
.ah-mfr-grid__list {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.9rem 1rem !important;
}
@media (min-width: 640px) {
  .ah-mfr-grid__list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem 1.15rem !important; }
}
@media (min-width: 900px) {
  .ah-mfr-grid__list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1.1rem 1.25rem !important; }
}
@media (min-width: 1100px) {
  .ah-mfr-grid__list { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 1.15rem 1.35rem !important; }
}
.ah-mfr-grid__item { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ah-mfr-card {
  display: flex !important; flex-direction: column !important; align-items: stretch !important;
  justify-content: flex-start !important; gap: 0.2rem !important; min-height: 0 !important; height: 100% !important;
  padding: 0 0 0.4rem !important; text-decoration: none !important; color: var(--ah-dark) !important;
  background: #fff !important; border: 1px solid #e5e5e5 !important; border-radius: 4px !important; box-sizing: border-box !important;
  overflow: hidden !important;
}
.ah-mfr-card:hover, .ah-mfr-card:focus-visible {
  border-color: var(--ah-dark) !important; box-shadow: 0 4px 14px rgba(0,0,0,.08) !important; outline: none !important;
}
.ah-mfr-card__media {
  display: block !important; width: 100% !important; height: 140px !important; max-height: 140px !important;
  aspect-ratio: 16 / 9 !important; overflow: hidden !important; background: #111 !important;
}
.ah-mfr-card__media img {
  width: 100% !important; height: 140px !important; max-height: 140px !important;
  object-fit: cover !important; display: block !important;
}
.ah-mfr-card__initial {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; height: 140px !important; border-radius: 0 !important; background: #1a1a1a !important;
  color: var(--ah-yellow, #ffbb00) !important; font-weight: 800 !important; font-size: 1.5rem !important;
}
.ah-mfr-card__name {
  text-align: center !important; font-size: 0.78rem !important; font-weight: 700 !important; line-height: 1.2 !important;
  text-transform: uppercase !important; letter-spacing: 0.03em !important;
  padding: 0.35rem 0.4rem 0 !important; margin: 0 !important;
}
.ah-mfr-card__cta {
  text-align: center !important; font-size: 0.6rem !important; font-weight: 700 !important;
  letter-spacing: 0.06em !important; text-transform: uppercase !important; color: #c47a00 !important;
  padding: 0 0.4rem 0.15rem !important; margin: 0 !important;
}



/* ---- Search-by-Machine selector (MageArray-style) ---- */
.ah-machine-selector.block-categoryfilters {
  clear: both;
  background: #F2F2F2;
  width: 100%;
  padding: 1.15rem 1.25rem 1.25rem;
  margin: 0 0 1.5rem;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
}
.ah-machine-selector__title.block-title {
  border: 0;
  margin: 0 0 0.35rem;
  padding: 0;
}
.ah-machine-selector__title strong,
.ah-machine-selector__title span {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ah-dark, #333);
}
.ah-machine-selector__hint {
  margin: 0 0 0.85rem;
  color: #666;
  font-size: 0.88rem;
  line-height: 1.4;
}
.ah-machine-selector__content.block-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  padding: 0;
}
.ah-machine-selector__field.select-outer {
  float: none;
  margin: 0;
  width: min(100%, 280px);
  flex: 1 1 220px;
  font-size: 0.9rem;
}
.ah-machine-selector__field label {
  display: block;
  width: 100%;
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: #666;
}
.ah-machine-selector__field select {
  display: block;
  width: 100%;
  min-height: 37px;
  margin: 0;
  padding: 0.4rem 0.55rem;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: var(--ah-dark, #333);
}
.ah-machine-selector__field select:disabled {
  opacity: 0.65;
  background: #fafafa;
}
.ah-machine-selector__status {
  flex: 1 1 100%;
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
}
.ah-machine-selector__status--err { color: #a40000; }
[x-cloak] { display: none !important; }

/* === QUIET UTIL CHROME (2026-09-04) === */
.ah-util,
.ah-util.ah-util--quiet {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  border-bottom: 1px solid #e5e7eb !important;
}
.ah-util__inner {
  padding: 0.28rem 1rem !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  justify-content: flex-start !important;
  gap: 0.5rem 1.25rem !important;
}
.ah-util__items { gap: 0.5rem 1.25rem !important; }
.ah-util a,
.ah-util__link {
  color: #374151 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.ah-util a:hover,
.ah-util__link:hover {
  color: #111827 !important;
  text-decoration: underline !important;
}
.ah-util__loc,
.ah-util__extra {
  color: #6b7280 !important;
  font-weight: 500 !important;
  text-transform: none !important;
}
.ah-util__phone { display: none !important; }
@media (max-width: 767px) {
  .ah-util { display: none !important; }
  .ah-topbar__inner { justify-content: center; }
  .ah-topbar__msg { display: none !important; }
}

/* mike lock topbar meta 20260904 */
.ah-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.ah-topbar__meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-size: 0.8125rem; opacity: 0.95; }
.ah-topbar__loc { white-space: nowrap; }
.ah-topbar__ship { text-decoration: underline; text-underline-offset: 2px; }
.ah-util--quiet { font-size: 0.75rem; opacity: 0.8; padding-block: 0.35rem; }
.ah-util--quiet .ah-util__items { gap: 0.75rem; }

/* mike contact far-right 20260904 */
.ah-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.ah-topbar__meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-size: 0.8125rem; opacity: 0.95; }
.ah-topbar__ship { text-decoration: underline; text-underline-offset: 2px; }
.ah-engine-nav__desktop { display: flex !important; align-items: center; gap: 1.25rem; width: 100%; }
.ah-engine-nav__desktop .ah-engine-nav__contact { margin-left: auto !important; }
@media (max-width: 767px) {
  .ah-engine-nav__desktop .ah-engine-nav__contact { margin-left: 0; }
}

/* mike inline search QA fix 20260904b */
/* Cause of QA FAIL: flex parent shrunk input to 0; only submit (magnifying glass) remained.
   Alpine @submit.prevent also blocked native catalogsearch when Alpine/searchOpen flaky. */
.page-header,
#header {
  overflow: visible !important;
}
#menu-search-icon {
  display: none !important;
}
#header > .container {
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.ah-header-tools {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.35rem !important;
  min-width: 0 !important;
}
.ah-inline-search {
  display: block !important;
  flex: 1 1 14rem !important;
  flex-shrink: 1 !important;
  min-width: 10rem !important;
  max-width: 24rem !important;
  width: auto !important;
  margin: 0 0.25rem 0 0.5rem !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}
.ah-inline-search__wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ah-inline-search__form,
#search_mini_form.form.minisearch,
.ah-inline-search #search_mini_form {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  visibility: visible !important;
}
.ah-inline-search #search_mini_form .input-group,
.ah-inline-search #search_mini_form .relative.grow {
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 8rem !important;
  visibility: visible !important;
}
.ah-inline-search input#search,
.ah-inline-search input.form-input,
.ah-inline-search__input,
input#search.ah-inline-search__input {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 8rem !important;
  max-width: none !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0.4rem 0.75rem !important;
  margin: 0 !important;
  border: 1px solid #d1d5db !important;
  border-right: none !important;
  border-radius: 0.25rem 0 0 0.25rem !important;
  background: #f4f4f4 !important;
  color: #111827 !important;
  font-size: 0.875rem !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.ah-inline-search #search_mini_form button[type="submit"],
.ah-inline-search__form button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 42px !important;
  width: 42px !important;
  min-height: 40px !important;
  height: 40px !important;
  border-radius: 0 0.25rem 0.25rem 0 !important;
  padding: 0.35rem !important;
}
.ah-inline-search__kbd {
  display: none !important;
}
/* Mobile: keep input visible in logo row */
@media (max-width: 767px) {
  #header > .container > .w-full,
  #header > .container > div.sm\:order-1 {
    max-width: 35% !important;
    flex: 0 1 auto !important;
  }
  .ah-inline-search {
    flex: 1 1 8rem !important;
    min-width: 7rem !important;
    max-width: none !important;
  }
  .ah-inline-search input#search,
  .ah-inline-search input.form-input,
  .ah-inline-search__input {
    min-height: 44px !important;
    height: 44px !important;
    min-width: 6rem !important;
    font-size: 0.8125rem !important;
  }
  .ah-inline-search #search_mini_form button[type="submit"] {
    min-width: 44px !important;
    width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
  }
}

/* AH-PDP-SKU-COMPARE */
/* PDP: hide compare (scale) icon; baseline-align attribute rows */
#add-to-compare,
[data-addto="compare"],
.product-info-main [data-addto="compare"] {
  display: none !important;
}
#product-details > .flex {
  align-items: baseline;
}
#product-details .product-detail-label,
#product-details .product-detail-value {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  padding-top: 0;
  padding-bottom: 0;
}
#product-details .product-detail-value {
  margin-left: 0.5rem;
}
