/* ═══════════════════════════════════════════════════
   FreshDrinkUS — style.css
   Aesthetic: Deep Ink-Blue & Celadon Jade
   Editorial / East-Asian-Premium / Refined Medicinal
═══════════════════════════════════════════════════ */

:root {
  /* Palette */
  --ink:          #0D1B2A;
  --ink-mid:      #1A2E42;
  --ink-soft:     #223650;
  --jade:         #5B9E8B;
  --jade-light:   #83C5B2;
  --jade-dim:     #3D7A69;
  --gold:         #C9A84C;
  --gold-light:   #E2C57A;
  --ivory:        #F4F0E6;
  --ivory-dim:    #DDD8CC;
  --mist:         #EAF0ED;
  --text-main:    #1C1C1C;
  --text-muted:   #6B7C73;
  --border:       #C8D8D2;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Lora', 'Georgia', serif;
  --font-ui:      'Jost', sans-serif;
}

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

body {
  background: var(--ivory);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  background: var(--ink);
  padding: 0;
  border-bottom: 2px solid var(--jade);
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(91,158,139,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.header-brand {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: var(--jade-light);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.4;
}

.header-brand span {
  color: var(--gold-light);
  font-style: italic;
}

/* ── MAIN ───────────────────────────────────── */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

/* ── PRODUCT GRID ───────────────────────────── */
.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* ── GALLERY ────────────────────────────────── */
.gallery {
  position: sticky;
  top: 1.5rem;
}

.gallery-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--mist);
  position: relative;
}

.gallery-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-slides::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1.25rem;
  background: var(--mist);
  display: block;
}

/* Thumbs */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 0.9rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex: 0 0 66px;
  height: 66px;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--mist);
  transition: border-color 0.2s;
  cursor: default;
}
.gallery-thumb:hover { border-color: var(--jade); }
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 5px;
}

/* ── PRODUCT INFO ───────────────────────────── */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.product-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--jade-light);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  width: fit-content;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.28;
  color: var(--ink);
  font-weight: 700;
}

.divider-jade {
  height: 1.5px;
  background: linear-gradient(90deg, var(--jade) 0%, transparent 80%);
  opacity: 0.55;
  border-radius: 2px;
}

/* Features list */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-main);
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 10px;
  border-left: 3px solid var(--jade);
  box-shadow: 0 1px 6px rgba(13,27,42,0.06);
  line-height: 1.6;
}

.feature-icon {
  font-size: 1.1rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--jade-dim);
  margin-bottom: 0.2rem;
}

.keywords-note {
  font-size: 0.87rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  padding: 0.85rem 1rem;
  background: #EEF5F2;
  border-left: 3px solid var(--jade-light);
  border-radius: 0 10px 10px 0;
}

/* ── CTA ────────────────────────────────────── */
.cta-wrapper {
  text-align: center;
  margin: 0 0 4rem;
  padding: 2.5rem 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(91,158,139,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade-light);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade-dim) 100%);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(61,122,105,0.45);
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
  border: 1.5px solid rgba(255,255,255,0.15);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(61,122,105,0.55);
}
.cta-btn:active { transform: translateY(0); }

/* ── REVIEWS ────────────────────────────────── */
.reviews-section { margin-top: 0.5rem; }

.reviews-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.reviews-subline {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  margin-bottom: 2rem;
}

.review {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.review:last-child { border-bottom: none; }

.review-avatar img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--jade-light);
  background: var(--mist);
  display: block;
}

.review-body { flex: 1; min-width: 0; }

.review-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin-bottom: 0.1rem;
}

.review-author {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.review-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-top: 0.05rem;
}
.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  margin: 0.3rem 0 0.18rem;
}
.review-attrs {
  font-size: 0.77rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  margin-bottom: 0.5rem;
}
.verified {
  color: var(--jade-dim);
  font-weight: 600;
}
.review-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.68;
}
.review-photos {
  display: flex;
  gap: 8px;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.review-photos img {
  width: 82px; height: 82px;
  object-fit: cover;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--mist);
}

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--ivory-dim);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  border-top: 2px solid var(--jade);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 100%, rgba(91,158,139,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jade-light);
  margin-bottom: 1rem;
  font-style: italic;
  position: relative;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.81rem;
  position: relative;
}
.footer-links a {
  color: #8BBFB4;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--jade-light); }
.footer-sep { color: var(--ink-soft); }
.footer-copy {
  margin-top: 1rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-family: var(--font-ui);
  position: relative;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
  .product-section {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .gallery { position: static; }
  main { padding: 1.75rem 1rem 3.5rem; }
  .product-title { font-size: 1.2rem; }
  .cta-btn { font-size: 1rem; padding: 0.9rem 2.2rem; }
  .feature-item { padding: 0.75rem 0.85rem; }
}

@media (max-width: 480px) {
  .gallery-thumbs { gap: 7px; }
  .gallery-thumb { flex: 0 0 54px; height: 54px; }
  .review-photos img { width: 70px; height: 70px; }
  .cta-wrapper { border-radius: 12px; }
}