/* ==========================================================================
   Pool Chemicals Delivered — retail stylesheet (v2.4.12)
   Visual reference: ThemeForest SS Autoparts / ss-autoparts-demo.myshopify.com
   Palette: white body, deep blue #0B5FA5 / bright #00AEEF, orange #F7941D / #FF8C00 CTAs, Poppins
   ========================================================================== */

:root {
  --gpw-white: #ffffff;
  --gpw-body-bg: #ffffff;
  --gpw-body-text: #444444;
  --gpw-title: #0A2F4F;
  --gpw-title-hover: #F7941D;
  --gpw-gold: #F7941D; /* brand orange (legacy token name) */
  --gpw-price: #F7941D;
  --gpw-sale: #FF8C00;
  --gpw-hot: #ec0101;
  --gpw-btn: #0B5FA5;
  --gpw-btn-hover: #FF8C00;
  --gpw-btn-text: #ffffff;
  --gpw-border: #e8e9eb;
  --gpw-border-strong: #dddddd;
  --gpw-muted: #777777;
  --gpw-oldprice: #999999;
  --gpw-checkout: #00AEEF;
  --gpw-topbar: #0A3D6B;
  --gpw-footer-bg: #0A2F4F;
  --gpw-slate-50: #f7f7f8;
  --gpw-slate-100: #f1f2f4;
  --gpw-slate-200: #e8e9eb;
  --gpw-slate-300: #dddddd;
  --gpw-slate-500: #777777;
  --gpw-slate-600: #555555;
  --gpw-slate-700: #444444;
  --gpw-slate-800: #333333;
  --gpw-slate-900: #0A2F4F;
  /* Brand aliases */
  --gpw-navy: #0A3D6B;
  --gpw-navy-deep: #0A2F4F;
  --gpw-blue: #0B5FA5;
  --gpw-blue-bright: #00AEEF;
  --gpw-orange: #F7941D;
  --gpw-orange-hot: #FF8C00;
  --gpw-orange-400: #F5A623;
  --gpw-orange-500: #F7941D;
  --gpw-orange-600: #FF8C00;
  --gpw-orange-700: #E67E00;
  --gpw-orange-100: #FFF4E5;
  --gpw-orange-800: #C46A00;
  --gpw-amber-400: var(--gpw-gold);
  --gpw-amber-500: var(--gpw-gold);
  --gpw-amber-600: var(--gpw-btn-hover);
  --gpw-amber-700: #E67E00;
  --gpw-amber-100: #FFF4E5;
  --gpw-amber-800: #C46A00;
  --gpw-radius: 10px;
  --gpw-radius-sm: 6px;
  --gpw-shadow: 0 1px 3px rgba(0,0,0,0.06);
  --gpw-shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --gpw-max: 75rem;
  --gpw-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--gpw-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gpw-body-text);
  background: var(--gpw-body-bg);
  -webkit-font-smoothing: antialiased;
}

img, video, svg, iframe, table { max-width: 100%; }
img, video { height: auto; }
img { display: block; }
a { color: var(--gpw-body-text); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gpw-blue-bright); text-decoration: none; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { color: var(--gpw-title); line-height: 1.3; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1em; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

.gpw-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--gpw-topbar); color: #fff; padding: 0.75rem 1rem;
}
.gpw-skip-link:focus { left: 0; }

.gpw-container {
  width: min(100% - 2rem, var(--gpw-max));
  margin-inline: auto;
  padding-inline: 0;
}
@media (max-width: 480px) {
  .gpw-container { width: min(100% - 1.5rem, var(--gpw-max)); }
}

/* ---------- Buttons (deep blue #0B5FA5, orange #FF8C00 hover) ---------- */
.gpw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.75rem 1.4rem; border-radius: var(--gpw-radius-sm);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.gpw-btn--primary,
.gpw-btn--amber,
.gpw-btn--orange,
.gpw-btn--navy,
.gpw-btn--secondary {
  background: var(--gpw-btn); color: var(--gpw-btn-text);
}
.gpw-btn--primary:hover,
.gpw-btn--amber:hover,
.gpw-btn--orange:hover,
.gpw-btn--navy:hover,
.gpw-btn--secondary:hover {
  background: var(--gpw-btn-hover); color: #fff;
}
.gpw-btn--ghost {
  background: #fff; color: var(--gpw-title); border-color: var(--gpw-border-strong);
}
.gpw-btn--ghost:hover { border-color: var(--gpw-btn-hover); color: var(--gpw-btn-hover); background: #fff; }
.gpw-btn--outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.55);
}
.gpw-btn--outline-light:hover { border-color: var(--gpw-gold); color: var(--gpw-gold); }
.gpw-btn--gold {
  background: var(--gpw-gold); color: #111;
}
.gpw-btn--gold:hover { background: var(--gpw-btn-hover); color: #fff; }

.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--gpw-btn) !important;
  color: #fff !important;
  border-radius: var(--gpw-radius-sm) !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 0.7rem 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8125rem !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--gpw-btn-hover) !important;
}

/* ---------- Header (Autoparts style1: dark top bar + white main + sticky) ---------- */
.gpw-header {
  border-bottom: 1px solid var(--gpw-border);
  background: #fff;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.gpw-header--navy { background: #fff; }
.gpw-header__top {
  background: var(--gpw-topbar); color: #bbb; font-size: 0.75rem;
  border-bottom: 0;
}
.gpw-header__top-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 0.45rem 0; flex-wrap: wrap;
}
.gpw-header__top a { color: var(--gpw-gold); }
.gpw-header__top a:hover { color: #fff; }
.gpw-header__tagline { margin: 0; color: #999; }
.gpw-header__support { margin: 0; }
.gpw-header__main { background: #fff; }
.gpw-header__main-inner {
  display: flex; align-items: center; gap: 1.25rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.gpw-brand__link { display: flex; align-items: center; gap: 0.5rem; text-decoration: none !important; }
.gpw-brand__link--logo { line-height: 0; }
.gpw-brand__custom-logo,
.gpw-footer__custom-logo {
  line-height: 0;
}
.gpw-brand__custom-logo .custom-logo-link,
.gpw-footer__custom-logo .custom-logo-link {
  display: inline-block; line-height: 0; text-decoration: none !important;
}
.gpw-logo,
.custom-logo {
  max-height: 60px; width: auto; height: auto; object-fit: contain;
  display: block;
}
.gpw-logo--footer,
.gpw-footer__custom-logo .custom-logo {
  max-height: 48px; margin-bottom: 0.65rem;
}
.gpw-footer__logo-link { display: inline-block; text-decoration: none !important; line-height: 0; }
.gpw-brand__name {
  font-size: 1.25rem; font-weight: 700; color: var(--gpw-title); letter-spacing: -0.02em;
}
.gpw-brand__badge {
  font-size: 0.65rem; font-weight: 700; background: var(--gpw-gold);
  color: #fff; padding: 0.15rem 0.4rem; border-radius: var(--gpw-radius-sm);
}

.gpw-nav { flex: 1; }
.gpw-nav__list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.35rem;
}
.gpw-nav__list a {
  color: var(--gpw-title); font-weight: 500; font-size: 0.875rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.gpw-nav__list a:hover { color: var(--gpw-gold); }

.gpw-nav-toggle {
  display: none; background: var(--gpw-btn); border: 0;
  border-radius: var(--gpw-radius-sm); padding: 0.55rem 0.85rem; cursor: pointer; color: #fff;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.gpw-menu-btn__label { color: #fff; }

.gpw-header__actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.gpw-search {
  display: flex; border: 1px solid var(--gpw-border-strong); border-radius: var(--gpw-radius-sm);
  overflow: hidden; background: #fff; min-width: 16rem; flex: 1; max-width: 28rem;
}
.gpw-search--header { flex: 1; max-width: 32rem; }
.gpw-search__input {
  border: 0; padding: 0.65rem 0.9rem; min-width: 0; flex: 1; font-size: 0.875rem; outline: none;
  font-family: inherit; color: var(--gpw-body-text);
}
.gpw-search__btn {
  border: 0; background: var(--gpw-btn); padding: 0.65rem 1rem;
  font-size: 0.75rem; font-weight: 600; cursor: pointer; color: #fff;
  text-transform: uppercase; letter-spacing: 0.03em; font-family: inherit;
  transition: background 0.2s;
}
.gpw-search__btn:hover { background: var(--gpw-btn-hover); }
.gpw-cart-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--gpw-btn); color: #fff !important; text-decoration: none !important;
  padding: 0.65rem 0.95rem; border-radius: var(--gpw-radius-sm); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; transition: background 0.2s;
  position: relative;
}
.gpw-cart-link:hover { background: var(--gpw-btn-hover); color: #fff !important; }
.gpw-cart-link__count {
  background: var(--gpw-gold); color: #111;
  border-radius: 999px; min-width: 1.25rem; text-align: center; padding: 0.1rem 0.35rem; font-size: 0.7rem;
  font-weight: 700;
}

/* Category mega-ish bar under header */
.gpw-catbar {
  background: #fff; border-bottom: 1px solid var(--gpw-border);
}
.gpw-catbar__inner {
  display: flex; align-items: stretch; gap: 0; padding: 0;
}
.gpw-catbar__toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gpw-gold); color: #111; border: 0;
  padding: 0.75rem 1.15rem; font-family: inherit; font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer;
  white-space: nowrap;
}

/* PDP cart: keep Add to cart content-sized (not a fat full-width bar) */
@media (max-width: 479px) {
  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce div.product form.cart button.single_add_to_cart_button {
    flex: 1 1 auto;
  }
}

.gpw-catbar__toggle:hover { background: #e5a615; }
.gpw-catbar__list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0; flex: 1; overflow-x: auto;
}
.gpw-catbar__list a {
  display: block; padding: 0.75rem 0.95rem; font-size: 0.8125rem; font-weight: 500;
  color: var(--gpw-title); text-transform: uppercase; letter-spacing: 0.02em;
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.gpw-catbar__list a:hover { color: var(--gpw-gold); border-bottom-color: var(--gpw-gold); }

.gpw-cat-dropdown {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 180;
  background: #fff; border: 1px solid var(--gpw-border); box-shadow: var(--gpw-shadow-md);
  padding: 1.25rem; display: none;
}
.gpw-catbar { position: relative; }
.gpw-catbar.is-open .gpw-cat-dropdown { display: block; }
.gpw-cat-dropdown__grid {
  display: grid; gap: 0.5rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.gpw-cat-dropdown__grid a {
  display: block; padding: 0.4rem 0; font-size: 0.875rem; color: var(--gpw-body-text);
  text-transform: none; letter-spacing: 0; font-weight: 500;
}
.gpw-cat-dropdown__grid a:hover { color: var(--gpw-gold); }

/* ---------- Hero slider ---------- */
.gpw-slider {
  position: relative; background: #111; color: #fff; overflow: hidden;
}
.gpw-slider__track { position: relative; }
.gpw-slider__slide {
  display: none; position: relative; min-height: 420px;
  background-size: cover; background-position: center;
}
.gpw-slider__slide.is-active { display: block; }
.gpw-slider__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.2) 100%);
}
.gpw-slider__content {
  position: relative; z-index: 1; padding: 4.5rem 0 5rem; max-width: 34rem;
}
.gpw-slider__eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gpw-gold); margin: 0 0 0.85rem;
}
.gpw-slider__title {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem); font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin: 0 0 0.85rem; line-height: 1.2;
}
.gpw-slider__lead { font-size: 1rem; color: rgba(255,255,255,0.88); margin: 0 0 1.5rem; }
.gpw-slider__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gpw-slider__nav {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
}
.gpw-slider__btn {
  pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0;
  background: rgba(255,255,255,0.15); color: #fff; cursor: pointer;
  font-size: 1.25rem; line-height: 1; display: grid; place-items: center;
  transition: background 0.2s;
}
.gpw-slider__btn:hover { background: var(--gpw-gold); color: #111; }
.gpw-slider__btn--prev { left: 1rem; }
.gpw-slider__btn--next { right: 1rem; }
.gpw-slider__dots {
  position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 2;
  display: flex; justify-content: center; gap: 0.4rem;
}
.gpw-slider__dot {
  width: 0.55rem; height: 0.55rem; border-radius: 999px; border: 0;
  background: rgba(255,255,255,0.4); cursor: pointer; padding: 0;
}
.gpw-slider__dot.is-active { background: var(--gpw-gold); }

/* Legacy hero (inner pages) */
.gpw-hero {
  border-bottom: 1px solid var(--gpw-border);
  background: var(--gpw-slate-50);
  padding: 2.5rem 0 2rem; position: relative; overflow: hidden;
}
.gpw-hero--photo { color: #fff; padding: 0; min-height: 280px; display: flex; align-items: center; }
.gpw-hero__bg { position: absolute; inset: 0; }
.gpw-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.gpw-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.35));
}
.gpw-hero__grid { position: relative; z-index: 1; padding: 3rem 0; }
.gpw-eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gpw-gold); margin: 0 0 0.75rem;
}
.gpw-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 0.85rem; color: inherit;
}
.gpw-hero__copy--on-dark .gpw-hero__title { color: #fff; }
.gpw-hero__lead { font-size: 1rem; color: var(--gpw-slate-600); margin-bottom: 0.5rem; }
.gpw-hero__copy--on-dark .gpw-hero__lead,
.gpw-hero__copy--on-dark .gpw-hero__meta { color: rgba(255,255,255,0.85); }
.gpw-hero__meta { font-size: 0.875rem; color: var(--gpw-muted); margin-bottom: 1.5rem; }
.gpw-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }

