/* ===== Palette: athletic graphite & electric lime ===== */
:root {
  --bg:        #f2f3f1;
  --white:     #ffffff;
  --graphite:  #1c1f22;
  --graphite-7:#33383d;
  --lime:      #c6f432;
  --lime-dk:   #9ccc12;
  --lime-50:   #f4fcd9;
  --text:      #1f2326;
  --muted:     #686e73;
  --line:      #e1e3df;
  --star:      #f3a61b;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.product-title,
.section-subtitle,
.reviews-heading,
.site-name,
.cta-button {
  font-family: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}

/* ===== Header ===== */
.site-header {
  background: var(--graphite);
  border-bottom: 5px solid var(--lime);
}
.site-name {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.45rem; }
}

/* ===== Product card ===== */
.product-card {
  background: var(--white);
  border-radius: 8px;
  padding: 18px;
  border-left: 6px solid var(--lime);
  box-shadow: 0 24px 48px -28px rgba(28, 31, 34, 0.45);
}
@media (min-width: 768px) {
  .product-card { padding: 42px; }
}

/* ===== Gallery (radio + CSS) ===== */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(160deg, #fafaf8 0%, var(--bg) 60%, var(--lime-50) 100%);
}
.slide {
  display: none;
  position: absolute;
  inset: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 { display: block; }

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--graphite);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--lime); color: var(--graphite); }
.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--graphite-7); }

#img-1:checked ~ .gallery-thumbs .thumb-1,
#img-2:checked ~ .gallery-thumbs .thumb-2,
#img-3:checked ~ .gallery-thumbs .thumb-3,
#img-4:checked ~ .gallery-thumbs .thumb-4 {
  border-color: var(--graphite);
  box-shadow: inset 0 -5px 0 var(--lime);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--graphite);
}
@media (min-width: 768px) {
  .product-title { font-size: 2.4rem; }
}
.section-subtitle {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--graphite);
  background: var(--lime);
  padding: 2px 12px;
}
.features { list-style: none; padding: 0; margin: 0; counter-reset: feat; }
.features li {
  position: relative;
  padding-left: 46px;
  margin-bottom: 16px;
  font-size: 0.97rem;
  counter-increment: feat;
}
.features li::before {
  content: counter(feat);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graphite);
  color: var(--lime);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
}

.info-note {
  background: var(--lime-50);
  border-left: 4px solid var(--lime-dk);
  padding: 12px 16px;
  font-size: 0.93rem;
  color: var(--graphite-7);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 18px 32px;
  background: var(--lime);
  color: var(--graphite);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 0 0 4px var(--graphite), 0 18px 34px -12px rgba(156, 204, 18, 0.7);
  transition: background .2s, color .2s, transform .2s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--graphite);
  color: var(--lime);
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .cta-button { font-size: 2.2rem; padding: 20px 44px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--graphite);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 3px solid var(--graphite);
}
.review { padding: 22px 0; }
.review + .review {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 14px;
  background: var(--line);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1.3;
}
.review-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 2px;
  color: var(--graphite);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5c7e0b;
}
.review-text {
  margin-top: 8px;
  font-size: 0.97rem;
}
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--graphite);
  color: #c4c8cb;
  border-top: 5px solid var(--lime);
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--lime);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }