/* ---------- Tokens ---------- */
:root {
  --ink: #14161c;
  --ink-soft: #5b5e69;
  --ink-faint: #666a74;

  --dark: #0f1015;
  --dark-2: #16181f;
  --dark-3: #1e212b;
  --dark-border: rgba(244, 242, 236, 0.1);

  --green: #4cc26b;
  --green-dark: #268a49;
  --green-darker: #1c5c32;

  --on-dark: #f4f2ec;
  --on-dark-soft: #9a9daa;
  --on-dark-faint: #848793;

  --paper: #ffffff;
  --paper-alt: #ffffff;
  --border: #e6e3d8;

  --hero-glow: radial-gradient(120% 160% at 12% -30%, rgba(76, 194, 107, 0.24) 0%, rgba(76, 194, 107, 0) 55%);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 14px 30px -16px rgba(20, 22, 28, 0.18);

  /* Vertical rhythm shared by stacked content sections (.section, .cat-showcase) */
  --space-section-y: 60px;
  --space-section-y-bottom: 70px;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body); /* 0.4.34: one font site-wide (was Space Grotesk) */
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-alt);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
svg { flex-shrink: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--green);
  color: #0e1a12;
  box-shadow: 0 12px 26px -12px rgba(76, 194, 107, 0.5);
}
.btn-primary:hover { background: var(--green-dark); color: #f4f2ec; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--green-darker); outline-offset: 3px; }
.btn-full { width: 100%; padding: 14px; }

/* ---------- Promo bar (dark chrome) ---------- */
.promo-bar {
  background: var(--dark-2);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 9px 16px;
  text-align: center;
}
.promo-icon { width: 16px; height: 16px; color: var(--green); }

/* ---------- Header (dark chrome) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 16, 21, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--on-dark);
  padding: 4px;
}
.menu-toggle svg { width: 24px; height: 24px; }

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--on-dark);
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}
.brand-white { color: var(--on-dark); }
.brand-accent { color: var(--green); }
.brand-tag {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--on-dark-soft);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav a svg { width: 15px; height: 15px; }
.nav a:hover { color: var(--on-dark); }
.nav a.active { color: var(--on-dark); }
.nav a.active svg { color: var(--green); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 2px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  border-radius: 999px;
  color: var(--on-dark);
  text-decoration: none;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--dark-3); }
.icon-btn svg { width: 21px; height: 21px; }
/* These two close buttons sit inside light panels (the cart drawer, the search overlay) —
   .icon-btn's default color is tuned for the dark header and is nearly invisible on white,
   so give them a dark icon and a light hover background instead of the header's dark one. */
#search-close,
#cart-close { color: var(--ink); }
#search-close:hover,
#cart-close:hover { background: var(--border); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--green);
  color: #0e1a12;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-panel {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  padding: 8px 24px 16px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-panel a,
.mobile-panel button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--on-dark-soft);
  text-decoration: none;
  padding: 11px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--dark-border);
  text-align: left;
}
.mobile-panel a:last-child { border-bottom: none; }
.mobile-panel svg { width: 18px; height: 18px; }
.site-header.menu-open .mobile-panel { display: flex; }

/* ---------- Overlays (search + cart) — light content panels ---------- */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 18, 0.45);
  z-index: 200;
}
.overlay-backdrop[hidden] { display: none; }
.overlay-center {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 20px;
}
.overlay-right {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.search-modal {
  width: 100%;
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
}
.search-submit { color: var(--ink-faint); flex-shrink: 0; }
.search-submit:hover { color: var(--green-darker); }
.search-form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.05rem;
  padding: 10px 2px;
}
.search-form input::placeholder { color: var(--ink-faint); }

.search-dropdown {
  border-top: 1px solid var(--border);
  max-height: 380px;
  overflow-y: auto;
}
.search-dropdown[hidden] { display: none; }

.mobile-search-row { display: none; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.12s ease;
}
.search-result-item:hover { background: var(--paper-alt); }
.search-result-thumb {
  width: 42px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.search-result-thumb svg { width: 34px; color: var(--ink); }
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-result-name {
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-price { font-size: 0.8rem; color: var(--ink-faint); }
.search-no-results {
  margin: 0;
  padding: 26px 16px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.search-page-empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.search-page-empty[hidden] { display: none; }

.pdp-not-found-inner {
  padding: 90px 20px;
  text-align: center;
}
.pdp-not-found-inner h1 {
  color: var(--ink);
  font-size: 1.8rem;
  text-transform: uppercase;
}
.pdp-not-found-inner p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 24px;
}

.cart-panel {
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--paper);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}
.cart-panel-head h2,
.cart-panel-head .cart-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-item-thumb {
  width: 56px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-thumb svg { width: 46px; color: var(--ink); }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.cart-item-variant {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--green-darker);
  background: #eaf8ee;
  border-radius: 999px;
  padding: 2px 9px;
  margin: 0 0 8px;
}
.cart-item-qty { font-size: 0.78rem; color: var(--ink-faint); }
.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cart-qty-btn:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.cart-item-qty-value {
  min-width: 14px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.cart-item-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.cart-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}
.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 2px;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color 0.15s ease;
}
.cart-item-remove svg { width: 16px; height: 16px; }
.cart-item-remove:hover { color: #c0392b; }
.cart-empty {
  padding: 40px 22px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
}
.cart-empty[hidden] { display: none; }
.cart-panel-foot {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--border);
}
.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.cart-subtotal span:last-child { font-family: var(--font-display); font-size: 1.05rem; }
.cart-note {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--green-darker);
  text-align: center;
}

