/* =============================================
   BASE RESET & DESIGN TOKENS
   — Palette: steel grey, crimson red, off-white
   — Type: Barlow Condensed (display) + Barlow (body)
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --steel:       #23272E;
  --steel-mid:   #313742;
  --crimson:     #D81E3F;
  --crimson-dark:#B5152F;
  --fog:         #ECEEF1;
  --offwhite:    #F8F8F9;
  --white:       #ffffff;
  --border:      #DEE1E6;
  --text-main:   #1F2228;
  --text-muted:  #5B6270;
  --text-light:  #97A0AC;
  --star:        #D81E3F;
  --font-d:      'Barlow Condensed', system-ui, sans-serif;
  --font-b:      'Barlow', system-ui, sans-serif;
  --radius:      8px;
  --shadow:      0 3px 16px rgba(31,34,40,0.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--offwhite);
  color: var(--text-main);
  line-height: 1.6;
  font-weight: 400;
}

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--steel);
  padding: 18px 24px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  border-bottom: 3px solid var(--crimson);
}

.header-inner { max-width: 1200px; margin: 0 auto; }

.header-title {
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.3;
}

/* =============================================
   PRODUCT SECTION
   ============================================= */
.product-section {
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 0 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-radio { display: none; }

.gallery-wrap {
  background: var(--fog);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
}

.gallery-main {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
}

.gallery-slide { display: none; width: 100%; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }

#g1:checked ~ .gallery-main #slide1,
#g2:checked ~ .gallery-main #slide2,
#g3:checked ~ .gallery-main #slide3,
#g4:checked ~ .gallery-main #slide4 { display: block; }

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

.thumb-label {
  width: 62px; height: 62px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: var(--white);
}

.thumb-label img { width: 100%; height: 100%; object-fit: cover; }

#g1:checked ~ .gallery-thumbs label[for="g1"],
#g2:checked ~ .gallery-thumbs label[for="g2"],
#g3:checked ~ .gallery-thumbs label[for="g3"],
#g4:checked ~ .gallery-thumbs label[for="g4"] { border-color: var(--crimson); }

.thumb-label:hover { border-color: var(--steel); }

/* =============================================
   PRODUCT INFO
   ============================================= */
.product-info {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.product-eyebrow {
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
}

.product-title {
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.2;
}

.product-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.55;
  margin-top: -8px;
}

.product-description { display: flex; flex-direction: column; gap: 4px; }

.desc-heading {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--steel);
  border-bottom: 2px solid var(--fog);
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.feature-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--fog);
  border-left: 3px solid var(--crimson);
  padding-left: 14px;
}

.feature-block:last-of-type { border-bottom: none; }

.feature-tag {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--steel);
  margin-bottom: 6px;
}

.desc-text { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

.desc-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  border-left: 3px solid var(--steel-mid);
  padding-left: 12px;
  margin-top: 10px;
  line-height: 1.6;
}

/* =============================================
   CTA BUTTON
   ============================================= */
.cta-section {
  max-width: 1200px;
  margin: 52px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.cta-btn {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 18px 60px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(216,30,63,0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.cta-btn:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181,21,47,0.45);
}

.cta-btn:active { transform: translateY(0); }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.reviews-heading {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--steel);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.review-item { padding: 26px 0 30px; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }

.review-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }

.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--fog);
  background: var(--fog);
}

.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-name { font-size: 0.9rem; font-weight: 700; color: var(--steel); }
.review-stars { color: var(--star); font-size: 1rem; letter-spacing: 1px; }
.review-title-text { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.review-date { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.review-attributes { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.review-body { font-size: 0.9rem; color: var(--text-main); line-height: 1.75; margin-bottom: 14px; }

.review-photo { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.review-photo img { max-width: 110px; border-radius: 5px; border: 1px solid var(--border); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--steel);
  color: #9DA4AF;
  padding: 40px 24px;
  text-align: center;
  margin-top: 72px;
}

.footer-brand {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--crimson);
  margin-bottom: 18px;
}

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 18px; }
.footer-links a { color: #9DA4AF; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { font-size: 0.78rem; color: #5B6270; }

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 900px) {
  .product-card { grid-template-columns: 1fr; }
  .gallery-wrap { padding: 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .gallery-main { aspect-ratio: 4 / 3; }
  .product-info { padding: 28px 28px 32px; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 600px) {
  .site-header { padding: 14px 16px; }
  .product-section { padding: 0 12px; margin-top: 22px; }
  .gallery-main { aspect-ratio: 1 / 1; }
  .thumb-label { width: 52px; height: 52px; }
  .product-info { padding: 20px 16px 24px; gap: 14px; }
  .product-title { font-size: 1.3rem; }
  .cta-section { padding: 0 16px; margin-top: 36px; }
  .cta-btn { font-size: 1.15rem; padding: 16px 28px; width: 100%; }
  .reviews-section { padding: 0 12px; }
  .review-avatar { width: 40px; height: 40px; }
  .review-photo img { max-width: 90px; }
}