/* ══════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════ */
:root {
  --cream:     #f5f0e8;
  --beige:     #e8ddd0;
  --beige-mid: #d4c4b0;
  --brown-lt:  #c4a882;
  --brown:     #8b6f52;
  --brown-dk:  #5c4033;
  --accent:    #b8860b;
  --accent-lt: #f0d58c;
  --text:      #3a2c22;
  --text-mid:  #6b5040;
  --white:     #fffdf9;
  --red:       #c0392b;
  --green:     #2e7d32;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito', sans-serif;

  --radius:  16px;
  --radius-sm: 8px;
  --shadow:  0 4px 24px rgba(90,60,30,.12);
  --shadow-lg: 0 8px 40px rgba(90,60,30,.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}


/* ══════════════════════════════════
   LUCIDE ICON HELPERS
══════════════════════════════════ */
[data-lucide], svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* inline tiny icons */
.icon-xs {
  width: 14px; height: 14px;
  stroke-width: 2.5;
}

/* inside buttons */
.icon-btn {
  width: 16px; height: 16px;
  stroke-width: 2.5;
  margin-left: 4px;
  vertical-align: middle;
}

/* placeholder image icon */
.icon-ph {
  width: 32px; height: 32px;
  stroke: var(--brown-lt);
  stroke-width: 1.5;
  display: block;
  margin: 0 auto 6px;
}
.icon-ph--light {
  stroke: rgba(255,255,255,.4);
}

/* benefit / spec icons */
.benefit-icon svg,
.spec-icon svg,
.g-icon svg {
  width: 26px; height: 26px;
  stroke: var(--brown);
  stroke-width: 1.8;
}

/* order step icons */
.os-icon svg {
  width: 24px; height: 24px;
  stroke: var(--brown);
  stroke-width: 1.8;
}

/* chevron arrows in order steps */
.os-arrow svg {
  width: 20px; height: 20px;
  stroke: var(--brown-lt);
  stroke-width: 2;
}

/* tip icon */
.tip-icon {
  width: 20px; height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 1px;
}

/* avatar icon */
.icon-avatar {
  width: 28px; height: 28px;
  stroke: var(--brown-lt);
  stroke-width: 1.5;
}

/* star icons */
.star-icon {
  width: 14px; height: 14px;
  stroke: #f5a623;
  fill: #f5a623;
  stroke-width: 1;
}
.stars {
  display: flex;
  gap: 2px;
  align-items: center;
  margin: 2px 0;
}

/* success modal icon */
.icon-success {
  width: 56px; height: 56px;
  stroke: var(--green);
  stroke-width: 1.5;
}

/* hero badge icon */
.hero__badge svg {
  width: 13px; height: 13px;
  stroke: #fff;
  stroke-width: 2.5;
  margin-right: 2px;
}

/* before/after arrow */
.ba__arrow-icon {
  width: 14px; height: 14px;
  stroke: var(--brown-lt);
  stroke-width: 2.5;
}


/* ══════════════════════════════════
   PHOTO PLACEHOLDERS
══════════════════════════════════ */
.photo-placeholder {
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-mid) 100%);
  border: 2px dashed var(--brown-lt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--brown);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  padding: 16px;
}

/* ══════════════════════════════════
   ACTUAL PHOTOS
══════════════════════════════════ */
.hero__main-photo-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 20px;
  display: block;
}

.ba-single-photo {
  margin-bottom: 20px;
}

.ba-photo-img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

.benefits-photo-img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: block;
}

.how-to-use-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: block;
}

.specs-photo-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: block;
}

.review-photo-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}

.last-photo-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: block;
}


/* ══════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════ */
.section {
  padding: 40px 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dk);
  text-align: center;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  text-align: center;
  letter-spacing: .3px;
}
.btn:active { transform: scale(.97); }

.btn--hero {
  background: linear-gradient(135deg, var(--accent) 0%, #d4a017 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(184,134,11,.4);
  width: 100%;
  font-size: 17px;
}
.btn--hero:hover { box-shadow: 0 8px 32px rgba(184,134,11,.55); }

.btn--outline {
  background: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
  font-size: 15px;
}

.btn--full { width: 100%; }

.center-btn {
  display: block;
  margin: 24px auto 0;
  width: fit-content;
}

/* stock badge */
.stock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #856404;
  width: fit-content;
  margin: 0 auto 20px;
}
.stock-dot {
  width: 8px; height: 8px;
  background: #ffc107;
  border-radius: 50%;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}

/* timer */
.timer-wrap { text-align: center; margin-bottom: 20px; }
.timer__label { font-size: 12px; color: var(--text-mid); margin-bottom: 8px; }
.timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brown-dk);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.timer__unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 44px;
}
.timer__unit span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-lt);
  line-height: 1;
}
.timer__unit small { font-size: 9px; color: var(--beige-mid); margin-top: 2px; }
.timer__sep { color: var(--accent-lt); font-size: 24px; font-weight: 700; padding-bottom: 8px; }

/* price block */
.price-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,248,225,0.8));
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.price-old {
  font-size: 18px;
  color: var(--text-mid);
  text-decoration: line-through;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.price-new-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-discount-tag {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(231,76,60,0.3);
  letter-spacing: 0.5px;
}
.price-new {
  font-family: 'Nunito', sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: #c0392b;
  text-shadow: 0 2px 4px rgba(192,57,43,0.2);
  letter-spacing: 2px;
  line-height: 1;
}


/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  background: linear-gradient(175deg, var(--white) 0%, var(--beige) 100%);
  padding: 24px 20px 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-lt) 0%, transparent 70%);
  opacity: .4;
  pointer-events: none;
}

