/* ============================================================
   THE WEARFORCE — storefront styles
   Look: bold red & white retail. White base, red as the signature.
   Type: Anton (display) + Inter (body).
   ============================================================ */

:root {
  --red: #E11B22;
  --red-dark: #B5141A;
  --red-deep: #A8121A;
  --ink: #16161A;
  --ink-soft: #3C3C44;
  --paper: #FFFFFF;
  --bg: #FFFFFF;
  --soft: #F5F5F6;        /* subtle grey fill on white */
  --muted: #6E6E76;
  --line: #E8E8EC;        /* neutral hairline */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.06);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.14);
  --max: 1200px;
  --font-display: "Anton", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 26px; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .98; }

/* ---------- Top motto bar ---------- */
.topbar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px 16px;
}
.topbar .dot { color: rgba(255,255,255,.6); margin: 0 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}
.brand-logo img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  color: var(--ink-soft);
  transition: color .15s;
}
.main-nav a:hover { color: var(--red); }
.nav-ebay {
  background: var(--red);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px !important;
  transition: background .15s, transform .12s;
}
.nav-ebay:hover { background: var(--red-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(90% 70% at 88% -10%, rgba(225,27,34,.12), transparent 60%),
    var(--paper);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-inner { position: relative; padding: 76px 0 70px; max-width: 800px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: .94;
  margin: 0 0 20px;
}
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  display: flex;
  gap: 12px 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust svg { color: var(--red); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 10px 26px rgba(225,27,34,.3); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn-block { width: 100%; }

/* ---------- Shop ---------- */
.shop { padding: 62px 0 96px; background: var(--paper); }
.shop.alt { background: var(--soft); }
.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.shop-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 48px);
  margin: 0;
  line-height: 1;
}
.shop-head .count { color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 6px; }

.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.search { position: relative; flex: 1 1 260px; min-width: 220px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--soft);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(225,27,34,.12);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink-soft);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--red); color: #fff; border-color: var(--red); }
.sort select {
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
}

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--soft);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ph svg { width: 52%; height: 52%; opacity: .92; }
.badge {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 8px;
}
.badge-brand { top: 12px; left: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.badge-cond { top: 12px; right: 12px; background: var(--ink); color: #fff; }
.badge-cond.used { background: #927400; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 700; color: var(--red); letter-spacing: .08em; text-transform: uppercase; }
.card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.card-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.card-price { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.card-go {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .15s, color .15s;
}
.card:hover .card-go { color: var(--red); gap: 9px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Value band (red) ---------- */
.value { background: var(--red); color: #fff; padding: 74px 0; }
.value-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.value-head h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 46px); margin: 0 0 12px; line-height: 1;
}
.value-head p { color: rgba(255,255,255,.9); margin: 0; font-size: 16.5px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.value-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(225,27,34,.1); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 21px; margin: 0 0 7px; letter-spacing: .01em; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- Footer (red) ---------- */
.site-footer { background: var(--red-dark); color: rgba(255,255,255,.82); padding: 64px 0 36px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 4px 0 16px; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; font-size: 13px;
}

/* ---------- Product detail ---------- */
.pd { background: var(--paper); padding: 32px 0 90px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--red); }
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pd-grid > * { min-width: 0; }   /* let columns shrink, never force sideways scroll */
.pd-gallery { position: sticky; top: 104px; }
.pd-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.pd-media img { width: 100%; height: 100%; object-fit: contain; }
.pd-media .ph svg { width: 46%; height: 46%; }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: background .15s, transform .12s;
  z-index: 2;
}
.pd-nav:hover { background: #fff; }
.pd-nav:active { transform: translateY(-50%) scale(.94); }
.pd-nav.prev { left: 12px; }
.pd-nav.next { right: 12px; }
.pd-counter {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(23,23,27,.72); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
}
.pd-thumbs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
.pd-thumb {
  flex: 0 0 auto;
  width: 66px; height: 66px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0; cursor: pointer; overflow: hidden;
  transition: border-color .15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { border-color: var(--ink); }
.pd-thumb.active { border-color: var(--red); }
.pd-info { padding-top: 6px; }
.pd-cat { color: var(--red); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }
.pd-info h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(28px, 4vw, 44px); margin: 8px 0 16px; line-height: 1;
}
.pd-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: 13px; font-weight: 600; background: var(--soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; }
.pd-price { font-family: var(--font-display); font-weight: 400; font-size: 46px; margin: 6px 0 4px; }
.pd-price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }
.pd-desc { color: var(--ink-soft); margin: 18px 0 26px; font-size: 15.5px; line-height: 1.7; }
.pd-buy { margin: 8px 0 14px; }
.pd-secure { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.pd-secure svg { color: var(--red); flex: none; }
.pd-points { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 14px; }
.pd-point { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.pd-point svg { color: var(--red); flex: none; margin-top: 1px; }
.pd-point strong { display: block; color: var(--ink); margin-bottom: 1px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .header-inner { height: 76px; }
  .brand-logo img { height: 40px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 26px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { width: 100%; padding: 15px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .main-nav a:nth-last-child(2) { border-bottom: 0; }
  .nav-ebay {
    background: var(--red);
    color: #fff !important;
    text-align: center;
    padding: 15px !important;
    border-radius: 10px;
    margin-top: 12px;
    border-bottom: 0 !important;
  }
  .nav-toggle { display: block; }
  .hero-inner { padding: 56px 0 52px; }
  .footer-top { grid-template-columns: 1fr; }
  .pd-thumbs { display: none; }      /* mobile: swipe / arrows instead of thumbnails */
  .pd-nav { width: 40px; height: 40px; font-size: 24px; }
}