/* ---------- Promo / banner strip ---------- */
.gpw-promo-strip {
  padding: 2rem 0; background: #fff;
}
.gpw-promo-strip__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .gpw-promo-strip__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.gpw-promo-card {
  position: relative; overflow: hidden; border-radius: var(--gpw-radius);
  min-height: 180px; display: flex; align-items: flex-end;
  background: #222; color: #fff; text-decoration: none !important;
}
.gpw-promo-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.gpw-promo-card__body {
  position: relative; z-index: 1; padding: 1.35rem 1.5rem;
}
.gpw-promo-card strong { display: block; font-size: 1.15rem; color: #fff; margin-bottom: 0.25rem; }
.gpw-promo-card span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.gpw-promo-card:hover strong { color: var(--gpw-gold); }

/* Sales / deals countdown-style strip */
.gpw-deals {
  background: linear-gradient(90deg, #111 0%, #2a2a2a 100%);
  color: #fff; padding: 1.75rem 0;
}
.gpw-deals__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.gpw-deals__label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gpw-gold); margin: 0 0 0.35rem;
}
.gpw-deals__title { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 700; }
.gpw-deals__sub { margin: 0.35rem 0 0; color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* Category collection tiles */
.gpw-section { padding: 2.25rem 0; }
.gpw-section--compact { padding: 1.5rem 0; }
.gpw-section--muted { background: var(--gpw-slate-50); border-block: 1px solid var(--gpw-border); }
.gpw-section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap;
}
.gpw-section__title {
  font-size: 1.5rem; font-weight: 700; margin: 0; text-transform: uppercase;
  letter-spacing: 0.02em;
}
.gpw-section__sub { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--gpw-muted); }
.gpw-link-more { font-size: 0.875rem; font-weight: 600; color: var(--gpw-title); white-space: nowrap; }
.gpw-link-more:hover { color: var(--gpw-gold); }

.gpw-cat-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.gpw-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius); padding: 1.5rem 1rem; box-shadow: var(--gpw-shadow);
  text-decoration: none !important; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.gpw-cat-card:hover {
  border-color: var(--gpw-gold); box-shadow: var(--gpw-shadow-md); transform: translateY(-2px);
}
.gpw-cat-card__icon {
  width: 4rem; height: 4rem; border-radius: 999px; background: var(--gpw-slate-50);
  border: 1px solid var(--gpw-border); display: grid; place-items: center;
  margin-bottom: 0.85rem; font-size: 0.7rem; font-weight: 700; color: var(--gpw-title);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.gpw-cat-card__img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: center;
  border-radius: var(--gpw-radius);
  margin-bottom: 0.85rem; background: var(--gpw-slate-50); border: 1px solid var(--gpw-border);
  display: block;
}
.gpw-cat-card--has-img { align-items: stretch; text-align: left; padding: 0.75rem; }
.gpw-cat-card--has-img h3, .gpw-cat-card--has-img p { padding: 0 0.35rem; }
.gpw-cat-card--has-img .gpw-cat-card__icon { display: none; }

.gpw-cat-card h3 { font-size: 0.9rem; margin: 0 0 0.35rem; color: var(--gpw-title); font-weight: 600; }
.gpw-cat-card:hover h3 { color: var(--gpw-gold); }
.gpw-cat-card p { margin: 0; font-size: 0.8rem; color: var(--gpw-muted); }

/* Product tabs */
.gpw-tabs { }
.gpw-tabs__nav {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gpw-border); padding-bottom: 0;
}
.gpw-tabs__btn {
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  padding: 0.75rem 1.1rem; font-family: inherit; font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--gpw-muted); cursor: pointer;
  margin-bottom: -1px;
}
.gpw-tabs__btn:hover { color: var(--gpw-title); }
.gpw-tabs__btn.is-active { color: var(--gpw-title); border-bottom-color: var(--gpw-gold); }
.gpw-tabs__panel { display: none; }
.gpw-tabs__panel.is-active { display: block; }

/* Featured / spotlight product */
.gpw-spotlight {
  display: grid; gap: 2rem; align-items: center;
  background: #fff; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  padding: 1.75rem; box-shadow: var(--gpw-shadow);
}
@media (min-width: 800px) {
  .gpw-spotlight { grid-template-columns: 1fr 1.1fr; padding: 2.25rem; }
}
.gpw-spotlight__media {
  background: var(--gpw-slate-50); border-radius: var(--gpw-radius); aspect-ratio: 1;
  display: grid; place-items: center; overflow: hidden;
}
.gpw-spotlight__media img { max-height: 100%; object-fit: contain; padding: 1rem; }
.gpw-spotlight__eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gpw-gold); margin: 0 0 0.5rem;
}
.gpw-spotlight__title { font-size: 1.65rem; font-weight: 700; margin: 0 0 0.75rem; }
.gpw-spotlight__desc { color: var(--gpw-muted); margin: 0 0 1.25rem; }
.gpw-spotlight__price { font-size: 1.35rem; font-weight: 700; color: var(--gpw-price); margin: 0 0 1.25rem; }

