/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0f2744;
  --navy-mid:    #163460;
  --navy-light:  #1e4080;
  --cobalt:      #1a56db;
  --cobalt-mid:  #1d4ed8;
  --cobalt-light:#3b82f6;
  --cobalt-pale: #dbeafe;
  --cobalt-50:   #eff6ff;
  --sky:         #bfdbfe;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-900:    #0f172a;
  --red-500:     #ef4444;
  --amber:       #f59e0b;
  --star:        #f59e0b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 1rem 1.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(15,39,68,.4);
}
.site-header .brand {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}
.header-badge {
  display: inline-block;
  margin-top: .35rem;
  background: var(--cobalt);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 100px;
}

/* ── PAGE WRAPPER ── */
.page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(15,39,68,.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .product-card {
    grid-template-columns: 420px 1fr;
  }
}

/* ── GALLERY ── */
.gallery {
  background: var(--cobalt-50);
  padding: 1.5rem;
  border-bottom: 1px solid var(--cobalt-pale);
}
@media (min-width: 780px) {
  .gallery {
    border-bottom: none;
    border-right: 1px solid var(--cobalt-pale);
  }
}

.slider-inputs { display: none; }

.slides {
  border-radius: 8px;
  background: #fff;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(15,39,68,.08);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#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) {
  opacity: 1;
  pointer-events: auto;
}

.thumbnails {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.thumb-label {
  width: 66px;
  height: 66px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, box-shadow .2s;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15,39,68,.1);
}
.thumb-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#s1:checked ~ .thumbnails .tl1,
#s2:checked ~ .thumbnails .tl2,
#s3:checked ~ .thumbnails .tl3,
#s4:checked ~ .thumbnails .tl4 {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-pale);
}

/* ── PRODUCT INFO ── */
.product-info {
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.product-info h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
}

/* feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.feature-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.feature-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  margin-top: .12rem;
}

/* tag row */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.tag {
  background: var(--cobalt-pale);
  color: var(--cobalt-mid);
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 100px;
  letter-spacing: .04em;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--cobalt);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 1rem 2.75rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(26,86,219,.38);
  transition: background .2s, transform .12s, box-shadow .2s;
}
.cta-btn:hover {
  background: var(--cobalt-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,86,219,.45);
}
.cta-btn:active { transform: translateY(0); }
.cta-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* ── REVIEWS ── */
.reviews-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.reviews-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.reviews-header .bar {
  flex: 1;
  height: 2px;
  background: var(--cobalt-pale);
}

/* single review */
.review {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.review:last-child { border-bottom: none; }

.review-top {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-bottom: .6rem;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cobalt-pale);
  border: 2px solid var(--sky);
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-meta { flex: 1; }
.review-name {
  font-weight: 800;
  font-size: .92rem;
  color: var(--navy);
  line-height: 1.2;
}
.review-stars {
  color: var(--star);
  font-size: .98rem;
  letter-spacing: .06em;
  line-height: 1.5;
}
.review-title {
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-900);
}
.review-meta-line {
  font-size: .76rem;
  color: var(--gray-600);
  margin-bottom: .18rem;
}
.review-verified {
  display: inline-block;
  font-size: .73rem;
  color: var(--cobalt);
  font-weight: 700;
  margin-bottom: .45rem;
}
.review-body {
  font-size: .87rem;
  color: var(--gray-700);
  line-height: 1.68;
  margin-bottom: .7rem;
}
.review-photos {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .55rem;
}
.review-photos img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: #c7d9f5;
  text-align: center;
  padding: 1.75rem 1.5rem 2rem;
}
.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .7rem;
  letter-spacing: .04em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1.35rem;
  margin-bottom: .75rem;
}
.footer-links a {
  font-size: .73rem;
  color: var(--sky);
  text-decoration: none;
  transition: color .18s;
}
.footer-links a:hover { color: #fff; }
.footer-divider {
  width: 40px;
  height: 2px;
  background: var(--cobalt);
  margin: .7rem auto;
  border-radius: 2px;
}
.footer-copy {
  font-size: .68rem;
  color: #7ba4d6;
}