/* ---------- Cart toast (add-to-cart confirmation) ---------- */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
.cart-toast[hidden] { display: none; }
.cart-toast-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 14px;
  box-shadow: var(--shadow);
  animation: cart-toast-in 0.25s ease;
}
@keyframes cart-toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.cart-toast-icon { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.cart-toast-msg {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
}
.cart-toast-link {
  background: none;
  border: none;
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}
.cart-toast-link:hover { text-decoration: underline; }
.cart-toast-close {
  background: none;
  border: none;
  color: var(--on-dark-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin-left: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.cart-toast-close svg { width: 13px; height: 13px; }

/* ---------- Hero (full-width photo background) ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 16, 21, 0.92) 0%, rgba(15, 16, 21, 0.82) 28%, rgba(15, 16, 21, 0.42) 52%, rgba(15, 16, 21, 0) 72%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 60px 24px;
}
.hero-eyebrow {
  display: block;
  color: var(--green);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.hero-copy { flex: 1 1 460px; max-width: 560px; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  color: #fff;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--green); }
.hero-sub {
  color: rgba(244, 242, 236, 0.85);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 30px;
}

/* ---------- Category showcase sections (light content) ---------- */
.cat-showcase {
  padding: var(--space-section-y) 0;
  background: var(--paper-alt);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cat-showcase-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.cat-showcase-reverse .cat-showcase-inner { flex-direction: row-reverse; }
.cat-showcase-copy { flex: 1 1 460px; max-width: 560px; }
.cat-showcase-copy h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  color: var(--ink);
  text-transform: uppercase;
}
.cat-showcase-copy h2 .accent { color: var(--green-darker); }
.cat-showcase-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 28px;
}

/* ---------- Shared showcase image treatment (hero + category showcases) ---------- */
.showcase-art {
  position: relative;
  flex: 1 1 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.showcase-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(76, 194, 107, 0.25), transparent 70%);
  filter: blur(30px);
}
.showcase-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ---------- Adapters bento grid ---------- */
.adapters-bento { border-top: 1px solid var(--border); }
.bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.bento-tile { border-radius: var(--radius-lg); }
.bento-tile-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow);
}
.bento-tile-hero .bento-tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-tile-hero .bento-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 21, 0.32);
}
.bento-tile-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px 36px 36px;
  max-width: 480px;
  background:
    linear-gradient(90deg, rgba(15, 16, 21, 0.96) 0%, rgba(15, 16, 21, 0.9) 65%, rgba(15, 16, 21, 0) 100%),
    linear-gradient(180deg, rgba(15, 16, 21, 0) 0%, rgba(15, 16, 21, 0.88) 16%, rgba(15, 16, 21, 0.96) 100%);
}
.bento-tile-hero .bento-tile-copy h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: normal;
  margin-bottom: 10px;
}
.bento-tile-copy h2 .accent { color: var(--green); }
.bento-tile-copy p {
  color: rgba(244, 242, 236, 0.85);
  font-size: 0.92rem;
  max-width: 38ch;
  margin-bottom: 20px;
}

