/* Sole Amié — palette and type per brand/SOLE-AMIE-BRAND-GUIDE.md
   Coral Rose leads and is the only chromatic colour. Mulish is the only typeface. */
:root {
  --coral: #D87878;        /* Primary — hero, banners, CTAs */
  --coral-dark: #C16464;   /* Hover only, derived */
  --blush: #F2A9A9;        /* Soft tint, gradients, fills */
  --blush-wash: #FDF4F3;   /* Derived tint for section fills */
  --blush-fill: #FAE8E7;   /* Derived tint for chips and bars */
  --sand: #D8CCC0;         /* Packaging, warm neutral */
  --sand-line: #EAE1D9;    /* Derived hairline */
  --taupe: #5F564A;        /* Logotype, footer, accents */
  --navy: #262A36;         /* Body text, tagline */
  --navy-soft: #6B7080;    /* Derived secondary text */
  --white: #FFFFFF;        /* Primary background */
  --radius: 14px;
  --font: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Type scale — hierarchy from scale, weight and whitespace, never a second typeface */
h1, h2, h3 { font-family: var(--font); color: var(--navy); margin: 0 0 14px; }
h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 14px; }

/* Label / CTA style — Mulish Bold, tracked uppercase */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  font-weight: 700;
  color: var(--taupe);
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }

.stars { color: var(--coral); letter-spacing: 2px; font-size: 15px; }
.star-half { opacity: 0.4; }

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 32px;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--sand); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral-dark); }
.btn-block { display: block; width: 100%; }

/* Announcement + header */
.announce-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 16px;
}
.site-header {
  border-bottom: 1px solid var(--sand-line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; gap: 16px; }

/* Logo — full lockup asset only. Never rebuilt in type, never recoloured or stretched. */
.logo { display: block; }
.logo img { height: 40px; width: auto; }
.footer-logo img { height: 46px; width: auto; margin: 0 auto; }

.header-cta {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--coral);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--coral-dark); }

/* PDP hero */
.pdp { padding-block: 48px 64px; background: linear-gradient(180deg, var(--blush-wash) 0%, var(--white) 100%); }
.pdp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--sand-line);
}
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb {
  padding: 0;
  border: 1.5px solid var(--sand-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.thumb img { aspect-ratio: 1 / 1; object-fit: cover; }
.thumb.is-active, .thumb:hover { border-color: var(--coral); }

.buybox { padding-top: 6px; }
.subtitle { color: var(--navy-soft); font-size: 15px; margin-bottom: 14px; }

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--navy);
}
.rating-score { font-weight: 700; }
.rating-count { color: var(--navy-soft); text-decoration: underline; }
.rating-row:hover .rating-count { color: var(--coral-dark); }

.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.price-total-line { display: flex; align-items: baseline; gap: 8px; margin: 0 0 22px; }
.price-was { color: var(--navy-soft); text-decoration: line-through; font-size: 13px; }
.buybox .price-unit { font-size: 30px; }
.price-flag {
  background: var(--blush-fill);
  color: var(--coral-dark);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.benefit-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.benefit-list li { font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }
.check { color: var(--coral); font-weight: 800; flex-shrink: 0; }

.buybox-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12.5px;
  color: var(--navy-soft);
}
.buybox-trust li::before { content: '· '; color: var(--coral); font-weight: 800; }

/* Section heads */
.section-head { text-align: center; margin-bottom: 40px; }
.section-sub { color: var(--navy-soft); max-width: 58ch; margin-inline: auto; font-size: 15.5px; }

/* Bundle ladder */
.bundles { padding-block: 72px; background: var(--blush-wash); border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.tier-card {
  border: 1.5px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: border-color 0.15s ease;
}
.tier-card:has(input:checked) { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }

.tier-card--featured {
  border-color: var(--coral);
  transform: scale(1.04);
  box-shadow: 0 14px 34px rgba(216, 120, 120, 0.18);
  z-index: 1;
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  margin: 0;
}

.tier-select { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.tier-select input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--sand); flex-shrink: 0; position: relative;
}
.tier-select input:checked + .radio-dot { border-color: var(--coral); }
.tier-select input:checked + .radio-dot::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--coral);
}
.tier-name { font-weight: 800; font-size: 15px; }

