/* ================================================
   LIVHO — style.css
   Color system: Warm Charcoal + Sage Green + Warm White
   Unique from: green, navy-amber, rose-mauve, electric-blue
   Mobile-first · Amazon-style reviews · No JS
   ================================================ */

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

:root {
  /* Palette — Warm Charcoal + Sage + Warm White */
  --char-deep:    #2d2d2a;
  --char-mid:     #3f3f3a;
  --sage-main:    #5a7a65;
  --sage-light:   #8aaa92;
  --sage-pale:    #edf4ef;
  --sage-border:  #c4d8cb;
  --warm-white:   #faf9f6;
  --warm-card:    #f5f4f0;
  --warm-rule:    #e8e5de;
  --white:        #ffffff;
  --text-dark:    #1c1c1a;
  --text-mid:     #3a3a36;
  --text-muted:   #7a7a74;
  --text-link:    #4a6e55;
  --star-on:      #e6a817;
  --star-off:     #d4d0c8;
  --radius-sm:    6px;
  --radius-md:    12px;
  --shadow:       0 3px 18px rgba(45,45,42,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ================================================
   HEADER
   ================================================ */
.site-header {
  background: var(--char-deep);
  padding: 13px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.20);
  border-bottom: 2px solid var(--sage-main);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.site-name {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 700;
  margin-bottom: 4px;
}

.header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .header-title { font-size: 0.86rem; }
}

/* ================================================
   PRODUCT SECTION
   ================================================ */
.product-section {
  padding: 28px 16px 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--warm-rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

/* ================================================
   GALLERY
   ================================================ */
.gallery-col {
  flex: 0 0 auto;
  width: 100%;
  background: var(--warm-card);
  padding: 18px 14px;
}

@media (min-width: 768px) {
  .gallery-col {
    width: 42%;
    padding: 26px 22px;
    border-right: 1px solid var(--warm-rule);
  }
}

.gallery-wrap input[type="radio"] { display: none; }

.slides { width: 100%; overflow: hidden; }
.slide  { display: none; }

.slide img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
}

@media (min-width: 768px) {
  .slide img { height: 350px; }
}

#s1:checked ~ .slides .slide:nth-child(1),
#s2:checked ~ .slides .slide:nth-child(2),
#s3:checked ~ .slides .slide:nth-child(3),
#s4:checked ~ .slides .slide:nth-child(4) { display: block; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumb {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s;
}

.thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .thumb img { width: 64px; height: 64px; }
}

#s1:checked ~ .gallery-thumbs label:nth-child(1),
#s2:checked ~ .gallery-thumbs label:nth-child(2),
#s3:checked ~ .gallery-thumbs label:nth-child(3),
#s4:checked ~ .gallery-thumbs label:nth-child(4) {
  border-color: var(--sage-main);
}

.thumb:hover { border-color: var(--char-deep); }

/* ================================================
   INFO COLUMN
   ================================================ */
.info-col {
  flex: 1;
  padding: 22px 18px 26px;
}

@media (min-width: 768px) {
  .info-col { padding: 28px 30px 30px; }
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage-main);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 14px;
}

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

/* Pill row */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.pill {
  background: var(--sage-pale);
  color: var(--sage-main);
  border: 1px solid var(--sage-border);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/* About section */
.about-section { margin-bottom: 18px; }

.about-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 1.5px solid var(--warm-rule);
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.step-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-main);
  margin-top: 7px;
  border: 2px solid var(--sage-light);
}

.about-list strong { color: var(--text-dark); }

/* CTA inline */
.cta-inline { text-align: center; margin-top: 20px; }

/* ================================================
   CTA BUTTON
   ================================================ */
.cta-btn {
  display: inline-block;
  background: var(--sage-main);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(90,122,101,0.30);
}

.cta-btn:hover {
  background: #47614f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90,122,101,0.40);
  text-decoration: none;
  color: #fff;
}

.cta-section {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 0 16px;
  text-align: center;
}

.cta-large {
  font-size: 1.15rem;
  padding: 18px 50px;
}

@media (max-width: 480px) {
  .cta-large {
    font-size: 1rem;
    padding: 16px 24px;
    width: 100%;
    text-align: center;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* ================================================
   REVIEWS SECTION
   ================================================ */
.reviews-section {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 16px 50px;
}

.reviews-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--warm-rule);
  padding: 28px 22px;
}

.reviews-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--warm-rule);
}

/* Review block */
.review {
  padding: 22px 0;
  border-bottom: 1px solid var(--warm-rule);
}

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

.review:first-of-type { padding-top: 0; }

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.avatar-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--sage-border);
  background: var(--sage-pale);
}

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

.reviewer-info { flex: 1; }

.reviewer-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.stars {
  display: flex;
  gap: 1px;
  margin-bottom: 3px;
}

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

.review-headline {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.review-date {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.review-attrs {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.verified {
  color: var(--sage-main);
  font-weight: 600;
}

.review-text {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.68;
  margin-bottom: 12px;
}

.review-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.review-imgs img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--warm-rule);
}

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

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--char-deep);
  border-top: 2px solid var(--sage-main);
  padding: 22px 16px;
  color: #9a9a94;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 0.77rem;
  color: var(--sage-light);
  text-decoration: underline;
  transition: color 0.15s;
}

.footer-nav a:hover { color: #ffffff; }

.sep {
  color: #505050;
  font-size: 0.77rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: #505050;
}