:root {
  --ink: #1a1a1a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --red: #e2231a;
  --red-dark: #b81c14;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* top utility bar */
.topbar {
  background: var(--red);
  color: #fff;
}
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  font-size: 0.85rem;
}
.topbar a { color: #fff; }
.topbar .archive-note { margin-right: auto; opacity: 0.9; }

/* header / logo / nav */
header.site-header {
  border-bottom: 3px solid var(--red);
  padding: 18px 0;
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  font-size: 1.9rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-transform: uppercase;
}
.brand span { color: var(--red); }
.brand:hover { text-decoration: none; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}
nav.main-nav li { text-align: center; }
nav.main-nav a {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
nav.main-nav .sub {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
}

/* hero */
.hero {
  position: relative;
  width: 70%;
  margin: 28px auto 0;
  background: #f2f2f2;
  overflow: hidden;
  border-radius: 8px;
}
.hero img {
  width: 100%;
  display: block;
}
.hero-band {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 24px 20px;
}
@media (max-width: 800px) {
  .hero { width: 92%; }
}
.hero-band h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 800;
}
.hero-band p {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.95;
}

main { min-height: 40vh; padding: 40px 0 60px; }

h1 { font-size: 2rem; margin-bottom: 6px; }
.subtitle { color: var(--muted); margin-top: 0; }

.archive-banner {
  background: #fff7e6;
  border: 1px solid #f3d99b;
  color: #7a5b00;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  margin: 24px 0 28px;
}

/* FAQ red accordion bars (real-site style) */
.page-title {
  text-align: center;
  color: var(--red);
  font-size: 2.6rem;
  margin: 10px 0 4px;
}
.page-subtitle { text-align: center; color: var(--ink); margin: 0 0 20px; font-weight: 700; }

.faq-item {
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "\25B2";
  font-size: 0.7rem;
  color: #1a1a1a;
  transition: transform 0.2s;
}
.faq-item[open] summary::before { transform: rotate(180deg); }
.faq-item .answer {
  padding: 0 24px 22px 52px;
  color: #fff;
  font-size: 0.98rem;
}
.faq-item .answer a { color: #fff; text-decoration: underline; }

.tos-section {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.tos-section h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--red-dark); }
.tos-section p { margin: 0; color: #374151; }

/* category tiles on homepage */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.tile {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
}
.tile.hut { background-image: url("images/tile-hut.jpg"); }
.tile.mut { background-image: url("images/tile-mut.jpg"); }
.tile.nba { background-image: url("images/tile-nba.jpg"); }
.tile h3, .tile .buy-btn { position: relative; z-index: 1; }
.tile h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  text-transform: uppercase;
}
.tile .buy-btn {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
}
.tile .buy-btn:hover { background: rgba(255,255,255,0.28); text-decoration: none; }
.tile-inner { width: 100%; }

/* product listings (category pages) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.product-card img.thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.product-card .info { flex: 1; }
.product-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.product-card h3 a { color: var(--ink); }
.product-card .rating { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; margin: 8px 0 2px; }
.product-card .price { font-weight: 700; margin: 2px 0 0; color: var(--ink); font-size: 1.05rem; }
.product-card .desc { color: #4b5563; font-size: 0.92rem; margin: 0; }
.product-card .view-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
}
.product-card .view-btn:hover { background: var(--red-dark); text-decoration: none; }

/* single product page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.product-detail .gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.product-detail h1 { font-size: 2.4rem; margin: 0 0 12px; font-weight: 400; }
.product-detail .stock { color: #4b5563; margin: 0 0 20px; }
.btn-add {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.btn-add:hover { background: var(--red-dark); }
.total-label { color: var(--red); font-weight: 700; font-size: 1.4rem; margin: 24px 0 12px; }
.variations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  max-width: 720px;
}
.variations button {
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 14px 10px;
  border-radius: 4px;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.15s;
}
.variations button:hover { border-color: var(--red); color: var(--red); }
.variations button.selected { background: var(--red); color: #fff; border-color: var(--red); }
.product-meta { margin-top: 28px; color: #4b5563; font-size: 0.95rem; }
.product-meta div { margin-bottom: 4px; }
.product-meta a { color: var(--red); }

.tabs { margin-top: 48px; border-bottom: 2px solid var(--line); display: flex; gap: 4px; }
.tabs button {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  color: #4b5563;
  margin-bottom: -2px;
}
.tabs button.active { color: var(--ink); border-bottom-color: var(--red); font-weight: 600; }
.tab-panel { padding: 28px 0; }
.tab-panel h2 { font-size: 1.8rem; font-weight: 400; margin: 0 0 16px; }
.tab-panel.hidden { display: none; }

@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; }
}

.step {
  padding: 4px 0 4px 0;
  margin-bottom: 36px;
}
.step h3 { margin: 0 0 10px; color: var(--red); font-size: 1.8rem; }
.step img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 12px;
  display: block;
}

footer {
  border-top: 3px solid var(--red);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  background: var(--bg-soft);
}
