:root {
  --primary: #fce4ec;
  --accent: #e8a0b8;
  --accent-dark: #c97a96;
  --text: #5a3d4a;
  --heading: #8a4a62;
  --soft: #b89aaa;
  --surface: #fff5f8;
  --background: #fff0f5;
  --error: #d97a8a;
  --gold: #c9a24b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fce4ec; }
body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fce4ec;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell {
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff0f5 0%, #fce4ec 50%, #f8d7e3 100%);
  box-shadow: 0 0 45px rgba(201,122,150,.18);
}

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,240,245,.94);
  border-bottom: 1px solid rgba(232,160,184,.35);
  backdrop-filter: blur(10px);
}
.brand { font-weight: 800; letter-spacing: .08em; font-size: 12px; color: var(--heading); }
.brand span { color: var(--accent-dark); margin-right: 6px; }
.nav { display: flex; gap: 14px; font-size: 12px; font-weight: 600; color: var(--soft); }
.nav a:hover { color: var(--heading); }

.hero { padding: 22px 18px 8px; text-align: center; }
.pill {
  display: inline-block;
  border: 1px solid var(--accent-dark);
  color: var(--heading);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: rgba(255,255,255,.55);
}
.hero h1 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.offer-line { color: var(--accent-dark); font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.rating { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 16px; }

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 1px solid rgba(232,160,184,.4);
  box-shadow: 0 14px 40px rgba(201,122,150,.22);
}
.award-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 30% 25%, #fff7e4 0%, #f0d78c 42%, #c9a24b 100%);
  color: #6a3d18;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .01em;
  box-shadow: 0 6px 16px rgba(138,74,98,.28), inset 0 0 0 3px rgba(255,255,255,.45);
  z-index: 2;
}
.award-badge .award-star {
  font-size: 14px;
  line-height: 1;
  margin-bottom: 2px;
}
.hero-visual img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.ribbon {
  position: absolute; top: 14px; right: 12px;
  background: linear-gradient(180deg,#fff,#f8d7e3);
  border: 1px solid var(--accent);
  color: var(--heading);
  padding: 10px 8px;
  width: 92px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  border-radius: 6px;
}
.persist {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(90,61,74,.82);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  text-align: left;
}

.price-row {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin: 6px 0 12px;
}
.price { font-size: 36px; font-weight: 800; color: var(--heading); }
.old { text-decoration: line-through; color: var(--soft); }
.tag { background: #e35a73; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 7px; border-radius: 4px; }
.badge-1 { background: #e35a73; color: #fff; font-weight: 800; padding: 8px 12px; border-radius: 8px; font-size: 13px; }

.stock {
  background: #f6d0da;
  color: #8a4a62;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 auto 14px;
}
.cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 54px;
  background: linear-gradient(180deg, #e8a0b8 0%, #c97a96 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(201,122,150,.35);
}
.cta:disabled { opacity: .7; }
.dates { color: var(--soft); font-size: 13px; margin: 10px 0 22px; }

.card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(232,160,184,.35);
  border-radius: 20px;
  padding: 22px 18px;
  margin: 0 16px 18px;
}
.card h2 { margin: 0 0 12px; color: var(--heading); font-size: 24px; line-height: 1.2; }
.card p { margin: 0 0 10px; }
.note-box {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}
.note-box h3 { margin: 0 0 6px; color: var(--heading); font-size: 15px; }
.why { display: grid; gap: 10px; }
.why article { background: var(--surface); border-radius: 14px; padding: 14px; }
.why h3 { margin: 0 0 6px; color: var(--heading); }

.review {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0 0;
  border: 1px solid rgba(232,160,184,.28);
}
.review-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  background: #f3c6d4;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(201,122,150,.28);
}
.review p { white-space: pre-wrap; }
.meta { color: var(--soft); font-size: 13px; }
.stars { color: var(--gold); }
.more { text-align: center; margin: 12px 0 0; color: var(--heading); font-weight: 700; }

.order-card { text-align: center; position: relative; padding-top: 46px; }
.order-photo {
  width: 78px; height: 78px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(201,122,150,.3);
  position: absolute; left: 50%; top: -36px; transform: translateX(-50%);
}
.left-red { color: #d24b66; font-weight: 700; margin: 6px 0 10px; }
.field-wrap { display: block; text-align: left; margin-bottom: 10px; }
.field-wrap span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.field {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(201,122,150,.35);
  color: var(--text);
  border-radius: 12px;
  min-height: 50px;
  padding: 0 14px;
}
.field.invalid { border-color: var(--error); }
.field-error { color: var(--error); font-size: 12px; min-height: 16px; display: block; }
.lock { color: var(--soft); font-size: 13px; margin-top: 8px; }
.form-status { min-height: 18px; color: var(--error); }

.live { color: var(--soft); font-size: 13px; text-align: center; padding: 0 18px 20px; }
footer {
  border-top: 1px solid rgba(232,160,184,.3);
  padding: 22px 18px 110px;
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}
.footer-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.footer-links a { text-decoration: underline; }

.sticky-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(560px, calc(100% - 24px));
  min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg,#e8a0b8,#c97a96);
  color: #fff; font-weight: 800; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(201,122,150,.4);
  z-index: 30;
}
.sticky-cta.is-hidden { display: none; }
.sticky-cta-badge { background: #fff; color: #c97a96; border-radius: 999px; padding: 3px 8px; font-size: 12px; }

.purchase-toast {
  position: fixed; left: 16px; bottom: 84px; z-index: 40;
  width: min(280px, calc(100% - 32px));
  background: #fff; border-radius: 16px; padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(90,61,74,.18);
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.purchase-toast.is-visible { opacity: 1; transform: none; }
.toast-app { font-size: 11px; color: var(--soft); margin-bottom: 6px; }
.toast-row { display: flex; gap: 8px; align-items: center; }
.toast-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.toast-content { display: flex; flex-direction: column; font-size: 13px; }
.toast-content em { font-style: normal; color: var(--soft); font-size: 12px; }