.bento-grid-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}
.bento-tile-photo-sm {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}
.bento-tile-photo-sm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-tile-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(15, 16, 21, 0.75);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
}
.bento-tile-dark {
  background: var(--dark-2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.bento-tile-dark-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(76, 194, 107, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 6px;
}
.bento-tile-dark-icon svg { width: 18px; height: 18px; }
.bento-tile-dark h3 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 4px;
}
.bento-tile-dark p { color: var(--on-dark-soft); font-size: 0.78rem; margin: 0; }

/* ---------- Work Lights + Jump Starters side-by-side row ---------- */
.duo-row { border-top: 1px solid var(--border); }
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.duo-card {
  display: flex;
  align-items: center;
  gap: 20px;
}
.duo-card-art {
  flex: 0 0 42%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.duo-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.duo-card-copy { flex: 1 1 auto; min-width: 0; }
.duo-eyebrow {
  color: var(--green-darker);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.duo-card .duo-card-copy h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1.15;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: normal;
  margin-bottom: 8px;
}
.duo-card-copy h2 .accent { color: var(--green-darker); }
.duo-sub {
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ---------- Power Tools + benefits sidebar ---------- */
.power-row { border-top: 1px solid var(--border); }
.power-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.power-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.power-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.power-copy { align-self: center; }
.power-grid .power-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: normal;
  margin-bottom: 10px;
}
.power-copy h2 .accent { color: var(--green-darker); }
.power-sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 36ch;
  margin-bottom: 20px;
}
.power-benefits {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.benefit-row { display: flex; align-items: flex-start; gap: 12px; }
.benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(76, 194, 107, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.benefit-icon svg { width: 16px; height: 16px; }
.benefit-row strong { display: block; color: #fff; font-size: 0.88rem; margin-bottom: 2px; }
.benefit-row span { color: var(--on-dark-soft); font-size: 0.78rem; }

/* ---------- Category page header (light content) ---------- */
.page-header {
  background: var(--hero-glow), var(--paper-alt);
  color: var(--ink);
  padding: 44px 24px 40px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.breadcrumb a,
.breadcrumb span { flex-shrink: 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-darker); }
.page-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.page-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--green-darker);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.page-icon svg { width: 24px; height: 24px; }
.page-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  color: var(--ink);
}
.page-header .page-sub {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}

/* ---------- Category page: dark photo hero ---------- */
.category-hero { position: relative; overflow: hidden; color: #fff; }
.category-hero-media { position: absolute; inset: 0; z-index: 0; }
.category-hero-photo { width: 100%; height: 100%; object-fit: cover; }
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 16, 21, 0.92) 0%, rgba(15, 16, 21, 0.8) 32%, rgba(15, 16, 21, 0.4) 62%, rgba(15, 16, 21, 0.18) 100%);
}
.category-hero-flat .category-hero-overlay { background: var(--dark-2); }
.category-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 24px 44px;
}
.category-hero .breadcrumb { color: rgba(244, 242, 236, 0.55); margin-bottom: 20px; }
.category-hero .breadcrumb a { color: rgba(244, 242, 236, 0.85); }
.category-hero .breadcrumb a:hover { color: var(--green); }
.category-hero-eyebrow {
  color: var(--green);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.category-hero h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.category-hero h1 .accent { color: var(--green); }
.category-hero-sub { color: rgba(244, 242, 236, 0.85); font-size: 1rem; max-width: 60ch; margin: 0; }

/* ---------- Category page: dark trust/feature row ---------- */
.category-trust { background: var(--dark-2); padding: 28px 24px; border-top: 1px solid var(--dark-border); }
.category-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-trust-item { display: flex; align-items: center; gap: 12px; }
.category-trust-item svg { width: 26px; height: 26px; color: var(--green); flex-shrink: 0; }
.category-trust-item strong { display: block; color: #fff; font-size: 0.86rem; }
.category-trust-item span { color: var(--on-dark-soft); font-size: 0.76rem; }

/* ---------- Category page: "Works With Your Favorite Brands" banner ---------- */
.brands-banner { padding: var(--space-section-y) 0; background: var(--paper-alt); border-top: 1px solid var(--border); }
.brands-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brands-banner-copy { max-width: 460px; flex-shrink: 0; }
.brands-eyebrow {
  color: var(--green-darker);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.brands-banner-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.brands-banner-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.brands-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.brands-strip-item {
  width: 78px;
  height: 78px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.brands-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Category page: dark band behind the brand filter pills ---------- */
.filter-band { background: var(--dark-2); padding: 28px 24px; }
.filter-band .category-filter { margin-bottom: 0; }
.filter-band .filter-count { color: var(--on-dark-soft); }

/* ---------- Category page: "Popular in This Category" ---------- */
.popular-section { padding: var(--space-section-y) 0; background: var(--paper-alt); }
.popular-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.popular-eyebrow {
  color: var(--green-darker);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.popular-row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; }
.popular-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 210px;
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
}
.popular-card-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.popular-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popular-card-body { padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.popular-card-name { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.popular-card-arrow { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ---------- Trust bar (light content) ----------
   .trust-inner/.trust-item are shared with the PDP "Why Choose" section
   (see .pdp-why-section below), so the card treatment stays the default;
   the homepage trust bar overrides it to a flat row via the .trust-bar scope. */
.trust-bar { background: var(--paper-alt); padding: 36px 24px 40px; }
.trust-inner {
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 26px; height: 26px; color: var(--ink); flex-shrink: 0; }

/* Homepage-only: flat row, no card, solid green icons */
.trust-bar .trust-inner {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  gap: 20px;
}
.trust-bar .trust-item { padding: 0; border-right: none; }
.trust-bar .trust-item svg { width: 28px; height: 28px; color: var(--green); }
.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ---------- Sections (light content) ---------- */
.section { padding: var(--space-section-y) 0 var(--space-section-y-bottom); background: var(--paper-alt); }
.section h2 {
  color: var(--ink);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-head-row h2 { margin: 0; }
.view-all {
  color: var(--green-darker);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.view-all:hover { text-decoration: underline; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  /* Full-bleed: break out of the .wrap container's 24px side padding so the
     outer cards sit flush with the viewport edge; only the inter-card gap remains. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Step down to 3 before the 980px breakpoint takes it to 2, so cards don't get
   squeezed to ~190px on laptop widths. Kept above .related-grid so the PDP
   related row keeps its own 4 columns. */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.related-grid { grid-template-columns: repeat(4, 1fr); }
.category-empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto;
}
.category-empty strong { display: block; color: var(--ink); font-size: 1.2rem; margin-bottom: 10px; }

.category-filter { margin-bottom: 28px; }
.category-filter .pill-row { margin-bottom: 14px; }
.filter-count { margin: 0; color: var(--ink-faint); font-size: 0.85rem; }
.product-card[hidden] { display: none; }

.product-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -18px rgba(20, 22, 28, 0.22); }
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-link:focus-visible { outline: 2px solid var(--green-darker); outline-offset: -2px; }
.product-media {
  position: relative;
  background: var(--paper-alt);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.badge-top { background: var(--ink); color: var(--green); border: 1px solid var(--green); }
.badge-new { background: var(--green); color: #0e1a12; }

.product-body { padding: 18px 22px 22px; }
.product-body h3 {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.product-body p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
}
.rating .star { width: 15px; height: 15px; color: var(--green-darker); fill: currentColor; }
.rating span {
  margin-left: 6px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-darker);
}
.stock::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green-darker);
  flex-shrink: 0;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.price-old {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin-right: 6px;
}
.price-sale { color: var(--green-darker); }
.badge-sale { background: var(--green); color: #0e1a12; }
.cart-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green-dark);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cart-btn svg { width: 19px; height: 19px; }
.cart-btn:hover { background: var(--green-darker); transform: translateY(-1px); }

/* ---------- Product detail page (light content) ---------- */
.pdp-breadcrumb-bar { background: var(--hero-glow), var(--paper-alt); padding: 26px 24px 0; }
.pdp-breadcrumb-bar .breadcrumb { margin-bottom: 0; }
.pdp-section { padding-top: 20px; padding-bottom: 24px; }

/* ---- "See It From Every Angle" filmstrip ---- */
.pdp-gallery-row-section { padding-top: 8px; padding-bottom: 32px; }
.pdp-gallery-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; }
.pdp-gallery-row-item {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pdp-gallery-row-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-gallery-row-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(14, 26, 18, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---- PDP video section ("See It In Action") ---- */
.pdp-video-section { padding-top: 8px; padding-bottom: 32px; }
.pdp-video-embed {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pdp-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.pdp-video-embed-vertical { aspect-ratio: 9 / 16; max-width: 360px; }
.pdp-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #eeece3;
  border: 1px solid var(--border);
  color: var(--ink-soft);
}
.pdp-video-placeholder svg { opacity: 0.6; }
.pdp-video-placeholder span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

/* ---- "Why Choose MarioMaker" — reuses the homepage trust-bar styling ---- */
.pdp-why-section { padding-top: 8px; padding-bottom: 40px; }
.pdp-why-section h2 { margin-bottom: 20px; }

.pdp-buybox {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.pdp-summary { display: flex; gap: 16px; margin-bottom: 20px; }
.pdp-summary-thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-alt);
}
.pdp-summary-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-summary-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.pdp-title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.pdp-title .accent { color: var(--green-darker); }
.pdp-rating { margin-bottom: 6px; }
.pdp-rating .rating-count-link {
  color: var(--ink-faint);
  text-decoration: none;
}
.pdp-rating .rating-count-link:hover { color: var(--green-darker); text-decoration: underline; }
.pdp-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--green-darker);
  margin: 0;
  line-height: 1;
}
/* ---- Gallery: vertical thumbnail rail on the left + large main photo on the right ---- */
.pdp-stack { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.pdp-gallery-grid { display: grid; grid-template-columns: 84px 1fr; gap: 14px; min-width: 0; }
.pdp-gallery-grid.pdp-gallery-single { grid-template-columns: 1fr; }
.pdp-gallery-main-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pdp-gallery-main-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-badge-sale {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #0e1a12;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
}
.pdp-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: var(--ink);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.15s ease;
}
.pdp-zoom-btn:hover { background: var(--dark); }
.pdp-zoom-btn svg { width: 17px; height: 17px; }
.pdp-gallery-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pdp-gallery-side-item {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pdp-gallery-side-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-gallery-side-item:hover { transform: translateY(-2px); }
.pdp-gallery-side-item.active { border-color: var(--green-darker); }

/* Explicit placement: sparse grid auto-flow won't backfill row 1 col 2 once this
   note claims row 2 col 1, so pin all three .pdp-stack children explicitly. */
.pdp-stack > .pdp-gallery-grid { grid-column: 1; grid-row: 1; }
.pdp-stack > .pdp-info { grid-column: 2; grid-row: 1; }
.pdp-gallery-note { grid-column: 1; grid-row: 2; margin: 0; }
.pdp-gallery-note[hidden] { display: none; }
.pdp-gallery-show-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--green-darker);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-gallery-show-all-btn:hover { opacity: 0.8; }

/* ---- Quantity selector group ---- */
.pdp-selector-group { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; }
.pdp-selector-group[hidden] { display: none; }
.pdp-selector-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

/* ---- Price line: big price + tax note ---- */
.pdp-price-line { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; flex-wrap: wrap; }
.pdp-tax-note { color: var(--ink-faint); font-size: 0.86rem; }

/* ---- Buy Now: full-width dark button under Add to Cart ---- */
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--dark); color: var(--on-dark); transform: translateY(-1px); }
.pdp-buy-now { margin: 14px 0 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pill-btn:hover { border-color: var(--green-darker); color: var(--ink); }
.pill-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #0e1a12;
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--paper-alt);
  margin-left: -8px;
}
.avatar-circle:first-child { margin-left: 0; }
.avatar-more { background: var(--paper); color: var(--ink-soft); border: 1px solid var(--border); }

.pdp-purchase-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.qty-selector {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 42px;
  background: var(--paper-alt);
  border: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.qty-btn:hover { background: var(--green-dark); color: #fff; }
.qty-input {
  width: 48px;
  text-align: center;
  background: var(--paper);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-add-btn { flex: 1; min-width: 200px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pdp-add-btn svg { width: 19px; height: 19px; }

.btn-outline {
  background: none;
  border: 1px solid var(--green-darker);
  color: var(--green-darker);
}
.btn-outline:hover { background: var(--green); border-color: var(--green); color: #0e1a12; }

.pdp-tab-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
  overflow-x: auto;
}
.pdp-tab {
  background: none;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pdp-tab:hover { color: var(--ink); }
.pdp-tab.active { background: var(--ink); color: var(--on-dark); }

.pdp-tab-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}
.pdp-tab-panel[hidden] { display: none; }
.pdp-tab-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-darker);
  margin: 0 0 6px;
}
.pdp-compat-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Tiles auto-fit down from ~3 columns as the buybox column narrows, rather than a fixed
   column count — the compat panel lives in a sidebar-width column, not the full page. */
.pdp-brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; }
.pdp-brand-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper-alt);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pdp-brand-card:hover { border-color: var(--brand-accent, var(--green-darker)); }
/* Selected state is a border + soft tint in the tile's OWN brand color (both read from
   custom properties already set on this exact tile), not a shared color or a separate
   element — so toggling the class is all a click ever needs to do. */
.pdp-brand-card.active { border-color: var(--brand-accent); background: var(--brand-tint); }
.pdp-brand-card-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-brand-card-badge svg { width: 20px; height: 20px; }
.pdp-brand-card-glyph { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1; }
.pdp-brand-card-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pdp-brand-card-line1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  overflow-wrap: break-word;
}
.pdp-brand-card-line2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}
.pdp-brand-card-solo { font-size: 0.88rem; }
/* Longer combined model strings (e.g. "18V + AEG PRO18V") get a smaller size so they wrap
   at word boundaries within the tile instead of crowding it or overflowing. */