/* Brand logos */
.gpw-logos {
  padding: 2.5rem 0; border-block: 1px solid var(--gpw-border); background: #fff;
}
.gpw-logos__grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.85rem 1rem; list-style: none; margin: 0; padding: 0;
}
.gpw-logos__item {
  display: flex; align-items: center; justify-content: center;
  min-width: 7.5rem; min-height: 4.25rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  background: var(--gpw-slate-50);
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.gpw-logos__item--has-img {
  /* Image logos — drop uppercase text-chip look */
  letter-spacing: normal; text-transform: none; font-weight: inherit; color: inherit;
}
.gpw-logos__item:hover {
  border-color: var(--gpw-gold);
  box-shadow: var(--gpw-shadow-md);
  background: #fff;
}
.gpw-logos__item picture,
.gpw-logos__item .gpw-logos__img {
  display: block; max-width: 100%;
}
.gpw-logos__img {
  width: auto; height: auto;
  max-height: 44px; max-width: 140px;
  object-fit: contain;
  filter: grayscale(1); opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.gpw-logos__item:hover .gpw-logos__img {
  filter: grayscale(0); opacity: 1;
}
.gpw-logos__fallback {
  font-size: 0.95rem; font-weight: 700; color: var(--gpw-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Guides teaser */
.gpw-guides-teaser {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gpw-guide-card {
  display: block; background: #fff; border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius); padding: 1.35rem; text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gpw-guide-card:hover { border-color: var(--gpw-gold); box-shadow: var(--gpw-shadow-md); }
.gpw-guide-card h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.gpw-guide-card:hover h3 { color: var(--gpw-gold); }
.gpw-guide-card p { margin: 0; font-size: 0.85rem; color: var(--gpw-muted); }

/* Services strip (3 boxes) */
.gpw-services {
  background: var(--gpw-slate-50); border-top: 1px solid var(--gpw-border);
  padding: 2.5rem 0;
}
.gpw-services__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gpw-services__grid { grid-template-columns: repeat(3, 1fr); }
}
.gpw-service {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  padding: 1.35rem 1.5rem;
}
.gpw-service__icon {
  flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--gpw-gold); color: #111; display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
}
.gpw-service h3 { font-size: 0.95rem; margin: 0 0 0.25rem; text-transform: uppercase; letter-spacing: 0.03em; }
.gpw-service p { margin: 0; font-size: 0.85rem; color: var(--gpw-muted); }

/* Trust bar (kept for inner pages) */
.gpw-trust-bar { background: var(--gpw-slate-50); border-bottom: 1px solid var(--gpw-border); }
.gpw-trust-bar__list {
  list-style: none; margin: 0; padding: 1.25rem 0;
  display: grid; gap: 1rem;
}
@media (min-width: 700px) {
  .gpw-trust-bar__list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.gpw-trust-bar__list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.gpw-trust-bar__icon {
  flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 999px;
  background: var(--gpw-orange-100); color: var(--gpw-title); display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 800;
}
.gpw-trust-bar strong { display: block; font-size: 0.9rem; color: var(--gpw-title); }
.gpw-trust-bar span { font-size: 0.8rem; color: var(--gpw-muted); }

.gpw-seo-guide { max-width: 48rem; }
.gpw-cta-band {
  background: var(--gpw-topbar); color: #fff; padding: 2.5rem 0;
}
.gpw-cta-band__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.gpw-cta-band h2 { color: #fff; margin: 0 0 0.35rem; font-size: 1.5rem; }
.gpw-cta-band p { margin: 0; color: #aaa; }
.gpw-cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Cards / content ---------- */
.gpw-card {
  background: #fff; border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius); box-shadow: var(--gpw-shadow);
}
.gpw-content-wrap { padding: 2.5rem 0 3.5rem; }
.gpw-page-header { margin-bottom: 1.75rem; }
.gpw-page-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; margin: 0; }
.gpw-lead { font-size: 1.05rem; color: var(--gpw-muted); margin-top: 0.75rem; }
.gpw-prose { max-width: 48rem; }
.gpw-prose h2 { margin-top: 1.75rem; font-size: 1.35rem; }
.gpw-prose h3 { margin-top: 1.35rem; font-size: 1.1rem; }
.gpw-note {
  font-size: 0.9rem; color: var(--gpw-slate-600); background: var(--gpw-slate-50);
  padding: 1rem; border-radius: var(--gpw-radius-sm); border: 1px solid var(--gpw-border);
}

.gpw-contact-grid { display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; }
@media (min-width: 700px) {
  .gpw-contact-grid { grid-template-columns: 1fr 1fr; }
}
.gpw-contact-card { padding: 1.5rem; }
.gpw-contact-card h2 { font-size: 1.1rem; margin-top: 0; }

.gpw-post-list { display: grid; gap: 1.25rem; }
.gpw-post-card { overflow: hidden; display: grid; }
@media (min-width: 640px) {
  .gpw-post-card { grid-template-columns: 200px 1fr; }
}
.gpw-post-card__body { padding: 1.25rem; }
.gpw-post-card__title { font-size: 1.15rem; margin: 0 0 0.5rem; }
.gpw-post-card__title a { color: var(--gpw-title); text-decoration: none; }
.gpw-post-card__title a:hover { color: var(--gpw-gold); }

/* ---------- Payment badges ---------- */
.gpw-pay-badges { margin-top: 0.85rem; margin-bottom: 0.25rem; }
.gpw-pay-badges__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.gpw-pay-svg { height: 2rem; width: auto; display: block; border-radius: var(--gpw-radius-sm); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gpw-pay-badges--single .gpw-pay-svg { height: 2.5rem; } /* ~40px under ATC */
.gpw-pay-badges--cart .gpw-pay-svg,
.gpw-pay-badges--footer .gpw-pay-svg { height: 2rem; }
.gpw-pay-badges__note { margin: 0.45rem 0 0; font-size: 0.8rem; color: var(--gpw-muted); }
.gpw-pay-badges--single { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--gpw-border); }

/* ---------- Category SEO ---------- */
.gpw-cat-seo {
  background: #fff; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  padding: 1.25rem 1.5rem; margin: 0 0 1.5rem; box-shadow: var(--gpw-shadow);
}
.gpw-cat-seo__title { font-size: 1.15rem; margin: 0 0 0.75rem; }
.gpw-cat-seo__body { font-size: 0.95rem; color: var(--gpw-body-text); }
.gpw-cat-seo__body p:last-child { margin-bottom: 0; }

/* ---------- WooCommerce product grid (Autoparts cards) ---------- */
.woocommerce ul.products,
ul.products {
  list-style: none; margin: 0; padding: 0;
  display: grid !important; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(4, 1fr); }
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.gpw-product-card {
  width: 100% !important; margin: 0 !important; float: none !important;
  background: #fff; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  box-shadow: none; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
}
.gpw-product-card:hover { border-color: var(--gpw-gold); box-shadow: var(--gpw-shadow-md); }
.gpw-product-card__media {
  display: block; background: #fff; aspect-ratio: 1; overflow: hidden;
  border-bottom: 1px solid var(--gpw-border); position: relative;
}
.gpw-product-card__img, .gpw-product-card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 0.85rem;
}
.gpw-product-card__body { padding: 1rem; display: flex; flex-direction: column; flex: 1; gap: 0.35rem; }
.gpw-product-card__title {
  font-size: 0.9rem !important; font-weight: 600; margin: 0 !important; line-height: 1.4;
  color: var(--gpw-title);
}
.gpw-product-card__title a { color: var(--gpw-title); text-decoration: none; }
.gpw-product-card__title a:hover { color: var(--gpw-gold); }
.gpw-product-card__sku { margin: 0; font-size: 0.75rem; color: var(--gpw-muted); }
.gpw-product-card__price {
  font-weight: 700; color: var(--gpw-price); margin-top: auto; font-size: 1rem;
}
.gpw-product-card__price .price,
.gpw-product-card .price,
.gpw-product-card .amount {
  color: var(--gpw-price) !important; font-weight: 700;
}
.gpw-product-card__price del .amount,
.gpw-product-card del .amount { color: var(--gpw-oldprice) !important; font-weight: 500; }
.gpw-product-card__actions { margin-top: 0.65rem; }
.gpw-product-card .button { width: 100%; text-align: center; font-size: 0.75rem !important; }
.gpw-product-card .woocommerce-loop-product__title + .woocommerce-loop-product__title { display: none; }

/* Sale / hot badges */
.onsale,
.woocommerce span.onsale,
.gpw-badge {
  position: absolute; top: 0.65rem; left: 0.65rem; z-index: 2;
  background: var(--gpw-sale) !important; color: #fff !important;
  font-size: 0.65rem !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.3rem 0.55rem !important; border-radius: var(--gpw-radius-sm) !important;
  min-height: 0 !important; min-width: 0 !important; line-height: 1.2 !important;
  display: inline-block !important;
}
.gpw-badge--hot { background: var(--gpw-hot) !important; left: auto; right: 0.65rem; }
.gpw-call-price, .gpw-call-price-btn {
  color: var(--gpw-muted) !important; font-weight: 600; font-size: 0.85rem;
}
.gpw-call-price:hover { color: var(--gpw-gold) !important; }

/* ---------- Single product ---------- */
.gpw-single-product-wrap { padding: 2rem 0 3rem; }
.gpw-sku { font-size: 0.875rem; color: var(--gpw-muted); margin: 0.25rem 0 0.75rem; }
.gpw-trust-strip {
  list-style: none; margin: 1rem 0 0; padding: 0.85rem 1rem;
  background: var(--gpw-slate-50); border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius-sm); font-size: 0.85rem;
}
.gpw-trust-strip li { margin: 0.25rem 0; display: flex; gap: 0.4rem; align-items: center; }
.gpw-trust-strip__icon {
  display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem;
  border-radius: 999px; background: var(--gpw-orange-100); color: var(--gpw-title);
  font-size: 0.65rem; font-weight: 800;
}

.woocommerce div.product { display: grid; gap: 2rem; }
@media (min-width: 800px) {
  .woocommerce div.product.gpw-product-layout,
  .woocommerce div.product {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related {
    grid-column: 1 / -1;
  }
}
.woocommerce div.product div.images {
  margin: 0; background: #fff; border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius); padding: 1rem;
}
.woocommerce div.product .product_title { font-size: 1.65rem; font-weight: 700; color: var(--gpw-title); }
.woocommerce div.product p.price,
.woocommerce div.product p.price .amount {
  color: var(--gpw-price) !important; font-size: 1.35rem; font-weight: 700;
}
.woocommerce-tabs { margin-top: 2rem; border-top: 1px solid var(--gpw-border); padding-top: 1.5rem; }
.woocommerce-tabs ul.tabs {
  list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: 0.5rem;
  flex-wrap: wrap; border: 0 !important;
}
.woocommerce-tabs ul.tabs li {
  background: var(--gpw-slate-50) !important; border: 1px solid var(--gpw-border) !important;
  border-radius: var(--gpw-radius-sm) !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce-tabs ul.tabs li.active {
  background: #fff !important; border-color: var(--gpw-gold) !important;
}
.woocommerce-tabs ul.tabs li a {
  padding: 0.5rem 0.9rem !important; font-weight: 600; color: var(--gpw-body-text);
  text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.03em;
}

/* Cart / checkout */
.gpw-checkout-flow .woocommerce { max-width: 56rem; margin: 0 auto; padding: 2rem 1rem 3rem; }
.woocommerce-cart-form, .cart-collaterals, .woocommerce-checkout {
  background: #fff; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  padding: 1.25rem; box-shadow: var(--gpw-shadow);
}
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-color: var(--gpw-border) !important; padding: 0.75rem !important;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: var(--gpw-slate-50); border-radius: var(--gpw-radius-sm);
}
.woocommerce-checkout .button.alt,
#place_order {
  background: var(--gpw-checkout) !important;
}
.woocommerce-checkout .button.alt:hover,
#place_order:hover {
  background: #1578a6 !important;
}

.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 1rem; }
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--gpw-border-strong); border-radius: var(--gpw-radius-sm); padding: 0.4rem 0.6rem;
}

