/* =========================================================
   TORQUE DEPOT — design tokens
   Industrial / warehouse-signage system: stenciled display type,
   bin-tag part labels, hazard-stripe accents.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --asphalt: #17181A;
  --steel: #2B2E33;
  --steel-light: #3A3E45;
  --chalk: #FAF9F7;
  --chalk-dim: #C9C6BE;
  --ledger: #74787E;
  --line: #E7E4DE;
  --panel: #F1EFEA;
  --safety-orange: #5e9bd2;
  --safety-orange-dark: #386b96;
  --safety-yellow: #FFC730;
  --signal-green: #4C9A6A;
  --signal-red: #5e9bd2;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --container: 1240px;
  --radius: 3px;
  --shadow-card: 0 1px 0 rgba(0, 0, 0, .04), 0 8px 20px -12px rgba(20, 20, 20, .25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--chalk);
  color: var(--asphalt);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 3px solid var(--safety-orange);
  outline-offset: 2px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
  /* Increased for more breathing space */
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--safety-orange-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.section {
  padding: 80px 0;
  /* Increased for breathing space */
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.section-head .kicker {
  margin-bottom: 8px;
  display: block;
}

/* ---------- hazard rule (signature motif) ---------- */
.hazard-rule {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--safety-orange) 0 14px, var(--asphalt) 14px 28px);
}

.hazard-rule.thin {
  height: 4px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--safety-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--safety-orange-dark);
}

.btn-dark {
  background: var(--asphalt);
  color: var(--chalk);
}

.btn-dark:hover {
  background: #000;
}

.btn-outline {
  background: transparent;
  border-color: var(--asphalt);
  color: var(--asphalt);
}

.btn-outline:hover {
  background: var(--asphalt);
  color: var(--chalk);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(243, 241, 236, .5);
  color: var(--chalk);
}

.btn-outline-light:hover {
  border-color: var(--chalk);
  background: rgba(243, 241, 236, .08);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 16px;
  font-size: .8rem;
}

.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--chalk);
}

.btn-icon:hover {
  background: var(--steel-light);
}

/* =========================================================
   TOP UTILITY BAR + HEADER
   ========================================================= */
.top-strip {
  background: var(--asphalt);
  color: var(--chalk-dim);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .03em;
}

.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  gap: 36px;
}

.top-strip span {
  white-space: nowrap;
}

header.site-header {
  background: #fff;
  color: var(--asphalt);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}

.logo .mark {
  width: 38px;
  height: 38px;
  background: var(--safety-orange);
  color: var(--asphalt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo .word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
}

.logo .word small {
  display: block;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  color: var(--safety-orange);
  font-weight: 600;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--asphalt);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--safety-orange-dark);
  border-color: var(--safety-orange);
}

.header-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.header-search input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--asphalt);
  padding: 11px 42px 11px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
}

.header-search input::placeholder {
  color: var(--ledger);
}

.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ledger);
  padding: 6px;
}

.header-search button:hover {
  color: var(--safety-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-icon {
  position: relative;
  border-color: var(--line);
  color: var(--asphalt);
}

.header-actions .btn-icon:hover {
  background: var(--panel);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--safety-orange);
  color: var(--asphalt);
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
}

/* ---------- breadcrumb (aisle-sign style) ---------- */
.breadcrumb-strip {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--ledger);
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--safety-orange);
}

.breadcrumb .sep {
  color: var(--ledger);
}

.breadcrumb .current {
  color: var(--asphalt);
}

/* =========================================================
   FOOTER (loading-dock signage board)
   ========================================================= */
footer.site-footer {
  background: #fff;
  color: var(--ledger);
  border-top: 1px solid var(--line);
  padding: 2rem;
}

.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-col h4 {
  color: var(--asphalt);
  font-size: .86rem;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--ledger);
  font-size: .88rem;
}

.footer-col a:hover {
  color: var(--safety-orange);
}

.footer-about p {
  font-size: .88rem;
  color: var(--ledger);
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social .btn-icon {
  border-color: var(--line);
  color: var(--asphalt);
}

.footer-newsletter input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--asphalt);
  padding: 11px 12px;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--ledger);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
}

.footer-payment {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
}

.footer-payment span {
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 2px;
  color: var(--ledger);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--chalk);
  color: var(--asphalt);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 0;
}

.hero .eyebrow {
  color: var(--safety-orange-dark);
}

.hero h1 {
  margin: 14px 0 18px;
}

.hero h1 .stroke {
  color: var(--safety-orange);
}

.hero p.lede {
  font-size: 1.05rem;
  color: var(--ledger);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stats div {
  font-family: var(--font-mono);
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--safety-orange);
}

.hero-stats span {
  font-size: .72rem;
  color: var(--ledger);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 0;
}

