/* ===== THEME: Modern Tech Blue/Teal ===== */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1c2b36;
}

/* Override Tailwind utility colors used inline in HTML */
.bg-green-50 { background-color: #eef4f8; }
.bg-white { background-color: #ffffff; }
.text-green-800 { color: #ffffff; }
.text-green-900 { color: #0b3d55; }
.text-gray-700 { color: #33475a; }
.text-gray-600 { color: #ffffff; }
.text-gray-500 { color: #5d7286; }
.border-green-100 { border-color: #bcd9e6; }

/* ===== Header (gradient blue-teal) ===== */
.site-header.bg-white {
  background: linear-gradient(90deg, #0b3d55, #12879c) !important;
  box-shadow: none !important;
}

.site-header h2.text-green-800 {
  color: #ffffff !important;
  letter-spacing: 0.04em;
}

/* ===== Product card ===== */
.product {
  background-color: #ffffff !important;
  border: 1px solid #bcd9e6;
  border-radius: 0 !important;
  box-shadow: 0 10px 26px rgba(11, 61, 85, 0.1) !important;
  border-top: 4px solid #12879c !important;
}

.description-list li { font-size: 0.95rem; }
.description-list strong { color: #0b3d55; }

/* ===== Gallery ===== */
.gallery { position: relative; }
.gallery-radio { display: none; }

.gallery-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #eef4f8;
  border-radius: 0 !important;
  border-width: 1px !important;
}

.gallery-images .slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

#img1:checked ~ .gallery-images .slide1,
#img2:checked ~ .gallery-images .slide2,
#img3:checked ~ .gallery-images .slide3,
#img4:checked ~ .gallery-images .slide4 {
  display: block;
}

.thumbs { flex-wrap: wrap; }

.thumb-label {
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid #bcd9e6;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.thumb-label img { width: 100%; height: 100%; object-fit: cover; display: block; }

#img1:checked ~ .thumbs label[for="img1"],
#img2:checked ~ .thumbs label[for="img2"],
#img3:checked ~ .thumbs label[for="img3"],
#img4:checked ~ .thumbs label[for="img4"] {
  opacity: 1;
  border-color: #12879c;
}

/* ===== CTA button ===== */
.cta-section { width: 100%; }

.cta-button {
  display: inline-block;
  background-color: #12879c;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 18px 56px;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(18, 135, 156, 0.35);
  transition: background-color 0.2s, transform 0.2s;
}

.cta-button:hover {
  background-color: #0b3d55;
  transform: translateY(-2px);
}

/* ===== Reviews ===== */
.reviews {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reviews h3.text-green-900 { color: #0b3d55 !important; }

.review-card {
  padding: 18px 20px;
  margin-bottom: 12px;
  background-color: #ffffff;
  border: 1px solid #bcd9e6;
  border-left: 4px solid #12879c;
}

.review-card:last-child { margin-bottom: 0; }

.review-top { display: flex; align-items: flex-start; gap: 14px; }

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 0;
  object-fit: cover;
  border: 2px solid #12879c;
  flex-shrink: 0;
}

.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; color: #0b3d55; margin: 0; }
.review-name-link { color: #0b3d55; text-decoration: none; }
.review-name-link:hover { color: #12879c; text-decoration: underline; }

.review-stars { color: #12879c; margin: 2px 0 0 0; letter-spacing: 1px; }
.review-title { font-weight: 700; margin: 4px 0 0 0; color: #1c2b36; }
.review-sub { font-size: 0.85rem; color: #5d7286; margin: 8px 0 0 0; }
.review-attrs { font-size: 0.85rem; color: #5d7286; margin: 2px 0 8px 0; }
.review-text { font-size: 0.95rem; line-height: 1.6; color: #33475a; margin: 0; }

.review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.review-photo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid #bcd9e6;
}

/* ===== Footer ===== */
.site-footer.bg-white {
  background: linear-gradient(90deg, #0b3d55, #12879c) !important;
  border-top: none !important;
}

.site-footer p.text-green-800 { color: #ffffff !important; letter-spacing: 0.04em; }
.site-footer .text-gray-600 { color: #ffffff !important; }
.footer-link { color: #cfeaf1; text-decoration: none; }
.footer-link:hover { text-decoration: underline; color: #ffffff; }

/* ===== Mobile-first ===== */
@media (max-width: 767px) {
  .gallery-images { aspect-ratio: 4 / 3; }
  .cta-button { width: 90%; text-align: center; padding: 16px 0; font-size: 1.05rem; }
  h1 { font-size: 1.4rem; }
  .review-photo { width: 66px; height: 66px; }
}