.gpw-shop-wrap { padding: 2rem 0 3rem; }
.gpw-archive-seo {
  background: #fff; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
  padding: 1.35rem 1.5rem; margin: 0 0 1.5rem;
}
.gpw-archive-seo--footer { margin-top: 2rem; }
.gpw-archive-seo__title { font-size: 1.15rem; margin: 0 0 0.75rem; }
.gpw-archive-seo__body { font-size: 0.95rem; color: var(--gpw-body-text); }
.gpw-archive-seo__links a { font-weight: 600; }

/* ---------- Footer ---------- */
.gpw-footer {
  background: var(--gpw-footer-bg); color: #c8cdd3; margin-top: 0;
  padding: 3rem 0 0;
}
.gpw-footer a { color: var(--gpw-gold); text-decoration: none; }
.gpw-footer a:hover { color: #fff; }
.gpw-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 2.5rem;
}
.gpw-footer__brand { color: #fff; font-size: 1.15rem; margin: 0 0 0.35rem; }
.gpw-footer__tagline { color: var(--gpw-gold); font-size: 0.875rem; font-weight: 600; margin: 0 0 0.75rem; }
.gpw-footer__desc { font-size: 0.875rem; margin: 0 0 1rem; color: #b8bec6; }
.gpw-footer__heading {
  color: #fff; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin: 0 0 0.75rem; font-weight: 600;
}
.gpw-footer__links { list-style: none; margin: 0; padding: 0; }
.gpw-footer__links li { margin: 0.35rem 0; }
.gpw-footer__links a { color: #d0d5db; font-size: 0.9rem; }
.gpw-footer__links a:hover { color: var(--gpw-gold); }
.gpw-footer__hours, .gpw-footer__note { font-size: 0.8rem; color: #b0b6be; }
.gpw-footer__bottom {
  border-top: 1px solid #3a4552; padding: 1rem 0; font-size: 0.8rem; color: #a8aeb6;
}
.gpw-footer__bottom p { margin: 0; }

/* ---------- Mobile drawer ---------- */
.gpw-drawer {
  position: fixed; inset: 0; z-index: 400; display: block;
}
.gpw-drawer[hidden] { display: none !important; }
.gpw-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  opacity: 0; transition: opacity 0.25s;
}
.gpw-drawer.is-open .gpw-drawer__backdrop { opacity: 1; }
.gpw-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 320px);
  background: #fff; box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  transform: translateX(-100%); transition: transform 0.28s ease;
  overflow-y: auto; display: flex; flex-direction: column;
}
.gpw-drawer.is-open .gpw-drawer__panel { transform: translateX(0); }
.gpw-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--gpw-border);
}
.gpw-drawer__title { margin: 0; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }
.gpw-drawer__close {
  border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; line-height: 1; color: var(--gpw-title);
}
.gpw-drawer__nav { padding: 0.75rem 0; border-bottom: 1px solid var(--gpw-border); }
.gpw-drawer__links { list-style: none; margin: 0; padding: 0; }
.gpw-drawer__links a {
  display: block; padding: 0.65rem 1.15rem; font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--gpw-title);
}
.gpw-drawer__links a:hover { color: var(--gpw-gold); }
.gpw-drawer__cats { padding: 1rem 1.15rem 1.5rem; }
.gpw-drawer__heading {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gpw-muted); margin: 0 0 0.75rem;
}
.gpw-drawer__cat-list { list-style: none; margin: 0; padding: 0; }
.gpw-drawer__cat-list > li > a {
  display: flex; justify-content: space-between; padding: 0.5rem 0;
  color: var(--gpw-title); font-weight: 500; font-size: 0.9rem;
}
.gpw-drawer__count {
  background: var(--gpw-slate-100); color: var(--gpw-muted);
  border-radius: 999px; padding: 0.1rem 0.45rem; font-size: 0.7rem;
}
.gpw-drawer__subcats { list-style: none; margin: 0 0 0.5rem 0.75rem; padding: 0; }
.gpw-drawer__subcats a { font-size: 0.85rem; color: var(--gpw-muted); padding: 0.25rem 0; display: block; }
.gpw-drawer__empty { color: var(--gpw-muted); font-size: 0.85rem; }
html.gpw-drawer-open { overflow: hidden; }

@media (max-width: 860px) {
  .gpw-nav-toggle { display: inline-flex; margin-left: 0; flex: 0 0 auto; }
  .gpw-nav { display: none !important; }
}



/* ---------- Empty cart ---------- */
.gpw-empty-cart {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 2.5rem;
}
.gpw-empty-cart__card {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.gpw-empty-cart__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gpw-gold);
}
.gpw-empty-cart__title {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
  color: var(--gpw-title);
}
.gpw-empty-cart__lead {
  margin: 0 0 1.35rem;
  color: var(--gpw-muted);
  line-height: 1.55;
}
.gpw-empty-cart__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.gpw-empty-cart .gpw-pay-badges {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gpw-border);
}
.gpw-empty-cart .gpw-pay-badges__row { justify-content: center; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], select, textarea {
  font: inherit; border: 1px solid var(--gpw-border-strong); border-radius: var(--gpw-radius-sm);
  padding: 0.55rem 0.75rem; width: 100%; max-width: 100%; font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gpw-gold); outline-offset: 1px; border-color: var(--gpw-gold);
}

/* Wishlist / recent */
.gpw-wish-btn {
  position: absolute; top: 0.65rem; right: 0.65rem; z-index: 3;
  width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--gpw-border);
  background: #fff; cursor: pointer; font-size: 0.9rem; line-height: 1;
  display: grid; place-items: center; color: var(--gpw-muted);
}
.gpw-wish-btn.is-active { color: var(--gpw-hot); border-color: var(--gpw-hot); }
.gpw-wishlist__list, .gpw-recent__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.gpw-wishlist__list li, .gpw-recent__list li {
  display: flex; gap: 0.75rem; align-items: center; justify-content: space-between;
  padding: 0.75rem; border: 1px solid var(--gpw-border); border-radius: var(--gpw-radius);
}
.gpw-freight-box {
  margin-top: 1rem; padding: 1rem; border: 1px solid var(--gpw-border);
  background: var(--gpw-slate-50); border-radius: var(--gpw-radius);
}
.gpw-freight-box__title { margin: 0 0 0.5rem; font-size: 1rem; }

/* Filters — Autoparts-style labeled select toolbar (no pill chips) */
.gpw-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius);
}
.gpw-filters__kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gpw-title);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: center;
  padding-bottom: 0.15rem;
}
.gpw-filters__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  flex: 1 1 auto;
  min-width: 0;
}
.gpw-filters__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 11rem;
  max-width: 18rem;
}
.gpw-filters__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gpw-title);
  line-height: 1.2;
}
.gpw-filters__select {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid var(--gpw-border-strong);
  border-radius: var(--gpw-radius-sm);
  background: #fff;
  color: var(--gpw-body-text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230A2F4F' d='M1.2 1.5h9.6L6 6.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 8px;
}
.gpw-filters__select:focus {
  outline: 2px solid var(--gpw-gold);
  outline-offset: 1px;
  border-color: var(--gpw-gold);
}
.gpw-filters__clear {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gpw-title);
  text-decoration: underline;
  text-underline-offset: 2px;
  align-self: center;
  white-space: nowrap;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.gpw-filters__clear:hover {
  color: var(--gpw-gold);
  background: none;
  border: 0;
}
/* Kill any leftover pill/chip look inside the filter bar */
.gpw-filters a.gpw-chip,
.gpw-filters .gpw-chip {
  display: none !important;
}
.gpw-filters a:not(.gpw-filters__clear) {
  border-radius: var(--gpw-radius-sm);
}
@media (min-width: 720px) {
  .gpw-filters {
    align-items: center;
  }
  .gpw-filters__field {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 auto;
    max-width: none;
  }
  .gpw-filters__label {
    white-space: nowrap;
  }
  .gpw-filters__select {
    width: auto;
    min-width: 11.5rem;
    max-width: 16rem;
  }
}

/* Breadcrumbs — horizontal trail, never a numbered list */
.woocommerce-breadcrumb,
.gpw-breadcrumbs {
  font-size: 0.8125rem;
  color: var(--gpw-muted);
  margin: 0 0 0.85rem;
  line-height: 1.4;
}
.gpw-breadcrumbs__list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  counter-reset: none;
}
.gpw-breadcrumbs__list > li,
.gpw-breadcrumbs__item {
  list-style: none !important;
  list-style-type: none !important;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.gpw-breadcrumbs__list > li::marker,
.gpw-breadcrumbs__item::marker {
  content: none !important;
  display: none !important;
  font-size: 0;
}
.gpw-breadcrumbs__item + .gpw-breadcrumbs__item::before {
  content: "›";
  display: inline-block;
  margin: 0 0.45rem 0 0.25rem;
  color: rgba(153, 153, 153, 0.95);
  font-weight: 600;
  speak: none;
}
.woocommerce-breadcrumb a,
.gpw-breadcrumbs a {
  color: var(--gpw-body-text);
  text-decoration: none;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
}
.woocommerce-breadcrumb a:hover,
.gpw-breadcrumbs a:hover { color: var(--gpw-gold); }
.gpw-breadcrumbs [aria-current="page"] {
  color: var(--gpw-title);
  font-weight: 600;
  background: none !important;
  border: 0 !important;
}

/* On dark photo heroes: light trail */
.gpw-hero__copy--on-dark .gpw-breadcrumbs,
.gpw-page-hero .gpw-breadcrumbs {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.65rem;
}
.gpw-hero__copy--on-dark .gpw-breadcrumbs a,
.gpw-page-hero .gpw-breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}
.gpw-hero__copy--on-dark .gpw-breadcrumbs a:hover,
.gpw-page-hero .gpw-breadcrumbs a:hover {
  color: var(--gpw-gold);
}
.gpw-hero__copy--on-dark .gpw-breadcrumbs__item + .gpw-breadcrumbs__item::before,
.gpw-page-hero .gpw-breadcrumbs__item + .gpw-breadcrumbs__item::before {
  color: rgba(255, 255, 255, 0.45);
}
.gpw-hero__copy--on-dark .gpw-breadcrumbs [aria-current="page"],
.gpw-page-hero .gpw-breadcrumbs [aria-current="page"] {
  color: #fff;
}