.hero-art .plate {
  width: 100%;
  aspect-ratio: 4/3.6;
  background: var(--safety-orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-art .plate .icon {
  width: 38%;
  height: 38%;
  stroke: #fff;
  stroke-width: 1.3;
}

.hero-art .tag {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--asphalt);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .72rem;
  padding: 7px 16px;
  border-radius: 2px;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ---------- fitment finder (hero signature interaction) ---------- */
.fitment {
  background: #fff;
  color: var(--asphalt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  margin: 34px 0 0;
  box-shadow: var(--shadow-card);
}

.fitment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .95rem;
  margin-bottom: 14px;
}

.fitment-head .icon {
  width: 18px;
  height: 18px;
  color: var(--safety-orange-dark);
}

.fitment-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
}

.fitment-fields select {
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.fitment-fields button {
  padding: 0 20px;
}

.hero-bottom-hazard {
  margin-top: 56px;
}

/* =========================================================
   CATEGORY GRID (bin-tag cards)
   ========================================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}

.cat-card:hover {
  border-color: var(--safety-orange);
  transform: translateY(-3px);
}

.cat-card .icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--safety-orange);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card .icon-wrap .icon {
  color: #fff;
  width: 28px;
  height: 28px;
}

.cat-card h3 {
  font-size: 1rem;
}

.cat-card .count {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--ledger);
}

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media .icon {
  width: 36%;
  height: 36%;
  color: var(--safety-orange);
  stroke-width: 1.5;
}

.product-media .bin-tag {
  position: absolute;
  left: 0;
  top: 12px;
  background: var(--safety-yellow);
  color: var(--asphalt);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .66rem;
  padding: 3px 10px 3px 8px;
  border-radius: 0 3px 3px 0;
  letter-spacing: .03em;
}

.product-media .badge {
  position: absolute;
  right: 10px;
  top: 12px;
  background: var(--signal-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ledger);
}

.product-body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  font-size: .95rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.product-body h3 a:hover {
  color: var(--safety-orange-dark);
}

.stars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars .icon {
  width: 13px;
  height: 13px;
  color: var(--safety-yellow);
}

.stars span {
  font-size: .74rem;
  color: var(--ledger);
  font-family: var(--font-mono);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.15rem;
}

.price-old {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ledger);
  text-decoration: line-through;
}

.stock {
  font-size: .74rem;
  font-family: var(--font-mono);
}

.stock.in {
  color: var(--signal-green);
}

.stock.low {
  color: var(--safety-orange-dark);
}

.product-foot {
  padding: 0 16px 16px;
}

/* =========================================================
   FEATURE / WHY-US STRIP
   ========================================================= */
.feature-strip {
  background: var(--panel);
  color: var(--asphalt);
}

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

.feature-item {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 16px;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--safety-orange);
}

.feature-item:nth-child(even) .icon-wrap {
  background: var(--asphalt);
}

.feature-item .icon-wrap .icon {
  width: 22px;
  height: 22px;
  color: #fff;
}

.feature-item h4 {
  font-size: .92rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: .82rem;
  color: var(--ledger);
}

/* ---------- brand badge grid ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.4/1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 14px;
}

.brand-badge span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--asphalt);
  text-align: center;
}

.brand-badge:hover {
  background: var(--panel);
}

.brand-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}

.brand-card .badge-mark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .04em;
  color: var(--asphalt);
  margin-bottom: 10px;
}

.brand-card .badge-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--safety-orange-dark);
  background: var(--panel);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.brand-card p {
  font-size: .85rem;
  color: var(--ledger);
}

/* ---------- newsletter ---------- */
.newsletter {
  background: var(--safety-orange);
  color: #fff;
}

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 24px;
  flex-wrap: wrap;
}

.newsletter h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.newsletter p {
  font-size: .9rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  width: 260px;
  padding: 12px 14px;
  border: 2px solid var(--asphalt);
  border-radius: 3px;
  background: var(--chalk);
}

/* =========================================================
   SHOP PAGE
   ========================================================= */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.filters {
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 150px;
}

.filters h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--asphalt);
}

.filter-group {
  margin-bottom: 22px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: .87rem;
}

.filter-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--safety-orange);
}

.filter-row label {
  flex: 1;
  cursor: pointer;
}