.pdp-brand-card-line2--long { font-size: 0.68rem; letter-spacing: 0.01em; }

.pdp-feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pdp-feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.pdp-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}
.pdp-feature-list li.pdp-feature-subhead {
  padding-left: 0;
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
}
.pdp-feature-list li.pdp-feature-subhead::before { display: none; }
.pdp-feature-list li.pdp-feature-note { font-style: italic; color: var(--ink-faint); }
.pdp-trademark-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

.spec-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 18px; }
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.spec-row dt { margin: 0; color: var(--ink-faint); font-size: 0.85rem; }
.spec-row dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 0.9rem; text-align: right; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-card-head .avatar-circle { margin-left: 0; flex-shrink: 0; }
.review-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.review-date { font-size: 0.76rem; color: var(--ink-faint); }
.review-card-head .review-stars { margin-left: auto; flex-shrink: 0; }
.review-stars { display: flex; gap: 2px; }
.review-stars .star { width: 14px; height: 14px; color: var(--green-darker); fill: currentColor; }
.review-author { font-size: 0.88rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.review-text { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Compatible With banner ---------- */
.compat-banner { background: var(--dark-2); }
.compat-inner {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}
.compat-copy { max-width: 560px; }
.compat-eyebrow {
  color: var(--green);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.compat-copy h2 {
  color: #fff;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.compat-sub { color: var(--on-dark-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Shop by category ---------- */
.category-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease;
}
.category-card:hover { transform: translateY(-3px); }
.category-card-media { position: relative; aspect-ratio: 1 / 1; background: var(--paper-alt); overflow: hidden; }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-card-media-icon { display: flex; align-items: center; justify-content: center; }
.category-card-media-icon svg { width: 34%; height: 34%; color: var(--ink-faint); }
.category-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}
.category-card-arrow { color: var(--green-darker); font-weight: 700; flex-shrink: 0; }

.category-card-deals { background: var(--green); border-color: var(--green); }
.category-card-deals .category-card-media { background: transparent; }
.category-card-deals .category-card-media-icon svg { color: #0e1a12; }
.category-card-deals .category-card-label,
.category-card-deals .category-card-arrow { color: #0e1a12; }

/* ---------- Homepage hero tagline ---------- */
.hero-tagline {
  background: var(--hero-glow), var(--paper-alt);
  padding: 30px 0 18px;
  text-align: center;
}
.hero-tagline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.1vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0;
}
.hero-tagline-title .accent { color: var(--green); }
.hero-tagline-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  margin: 8px 0 0;
}
.deals-tiles { padding-top: 20px; }

/* ---------- Promo tiles (Deals) ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  /* Full-bleed: break out of the .wrap container's 24px side padding so the
     outer tiles sit flush with the viewport edge; only the inter-tile gap remains. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.promo-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  background: var(--paper);
}
.promo-tile-media {
  position: relative;
  overflow: hidden;
}
.promo-tile-photo {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.promo-tile:hover .promo-tile-photo { transform: scale(1.04); }
/* The Gimbal Spotlight product shot is a plain studio photo with generous white
   margin around it (unlike the other tiles' tightly-cropped lifestyle photos), so it
   gets a permanent zoom to make the product fill the frame like its neighbors. */
.promo-tile-gimbal-photo { transform: scale(1.25); }
.promo-tile:hover .promo-tile-gimbal-photo { transform: scale(1.3); }
.promo-tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  background: var(--green);
  color: #0e1a12;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.promo-tile-badge-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  line-height: 1.1;
  font-size: 0.7rem;
}
.promo-tile-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.promo-tile-name {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.15;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-tile-tag {
  display: block;
  color: #43454d;
  font-size: 0.64rem;
  line-height: 1.3;
  margin-bottom: 6px;
}
.promo-tile-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  margin-bottom: 5px;
}
.promo-tile-star { width: 11px; height: 11px; color: var(--green-darker); fill: currentColor; flex-shrink: 0; }
.promo-tile-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.promo-tile-brand {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.promo-tile-brand-more { color: var(--green-darker); border-color: var(--green-darker); }
.promo-tile-price {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 8px;
}
.promo-tile-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  background: var(--green);
  color: #0e1a12;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.promo-tile:hover .promo-tile-cta { background: var(--green-dark); transform: translateY(-1px); }

/* ---------- Testimonials (dark chrome) ---------- */
.testimonials-section { background: var(--dark-2); padding: var(--space-section-y) 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.testimonials-eyebrow {
  color: var(--green);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.testimonials-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.testimonials-copy h2 .accent { color: var(--green); }
.testimonials-sub {
  color: var(--on-dark-soft);
  font-size: 0.95rem;
  max-width: 40ch;
  margin-bottom: 26px;
}
.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonials-section .review-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonials-section .review-stars .star { width: 14px; height: 14px; color: var(--green); fill: currentColor; }
.testimonials-section .review-text { color: var(--on-dark-soft); font-size: 0.88rem; line-height: 1.6; margin: 0; flex: 1; }
.review-author-row { display: flex; align-items: center; gap: 10px; }
.testimonials-section .avatar-circle {
  width: 32px;
  height: 32px;
  background: var(--green-dark);
  border-color: var(--dark-3);
  margin-left: 0;
}
.testimonials-section .review-author { color: #fff; font-size: 0.85rem; font-weight: 600; }

/* ---------- Newsletter signup bar (light content) ---------- */
.newsletter-bar {
  background: var(--paper);
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.newsletter-copy { display: flex; align-items: center; gap: 16px; }
.newsletter-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(76, 194, 107, 0.14);
  color: var(--green-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.newsletter-icon svg { width: 20px; height: 20px; }
.newsletter-copy h2 { font-size: 1.05rem; color: var(--ink); text-transform: uppercase; margin: 0 0 4px; }
.newsletter-copy p { margin: 0; color: var(--ink-soft); font-size: 0.85rem; }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-input {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper-alt);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 260px;
}
.newsletter-input:focus { outline: none; border-color: var(--green-darker); }
.newsletter-form .btn { white-space: nowrap; }

/* ---------- Account page (light content) ---------- */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.account-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.account-card h2 {
  color: var(--ink);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.account-card-sub {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-field input,
.form-field textarea {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--green-darker); }
.form-link {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.84rem;
  margin-bottom: 20px;
}
.form-link:hover { color: var(--green-darker); }
.form-note {
  min-height: 1.2em;
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--green-darker);
  text-align: center;
}

/* ---------- Policy pages (light content) ---------- */
.policy-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 760px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-darker);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 36px;
  box-shadow: var(--shadow);
}
.policy-notice svg { width: 20px; height: 20px; color: var(--green-darker); flex-shrink: 0; margin-top: 1px; }
.policy-notice p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }

.policy-content { max-width: 760px; }
.policy-content h2 {
  color: var(--ink);
  font-size: 1.2rem;
  margin: 34px 0 12px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0 0 14px;
}
.policy-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--ink-soft);
}
.policy-content li { margin-bottom: 8px; line-height: 1.65; font-size: 0.96rem; }
.policy-content a { color: var(--green-darker); text-decoration: none; }
.policy-content a:hover { text-decoration: underline; }
.policy-updated {
  color: var(--ink-faint);
  font-size: 0.82rem;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---------- About page (light content) ---------- */
.about-hero {
  background: var(--hero-glow), var(--paper-alt);
  color: var(--ink);
  padding: 12px 24px 52px;
}
.about-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.about-hero h1 .accent { color: var(--green-darker); }
.about-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
  line-height: 1.7;
  margin: 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-us-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.why-us-card svg { width: 26px; height: 26px; color: var(--green-darker); margin-bottom: 14px; }
.why-us-card h3 { color: var(--ink); font-size: 1.02rem; margin-bottom: 8px; }
.why-us-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; margin: 0; }

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--green-darker);
  margin-bottom: 8px;
}
.value-item p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-form-card .form-field:last-of-type { margin-bottom: 18px; }
.contact-info-card .footer-email { display: block; color: var(--green-darker); font-weight: 600; margin-bottom: 18px; }
.contact-info-card .footer-email:hover { color: var(--green-dark); }
.contact-info-card .footer-address { color: var(--ink-soft); }
.contact-info-card .footer-address strong { color: var(--ink); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}
.faq-item h3 { color: var(--ink); font-size: 1.02rem; margin: 0 0 8px; }
.faq-item p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.7; margin: 0; }