.tier-image { border-radius: 10px; overflow: hidden; background: var(--blush-wash); position: relative; }
/* contain, not cover: the packshots are square and must never be cropped */
.tier-image img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.qty-chip {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--sand-line);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier-contents { margin: 0; font-size: 14px; color: var(--navy-soft); line-height: 1.45; }
.tier-price { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.price-unit {
  font-size: 27px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.price-unit-label { font-size: 13px; font-weight: 700; color: var(--navy-soft); margin-left: 3px; }
.price-total { font-size: 12.5px; font-weight: 400; color: var(--navy-soft); }
.tier-save { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--coral-dark); }
.tier-save .muted { color: var(--navy-soft); font-weight: 400; }
.tier-shipping { margin: 0 0 8px; font-size: 12.5px; color: var(--navy-soft); }
.tier-card .btn { margin-top: auto; }

.reference-price { text-align: center; color: var(--navy-soft); font-size: 13px; margin-top: 34px; }

/* What's inside */
.whats-inside { padding-block: 76px; }
.whats-inside-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.whats-inside-img img { border-radius: var(--radius); border: 1px solid var(--sand-line); }
.whats-inside-copy p { color: var(--navy-soft); font-size: 16px; }
.spec-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.spec { border-left: 3px solid var(--coral); padding-left: 16px; }
.spec-title { font-weight: 700; color: var(--navy); margin: 0 0 4px; font-size: 15px; }
.spec-note { margin: 0; font-size: 14.5px; color: var(--navy-soft); }

/* How it works */
.how { padding-block: 72px; background: var(--blush-wash); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how-step { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--sand-line); }
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: var(--white);
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.how-step p { color: var(--navy-soft); font-size: 15px; margin: 0; }

/* Reviews */
.reviews { padding-block: 76px; }
.reviews-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto 44px;
  padding: 26px 30px;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  background: var(--blush-wash);
}
.reviews-score { text-align: center; }
.reviews-score-number { display: block; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.reviews-score .stars { display: block; margin: 6px 0 4px; }
.reviews-count { display: block; font-size: 12.5px; color: var(--navy-soft); }
.reviews-dist { display: flex; flex-direction: column; gap: 7px; }
.dist-row { display: grid; grid-template-columns: 26px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; color: var(--navy-soft); }
.dist-bar { background: var(--blush-fill); border-radius: 999px; height: 8px; overflow: hidden; }
.dist-bar span { display: block; height: 100%; background: var(--coral); border-radius: 999px; }
.dist-num { text-align: right; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card p { font-size: 15px; color: var(--navy); margin: 0; }
.review-card footer { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 6px; }
.reviewer { font-weight: 700; font-size: 13.5px; }
.verified { font-size: 12px; color: var(--coral-dark); font-weight: 600; }
.reviews-note { text-align: center; font-size: 12px; color: var(--navy-soft); margin-top: 26px; }

/* Value */
.value { padding-block: 76px; background: var(--white); border-top: 1px solid var(--sand-line); }
.value-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.value-copy p { color: var(--navy-soft); font-size: 16px; }
.value-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.value-list li { font-size: 15px; color: var(--navy-soft); padding-left: 18px; position: relative; }
.value-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.value-list strong { color: var(--navy); font-weight: 700; }
.value-img img { border-radius: var(--radius); border: 1px solid var(--sand-line); }

/* FAQ */
.faq { padding-block: 76px; background: var(--blush-wash); }
.faq-inner { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--sand-line); padding: 18px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--coral); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 14px 0 0; color: var(--navy-soft); font-size: 15px; }
.faq-item a { color: var(--coral-dark); }

/* Final CTA */
.final-cta { padding-block: 72px; background: var(--white); text-align: center; }
.final-cta p { color: var(--navy-soft); margin-bottom: 24px; }

/* Footer — Taupe per the palette's stated job */
.site-footer { background: var(--taupe); color: #E3DDD5; padding-block: 42px; }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 10px; }
.footer-logo { margin: 0 auto 6px; }
.footer-note, .footer-copyright { margin: 0; font-size: 12.5px; color: #CFC7BC; }
.footer-legal { margin: 0; font-size: 11px; color: #B3AAA0; max-width: 70ch; margin-inline: auto; line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .pdp-inner, .whats-inside-inner, .value-inner { grid-template-columns: 1fr; gap: 36px; }
  .value-img { order: -1; }
  .tier-grid, .how-grid, .review-grid { grid-template-columns: 1fr; }
  .tier-card--featured { transform: none; order: -1; }
  /* Cards are full-width when stacked; cap the image so it doesn't dominate the card */
  .tier-image img { max-height: 300px; }
  .reviews-summary { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .buybox .price-unit { font-size: 27px; }
  .thumbs { gap: 8px; }
  .logo img { height: 32px; }
  .header-cta { padding: 10px 16px; font-size: 11.5px; letter-spacing: 0.06em; }
}