/* Page hero template part */
.gpw-page-hero {
  position: relative; min-height: 200px; display: flex; align-items: center;
  color: #fff; overflow: hidden; margin-bottom: 0;
}
.gpw-page-hero__bg { position: absolute; inset: 0; }
.gpw-page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.gpw-page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.35));
}
.gpw-page-hero__inner { position: relative; z-index: 1; padding: 2.5rem 0; }
.gpw-page-hero__title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.5rem; }
.gpw-page-hero__sub { color: rgba(255,255,255,0.85); margin: 0; max-width: 36rem; }

/* Misc */
.gpw-main { min-height: 40vh; }
.related.products > h2, .gpw-more-cat > h2 {
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; margin: 2rem 0 1rem;
}
.star-rating { color: var(--gpw-gold) !important; }

/* ===== Responsive =====
   Mobile-first completeness · v2.2.0
   Breakpoints: 480 · 640 · 768 · 860 · 1024 (+ 360 SE)
   Prefer this section on conflict. No horizontal scroll 320–1280px.
   ========================================================================== */

/* --- Global overflow / media --- */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
body { max-width: 100vw; }
.gpw-header,
.gpw-catbar,
.gpw-main,
.gpw-footer,
.gpw-slider,
.gpw-section,
.gpw-promo-strip,
.gpw-hero,
.woocommerce,
.woocommerce-page {
  max-width: 100%;
}
img, video, svg, canvas, iframe, embed, object {
  max-width: 100%;
  height: auto;
}
img { display: block; }
table { max-width: 100%; }
.gpw-prose table,
.entry-content table,
.woocommerce-Tabs-panel table,
.wp-block-table,
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
pre, code { max-width: 100%; overflow-x: auto; }

/* Touch targets ≥44px */
.gpw-btn,
.gpw-nav-toggle,
.gpw-menu-btn,
.gpw-drawer__close,
.gpw-catbar__toggle,
.gpw-search__btn,
.gpw-cart-link,
.gpw-slider__btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce .quantity .qty {
  min-height: 44px;
}
.gpw-nav-toggle,
.gpw-menu-btn,
.gpw-drawer__close,
.gpw-cart-link {
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gpw-wish-btn {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
}
.gpw-drawer__links a,
.gpw-drawer__cat-list > li > a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Logo (incl. Customizer .custom-logo) — mobile default */
.gpw-logo,
.custom-logo,
.gpw-brand img,
.gpw-brand__custom-logo img,
.gpw-brand__custom-logo .custom-logo,
.gpw-footer__custom-logo img,
.gpw-footer__custom-logo .custom-logo {
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gpw-logo--footer,
.gpw-footer__custom-logo .custom-logo,
.gpw-footer__custom-logo img {
  max-height: 40px;
}

/* Payment badges wrap; cards don't overflow */
.gpw-pay-badges { max-width: 100%; }
.gpw-pay-badges__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
}
.gpw-pay-svg {
  flex: 0 0 auto;
  max-width: 48px;
  height: auto;
  max-height: 2.5rem;
}
.gpw-pay-badges--single .gpw-pay-svg { height: 2.5rem; max-width: 48px; }
.gpw-product-card,
.woocommerce ul.products li.product {
  min-width: 0;
  max-width: 100%;
}
.gpw-product-card__body { min-width: 0; }
.gpw-product-card__title,
.gpw-product-card__title a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gpw-cat-card__img,
.gpw-cat-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* Category card titles: never clip */
.gpw-cat-card h3,
.gpw-cat-card p {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}
.gpw-cat-card h3 { font-size: clamp(0.8rem, 2.2vw, 0.95rem); }
.gpw-cat-card p { font-size: clamp(0.7rem, 1.8vw, 0.8rem); }


/* Product grid: 2 cols base */
.woocommerce ul.products,
ul.products {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem;
}

/* Footer: 1 col base → 2 → 4 */
.gpw-footer__grid {
  grid-template-columns: 1fr;
}

/* Single product stacked (image above summary) below 800px */
.woocommerce div.product,
.woocommerce div.product.gpw-product-layout {
  grid-template-columns: 1fr !important;
}
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary {
  width: 100% !important;
  float: none !important;
  max-width: 100% !important;
}
.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}
.woocommerce div.product form.cart .quantity {
  display: flex;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}
.woocommerce div.product form.cart .quantity .qty {
  width: 4.5rem;
  min-height: 44px;
  max-width: none;
}
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button {
  width: auto;
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 0;
  padding: 0.55rem 1.25rem !important;
  white-space: nowrap;
}

/* Cart / checkout: full-width text fields only — never stretch radios/checkboxes
   (Stripe Payment Element radio was becoming a full-width black oval). */
.woocommerce-cart .quantity input,
.woocommerce-checkout input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]),
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .input-text,
.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce form .form-row {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.woocommerce-checkout input[type="radio"],
.woocommerce-checkout input[type="checkbox"],
.woocommerce-cart input[type="radio"],
.woocommerce-cart input[type="checkbox"],
.woocommerce form .form-row input[type="radio"],
.woocommerce form .form-row input[type="checkbox"],
#payment input[type="radio"],
#payment input[type="checkbox"],
.wc-block-components-radio-control__input {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-width: 0 !important;
}
.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce table.shop_table,
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.shop_table_responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  word-break: break-word;
}
.woocommerce table.cart img,
.woocommerce-cart-form table img {
  max-width: 64px;
  height: auto;
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2,
.cart-collaterals,
.woocommerce-cart-form,
.woocommerce-checkout {
  float: none !important;
  max-width: 100% !important;
}

/* Hero / slider readable; CTAs wrap */
.gpw-slider__slide { min-height: 320px; max-width: 100%; }
.gpw-slider__content {
  max-width: 100%;
  padding: 2.5rem 0 3.5rem;
}
.gpw-slider__title,
.gpw-hero__title {
  font-size: clamp(1.35rem, 6vw, 2.1rem);
}
.gpw-slider__lead { font-size: 0.9rem; }
.gpw-slider__cta,
.gpw-hero__cta,
.gpw-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 100%;
}
.gpw-slider__cta .gpw-btn,
.gpw-hero__cta .gpw-btn { min-height: 44px; }
.gpw-slider__btn {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
}
.gpw-slider__btn--prev { left: 0.5rem; }
.gpw-slider__btn--next { right: 0.5rem; }

/* Category bar: horizontal scroll by default */
.gpw-catbar__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
}
.gpw-catbar__list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
.gpw-catbar__list a { flex-shrink: 0; }
.gpw-catbar__toggle { flex: 0 0 auto; min-height: 44px; }
.gpw-cat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Header flex defaults */
.gpw-header__main-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.gpw-brand { flex: 1 1 auto; min-width: 0; }

/* Sticky bottom search off by default — under-logo search preferred */

/* ---------- ≤480px ---------- */
@media (max-width: 480px) {
  body { font-size: 13px; }
  .gpw-container { width: min(100% - 1rem, var(--gpw-max)); }
  .gpw-header__top-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .gpw-header__tagline { display: none; }
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 40px;
  }
  .gpw-brand__name { font-size: 1rem; }
  .gpw-section { padding: 1.75rem 0; }
  .gpw-section__title { font-size: 1.2rem; }
  .gpw-cat-grid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem; }
  .gpw-cat-card { padding: 0.65rem; }
  .gpw-cat-card h3 { font-size: 0.8rem; }
  .gpw-cat-card p { font-size: 0.7rem; }
  .woocommerce ul.products,
  ul.products { gap: 0.6rem !important; }
  .gpw-product-card__body { padding: 0.75rem; }
  .gpw-product-card__title { font-size: 0.8rem !important; }
  .gpw-product-card__media img,
  .gpw-product-card__img { padding: 0.5rem; }
  .gpw-product-card .button {
    font-size: 0.7rem !important;
    padding: 0.65rem 0.5rem !important;
  }
  .gpw-slider__slide { min-height: 300px; }
  .gpw-slider__content { padding: 2rem 0 3.25rem; }
  .gpw-hero__cta,
  .gpw-slider__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .gpw-hero__cta .gpw-btn,
  .gpw-slider__cta .gpw-btn { width: 100%; }
  .woocommerce div.product .product_title { font-size: 1.25rem; }
  .gpw-checkout-flow .woocommerce { padding: 1.25rem 0.5rem 2rem; }
  .woocommerce-cart-form,
  .cart-collaterals,
  .woocommerce-checkout { padding: 0.85rem; }
  .woocommerce table.shop_table_responsive tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--gpw-border);
    border-radius: var(--gpw-radius);
    padding: 0.75rem;
  }
  .woocommerce table.shop_table_responsive tr td {
    display: block;
    text-align: right !important;
    border: 0 !important;
    padding: 0.4rem 0 !important;
  }
  .gpw-cat-dropdown__grid { grid-template-columns: 1fr 1fr; }
  #place_order { width: 100%; min-height: 48px; }
}

/* ---------- ≤360px / 320 SE ---------- */
@media (max-width: 360px) {
  .gpw-container { width: calc(100% - 0.75rem); }
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 40px;
  }
  .gpw-menu-btn__label { font-size: 0.7rem; }
  .gpw-product-card__body { padding: 0.55rem; gap: 0.25rem; }
  .gpw-slider__content { padding: 2rem 0 3rem; }
}

