/* ================================================
   BLUE LIGHT GLASSES — style.css
   Green-themed, minimal, mobile-first
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-deep:    #1a5c38;
  --green-mid:     #2d8653;
  --green-light:   #e8f5ee;
  --green-border:  #b7dfc8;
  --green-cta:     #1e7a47;
  --green-cta-hov: #155c34;
  --green-accent:  #3aaa6e;
  --text-dark:     #1a1a1a;
  --text-mid:      #3b3b3b;
  --text-muted:    #6b7280;
  --text-link:     #0066c0;
  --bg-page:       #f7faf8;
  --bg-white:      #ffffff;
  --star-gold:     #f0a500;
  --star-empty:    #d1d5db;
  --radius-sm:     6px;
  --radius-md:     10px;
  --shadow-card:   0 2px 12px rgba(30,122,71,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  -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(--green-deep);
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

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

.site-name {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8d5b8;
  font-weight: 600;
  margin-bottom: 4px;
}

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

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

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

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--green-border);
  display: flex;
  flex-direction: column;
  gap: 0;
  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(--green-light);
  padding: 18px 14px;
}

@media (min-width: 768px) {
  .gallery-col {
    width: 42%;
    padding: 24px 20px;
    border-right: 1px solid var(--green-border);
  }
}

/* Radio-based slider */
.gallery-radio-wrap input[type="radio"] {
  display: none;
}

.slides {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slide {
  flex: 0 0 100%;
  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: 340px; }
}

/* Show the active slide */
#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;
}

/* Thumbnails */
.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;
  display: block;
}

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

/* Highlight active thumb */
#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(--green-mid);
}

.thumb:hover { border-color: var(--green-accent); }

/* ================================================
   PRODUCT INFO COLUMN
   ================================================ */
.info-col {
  flex: 1;
  padding: 22px 20px 24px;
}

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

.brand-tag {
  font-size: 0.78rem;
  color: var(--green-mid);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

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

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

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

.about-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  border-bottom: 1.5px solid var(--green-border);
  padding-bottom: 6px;
}

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

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

.bullet-icon {
  flex-shrink: 0;
  color: var(--green-mid);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1px;
}

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

.about-list em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 600;
}

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

/* ================================================
   CTA BUTTON
   ================================================ */
.cta-btn {
  display: inline-block;
  background: var(--green-cta);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(30,122,71,0.28);
}

.cta-btn:hover {
  background: var(--green-cta-hov);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,122,71,0.36);
  text-decoration: none;
  color: #fff;
}

/* Large CTA between product and reviews */
.cta-section {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 0 16px;
  text-align: center;
}

.cta-btn-large {
  font-size: 1.18rem;
  padding: 18px 48px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .cta-btn-large {
    font-size: 1rem;
    padding: 15px 28px;
    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 48px;
}

.reviews-inner {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--green-border);
  padding: 28px 22px;
}

.reviews-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-border);
}

/* Individual review block */
.review-block {
  padding: 22px 0;
  border-bottom: 1px solid #e5ede9;
}

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

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

/* Top row: avatar + meta */
.review-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

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

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

.review-meta {
  flex: 1;
}

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

/* Stars */
.stars {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 3px;
}

.star {
  font-size: 1rem;
  line-height: 1;
}

.star.filled {
  color: var(--star-gold);
}

.star.empty {
  color: var(--star-empty);
}

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

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

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

.verified {
  color: var(--green-mid);
  font-weight: 600;
}

/* Body text */
.review-body {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 12px;
}

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

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

.review-photos-multi img {
  width: 90px;
  height: 90px;
}

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

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--green-deep);
  color: #c8e6d4;
  padding: 22px 16px;
  margin-top: 0;
}

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

.footer-brand {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

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

.footer-links a {
  font-size: 0.78rem;
  color: #a8d5b8;
  text-decoration: underline;
  transition: color 0.15s;
}

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

.footer-sep {
  color: #6ea882;
  font-size: 0.78rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: #7ab893;
}