/* ---------- Track order page (light content) ---------- */
.track-order-section { padding: 56px 0 100px; }
.track-order-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.track-order-card h1 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.track-order-sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.track-order-sub a { color: var(--green-darker); font-weight: 600; }
.track-order-card form { text-align: left; }
.track-tab-list { justify-content: center; }
.track-tab-panel[hidden] { display: none; }

/* ---------- Build a Bundle page ---------- */
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; pointer-events: none; }

.bundle-heading { max-width: 640px; margin: 0 0 36px; }
.bundle-heading p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; margin: 10px 0 0; }

.bundle-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }

.bundle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.bundle-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bundle-card.selected { border-color: var(--green); background: #f4fbf6; }

.bundle-card-head { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.bundle-card-checkbox { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green-dark); cursor: pointer; }
.bundle-card-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bundle-card-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bundle-card-name { font-family: var(--font-display); font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.bundle-card-price { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--green-darker); }

.bundle-card-brands { margin: 16px 0 0 34px; }
.bundle-card-brands[hidden] { display: none; }
.bundle-card-brands .pill-btn { padding: 7px 14px; font-size: 0.78rem; }

.bundle-summary {
  position: sticky;
  top: 110px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.bundle-summary-title { font-size: 1.05rem; color: var(--ink); text-transform: uppercase; margin-bottom: 4px; }
.bundle-summary-count { color: var(--ink-faint); font-size: 0.82rem; margin: 0 0 16px; }
.bundle-summary-empty { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; margin: 0 0 4px; }
.bundle-summary-empty[hidden] { display: none; }
.bundle-summary-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.bundle-summary-list[hidden] { display: none; }
.bundle-summary-item { display: flex; align-items: center; gap: 12px; }
.bundle-summary-item-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-summary-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bundle-summary-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bundle-summary-item-name { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.bundle-summary-item-brand {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-darker);
  background: #eaf8ee;
  border-radius: 999px;
  padding: 2px 9px;
}
.bundle-summary-item-price { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--ink); white-space: nowrap; }
.bundle-summary-foot { border-top: 1px solid var(--border); padding-top: 18px; }
.bundle-summary-subtotal { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.bundle-summary-subtotal span:last-child { font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- Footer (dark chrome — deliberate contrast anchor) ---------- */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 0.8fr;
  gap: 32px;
  padding: 52px 24px 40px;
}
.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin: 0 0 18px;
}
.footer-brand { font-size: 1.15rem; display: inline-block; margin-bottom: 14px; }
.footer-blurb {
  color: var(--on-dark-soft);
  font-size: 0.88rem;
  max-width: 34ch;
  margin-bottom: 16px;
}
.footer-address {
  font-style: normal;
  color: var(--on-dark-faint);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-address strong { display: block; color: var(--on-dark-soft); font-weight: 600; }
.footer-email {
  display: inline-block;
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.footer-email:hover { color: var(--green); }

.social-row { display: flex; gap: 10px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--dark-3);
  color: var(--on-dark-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover { background: var(--green-dark); color: #fff; }

.footer-links ul,
.footer-company ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a,
.footer-company a {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover,
.footer-company a:hover { color: var(--green); }

.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-badge {
  width: 46px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.payment-badge svg { width: 100%; height: 100%; display: block; }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--on-dark-faint);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(88px, 1fr) auto minmax(88px, 1fr);
    gap: 10px;
    padding: 12px 20px;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: start; }
  .brand { margin: 0; align-items: center; justify-self: center; }
  .nav { display: none; }
  .account-icon { display: none; }
  .header-icons { justify-self: end; }
  #search-toggle { display: none; }

  .mobile-search-row { display: block; padding: 0 20px 8px; position: relative; }
  .mobile-search-row .search-modal { max-width: none; width: 100%; box-shadow: none; border-radius: 999px; }
  .mobile-search-row .search-form { padding: 4px 6px 4px 16px; }
  .mobile-search-row .search-form input { font-size: 0.94rem; }
  .mobile-search-row .search-dropdown {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 100%;
    z-index: 5;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 6px;
  }

  .category-hero-inner { min-height: 260px; padding: 40px 20px; }
  .brands-banner-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .brands-banner-copy { max-width: none; }

  .hero-inner { padding: 44px 20px; min-height: 440px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }

  .cat-showcase { padding: 44px 0; }
  .cat-showcase-inner { gap: 24px; }
  .cat-showcase-copy h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }

  .showcase-art { flex: 0 0 42%; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile-hero { min-height: 380px; }

  .duo-grid { grid-template-columns: 1fr; gap: 40px; }

  .power-grid { grid-template-columns: 1fr; gap: 24px; }
  .power-art { max-width: 420px; }
  .power-benefits { max-width: 420px; }

  .category-row { grid-template-columns: repeat(4, 1fr); }

  .trust-bar { padding: 28px 20px 32px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(2n) { border-right: none; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .trust-bar .trust-item { border-bottom: none; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .pdp-stack { grid-template-columns: 1fr; gap: 32px; }
  .pdp-stack > .pdp-gallery-grid, .pdp-stack > .pdp-info, .pdp-gallery-note { grid-column: 1; grid-row: auto; }
  .pdp-gallery-grid { grid-template-columns: 1fr; }
  .pdp-gallery-main-photo { order: -1; }
  .pdp-gallery-side { flex-direction: row; flex-wrap: wrap; order: 2; }
  .pdp-gallery-side-item { width: 76px; }

  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr; gap: 32px; }
  .review-cards { grid-template-columns: repeat(3, 1fr); }

  .bundle-layout { grid-template-columns: 1fr; }
  .bundle-summary { position: static; top: auto; }
}

@media (max-width: 620px) {
  .cart-toast { bottom: 16px; }
  .cart-toast-inner { padding: 12px; gap: 8px; }
  .cart-toast-msg { max-width: 140px; font-size: 0.8rem; }

  .category-hero-inner { min-height: 220px; padding: 32px 20px; }
  .category-hero-overlay { background: linear-gradient(180deg, rgba(15, 16, 21, 0.55) 0%, rgba(15, 16, 21, 0.9) 70%, rgba(15, 16, 21, 0.94) 100%); }
  .category-hero-flat .category-hero-overlay { background: var(--dark-2); }

  .category-trust { padding: 24px 20px; }
  .category-trust-row { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }

  .brands-strip-item { width: 66px; height: 66px; }

  .popular-card { flex: 0 0 170px; }

  .hero-inner { min-height: 400px; padding: 36px 20px; }
  .hero-media-overlay { background: linear-gradient(180deg, rgba(15, 16, 21, 0.55) 0%, rgba(15, 16, 21, 0.88) 65%, rgba(15, 16, 21, 0.92) 100%); }

  .cat-showcase { padding: 36px 0; }
  .cat-showcase-inner,
  .cat-showcase-reverse .cat-showcase-inner { flex-direction: column; text-align: left; gap: 16px; }
  .cat-showcase-copy { flex: none; max-width: none; }

  .showcase-art { flex: 0 0 auto; width: 100%; max-width: 380px; margin: 0 auto; }

  .bento-grid { gap: 14px; }
  .bento-tile-hero { min-height: 320px; }
  .bento-tile-copy { padding: 24px; }
  .bento-grid-side { gap: 14px; }

  .hero-tagline { padding: 10px 0 6px; }
  .hero-tagline-title { font-size: 0.75rem; letter-spacing: 0.03em; }
  .hero-tagline-sub { font-size: 0.66rem; margin-top: 5px; }
  .deals-tiles { padding-top: 10px; }

  .promo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .promo-tile-badge { top: 6px; left: 6px; font-size: 0.52rem; padding: 3px 7px; }
  .promo-tile-copy { padding: 8px; }
  .promo-tile-name { font-size: 0.66rem; line-height: 1.15; margin-bottom: 1px; }
  .promo-tile-tag {
    font-size: 0.54rem;
    line-height: 1.25;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .promo-tile-rating { font-size: 0.52rem; margin-bottom: 4px; }
  .promo-tile-star { width: 9px; height: 9px; }
  .promo-tile-brands { gap: 3px; margin-bottom: 6px; }
  .promo-tile-brand { font-size: 0.48rem; padding: 1px 6px; }
  .promo-tile-price { font-size: 0.74rem; margin-bottom: 5px; }
  .promo-tile-cta { font-size: 0.52rem; padding: 4px 9px; }

  .duo-grid { gap: 48px; }
  .duo-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .duo-card-art { flex: 0 0 auto; width: 100%; max-width: 320px; }
  .duo-card-copy { flex: 0 0 auto; }

  .power-grid { gap: 28px; }
  .power-art { max-width: 100%; }
  .power-benefits { max-width: 100%; padding: 24px 20px; gap: 24px; }

  .compat-inner { min-height: 160px; padding: 36px 20px; }
  .compat-copy { max-width: none; }

  .trust-item { padding: 18px 16px; gap: 10px; }
  .trust-item svg { width: 22px; height: 22px; }
  .trust-bar .trust-item { padding: 0; }
  .trust-bar .trust-item svg { width: 22px; height: 22px; }

  .product-grid { grid-template-columns: 1fr; }

  .category-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-card-label { font-size: 0.78rem; padding: 10px; }
  .category-card-deals { grid-column: 1 / -1; }
  .category-card-deals .category-card-media { aspect-ratio: 3 / 1; }

  .testimonials-section { padding: var(--space-section-y) 0; }
  .review-cards { grid-template-columns: 1fr; gap: 22px; }
  .testimonials-section .review-card { gap: 18px; }

  .newsletter-bar { padding: 40px 20px; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-input { min-width: 0; width: 100%; }
  .newsletter-form .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 18px 20px; }

  .account-grid { grid-template-columns: 1fr; }
  .overlay-center { padding: 0 12px; align-items: center; }
  .cart-panel { max-width: 100%; }

  .pdp-breadcrumb-bar { padding: 10px 20px 0; }
  .pdp-section { padding-top: 12px; }

  /* Full-bleed: break out of the .wrap container's 24px side padding so the
     main product photo sits flush with the viewport edges on mobile. */
  .pdp-gallery-main-photo {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .pdp-buybox { padding: 18px 12px; }
  /* Narrower side padding gives the tile grid more room so model names like
     "PROCORE18V" are less likely to wrap to a 2nd line at this width. */
  .pdp-tab-panel { padding: 20px 10px; }
  .pdp-gallery-row-item { width: 160px; }
  .pdp-purchase-row { flex-direction: column; }
  .qty-selector { align-self: center; }
  .pdp-add-btn { min-width: 0; width: 100%; }
  .pdp-tab-list { gap: 6px; }
  .pdp-tab { padding: 9px 14px; font-size: 0.8rem; }

  /* Force 2 columns rather than letting auto-fit collapse to 1 — at this width the
     148px minmax floor no longer fits two side by side once the wrap/buybox/tab-panel
     padding is subtracted, so tiles shrink here to make room instead. */
  .pdp-brand-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pdp-brand-card { gap: 8px; padding: 8px; }
  .pdp-brand-card-badge { width: 32px; height: 32px; border-radius: 8px; }
  .pdp-brand-card-badge svg { width: 16px; height: 16px; }
  .pdp-brand-card-glyph { font-size: 0.9rem; }
  .pdp-brand-card-line1 { font-size: 0.66rem; }
  .pdp-brand-card-line2 { font-size: 0.72rem; }
  .pdp-brand-card-solo { font-size: 0.76rem; }
  .pdp-brand-card-line2--long { font-size: 0.6rem; }

  .why-us-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; gap: 20px; }

  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-card-brands { margin-left: 0; }
}

