/* ═══════════════════════════════════════════════════
   Blue Stork — style.css
   Aesthetic: Soft Dusk · Dusty Rose + Slate Blue
   Clean · Hopeful · Tender · Editorial
═══════════════════════════════════════════════════ */

:root {
  --slate:        #2C3E5A;
  --slate-mid:    #3D5275;
  --slate-soft:   #506080;
  --rose:         #C47E8A;
  --rose-light:   #E0A8B2;
  --rose-dim:     #A05A68;
  --blush:        #F5EAE8;
  --blush-deep:   #EDD4D0;
  --sky:          #D6E4F0;
  --sky-dim:      #B8CDE0;
  --white:        #FDFBFA;
  --offwhite:     #F4F0EE;
  --text:         #1E2A38;
  --muted:        #7A8898;
  --border:       #D8CBD0;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Libre Baskerville', Georgia, serif;
  --font-ui:      'Outfit', sans-serif;
}

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

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  background: var(--slate);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--rose-light);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 300px; height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(196,126,138,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.header-logo-mark {
  font-size: 1.5rem;
  line-height: 1;
}

.header-brand {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  color: #EFF5FA;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
}

.header-brand em {
  color: var(--rose-light);
  font-style: italic;
}

/* ── MAIN ───────────────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

/* ── PRODUCT SECTION ────────────────────────── */
.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* ── GALLERY ────────────────────────────────── */
.gallery {
  position: sticky;
  top: 1.5rem;
}

.gallery-track {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--blush);
  box-shadow: 0 4px 24px rgba(44,62,90,0.08);
}

.gallery-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-slides::-webkit-scrollbar { display: none; }

.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; }
.gallery-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1.5rem;
  background: var(--blush);
  display: block;
}

.gallery-thumbs {
  display: flex;
  gap: 9px;
  margin-top: 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex: 0 0 64px;
  height: 64px;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--blush);
  transition: border-color 0.2s;
}
.gallery-thumb:hover { border-color: var(--rose); }
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 5px;
}

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

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blush-deep);
  color: var(--rose-dim);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 20px;
  width: fit-content;
  border: 1px solid var(--rose-light);
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--slate);
  font-weight: 700;
}

.divider-rose {
  height: 1.5px;
  background: linear-gradient(90deg, var(--rose-light) 0%, transparent 80%);
  border-radius: 2px;
  opacity: 0.7;
}

/* Feature list */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feat {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem 0.9rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  line-height: 1.62;
  font-size: 0.93rem;
  box-shadow: 0 1px 4px rgba(44,62,90,0.05);
}

.feat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.feat-content strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-bottom: 0.18rem;
}

.keywords-note {
  font-size: 0.87rem;
  color: var(--muted);
  font-style: italic;
  padding: 0.8rem 1rem;
  background: var(--sky);
  border-left: 3px solid var(--sky-dim);
  border-radius: 0 10px 10px 0;
  line-height: 1.65;
}

/* ── CTA ────────────────────────────────────── */
.cta-section {
  margin: 0 0 4rem;
  background: var(--blush);
  border: 1.5px solid var(--blush-deep);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,126,138,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose-dim);
  margin-bottom: 0.7rem;
}

.cta-btn {
  display: inline-block;
  background: var(--slate);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(44,62,90,0.25);
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  border: 2px solid transparent;
}
.cta-btn:hover {
  background: var(--slate-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(44,62,90,0.3);
}
.cta-btn:active { transform: translateY(0); }

/* ── REVIEWS ────────────────────────────────── */
.reviews-section { margin-top: 0; }

.reviews-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.3rem;
}
.reviews-sub {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.review {
  display: flex;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.review:last-child { border-bottom: none; }

.review-avatar img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-light);
  background: var(--blush);
  display: block;
}

.review-body { flex: 1; min-width: 0; }

.review-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.65rem;
  margin-bottom: 0.1rem;
}

.review-author {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--slate);
}
.review-stars {
  color: #D4913A;
  font-size: 0.93rem;
  letter-spacing: 1px;
}
.review-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.91rem;
  color: var(--text);
  margin-top: 0.05rem;
}
.review-date {
  font-size: 0.77rem;
  color: var(--muted);
  font-family: var(--font-ui);
  margin: 0.3rem 0 0.15rem;
}
.review-attrs {
  font-size: 0.76rem;
  color: var(--muted);
  font-family: var(--font-ui);
  margin-bottom: 0.5rem;
}
.verified {
  color: var(--slate-mid);
  font-weight: 600;
}
.review-text {
  font-size: 0.91rem;
  color: var(--text);
  line-height: 1.7;
}
.review-photos {
  display: flex;
  gap: 8px;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.review-photos img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--blush);
}

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--slate);
  color: #C8D6E4;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  border-top: 2px solid var(--rose-light);
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 240px; height: 100%;
  background: radial-gradient(ellipse at 100% 100%, rgba(196,126,138,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rose-light);
  margin-bottom: 0.9rem;
  font-style: italic;
  position: relative;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.3rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  position: relative;
}
.footer-links a {
  color: #A8C0D6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.footer-links a:hover { color: #D6E8F5; }
.footer-sep { color: var(--slate-soft); }
.footer-copy {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--slate-soft);
  font-family: var(--font-ui);
  position: relative;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
  .product-section {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .gallery { position: static; }
  main { padding: 1.75rem 1rem 3.5rem; }
  .product-title { font-size: 1.2rem; }
  .cta-btn { font-size: 1rem; padding: 0.9rem 2.2rem; }
  .cta-section { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .gallery-thumb { flex: 0 0 52px; height: 52px; }
  .review-photos img { width: 68px; height: 68px; }
}