.filter-row .n {
  color: var(--ledger);
  font-family: var(--font-mono);
  font-size: .76rem;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-inputs input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: .85rem;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-toolbar .result-count {
  font-size: .88rem;
  color: var(--ledger);
}

.shop-toolbar .sort select {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-size: .85rem;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .78rem;
}

.chip button {
  background: none;
  border: none;
  color: var(--ledger);
  display: flex;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: .85rem;
}

.pagination button.active {
  background: var(--asphalt);
  color: #fff;
  border-color: var(--asphalt);
}

/* =========================================================
   PRODUCT DETAIL PAGE
   ========================================================= */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.pd-gallery-main {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 12px;
}

.pd-gallery-main .icon {
  width: 38%;
  height: 38%;
  color: var(--safety-orange);
  stroke-width: 1.3;
}

.pd-gallery-thumbs {
  display: flex;
  gap: 10px;
}

.pd-gallery-thumbs .thumb {
  width: 70px;
  height: 70px;
  background: var(--panel);
  border-radius: 4px;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-gallery-thumbs .thumb.active {
  border-color: var(--safety-orange);
}

.pd-gallery-thumbs .thumb .icon {
  width: 55%;
  height: 55%;
  color: var(--ledger);
}

.pd-info .sku-row {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ledger);
  margin: 10px 0 16px;
}

.pd-info h1 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pd-price-row .price {
  font-size: 2rem;
}

.pd-info .stock {
  font-size: .85rem;
}

.pd-fit-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E4E1D9;
  border-left: 3px solid var(--safety-orange);
  padding: 12px 14px;
  border-radius: 3px;
  font-size: .85rem;
  margin: 16px 0;
}

.pd-fit-note .icon {
  width: 18px;
  height: 18px;
  color: var(--safety-orange-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.qty-add-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin: 20px 0;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.qty-stepper button {
  width: 42px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--asphalt);
}

.qty-stepper button:hover {
  background: #F1EFE9;
}

.qty-stepper input {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 600;
}

.pd-meta-list {
  font-size: .85rem;
  color: var(--ledger);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}

.pd-meta-list b {
  color: var(--asphalt);
  font-weight: 600;
}

.pd-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--line);
  margin: 56px 0 0;
}

.pd-tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .85rem;
  color: var(--ledger);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.pd-tab-btn.active {
  color: var(--asphalt);
  border-color: var(--safety-orange);
}

.pd-tab-panel {
  display: none;
  padding: 28px 0;
  max-width: 760px;
}

.pd-tab-panel.active {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.spec-table tr {
  border-bottom: 1px solid #E4E1D9;
}

.spec-table td {
  padding: 11px 4px;
}

.spec-table td:first-child {
  color: var(--ledger);
  width: 40%;
  font-family: var(--font-mono);
  font-size: .82rem;
}

.review {
  padding: 18px 0;
  border-bottom: 1px solid #E4E1D9;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.review-head b {
  font-size: .9rem;
}

.review-head .date {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--ledger);
}

.review p {
  font-size: .9rem;
  color: #3c3c3c;
}

.related-heading {
  margin: 56px 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   CART PAGE
   ========================================================= */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ledger);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--asphalt);
}

.cart-row td {
  padding: 18px 8px;
  border-bottom: 1px solid #E4E1D9;
  vertical-align: middle;
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cart-item .thumb {
  width: 64px;
  height: 64px;
  background: var(--panel);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item .thumb .icon {
  width: 55%;
  height: 55%;
  color: var(--safety-orange);
}

.cart-item .name {
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 4px;
}

.cart-item .sku {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ledger);
}

.remove-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--signal-red);
  margin-top: 6px;
  background: none;
  border: none;
}

.remove-link .icon {
  width: 13px;
  height: 13px;
}

.line-total {
  font-family: var(--font-mono);
  font-weight: 600;
}

.summary-card {
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 150px;
}

.summary-card h3 {
  font-size: .95rem;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--asphalt);
  margin-bottom: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  margin-bottom: 12px;
  color: #3c3c3c;
}

.summary-line.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--asphalt);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
}

.promo-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.promo-row input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: .85rem;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--ledger);
}

/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  align-items: start;
}

.checkout-steps {
  display: flex;
  gap: 22px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ledger);
}

.checkout-steps .step.active {
  color: var(--asphalt);
  font-weight: 600;
}

.checkout-steps .step.active span {
  background: var(--safety-orange);
  color: var(--asphalt);
}

.checkout-steps .step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  margin-right: 6px;
  font-size: .7rem;
}

.form-block {
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.form-block h3 {
  font-size: .95rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E4E1D9;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: .78rem;
  color: var(--ledger);
  font-weight: 500;
}

.field input,
.field select {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: .9rem;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: .9rem;
}

.pay-option input {
  accent-color: var(--safety-orange);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  background: var(--chalk);
  color: var(--asphalt);
  text-align: center;
  padding: 70px 0;
}

.about-hero p {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--ledger);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: 6px;
  overflow: hidden;
  margin-top: -46px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.stat-band div {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid #E4E1D9;
}

.stat-band div:last-child {
  border-right: none;
}

.stat-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--safety-orange-dark);
}

