/* ===== Palette: aqua water, watermelon coral & leaf green ===== */
:root {
  --aqua-50:   #effbfa;
  --aqua-100:  #d8f4f2;
  --aqua-400:  #6fd3cc;
  --melon-500: #ff5d73;
  --melon-600: #e8445b;
  --melon-100: #ffe1e6;
  --leaf-600:  #3f9a4c;
  --leaf-100:  #dff2dc;
  --deep:      #173a3a;
  --text:      #1f3434;
  --muted:     #5f7575;
  --line:      #d9ecea;
  --star:      #f3a72a;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 15%, var(--melon-100) 0, transparent 260px),
    radial-gradient(circle at 90% 40%, var(--leaf-100) 0, transparent 300px),
    linear-gradient(180deg, var(--aqua-50) 0%, #fff 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.product-title,
.section-subtitle,
.reviews-heading,
.site-name,
.cta-button {
  font-family: 'Bricolage Grotesque', 'Lexend', system-ui, sans-serif;
}

/* ===== Header ===== */
.site-header {
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.site-header::after {
  /* water wave strip */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background:
    radial-gradient(circle at 10px -2px, transparent 10px, var(--aqua-400) 11px) repeat-x;
  background-size: 20px 8px;
  opacity: 0.6;
}
.site-name {
  display: block;
  color: var(--deep);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.35rem; }
}

/* ===== Product card ===== */
.product-card {
  background: #fff;
  border-radius: 30px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 56px -28px rgba(23, 58, 58, 0.35);
}
@media (min-width: 768px) {
  .product-card { padding: 42px; }
}

/* ===== Gallery (radio + CSS) ===== */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--melon-100) 0%, #fff 40%, var(--aqua-100) 100%);
}
.slide {
  display: none;
  position: absolute;
  inset: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 { display: block; }

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--melon-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(23, 58, 58, 0.15);
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--melon-500); color: #fff; }
.nav.prev { left: 12px; }
.nav.next { right: 12px; }

.thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--aqua-50);
  border: 2px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--aqua-400); transform: translateY(-2px); }

#img-1:checked ~ .gallery-thumbs .thumb-1,
#img-2:checked ~ .gallery-thumbs .thumb-2,
#img-3:checked ~ .gallery-thumbs .thumb-3,
#img-4:checked ~ .gallery-thumbs .thumb-4 {
  border-color: var(--melon-500);
  box-shadow: 0 0 0 3px var(--melon-100);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--deep);
  letter-spacing: -0.3px;
}
@media (min-width: 768px) {
  .product-title { font-size: 2rem; }
}

.specs {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 0.93rem;
}
.specs th,
.specs td {
  text-align: left;
  padding: 8px 14px;
  background: var(--aqua-50);
}
.specs th {
  width: 40%;
  font-weight: 600;
  color: var(--deep);
  border-radius: 999px 0 0 999px;
}
.specs td {
  color: var(--muted);
  border-radius: 0 999px 999px 0;
}

.section-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep);
}
.features { list-style: none; padding: 0; margin: 0; }
.features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.features li::before {
  /* watermelon slice dot */
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--melon-500);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--leaf-600);
}
.features strong { color: var(--deep); font-weight: 600; }

.info-note {
  background: var(--leaf-100);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #2c4a2f;
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 20px 32px;
  background: linear-gradient(135deg, var(--melon-500) 0%, #ff8a5c 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 22px;
  box-shadow: 0 8px 0 var(--melon-600), 0 22px 36px -12px rgba(255, 93, 115, 0.6);
  transition: transform .15s, box-shadow .15s;
}
.cta-button:hover,
.cta-button:focus {
  transform: translateY(4px);
  box-shadow: 0 4px 0 var(--melon-600), 0 14px 26px -10px rgba(255, 93, 115, 0.6);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.6rem; padding: 22px 44px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--deep);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.review { padding: 22px 0; }
.review + .review {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 14px;
  background: var(--aqua-100);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}
.stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1.3;
}
.review-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 2px;
  color: var(--deep);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--leaf-600);
}
.review-text {
  margin-top: 8px;
  font-size: 0.97rem;
}
.review-text strong { color: var(--deep); font-weight: 600; }
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--deep);
  color: #cde6e4;
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--aqua-400);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }