/* ===== Palette: raspberry, passion-fruit purple & zesty orange ===== */
:root {
  --blush:       #fff6f3;
  --rasp-500:    #d4145a;
  --rasp-600:    #b00f4b;
  --rasp-100:    #ffdbe7;
  --passion-900: #2e1446;
  --passion-700: #5b2a86;
  --passion-100: #ece2f6;
  --zest-500:    #ff8a3d;
  --zest-100:    #ffe7d6;
  --text:        #2a1d33;
  --muted:       #75677d;
  --line:        #f0dfe3;
  --star:        #f6a21a;
  --energy: linear-gradient(115deg, var(--rasp-500) 0%, var(--passion-700) 55%, var(--zest-500) 100%);
}

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

body {
  margin: 0;
  background:
    repeating-linear-gradient(115deg, rgba(212, 20, 90, 0.035) 0 2px, transparent 2px 22px),
    var(--blush);
  color: var(--text);
  font-family: 'Manrope', 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: 'Archivo', 'Manrope', system-ui, sans-serif;
}

/* ===== Header ===== */
.site-header {
  background: var(--energy);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  padding-bottom: 10px;
}
.site-name {
  display: block;
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.4rem; }
}

/* ===== Product card ===== */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(91, 42, 134, 0.45);
}
.product-card::before {
  /* gradient frame */
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 20px;
  background: var(--energy);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
@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: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--rasp-100) 0%, #fff 45%, var(--zest-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%) skewX(-8deg);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--passion-900);
  color: var(--zest-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--rasp-500); color: #fff; }
.nav.prev { left: 12px; }
.nav.next { right: 12px; }

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

#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(--rasp-500);
  box-shadow: 0 6px 16px -6px rgba(212, 20, 90, 0.6);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--passion-900);
  letter-spacing: -0.4px;
}
@media (min-width: 768px) {
  .product-title { font-size: 2.1rem; }
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.specs th,
.specs td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.specs th {
  width: 40%;
  padding-right: 12px;
  font-weight: 700;
  color: var(--passion-700);
}
.specs td { color: var(--muted); }

.section-subtitle {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--energy);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.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 {
  /* lightning "jolt" */
  content: "⚡";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  filter: hue-rotate(-20deg) saturate(1.4);
}
.features strong { color: var(--rasp-600); font-weight: 700; }

.info-note {
  background: var(--passion-100);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--passion-900);
  border-left: 5px solid var(--zest-500);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 20px 32px;
  background: var(--energy);
  background-size: 160% 100%;
  background-position: 0% 0;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 20px 36px -14px rgba(212, 20, 90, 0.65);
  transition: background-position .4s, transform .2s;
}
.cta-button:hover,
.cta-button:focus {
  background-position: 100% 0;
  transform: translateY(-3px) scale(1.01);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.65rem; padding: 22px 44px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--passion-900);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 3px solid;
  border-image: var(--energy) 1;
}
.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(--rasp-100);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  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: 700;
  line-height: 1.45;
  margin-top: 2px;
  color: var(--passion-900);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rasp-500);
}
.review-text {
  margin-top: 8px;
  font-size: 0.97rem;
}
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--passion-900);
  color: #dccbe9;
  border-top: 5px solid;
  border-image: var(--energy) 1;
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--zest-500);
  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; }