/* ===========================
   VARIABLES — Slate Blue · Warm White · Amber Gold
=========================== */
:root {
  --slate-dark:    #1c2b45;
  --slate-main:    #274060;
  --slate-mid:     #35567d;
  --slate-light:   #e8eef6;
  --amber-gold:    #b8860b;
  --amber-light:   #fdf8e8;
  --amber-hover:   #966e09;
  --warm-white:    #fafaf7;
  --star-color:    #c07c10;
  --text-dark:     #0e1825;
  --text-body:     #223040;
  --text-muted:    #5a6e85;
  --border:        #c5d2e0;
  --white:         #ffffff;
  --bg:            #f2f5fa;
  --card-bg:       #ffffff;
}

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

body {
  font-family: 'Hind', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.78;
}

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

/* ===========================
   HEADER
=========================== */
.site-header {
  background: var(--slate-dark);
  padding: 0.88rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(28,43,69,0.35);
  border-bottom: 3px solid var(--amber-gold);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.site-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-gold);
}

.header-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.38;
}

/* ===========================
   PRODUCT SECTION
=========================== */
.product-section {
  padding: 2.2rem 1rem;
}

.product-card {
  max-width: 1060px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(28,43,69,0.11);
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: start;
}

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

.gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: sticky;
  top: 84px;
}

.gallery-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--slate-light);
  border: 1px solid var(--border);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

#img1:checked ~ .gallery-slides #slide1,
#img2:checked ~ .gallery-slides #slide2,
#img3:checked ~ .gallery-slides #slide3,
#img4:checked ~ .gallery-slides #slide4 {
  opacity: 1;
  z-index: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-thumbs label {
  cursor: pointer;
  width: calc(25% - 0.38rem);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.18s;
}

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

.gallery-thumbs label:hover { border-color: var(--slate-mid); }

#img1:checked ~ .gallery-thumbs label:nth-child(1),
#img2:checked ~ .gallery-thumbs label:nth-child(2),
#img3:checked ~ .gallery-thumbs label:nth-child(3),
#img4:checked ~ .gallery-thumbs label:nth-child(4) {
  border-color: var(--slate-main);
  box-shadow: 0 0 0 2px var(--slate-light);
}

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

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.48;
  border-bottom: 2px solid var(--slate-light);
  padding-bottom: 0.8rem;
}

.desc-heading {
  font-weight: 700;
  color: var(--slate-dark);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.65rem;
}

.desc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.desc-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text-body);
  padding: 0.68rem 0.9rem;
  border-radius: 9px;
  background: var(--warm-white);
  border-left: 3px solid var(--slate-mid);
}

.li-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.06em;
}

.desc-keywords {
  font-size: 0.87rem;
  color: var(--text-muted);
  background: var(--amber-light);
  border-left: 3px solid var(--amber-gold);
  padding: 0.55rem 0.9rem;
  border-radius: 0 7px 7px 0;
  font-style: italic;
}

/* ===========================
   CTA
=========================== */
.cta-section {
  padding: 1.6rem 1rem 2.8rem;
  display: flex;
  justify-content: center;
}

.cta-btn {
  display: inline-block;
  background: var(--slate-main);
  color: var(--white);
  font-family: 'Hind', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1rem 3.2rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 22px rgba(39,64,96,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.cta-btn:hover {
  background: var(--slate-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(39,64,96,0.44);
  border-color: var(--amber-gold);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(39,64,96,0.22);
}

/* ===========================
   REVIEWS
=========================== */
.reviews-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
}

.reviews-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-dark);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.8rem;
}

.review-item {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

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

.review-top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.45rem;
}

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

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

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

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

.review-stars {
  color: var(--star-color);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

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

.review-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.review-attrs {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.review-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.82;
  margin-bottom: 0.9rem;
}

.review-photos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

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

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--slate-dark);
  border-top: 3px solid var(--amber-gold);
  padding: 2rem 1rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.18s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   RESPONSIVE — TABLET
=========================== */
@media (max-width: 768px) {
  .product-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.3rem;
  }

  .gallery-wrap { position: static; }

  .product-title { font-size: 1.08rem; }

  .cta-btn {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
  }
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 480px) {
  .header-title { font-size: 0.86rem; }

  .product-card {
    padding: 1rem;
    border-radius: 10px;
  }

  .gallery-thumbs label { width: calc(25% - 0.28rem); }

  .desc-list li {
    padding: 0.58rem 0.72rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .reviews-section { padding: 0 0.75rem 2.5rem; }

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

  .cta-btn {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
  }
}