/* ---------- ≤640px: search full-width under logo ---------- */
@media (max-width: 640px) {
  .gpw-container { width: min(100% - 1.25rem, var(--gpw-max)); }
  .gpw-header__main-inner {
    flex-wrap: wrap !important;
  }
  .gpw-brand { order: 1; flex: 1 1 auto; min-width: 0; }
  .gpw-nav-toggle,
  .gpw-menu-btn {
    order: 2;
    display: inline-flex !important;
  }
  .gpw-header__actions { order: 3; flex: 0 0 auto; margin-left: 0; }
  /* Beat earlier .gpw-header .gpw-search--header { display:none } */
  .gpw-header .gpw-search--header,
  .gpw-header__main .gpw-search--header,
  .gpw-search--header {
    order: 4;
    display: flex !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }
  .gpw-nav,
  .gpw-nav__list { display: none !important; }
  .gpw-catbar__inner { flex-wrap: wrap; overflow: visible; }
  .gpw-catbar__toggle {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .gpw-catbar__list {
    width: 100%;
    flex: 1 1 100%;
    display: flex !important;
  }
  .gpw-deals__inner { flex-direction: column; align-items: flex-start; }
  .gpw-spotlight { padding: 1.15rem; }
  .woocommerce ul.products,
  ul.products { gap: 0.75rem !important; }
  .gpw-tabs__nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .gpw-tabs__btn { white-space: nowrap; min-height: 44px; }
  .woocommerce-tabs ul.tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    min-height: 44px;
  }
}

/* ---------- min-width 480px ---------- */
@media (min-width: 480px) {
  .gpw-cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .gpw-promo-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- min-width 640px ---------- */
@media (min-width: 640px) {
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem;
  }
  .gpw-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gpw-guides-teaser { grid-template-columns: repeat(2, 1fr); }
  .gpw-services__grid,
  .gpw-trust-bar__list { grid-template-columns: repeat(3, 1fr); }
  .gpw-promo-strip__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .gpw-post-card { grid-template-columns: 200px 1fr; }
  .gpw-contact-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce div.product form.cart .quantity {
    width: auto;
    flex: 0 0 auto;
  }
  .woocommerce div.product form.cart .quantity .qty { width: 5rem; }
  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce div.product form.cart button.single_add_to_cart_button {
    width: auto;
    flex: 0 0 auto;
  }
}

/* ---------- ≤768px ---------- */
@media (max-width: 768px) {
  .gpw-section__head { align-items: flex-start; }
  .gpw-section { padding: 2rem 0; }
  .gpw-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem;
  }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none !important;
    width: 100%;
    margin-bottom: 0.75rem;
  }
  .woocommerce .woocommerce-ordering select {
    width: 100%;
    max-width: 100%;
  }
  .woocommerce .cart-collaterals .cart_totals,
  .woocommerce-page .cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
  }
}

/* ---------- min-width 768px ---------- */
@media (min-width: 768px) {
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 56px;
  }
  .gpw-logo--footer,
  .gpw-footer__custom-logo .custom-logo,
  .gpw-footer__custom-logo img {
    max-height: 48px;
  }
  .gpw-slider__slide { min-height: 400px; }
  .gpw-slider__content { padding: 4rem 0 4.5rem; }
  .gpw-cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .woocommerce .col2-set,
  .woocommerce-page .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-1,
  .woocommerce-page .col2-set .col-2 {
    width: auto !important;
  }
}

/* ---------- ≤860px: drawer nav; search under logo or in row; catbar scroll ---------- */
@media (max-width: 860px) {
  .gpw-nav-toggle,
  .gpw-menu-btn { display: inline-flex !important; }
  .gpw-nav,
  .gpw-nav__list { display: none !important; }
  .gpw-header__main-inner { align-items: center; }
  .gpw-header .gpw-search--header,
  .gpw-header__main .gpw-search--header,
  .gpw-search--header {
    display: flex !important;
    flex: 1 1 12rem;
    min-width: 0;
    max-width: none;
  }
  /* Drawer owns categories on mobile; mega stays CSS-hidden */
  .gpw-catbar__list { display: none !important; }
  .gpw-mega { display: none !important; }
  .gpw-catbar__toggle {
    display: inline-flex !important;
    min-height: 44px;
    flex: 1;
    justify-content: center;
  }
  .gpw-promo-strip__grid,
  .gpw-services__grid,
  .gpw-trust-bar__list,
  .gpw-contact-grid,
  .gpw-post-card {
    grid-template-columns: 1fr !important;
  }
  .gpw-spotlight { grid-template-columns: 1fr !important; }
  .woocommerce-cart-form__contents,
  .shop_table_responsive { font-size: 0.85rem; }
}

/* Reinforce full-width search when ≤640 inside ≤860 */
@media (max-width: 640px) {
  .gpw-header .gpw-search--header,
  .gpw-header__main .gpw-search--header,
  .gpw-search--header {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .gpw-catbar__toggle { width: 100%; justify-content: center; }
}

/* ---------- min-width 800px: single product 2-col ---------- */
@media (min-width: 800px) {
  .woocommerce div.product.gpw-product-layout,
  .woocommerce div.product {
    grid-template-columns: 1fr 1fr !important;
    align-items: start;
  }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related {
    grid-column: 1 / -1;
  }
  .gpw-spotlight { grid-template-columns: 1fr 1.1fr; }
}

/* ---------- min-width 861px: desktop chrome ---------- */
@media (min-width: 861px) {
  .gpw-nav-toggle,
  .gpw-menu-btn { display: none !important; }
  .gpw-nav { display: block !important; }
  .gpw-header .gpw-search--header,
  .gpw-search--header {
    display: flex !important;
    flex: 1;
    max-width: 32rem;
  }
  .gpw-header__main-inner { flex-wrap: nowrap; }
  .gpw-header__actions { margin-left: auto; }
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 60px;
  }
}

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
  .gpw-container { width: min(100% - 1.5rem, var(--gpw-max)); }
}

/* ---------- min-width 1024px ---------- */
@media (min-width: 1024px) {
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.25rem;
  }
  .gpw-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 64px;
  }
  .gpw-slider__slide { min-height: 420px; }
  .gpw-guides-teaser {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .gpw-cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}


/* ---------- Mega menu (All categories) ---------- */
.gpw-catbar__toggle {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(135deg, var(--gpw-navy) 0%, var(--gpw-blue) 100%);
  color: #fff; border: 0;
  padding: 0.8rem 1.25rem; font-family: inherit; font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer;
  white-space: nowrap; border-radius: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.gpw-catbar__toggle:hover,
.gpw-catbar.is-open .gpw-catbar__toggle {
  background: linear-gradient(135deg, var(--gpw-orange) 0%, var(--gpw-orange-hot) 100%);
  color: #111;
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
}
.gpw-catbar__toggle-icon { font-size: 1rem; line-height: 1; }
.gpw-catbar__chev {
  width: 0; height: 0; margin-left: 0.15rem;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s;
}
.gpw-catbar.is-open .gpw-catbar__chev { transform: rotate(180deg); }
.gpw-catbar__all a {
  color: var(--gpw-orange) !important; font-weight: 700 !important;
}

.gpw-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 220;
  background: #fff;
  border-bottom: 1px solid var(--gpw-border);
  box-shadow: 0 18px 40px rgba(10, 47, 79, 0.16);
  padding: 0;
}
.gpw-mega[hidden] { display: none !important; }
.gpw-mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 0;
  padding: 1.35rem 0 1.5rem;
  align-items: stretch;
}
.gpw-mega__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--gpw-border);
}
.gpw-mega__heading {
  margin: 0 0 0.75rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gpw-navy);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--gpw-orange);
}
.gpw-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.gpw-mega__link {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem 0.4rem; border-radius: var(--gpw-radius);
  color: var(--gpw-title); text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.gpw-mega__link:hover {
  background: var(--gpw-orange-100);
  color: var(--gpw-navy);
  transform: translateX(2px);
}
.gpw-mega__thumb {
  width: 48px; height: 48px; object-fit: contain; object-position: center;
  border-radius: var(--gpw-radius-sm); background: #fff;
  border: 1px solid var(--gpw-border); flex: 0 0 auto;
}
.gpw-mega__icon {
  width: 48px; height: 48px; border-radius: var(--gpw-radius-sm); flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gpw-navy); color: #fff; font-size: 0.7rem; font-weight: 700;
}
.gpw-mega__text { display: flex; flex-direction: column; min-width: 0; gap: 0.1rem; }
.gpw-mega__label { font-size: 0.875rem; font-weight: 600; line-height: 1.25; }
.gpw-mega__sub { font-size: 0.7rem; color: var(--gpw-muted); line-height: 1.2; }

.gpw-mega__promo {
  position: relative; overflow: hidden; border-radius: 12px; /* soft featured panel */
  background: linear-gradient(160deg, var(--gpw-navy-deep) 0%, var(--gpw-blue) 100%);
  color: #fff; min-height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gpw-mega__promo-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.gpw-mega__promo-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,47,79,0.2) 0%, rgba(10,47,79,0.92) 70%);
}
.gpw-mega__promo-body { position: relative; z-index: 1; padding: 1.25rem; }
.gpw-mega__promo-eyebrow {
  margin: 0 0 0.4rem; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gpw-orange);
}
.gpw-mega__promo-title {
  margin: 0 0 0.45rem; font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: #fff;
}
.gpw-mega__promo-lead {
  margin: 0 0 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.85); line-height: 1.45;
}
.gpw-mega__promo-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gpw-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.75rem; }
.gpw-btn--outline {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55);
}
.gpw-btn--outline:hover { background: #fff; color: var(--gpw-navy); border-color: #fff; }

/* Homepage category cards: fill square frames cleanly */
.gpw-cat-card__img,
.gpw-cat-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--gpw-slate-50);
  border-radius: var(--gpw-radius);
}

@media (max-width: 1100px) {
  .gpw-mega__inner { grid-template-columns: 1fr; }
  .gpw-mega__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0; padding-right: 0; padding-bottom: 1rem;
    border-bottom: 1px solid var(--gpw-border);
  }
  .gpw-mega__promo { min-height: 180px; }
}
@media (max-width: 860px) {
  .gpw-mega { display: none !important; }
  .gpw-catbar__list { display: none; }
  .gpw-catbar__toggle { flex: 1; justify-content: center; }
}

