/* ============================================================
   HEROES TRADING — site styles
   Modernist bones (flush-left, 2px rules, zero radius, modular
   grid, Archivo) on a deep forest / charcoal / amber palette.
   Edit the variables below to retune the whole site.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800;900&display=swap');

:root {
  /* --- palette --- */
  --bone: #f4f1ea;
  --sand: #e9e3d6;
  --tan: #c8b189;
  --amber: #ee4123;      /* logo red-orange */
  --amber-hi: #f5643f;   /* on dark grounds */
  --amber-dk: #c22f13;   /* accent text on light */
  --char: #17191a;
  --char-2: #22262a;
  --forest: #26231f;     /* warm charcoal (trust band) */
  --forest-dk: #141312;  /* near-black (hero ground) */

  --ink: var(--char);
  --divider: rgba(23, 25, 26, 0.22);
  --divider-strong: rgba(23, 25, 26, 0.5);
  --divider-light: rgba(244, 241, 234, 0.2);
  --muted: rgba(23, 25, 26, 0.62);

  --font: "Archivo", system-ui, -apple-system, sans-serif;

  /* --- spacing --- */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --gutter: clamp(24px, 5vw, 64px);
  --band: clamp(80px, 11vw, 152px);

  --maxw: 1320px;
}

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 8.2vw, 108px); font-weight: 900; line-height: 0.94; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.015em; }
p { margin: 0 0 var(--s4); text-wrap: pretty; max-width: 66ch; }

a { color: var(--amber-dk); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--char); text-decoration: underline; }

img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: rgba(238, 65, 35, 0.22); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.rule { height: 2px; border: 0; margin: 0; background: var(--divider-strong); }

.kicker {
  font-size: 11px; font-weight: 800; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--amber-dk); margin: 0 0 var(--s6);
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.kicker-light { color: var(--amber-hi); }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  padding: 18px 28px; border: 2px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: var(--bone); }
.btn-primary:hover { background: var(--amber-dk); color: var(--bone); }
.btn-outline { border-color: var(--divider-strong); color: var(--ink); }
.btn-outline:hover { background: var(--char); color: var(--bone); border-color: var(--char); }
.btn-light { border-color: var(--divider-light); color: var(--bone); }
.btn-light:hover { background: var(--bone); color: var(--char); border-color: var(--bone); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 2px solid var(--char);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s8); min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--char); }
.brand:hover { text-decoration: none; color: var(--char); }
.brand-logo { height: 46px; width: auto; flex: none; }
.brand-text { flex: none; display: flex; flex-direction: column; line-height: 1; padding-left: 18px; border-left: 2px solid var(--divider); }
.brand-name { font-weight: 800; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand-sub { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 7px; line-height: 1.8; white-space: nowrap; }
@media (max-width: 1280px) { .brand-text { display: none; } }
@media (max-width: 940px) { .brand-logo { height: 40px; } }
@media (max-width: 420px) { .brand-logo { height: 34px; } }

.header-actions { display: flex; align-items: center; gap: var(--s6); }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav a {
  position: relative; font-size: 12px; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--char); padding: 32px 0; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover { color: var(--amber-dk); text-decoration: none; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--char); }

.header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--char); flex: none; }
.header-cart:hover { color: var(--amber-dk); }
.header-cart svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 50%;
  background: var(--amber); color: var(--bone); font-size: 10px; font-weight: 800;
}
.cart-count[hidden] { display: none; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--char);
  padding: 11px 13px; cursor: pointer; color: var(--char);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; }

@media (max-width: 1080px) { .nav a { font-size: 11px; letter-spacing: 0.1em; } }
@media (max-width: 1120px) {
  .nav-toggle { display: block; order: 2; }
  .header-cart { order: 1; }
  .nav {
    order: 3;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); border-bottom: 2px solid var(--char);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 520px; }
  .nav a { padding: 18px var(--gutter); font-size: 13px; border-bottom: 1px solid var(--divider); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--amber-dk); }
}

/* ---------- hero ----------
   Full-bleed image behind the copy. The image slot is absolutely
   positioned over the whole section; a scrim keeps the type legible. */