.hero__badge {
  background: linear-gradient(90deg, var(--red), #e74c3c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero__image-wrap {
  position: relative;
  margin-bottom: 24px;
}

.hero__main-photo {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-lg);
}

.before-after-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  white-space: nowrap;
}
.ba__label { padding: 3px 10px; border-radius: 50px; font-size: 11px; }
.ba__before { background: #fde8e8; color: var(--red); }
.ba__after  { background: #e8f5e9; color: var(--green); }
.ba__arrow  { color: var(--brown-lt); }

.hero__content { text-align: center; }

.hero__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown-dk);
  margin-bottom: 10px;
}
.hero__sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.6;
}


/* ══════════════════════════════════
   DO/AFTER SECTION
══════════════════════════════════ */
.before-after-section {
  background: transparent;
}

.ba-full {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.ba-side {
  flex: 1;
  position: relative;
}
.ba-photo {
  width: 100%;
  height: 180px;
}
.ba-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
}
.ba-tag--before { background: #fde8e8; color: var(--red); }
.ba-tag--after  { background: #e8f5e9; color: var(--green); }
.ba-divider {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-lt);
  flex-shrink: 0;
}

.ba-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  text-align: center;
}


/* ══════════════════════════════════
   BENEFITS
══════════════════════════════════ */
.benefits-section { background: var(--cream); }

.benefits-photo {
  width: 100%;
  height: 200px;
  margin-bottom: 24px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  animation: fadeUp .5s ease both;
}
.benefit-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-item strong {
  display: block;
  font-size: 15px;
  color: var(--brown-dk);
  margin-bottom: 4px;
}
.benefit-item p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}


/* ══════════════════════════════════
   HOW TO USE
══════════════════════════════════ */
.how-section { background: var(--white); }

.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--brown);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.step-photo {
  width: 70px; height: 70px;
  flex-shrink: 0;
  font-size: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.tip-box {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}


/* ══════════════════════════════════
   SPECS
══════════════════════════════════ */
.specs-section { background: var(--cream); }

.specs-photo {
  width: 100%;
  height: 180px;
  margin-bottom: 24px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.spec-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.spec-icon { font-size: 24px; display: block; margin-bottom: 6px; }
.spec-card strong { display: block; font-size: 13px; color: var(--brown-dk); margin-bottom: 4px; }
.spec-card p { font-size: 12px; color: var(--text-mid); line-height: 1.5; }

/* progress */
.progress-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brown-dk);
  margin-bottom: 16px;
  text-align: center;
}
.progress-item {
  margin-bottom: 14px;
}
.progress-item > span {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 6px;
  font-weight: 600;
}
.progress-bar {
  background: var(--beige);
  border-radius: 50px;
  height: 26px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brown-lt), var(--accent));
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  width: 0;
  transition: width 1.2s ease;
}


/* ══════════════════════════════════
   REVIEWS
══════════════════════════════════ */
.reviews-section {
  background: var(--white);
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}
.review-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 22px;
}
.review-header strong { display: block; font-size: 15px; color: var(--brown-dk); }
.stars { display: flex; gap: 2px; align-items: center; margin: 2px 0; }
.review-header small { font-size: 12px; color: var(--text-mid); }
.review-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.review-photo {
  width: 100%;
  height: 140px;
}


/* ══════════════════════════════════
   GUARANTEES
══════════════════════════════════ */
.guarantees-section { background: var(--cream); }

.guarantee-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.guarantee-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  gap: 6px;
}
.g-icon { font-size: 32px; }
.guarantee-card strong { font-size: 15px; color: var(--brown-dk); }
.guarantee-card p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

/* how order */
.how-order {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
}
.how-order h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brown-dk);
  text-align: center;
  margin-bottom: 20px;
}
.order-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.order-step {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.os-icon { font-size: 26px; flex-shrink: 0; }
.order-step p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.os-arrow {
  color: var(--brown-lt);
  font-size: 18px;
  font-weight: 700;
  transform: rotate(90deg);
}


/* ══════════════════════════════════
   LAST / ORDER SECTION
══════════════════════════════════ */
.last-section {
  background: linear-gradient(175deg, var(--brown-dk) 0%, #3a2010 100%);
  color: var(--white);
}

.last-inner { text-align: center; }

.last-photo {
  width: 100%;
  height: 240px;
  margin-bottom: 24px;
  border: none;
  background: rgba(255,255,255,.08);
  border: 1px dashed rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
}

.last-section .section-title { color: var(--accent-lt); }

.last-section .stock-badge {
  background: rgba(255,193,7,.15);
  border-color: rgba(255,193,7,.4);
  color: var(--accent-lt);
}

/* Order form */
.order-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: left;
}
.form-group {
  margin-bottom: 16px;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--beige-mid);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color .2s;
}
.form-group input::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus { border-color: var(--accent-lt); }
.form-group input.error { border-color: #e57373; }

.field-error {
  display: none;
  font-size: 11px;
  color: #ef9a9a;
  margin-top: 4px;
}
.field-error.show { display: block; }

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}


/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--brown-dk);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 24px 20px;
  font-size: 12px;
  line-height: 1.8;
}
.footer-link {
  color: var(--brown-lt);
  text-decoration: underline;
  font-size: 12px;
}


/* ══════════════════════════════════
   SUCCESS OVERLAY
══════════════════════════════════ */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.success-overlay.active { display: flex; }
.success-box {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.success-icon { margin-bottom: 12px; display: flex; justify-content: center; }
.success-box h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--brown-dk);
  margin-bottom: 10px;
}
.success-box p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.6;
}


/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp .6s ease both;
}