.stat-band span {
  font-size: .78rem;
  color: var(--ledger);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-split .art {
  background: var(--panel);
  border-radius: 6px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-split .art .icon {
  width: 36%;
  height: 36%;
  color: var(--safety-orange);
}

.about-split p {
  color: #3c3c3c;
  margin-bottom: 14px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--safety-orange);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.timeline-body h4 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: .88rem;
  color: var(--ledger);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  text-align: center;
}

.team-card .avatar {
  aspect-ratio: 1/1;
  background: var(--panel);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.team-card .avatar .icon {
  width: 40%;
  height: 40%;
  color: var(--ledger);
}

.team-card h4 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: .95rem;
}

.team-card span {
  font-size: .78rem;
  color: var(--ledger);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #E4E1D9;
  border-radius: var(--radius);
  padding: 18px;
}

.contact-info-card .icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--safety-orange);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon-wrap .icon {
  width: 20px;
  height: 20px;
  color: #fff;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: .9rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: .85rem;
  color: var(--ledger);
}

.map-plate {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--ledger);
}

.map-plate .icon {
  width: 34px;
  height: 34px;
  color: var(--safety-orange);
}

.faq-item {
  border-bottom: 1px solid #E4E1D9;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: .92rem;
}

.faq-q .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q .icon {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  font-size: .88rem;
  color: var(--ledger);
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 16px;
}

/* =========================================================
   ACCOUNT / LOGIN
   ========================================================= */
.auth-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 26px;
}

.auth-tabs button {
  flex: 1;
  padding: 13px;
  background: #fff;
  border: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .85rem;
  color: var(--ledger);
}

.auth-tabs button.active {
  background: var(--asphalt);
  color: #fff;
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.field-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
}

.field-check input {
  accent-color: var(--safety-orange);
}

.auth-foot {
  text-align: center;
  font-size: .85rem;
  color: var(--ledger);
  margin-top: 18px;
}

/* =========================================================
   MISC / GENERIC PAGE BLOCKS
   ========================================================= */
.page-head {
  background: var(--chalk);
  color: var(--asphalt);
  padding: 46px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.bg-steel {
  background: var(--panel);
}

.bg-white {
  background: #fff;
}

.text-center {
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--asphalt);
  color: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 200;
  border-left: 3px solid var(--safety-orange);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .pd-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .utility-bar .marquee span:nth-child(n+2) {
    display: none;
  }

  .main-nav,
  .header-search {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-art {
    order: -1;
  }

  .fitment-fields {
    grid-template-columns: 1fr 1fr;
  }

  .fitment-fields button {
    grid-column: 1 / -1;
  }

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

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

  .stat-band div:nth-child(2) {
    border-right: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }
}

/* =========================================================
   PRELOADER
   ========================================================= */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--chalk);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-overlay img {
  width: 25rem;
  height: auto;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
}

.animate.in-view.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate.in-view.slide-up {
  animation: slideUp 0.8s ease forwards;
}

/* ============ BLOG ============ */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--ledger);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}

.blog-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.blog-card p {
  color: var(--ledger);
  margin: 0 0 20px 0;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-card .read-more {
  color: var(--safety-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-detail-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.blog-detail-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.blog-detail-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.blog-detail-content li {
  margin-bottom: 8px;
}

/* --- Blog Enhancement Overrides --- */
.blog-card {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--safety-orange);
}

.blog-card-meta {
  color: var(--safety-orange);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.blog-card p {
  color: var(--asphalt);
  font-size: 1rem;
  opacity: 0.8;
}

.blog-card .read-more {
  display: inline-block;
  margin-top: auto;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.blog-card:hover .read-more {
  border-color: var(--safety-orange);
}

/* --- Mobile Menu Fix --- */
@media (max-width: 720px) {
  .site-header {
    position: sticky;
    /* Keep it sticky */
  }

  .header-row {
    position: static;
    /* Let absolute children position relative to site-header */
  }

  .main-nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 20px 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--safety-orange);
  }

  .main-nav.mobile-open a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .main-nav.mobile-open a:last-child {
    border-bottom: none;
  }
}

/* --- Additional Responsive Fixes --- */

/* 1. Marquee Top Strip */
.top-strip {
  overflow: hidden;
  white-space: nowrap;
}

.top-strip .container {
  max-width: none !important;
  width: max-content;
  padding-left: 100vw !important;
  justify-content: flex-start !important;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* 2. Responsive Grids */
@media (max-width: 900px) {
  .brand-page-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 720px) {
  .brand-page-grid {
    grid-template-columns: 1fr !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* ============ WHATSAPP BUTTON ============ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: #1ebe57;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
@media (max-width: 720px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}