.hero { position: relative; background: var(--forest-dk); color: var(--bone); overflow: hidden; }
.hero .hero-media { position: absolute; inset: 0; z-index: 0; border: 0; background: transparent; }
/* empty-state prompt sits bottom-right, clear of the headline */
.hero .hero-media > image-slot::part(empty) { justify-content: flex-end; align-items: flex-end; padding: 20px 24px; text-align: right; }
.hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-media::before {
  background-image: linear-gradient(135deg, rgba(244,241,234,.06) 25%, transparent 25%, transparent 50%, rgba(244,241,234,.06) 50%, rgba(244,241,234,.06) 75%, transparent 75%);
  background-size: 18px 18px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20,19,18,.92) 0%, rgba(20,19,18,.74) 44%, rgba(20,19,18,.36) 100%),
    linear-gradient(to top, rgba(20,19,18,.88) 0%, transparent 46%);
}
.hero-copy { max-width: 62ch; }
.hero-inner {
  position: relative; z-index: 2;
  /* let drops reach the image slot behind; links stay clickable */
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(520px, 74vh, 760px);
  padding-block: clamp(72px, 10vw, 128px) clamp(40px, 5vw, 64px);
}
.hero h1 { color: var(--bone); font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; max-width: 17ch; margin-bottom: var(--s4); }
.hero h1 em { font-style: normal; color: var(--amber-hi); }
.hero .lead { color: rgba(244, 241, 234, 0.82); font-size: clamp(16px, 1.15vw, 18px); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s8); }
.hero-inner a, .hero-inner .btn { pointer-events: auto; }
.hero-facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 2px solid var(--divider-light); margin-top: clamp(56px, 8vw, 104px);
}
.hero-facts div { padding: var(--s6) var(--s8); border-right: 1px solid var(--divider-light); }
.hero-facts div:first-child { padding-left: 0; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber-hi); }
.hero-facts dd { margin: 10px 0 0; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--bone); }

/* ---------- page header ---------- */
.page-head { background: var(--char); color: var(--bone); border-bottom: 2px solid var(--char); }
.page-head-inner { padding-block: clamp(64px, 9vw, 128px) clamp(48px, 7vw, 88px); }
.page-head h1 { color: var(--bone); font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; }
.page-head .kicker { color: var(--amber-hi); }
.page-head p { max-width: 62ch; color: rgba(244, 241, 234, 0.74); }
.page-head .muted { color: rgba(244, 241, 234, 0.74); }

/* ---------- sections ---------- */
.section { padding-block: var(--band); }
.section + .section { border-top: 2px solid var(--divider-strong); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: end; }
}
.section-head h2 { margin-bottom: 0; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cat-card {
  position: relative; background: var(--bone); display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  outline: 2px solid var(--divider-strong); outline-offset: -1px;
  transition: background .25s ease;
}
.cat-card:hover { text-decoration: none; color: var(--ink); background: var(--sand); }
.cat-card .ph { aspect-ratio: 4 / 3; }
.cat-card .ph img, .cat-card .ph::before { transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.cat-card:hover .ph img { transform: scale(1.045); }
.cat-card-body { padding: var(--s8) var(--s8) var(--s8) var(--s8); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.cat-card h3 { margin: 0; font-size: 27px; letter-spacing: -0.02em; }
.cat-card .go {
  margin-top: auto; padding-top: var(--s6); font-size: 11px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-dk);
  display: inline-flex; gap: 10px; align-items: center;
}
.cat-card:hover .go { color: var(--char); }
.cat-card .go::after { content: "→"; transition: transform .25s ease; }
.cat-card:hover .go::after { transform: translateX(6px); }

/* ---------- product grid ---------- */
.product-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product {
  background: var(--bone); padding: 0 0 var(--s8); display: flex; flex-direction: column;
  outline: 2px solid var(--divider-strong); outline-offset: -1px;
  transition: background .25s ease;
}
.product:hover { background: var(--sand); }
.product .ph { aspect-ratio: 1 / 1; margin: var(--s6) var(--s6) 0; }
.product .ph img { transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.product:hover .ph img { transform: scale(1.04); }
.product-body { padding: var(--s6) var(--s8) 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-brand { font-size: 10px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber-dk); }
.product h3 { font-size: 21px; margin: 0; }
.product p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.product-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s3); padding: var(--s6) var(--s8) 0; margin-top: auto;
}

.tag {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 12px; border: 2px solid var(--divider-strong); color: var(--ink);
}
.tag-stock { border-color: var(--char); color: var(--char); }
.tag-order { border-color: var(--amber-dk); color: var(--amber-dk); }
.ask-link { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.product:hover .ask-link { color: var(--char); }

/* ---------- shop / cart ---------- */
.shop-price { font-size: 20px; font-weight: 800; color: var(--char); margin-top: 4px; }
.product-link { display: contents; color: inherit; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; }
.product-link:hover { text-decoration: none; color: inherit; }

/* ---------- product quick view modal ---------- */
.pd-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--s4); }
.pd-modal[hidden] { display: none; }
.pd-modal-backdrop { position: absolute; inset: 0; background: rgba(23, 25, 26, 0.72); border: 0; padding: 0; cursor: pointer; }
.pd-modal-panel {
  position: relative; background: var(--bone); border: 2px solid var(--char);
  max-width: 960px; width: 100%; max-height: 90vh; overflow-y: auto;
}
.pd-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border: 2px solid var(--char); background: var(--bone);
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--char);
}
.pd-modal-close:hover { background: var(--char); color: var(--bone); }
.pd-modal-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pd-modal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pd-modal-photo { aspect-ratio: 1 / 1; }
.pd-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-modal-details { padding: 64px var(--s8) var(--s8); }
body.modal-open { overflow: hidden; }