/* ===== v2.2.6 Autoparts polish ===== */
.gpw-header {
  box-shadow: 0 1px 0 rgba(10, 47, 79, 0.06), 0 8px 24px rgba(10, 47, 79, 0.06);
}
.gpw-catbar {
  background: #0A2F4F;
  border-bottom: 3px solid var(--gpw-orange);
}
.gpw-catbar__list a {
  color: rgba(255,255,255,0.92);
  border-bottom-color: transparent;
}
.gpw-catbar__list a:hover {
  color: var(--gpw-orange);
  border-bottom-color: var(--gpw-orange);
}
.gpw-catbar__all a {
  color: var(--gpw-orange) !important;
}

/* Square 1:1 category tiles (Autoparts collections) */
.gpw-cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.1rem;
}
.gpw-cat-card {
  border-radius: var(--gpw-radius);
  overflow: hidden;
  background: #fff;
}
.gpw-cat-card--has-img {
  padding: 0.65rem;
}
.gpw-cat-card__img,
.gpw-cat-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--gpw-radius);
  background: #f4f6f8;
}
.gpw-cat-card h3 {
  margin-top: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.gpw-cat-card:hover {
  border-color: var(--gpw-orange);
  box-shadow: 0 10px 28px rgba(247, 148, 29, 0.18);
}

/* Gold price accents on product grids */
.gpw-product-card__price,
.gpw-product-card .price,
.gpw-product-card .amount,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
  color: var(--gpw-price) !important;
  font-weight: 700;
}
.woocommerce ul.products li.product .price del .amount {
  color: var(--gpw-oldprice) !important;
  font-weight: 500;
}

/* Mega thumbs stay square; contain avoids blank-looking crops */
.gpw-mega__thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: var(--gpw-radius-sm);
}

@media (max-width: 860px) {
  .gpw-mega { display: none !important; }
  .gpw-catbar__list { display: none; }
  .gpw-catbar__toggle { flex: 1; justify-content: center; }
}

/* Focus visibility for mega/drawer controls */
.gpw-catbar__toggle:focus-visible,
.gpw-nav-toggle:focus-visible,
.gpw-drawer__close:focus-visible,
.gpw-slider__btn:focus-visible,
.gpw-slider__dot:focus-visible,
.gpw-tabs__btn:focus-visible {
  outline: 3px solid var(--gpw-orange);
  outline-offset: 2px;
}

/* ---------- 2.4.0 polish: trust strip, card states, header density ---------- */
.gpw-home-trust {
  background: var(--gpw-slate-50);
  border-bottom: 1px solid var(--gpw-border);
  padding: 0.85rem 0;
}
.gpw-home-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gpw-title);
}
.gpw-home-trust__list li {
  position: relative;
  margin: 0;
}
.gpw-home-trust__list li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -0.9rem;
  color: var(--gpw-muted);
  font-weight: 400;
}
.gpw-home-trust__list a {
  color: var(--gpw-title);
  text-decoration: none;
}
.gpw-home-trust__list a:hover { color: var(--gpw-gold); }

.gpw-product-card__badge {
  position: absolute; top: 0.65rem; left: 0.65rem; z-index: 2;
  background: var(--gpw-slate-700); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.25rem 0.45rem; border-radius: var(--gpw-radius-sm);
}
.gpw-product-card__badge--oos { background: #6b7280; }
.gpw-product-card__status {
  display: block; font-weight: 600; color: var(--gpw-muted); font-size: 0.9rem;
}
.gpw-product-card__status--soon { color: var(--gpw-gold); }
.gpw-product-card--oos { opacity: 0.92; }
.gpw-product-card--oos .gpw-product-card__media { filter: grayscale(0.15); }
.gpw-product-card__oos-btn {
  pointer-events: none; cursor: default; opacity: 0.75;
  width: 100%; text-align: center; display: inline-block;
}
.gpw-product-card--soon .gpw-call-price-btn { border-color: var(--gpw-gold); }

/* Header density */
.gpw-header__main-inner { padding: 0.65rem 0; gap: 1rem; }
.gpw-logo, .custom-logo { max-height: 52px; }
.gpw-header__tagline { color: #c5ccd4; }
.gpw-header__top { color: #c5ccd4; }

@media (max-width: 860px) {
  .gpw-header__top { display: none; } /* reclaim vertical space on mobile */
  .gpw-header__main-inner {
    padding: 0.5rem 0;
    gap: 0.5rem 0.65rem;
  }
  .gpw-logo, .custom-logo { max-height: 40px; }
  .gpw-brand__name { font-size: 1rem; }
  .gpw-menu-btn { min-height: 40px; padding: 0.4rem 0.65rem; }
  .gpw-cart-link { min-height: 40px; }
  .gpw-section { padding: 1.75rem 0; }
  .gpw-home-trust__list {
    gap: 0.35rem 1rem;
    font-size: 0.78rem;
    justify-content: flex-start;
  }
  .gpw-home-trust__list li:not(:last-child)::after { right: -0.65rem; }
  .gpw-empty-cart__card { padding: 1.5rem 1.15rem; }
  .gpw-empty-cart__cta .gpw-btn { min-height: 44px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gpw-drawer__backdrop,
  .gpw-drawer__panel,
  .gpw-slider__slide { transition: none !important; }
}

/* ===== v2.4.5 soft-radius polish (Autoparts-style) =====
   Tokens: --gpw-radius 10px (cards/panels), --gpw-radius-sm 6px (controls).
   Keep 999px pills circular; catbar toggle stays flush (border-radius:0).
   ========================================================================== */

/* Mega / category dropdown panel bottom corners */
.gpw-cat-dropdown {
  border-radius: 0 0 var(--gpw-radius) var(--gpw-radius);
  overflow: hidden;
}

/* Mobile drawer — soft trailing edge */
.gpw-drawer__panel {
  border-radius: 0 var(--gpw-radius) var(--gpw-radius) 0;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-radius: var(--gpw-radius) !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers,
ul.page-numbers {
  border: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-pagination ul li,
ul.page-numbers li {
  border: 0 !important;
  margin: 0;
  overflow: visible;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers,
ul.page-numbers a,
ul.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--gpw-border) !important;
  border-radius: var(--gpw-radius-sm) !important;
  background: #fff;
  color: var(--gpw-title);
  font-weight: 600;
  text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-pagination a.page-numbers:hover,
ul.page-numbers a:hover {
  border-color: var(--gpw-gold) !important;
  color: var(--gpw-gold);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-pagination span.current,
ul.page-numbers span.current {
  background: var(--gpw-btn);
  border-color: var(--gpw-btn) !important;
  color: #fff !important;
}

/* Qty + coupon + ATC consistency (near prior ATC fix) */
.woocommerce .quantity .qty,
.woocommerce div.product form.cart .quantity .qty,
.woocommerce-cart-form .quantity .qty,
.woocommerce .quantity input.qty {
  border-radius: var(--gpw-radius-sm) !important;
}
.woocommerce-cart .coupon .input-text,
.woocommerce form .coupon .input-text,
.cart .actions .coupon .input-text {
  border-radius: var(--gpw-radius-sm);
}
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button {
  border-radius: var(--gpw-radius-sm) !important;
}

/* Product gallery thumbs + main image soft edges */
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: auto;
  margin: 0 !important;
  float: none !important;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
  border-radius: var(--gpw-radius-sm);
  border: 1px solid var(--gpw-border);
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img.wp-post-image {
  border-radius: var(--gpw-radius);
}

/* Post cards inherit .gpw-card radius; clip media */
.gpw-post-card {
  border-radius: var(--gpw-radius);
  overflow: hidden;
}
.gpw-post-card img {
  border-radius: 0; /* parent clips — avoid double curve on grid split */
}

/* Tables inside rounded cart/checkout panels */
.woocommerce table.shop_table {
  border-radius: var(--gpw-radius-sm);
}

/* Select2 / enhanced selects if present */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-radius: var(--gpw-radius-sm) !important;
}

/* ===== v2.4.8 Autoparts-clean header ================================
   Logo | Search | Cart aligned. Primary links in top util nav with
   proper dropdowns (fixes Delivery Areas in-flow blowout). Mobile
   hamburger + drawer. No horizontal scroll. Mega stays under catbar.
   ================================================================== */

/* Sticky chrome: allow mega dropdown to escape; keep stacking sane */
.gpw-header {
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
}
.gpw-header__main,
.gpw-header__top,
.gpw-catbar {
  overflow: visible;
  position: relative;
  z-index: 1;
}
.gpw-catbar { z-index: 2; }
.gpw-mega { z-index: 220; }

/* ---------- Top bar: tagline + util nav + email ---------- */
.gpw-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  flex-wrap: nowrap;
  min-height: 2rem;
}
.gpw-header__tagline {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: #c5ccd4;
}
.gpw-header__top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 1 auto;
  min-width: 0;
}
.gpw-header__support {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Utility nav (desktop primary links) */
.gpw-header__util-nav { flex: 0 1 auto; min-width: 0; }
.gpw-util-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  flex-wrap: nowrap;
}
.gpw-util-nav__list > li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.gpw-util-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #e8eef4;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0;
  line-height: 1.2;
}
.gpw-util-nav__list > li > a:hover,
.gpw-util-nav__list > li.current-menu-item > a {
  color: var(--gpw-gold);
}

/* Critical: hide submenus by default (was blowing header to ~380px) */
.gpw-util-nav__list .sub-menu,
.gpw-nav__list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: #fff;
  border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius-sm);
  box-shadow: 0 12px 28px rgba(10, 47, 79, 0.18);
  display: none;
  z-index: 250;
}
.gpw-util-nav__list .sub-menu a,
.gpw-nav__list .sub-menu a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--gpw-title);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.gpw-util-nav__list .sub-menu a:hover,
.gpw-nav__list .sub-menu a:hover {
  background: var(--gpw-orange-100, #fff4e5);
  color: var(--gpw-navy);
}
.gpw-util-nav__list > li:hover > .sub-menu,
.gpw-util-nav__list > li:focus-within > .sub-menu,
.gpw-nav__list > li:hover > .sub-menu,
.gpw-nav__list > li:focus-within > .sub-menu {
  display: block;
}
/* Right-align last dropdowns so they don't clip viewport */
.gpw-util-nav__list > li:last-child > .sub-menu,
.gpw-util-nav__list > li:nth-last-child(2) > .sub-menu {
  left: auto;
  right: 0;
}

/* ---------- Main row: logo | search | cart ---------- */
.gpw-header__main { background: #fff; }
.gpw-header__main-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.85rem 1rem;
  padding: 0.65rem 0;
  min-width: 0;
}
.gpw-brand {
  flex: 0 0 auto !important;
  min-width: 0;
  max-width: min(42%, 220px);
}
.gpw-brand__custom-logo,
.gpw-brand__custom-logo .custom-logo-link {
  display: block;
  line-height: 0;
  max-width: 100%;
}
.gpw-logo,
.custom-logo,
.gpw-brand img,
.gpw-brand__custom-logo img,
.gpw-brand__custom-logo .custom-logo {
  max-height: 52px !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  display: block;
}

/* Search grows between logo and cart */
.gpw-header .gpw-search--header,
.gpw-header__main .gpw-search--header,
.gpw-search--header {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  order: 0;
}
.gpw-search {
  min-width: 0; /* override earlier 16rem that forced wrap/overflow */
}
.gpw-header__actions {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Legacy main-row primary nav (removed from markup) stays hidden if present */
.gpw-header__main .gpw-nav,
.gpw-header__main-inner > .gpw-nav {
  display: none !important;
}

/* Hamburger (mobile) */
.gpw-nav-toggle,
.gpw-menu-btn {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.7rem;
  order: 0;
}
.gpw-menu-btn__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}
.gpw-menu-btn__bars > span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 1px;
}

