/* ═══════════════════════════════════════════════════
   Test-Tea — style.css
   Dark masculine palette — charcoal + amber gold
   Mobile-first responsive
═══════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Background */
  --bg-page:     #0f1117;
  --bg-card:     #181c25;
  --bg-info:     #1e2230;
  --bg-gallery:  #12151e;
  --bg-thumb:    #1a1e2a;
  --bg-badge:    rgba(212,147,30,.12);
  --bg-bullet:   rgba(212,147,30,.08);
  --bg-reviews:  #13161f;
  --bg-footer:   #0a0c12;

  /* Amber accent family */
  --amber-500:   #d4931e;
  --amber-400:   #e8a82a;
  --amber-300:   #f0be56;
  --amber-100:   rgba(212,147,30,.18);

  /* Text */
  --text-primary:  #edeef2;
  --text-secondary:#9ba3b8;
  --text-muted:    #5a6178;
  --text-name:     #d4931e;

  /* Border */
  --border:      rgba(255,255,255,.07);
  --border-thumb:rgba(255,255,255,.1);
  --border-badge:rgba(212,147,30,.3);

  /* Stars */
  --star-on:     #e8a82a;
  --star-off:    #3a3f52;

  /* Shadow */
  --shadow-card: 0 4px 32px rgba(0,0,0,.5);
  --shadow-cta:  0 6px 28px rgba(212,147,30,.35);

  --font: 'Barlow', system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--amber-400); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  background: var(--bg-footer);
  border-bottom: 2px solid var(--amber-500);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-400);
}

/* ═══════════════════════════════════════
   PRODUCT SECTION
═══════════════════════════════════════ */
.product-section {
  padding: 32px 16px 24px;
}

.product-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .product-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ─── GALLERY ─── */
.gallery-col {
  position: relative;
  background: var(--bg-gallery);
  padding: 20px;
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 900px) {
  .gallery-col {
    width: 46%;
    position: sticky;
    top: 66px;
    align-self: flex-start;
  }
}

/* Hidden radios */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Main image display */
.gallery-main {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-gallery);
}

.gallery-slides { display: flex; }

.gallery-slide {
  min-width: 100%;
  aspect-ratio: 1 / 1;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-gallery);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

/* Show active slide */
#g1:checked ~ .gallery-main .gallery-slides #slide-1,
#g2:checked ~ .gallery-main .gallery-slides #slide-2,
#g3:checked ~ .gallery-main .gallery-slides #slide-3,
#g4:checked ~ .gallery-main .gallery-slides #slide-4 {
  display: flex;
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.thumb-label {
  cursor: pointer;
  width: calc(25% - 6px);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color .18s;
  background: var(--bg-thumb);
}

.thumb-label img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

/* Active thumb */
#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(--amber-500);
  box-shadow: 0 0 0 2px rgba(212,147,30,.3);
}

/* ─── INFO COLUMN ─── */
.info-col {
  padding: 28px 28px 36px;
  flex: 1;
  min-width: 0;
  background: var(--bg-info);
}

@media (max-width: 899px) {
  .info-col {
    padding: 22px 18px 30px;
    border-top: 1px solid var(--border);
  }
}

/* Product title H1 */
.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .product-title { font-size: 1.35rem; }
}

/* Badges */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--bg-badge);
  color: var(--amber-300);
  border: 1px solid var(--border-badge);
}

/* Description */
.desc-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.desc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.desc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  background: var(--bg-bullet);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber-500);
}

.desc-list li strong {
  color: var(--text-primary);
}

.desc-bullet {
  flex-shrink: 0;
  color: var(--amber-500);
  font-size: .75rem;
  margin-top: .28rem;
  line-height: 1;
}

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
  display: flex;
  justify-content: center;
  padding: 36px 16px 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--amber-500);
  color: #0a0c12;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 17px 52px;
  border-radius: 4px;
  box-shadow: var(--shadow-cta);
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  min-width: 280px;
  text-align: center;
}

.cta-button:hover {
  background: var(--amber-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(212,147,30,.45);
  text-decoration: none;
}

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

@media (max-width: 480px) {
  .cta-button {
    font-size: 1rem;
    padding: 15px 28px;
    min-width: unset;
    width: 100%;
    max-width: 360px;
  }
}

/* ═══════════════════════════════════════
   REVIEWS SECTION
═══════════════════════════════════════ */
.reviews-section {
  background: var(--bg-reviews);
  border-top: 2px solid var(--border);
  padding: 40px 16px 56px;
}

.reviews-inner {
  max-width: 860px;
  margin: 0 auto;
}

.reviews-heading {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-primary);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ─── Single review ─── */
.review-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child { border-bottom: none; }

/* Header row */
.review-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

/* Round avatar */
.review-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--amber-100);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Meta */
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.review-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-name);
}

.review-stars { font-size: 1rem; line-height: 1; }
.stars-filled  { color: var(--star-on); }
.stars-empty   { color: var(--star-off); }

.review-title {
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Date & attr */
.review-date {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.review-attr {
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Body */
.review-body {
  font-size: .91rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 14px;
}

.review-body p + p { margin-top: 10px; }

/* Review photos */
.review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.review-photos img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: opacity .18s;
}

.review-photos img:hover { opacity: .8; }

@media (min-width: 480px) {
  .review-photos img { width: 128px; height: 128px; }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--bg-footer);
  border-top: 2px solid var(--amber-500);
  padding: 24px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .77rem;
}

.footer-nav a {
  color: var(--amber-300);
  transition: color .18s;
}

.footer-nav a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-sep { color: var(--text-muted); }

.footer-copy {
  font-size: .71rem;
  color: var(--text-muted);
}