/* ---------- product detail (shared by the quick view modal) ---------- */
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s6); }
.pd-title { font-size: clamp(24px, 2.6vw, 32px); margin: 4px 0 0; }
.pd-brand-box { text-align: right; flex: none; }
.pd-brand-box .pd-brand-name { display: block; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--char); }
.pd-price { font-size: 26px; font-weight: 800; color: var(--char); margin: var(--s4) 0 0; }
.pd-option-group { margin-top: var(--s4); }
.pd-option-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pd-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-option-value { border: 2px solid var(--divider-strong); background: var(--bone); padding: 9px 16px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.pd-option-value:hover { border-color: var(--char); }
.pd-option-value.selected { border-color: var(--char); background: var(--char); color: var(--bone); }

.pd-option-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-swatch {
  position: relative; width: 56px; height: 56px; padding: 0;
  border: 2px solid var(--divider-strong); background-color: var(--sand);
  background-size: cover; background-position: center; cursor: pointer;
}
.pd-swatch:hover { border-color: var(--char); }
.pd-swatch.selected { border-color: var(--char); outline: 2px solid var(--char); outline-offset: 2px; }
.pd-swatch-oos { cursor: not-allowed; opacity: 0.55; }
.pd-swatch-oos-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(23, 25, 26, 0.72); color: var(--bone);
  font-size: 8px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  text-align: center; line-height: 1.25; padding: 4px;
}
.pd-option-selected-label { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.pd-option-selected-label strong { color: var(--char); }

.pd-qty-row { display: flex; align-items: center; gap: var(--s4); margin: var(--s6) 0; }
.pd-qty-row label { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd-stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--divider-strong); }
.pd-stepper button { width: 40px; border: 0; background: var(--sand); color: var(--char); font-size: 18px; font-weight: 800; cursor: pointer; }
.pd-stepper button:hover { background: var(--tan); }
.pd-stepper input { width: 56px; border: 0; border-left: 2px solid var(--divider-strong); border-right: 2px solid var(--divider-strong); text-align: center; font: inherit; font-weight: 800; background: var(--bone); }
.pd-about { border: 2px solid var(--divider-strong); padding: var(--s6); margin-top: var(--s6); }
.pd-about h2 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--s3); }
.pd-about p { margin: 0; color: var(--muted); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 14px 10px; border-bottom: 2px solid var(--divider-strong); font-size: 15px; }
.cart-table th { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cart-table input.cart-qty { border: 2px solid var(--divider-strong); padding: 8px; font: inherit; background: var(--bone); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: var(--s6) 0; border-bottom: 2px solid var(--char); font-weight: 800; font-size: 20px; }
.cod-note { border: 2px solid var(--divider-strong); padding: var(--s6); margin: var(--s6) 0; font-size: 15px; }

/* ---------- brands ---------- */
.brand-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.brand-cell {
  background: var(--bone); min-height: 148px; padding: var(--s8);
  display: flex; align-items: center; justify-content: flex-start;
  outline: 2px solid var(--divider-strong); outline-offset: -1px;
  transition: background .25s ease, color .25s ease;
}
.brand-cell:hover { background: var(--char); color: var(--bone); }
.brand-cell img { max-height: 48px; width: auto; opacity: .85; transition: opacity .25s ease; }
.brand-cell:hover img { opacity: 1; }
.brand-wordmark { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; }

.brand-list { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.brand-row {
  background: var(--bone); padding: var(--s8); display: flex; gap: var(--s6); align-items: flex-start;
  outline: 2px solid var(--divider-strong); outline-offset: -1px;
  transition: background .25s ease;
}
.brand-row:hover { background: var(--sand); }
.brand-row .logo-slot {
  flex: 0 0 104px; height: 64px; border: 2px solid var(--divider-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  background: var(--sand); overflow: hidden;
}
.brand-row .logo-slot img { max-width: 100%; max-height: 100%; }
.brand-row h3 { font-size: 19px; margin: 0 0 6px; }
.brand-row p { font-size: 15px; margin: 0; color: var(--muted); }

/* ---------- editorial ---------- */
.two-col { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 940px) { .two-col { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.values { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.value {
  background: var(--bone); padding: var(--s12) var(--s8);
  outline: 2px solid var(--divider-strong); outline-offset: -1px;
  transition: background .25s ease;
}
.value:hover { background: var(--sand); }
.value .num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.24em; color: var(--amber-dk);
  display: block; margin-bottom: var(--s6);
}
.value h3 { font-size: 22px; margin-bottom: var(--s3); }
.value p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* trust band — dark variant of .values */
.trust { background: var(--forest); color: var(--bone); }
.trust .kicker { color: var(--amber-hi); }
.trust h2 { color: var(--bone); }
.trust .muted { color: rgba(244, 241, 234, 0.7); }
.trust .values { border-color: var(--divider-light); }
.trust .value { background: transparent; border-color: var(--divider-light); }
.trust .value:hover { background: rgba(244, 241, 234, 0.05); }
.trust .value h3 { color: var(--bone); }
.trust .value p { color: rgba(244, 241, 234, 0.7); }
.trust .value .num { color: var(--amber-hi); }

/* ---------- poster CTA ---------- */
.poster { background: var(--amber); color: var(--bone); }
.poster-inner { padding-block: clamp(72px, 10vw, 128px); }
.poster .kicker { color: rgba(244, 241, 234, 0.8); }
.poster h2 { color: var(--bone); font-size: clamp(36px, 6.2vw, 80px); max-width: 17ch; }
.poster p { color: rgba(244, 241, 234, 0.88); max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); }
.poster .btn-light { border-color: rgba(244, 241, 234, 0.55); color: var(--bone); }
.poster .btn-light:hover { background: var(--bone); color: var(--char); border-color: var(--bone); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(48px, 7vw, 104px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.info-block { border-top: 2px solid var(--divider-strong); padding-block: var(--s8); }
.info-block h3 {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  margin: 0 0 var(--s3); color: var(--amber-dk);
}
.info-block p, .info-block address { font-style: normal; margin: 0; font-size: 18px; line-height: 1.6; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--divider); font-weight: 400; }
.hours th { font-weight: 800; }

.map-frame { border: 2px solid var(--char); background: var(--sand); }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; }

.form-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--divider-strong); border-radius: 0;
  padding: 12px 0; transition: border-color .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { padding-block: 13px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-bottom-color: var(--amber); outline: none;
}
.form-note { font-size: 13px; color: var(--muted); }
.form-status { display: none; margin-top: var(--s6); padding: var(--s6); border: 2px solid var(--char); color: var(--char); font-weight: 600; }
.form-status.show { display: block; }

/* ---------- image placeholders ---------- */
.ph { position: relative; background: var(--sand); overflow: hidden; display: block; }
.ph > image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph[data-file]::after {
  content: attr(data-file);
  position: absolute; left: 0; bottom: 0;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); background: rgba(244, 241, 234, 0.92);
  padding: 6px 10px;
}
.ph.filled::after { content: none; }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(135deg, rgba(23,25,26,.06) 25%, transparent 25%, transparent 50%, rgba(23,25,26,.06) 50%, rgba(23,25,26,.06) 75%, transparent 75%);
  background-size: 16px 16px;
}
.ph.filled::before { content: none; }

/* ---------- grid rules ----------
   Cells draw their own top/left rules; the container frames the
   right and bottom, so an unfilled last row shows page ground. */
.cat-grid, .product-grid, .brand-grid, .brand-list, .values {
  border-right: 2px solid var(--divider-strong);
  border-bottom: 2px solid var(--divider-strong);
  margin-left: -2px; margin-top: -2px;
  overflow: hidden;
}
.trust .values { border-right-color: var(--divider-light); border-bottom-color: var(--divider-light); }

/* ---------- footer ---------- */
.site-footer { background: var(--char); color: var(--bone); }
.footer-top {
  display: grid; gap: var(--s8); padding-block: clamp(48px, 6vw, 72px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h4 { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber-hi); margin: 0 0 var(--s6); }
.site-footer p, .site-footer address, .site-footer li { font-size: 15px; color: rgba(244, 241, 234, 0.7); font-style: normal; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--bone); }
.site-footer a:hover { color: var(--amber-hi); text-decoration: none; }
.footer-logo { width: 190px; height: auto; margin-bottom: var(--s6); }
/* Sits on its own full-width row below the other footer columns. */
.footer-map-row { grid-column: 1 / -1; margin-top: var(--s2); }
.footer-map { border: 1px solid var(--divider-light); }
.footer-map iframe { display: block; width: 100%; height: 180px; border: 0; }
.footer-bottom {
  border-top: 1px solid var(--divider-light); padding-block: var(--s8);
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  font-size: 12px; letter-spacing: 0.04em; color: rgba(244, 241, 234, 0.5);
}
.social { display: flex; gap: var(--s6); }
.social a { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

@media print { .site-header, .site-footer { position: static; } }