/* Catbar: single row, scroll if needed — no wrap blowout */
.gpw-catbar__inner {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
}
.gpw-catbar__list {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  min-width: 0;
}
.gpw-catbar__toggle { flex: 0 0 auto; }

/* Drawer nested menus: no bullets, indented */
.gpw-drawer__links,
.gpw-drawer__links .sub-menu,
.gpw-drawer__links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.gpw-drawer__links .sub-menu {
  display: block;
  padding: 0.15rem 0 0.35rem 0.85rem;
  border-left: 2px solid var(--gpw-border);
  margin: 0 1.15rem 0.35rem;
}
.gpw-drawer__links .sub-menu a {
  text-transform: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0;
  padding: 0.4rem 0.35rem;
  color: var(--gpw-muted);
}
.gpw-drawer__links .sub-menu a:hover { color: var(--gpw-navy); }

/* Mega thumbs: always opaque, contained (equipment cards) */
.gpw-mega__thumb {
  opacity: 1 !important;
  filter: none !important;
  object-fit: contain;
  background: #fff;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

/* ---------- Desktop ≥861 ---------- */
@media (min-width: 861px) {
  .gpw-nav-toggle,
  .gpw-menu-btn { display: none !important; }
  .gpw-header__main-inner { flex-wrap: nowrap !important; }
  .gpw-header .gpw-search--header,
  .gpw-search--header {
    display: flex !important;
    flex: 1 1 auto !important;
    max-width: 40rem !important;
  }
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 56px !important;
  }
  .gpw-brand { max-width: min(36%, 240px); }
}

/* Mid desktop: tighten util nav if crowded */
@media (min-width: 861px) and (max-width: 1100px) {
  .gpw-util-nav__list { gap: 0.1rem 0.55rem; }
  .gpw-util-nav__list > li > a { font-size: 0.65rem; }
  .gpw-header__tagline { max-width: 38%; }
}

/* ---------- ≤860: mobile / tablet chrome ---------- */
@media (max-width: 860px) {
  .gpw-header__top { display: none !important; } /* util nav lives in drawer */
  .gpw-nav-toggle,
  .gpw-menu-btn {
    display: inline-flex !important;
    order: 2;
  }
  .gpw-brand { order: 1; flex: 1 1 auto !important; max-width: none; min-width: 0; }
  .gpw-header__actions { order: 3; margin-left: 0 !important; }
  .gpw-header .gpw-search--header,
  .gpw-header__main .gpw-search--header,
  .gpw-search--header {
    order: 4;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
  .gpw-header__main-inner {
    flex-wrap: wrap !important;
    gap: 0.55rem 0.65rem;
    padding: 0.5rem 0;
  }
  .gpw-logo,
  .custom-logo,
  .gpw-brand img,
  .gpw-brand__custom-logo img,
  .gpw-brand__custom-logo .custom-logo {
    max-height: 40px !important;
  }
  /* Compact cart on narrow: keep badge, shorten label pressure */
  .gpw-cart-link {
    padding: 0.45rem 0.7rem;
    min-height: 40px;
  }
  .gpw-menu-btn__label { font-size: 0.7rem; }
  /* Catbar: full-width All categories (opens drawer / mega handoff) */
  .gpw-catbar__list { display: none !important; }
  .gpw-mega { display: none !important; }
  .gpw-catbar__toggle {
    flex: 1 1 auto;
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .gpw-catbar__inner { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .gpw-header__main-inner { flex-wrap: wrap !important; }
  .gpw-header .gpw-search--header,
  .gpw-search--header {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  /* Icon-first hamburger; keep short label */
  .gpw-menu-btn { padding: 0.4rem 0.55rem; gap: 0.35rem; }
}

@media (max-width: 400px) {
  .gpw-cart-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .gpw-cart-link {
    position: relative;
    padding: 0.45rem 0.55rem;
    min-width: 44px;
  }
  .gpw-menu-btn__label { display: none; }
  .gpw-brand { max-width: calc(100% - 7.5rem); }
}

/* Kill accidental page-level horizontal scroll from header chrome */
.gpw-header,
.gpw-header__main-inner,
.gpw-catbar,
.gpw-catbar__inner {
  max-width: 100%;
}

/* Delivery lander featured products + top CTA */
.gpw-page-cta--top { margin: 0 0 1.5rem; }
.gpw-delivery-featured { margin-top: 0; }
.gpw-delivery-featured__cta { margin-top: 1.5rem; text-align: center; }
.gpw-delivery-featured__grid .products { margin: 0; }

/* ==========================================================================
   v2.4.12 — Conversion polish: delivery callout, coverage strip, cart thumbs
   ========================================================================== */

/* PDP / cart delivery callout */
.gpw-delivery-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
  padding: 0.7rem 0.85rem;
  background: var(--gpw-orange-100);
  border: 1px solid #f0d4a8;
  border-left: 4px solid var(--gpw-orange);
  border-radius: var(--gpw-radius-sm);
  color: var(--gpw-navy-deep);
  font-size: 0.875rem;
  line-height: 1.4;
}
.gpw-delivery-callout__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  background: var(--gpw-navy);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.gpw-delivery-callout__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.gpw-delivery-callout__text strong {
  font-weight: 700;
  color: var(--gpw-navy-deep);
}
.gpw-delivery-callout__sep {
  margin: 0 0.35rem;
  color: var(--gpw-muted);
}
.gpw-delivery-callout__link {
  color: var(--gpw-blue) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.gpw-delivery-callout__link:hover {
  color: var(--gpw-orange) !important;
}
.gpw-delivery-callout--cart {
  margin: 0 0 1rem;
}
.gpw-delivery-callout--pdp {
  margin: 0 0 0.85rem;
}
form.cart .gpw-delivery-callout {
  width: 100%;
  order: -1;
}
@media (max-width: 640px) {
  .gpw-delivery-callout {
    font-size: 0.8rem;
    padding: 0.65rem 0.75rem;
  }
  .gpw-delivery-callout__text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0;
  }
  .gpw-delivery-callout__sep { display: none; }
  .gpw-delivery-callout__link {
    display: inline-block;
    margin-top: 0.2rem;
    white-space: normal;
  }
}

/* Light coverage / ZIP helper strip (header) */
.gpw-coverage-strip {
  background: var(--gpw-slate-50);
  border-bottom: 1px solid var(--gpw-border);
  color: var(--gpw-body-text);
  font-size: 0.8rem;
  line-height: 1.35;
}
.gpw-coverage-strip__inner {
  padding: 0.45rem 0;
}
.gpw-coverage-strip__text {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  justify-content: center;
  text-align: center;
}
.gpw-coverage-strip__lead {
  font-weight: 700;
  color: var(--gpw-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
.gpw-coverage-strip__sep { color: var(--gpw-muted); }
.gpw-coverage-strip__link {
  color: var(--gpw-blue) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gpw-coverage-strip__link:hover { color: var(--gpw-orange) !important; }
@media (max-width: 640px) {
  .gpw-coverage-strip { font-size: 0.75rem; }
  .gpw-coverage-strip__inner { padding: 0.4rem 0; }
  .gpw-coverage-strip__text { gap: 0.15rem 0.3rem; }
}

/* Empty / fallback category tiles */
.gpw-cat-card--fallback {
  min-height: 8rem;
  justify-content: center;
}

/* ---------- Cart product thumbnails (mobile stretch / tiny / missing fix) ---------- */
.woocommerce table.shop_table td.product-thumbnail,
.woocommerce-cart table.shop_table td.product-thumbnail,
.woocommerce-cart-form table td.product-thumbnail {
  width: 72px;
  min-width: 64px;
  max-width: 88px;
  vertical-align: middle !important;
  padding: 0.65rem !important;
}
.woocommerce table.cart img,
.woocommerce-cart-form table img,
.woocommerce table.shop_table td.product-thumbnail img,
.woocommerce-cart table.shop_table td.product-thumbnail img,
.woocommerce-cart-form td.product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff;
  border: 1px solid var(--gpw-border);
  border-radius: var(--gpw-radius-sm);
  display: block;
  margin: 0 auto;
}
/* WC responsive cart: stacked rows stretch full-width images — pin thumbs */
@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive tr td.product-thumbnail,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail,
  .woocommerce-cart table.shop_table_responsive tr td.product-thumbnail {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
    padding: 0.35rem 0 0.65rem !important;
  }
  .woocommerce table.shop_table_responsive tr td.product-thumbnail::before,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before {
    display: none !important;
    content: none !important;
  }
  .woocommerce table.shop_table_responsive tr td.product-thumbnail img,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail img,
  .woocommerce-cart table.shop_table_responsive tr td.product-thumbnail img,
  .woocommerce-cart-form table img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    margin: 0 !important;
  }
  .woocommerce table.shop_table_responsive tr td.product-name {
    text-align: left !important;
    font-weight: 600;
  }
}
