/* =============================================
   SHORTS — style.css
   Palette: Rose + Light theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap');

/* ---- TOKENS ---- */
:root {
  --clr-bg:        #FFFFFF; /* white bg */
  --clr-surface:   #F8FAF8; /* off-white card surface */
  --clr-rose:      #10B981; /* primary green */
  --clr-rose-lt:   #34D399; /* light green */
  --clr-rose-dark: #059669; /* dark green */
  --clr-accent:    #047857; /* accent darker green */
  --clr-text:      #111827; /* dark text */
  --clr-muted:     #6B7280; /* muted text */
  --clr-border:    #E5E7EB; /* border */
  --clr-green:     #10B981;

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-btn:  0 4px 16px rgba(16, 185, 129, 0.3);

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Montserrat', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; object-fit: contain; }
a { text-decoration: none; color: inherit; }

/* ---- UTILS ---- */
.section { padding: 40px 20px; }
.section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.section-sub {
  font-size: 14px;
  color: var(--clr-muted);
  margin-bottom: 24px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(16, 185, 129, 0.15);
  color: var(--clr-rose);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ---- PRICE BLOCK ---- */
.price-block {
  background: var(--clr-surface);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  margin: 15px 0;
  border-bottom: 2px solid var(--clr-rose);
  position: relative;
}
.price-col {
  display: flex;
  flex-direction: column;
}
.price-col.old {
  text-align: left;
  align-items: flex-start;
}
.price-col.new {
  text-align: right;
  align-items: flex-end;
}
.price-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--clr-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-old {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-muted);
  text-decoration: line-through;
  text-decoration-color: var(--clr-rose);
  text-decoration-thickness: 2px;
}
.price-new {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--clr-rose);
  line-height: 1;
}
.price-new span[data-currency] {
  font-size: 18px;
  font-weight: 800;
}
.price-badge {
  background: var(--clr-rose);
  color: #FFF;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- STOCK BADGE ---- */
.stock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-rose);
  margin: 12px 0;
}
.stock-badge .dot {
  width: 8px; height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity:1; }
  50%      { transform: scale(1.5); opacity:.7; }
}

/* ---- TIMER ---- */
.timer-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 16px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.timer-label {
  font-size: 13px;
  color: var(--clr-muted);
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.3;
}
.timer-digits {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.timer-unit {
  text-align: center;
}
.timer-unit span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
  background: var(--clr-rose);
  border-radius: 6px;
  padding: 2px 8px;
  min-width: 44px;
}
.timer-unit span:last-child {
  display: block;
  font-size: 10px;
  color: var(--clr-muted);
  margin-top: 3px;
}
.timer-colon {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-rose);
  align-self: flex-start;
  margin-top: 4px;
}

/* ---- CTA BUTTON ---- */
.btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--clr-rose), var(--clr-rose-dark));
  color: #FFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  letter-spacing: .01em;
}
.btn-cta:active { transform: scale(.97); box-shadow: 0 2px 8px rgba(16, 185, 129,.3); }

/* ---- FORM ---- */
.form-wrap {
  background: var(--clr-surface);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
}
.form-wrap h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}
.form-wrap p {
  font-size: 13px;
  color: var(--clr-muted);
  margin-bottom: 18px;
}
.input-field {
  width: 100%;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--clr-text);
  margin-bottom: 12px;
  transition: border-color .2s;
  outline: none;
}
.input-field:focus { border-color: var(--clr-rose); }
.input-field::placeholder { color: var(--clr-muted); }

/* ============ HERO ============ */
#hero {
  background: linear-gradient(160deg, #FFFFFF 0%, #ECFDF5 60%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  padding: 32px 20px 36px;
}
.hero-img-wrap {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 18px 0 20px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--clr-text);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-title span { color: var(--clr-rose); }
.hero-desc {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ============ BENEFITS ============ */
#benefits { background: var(--clr-surface); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.benefit-card {
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: 16px 14px;
  border: 1px solid var(--clr-border);
}
.benefit-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.benefit-icon svg { width: 18px; height: 18px; stroke: var(--clr-rose); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.benefit-card p {
  font-size: 12px;
  color: var(--clr-muted);
  line-height: 1.45;
}

/* ============ PRODUCT PHOTOS ============ */
#gallery { background: var(--clr-bg); }
.gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 220px;
  background: var(--clr-surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============ SPECS ============ */
#specs { background: var(--clr-surface); }
.specs-list { list-style: none; }
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 14px;
}
.specs-list li:last-child { border-bottom: none; }
.spec-key {
  color: var(--clr-muted);
  flex: 0 0 130px;
  font-size: 13px;
}
.spec-val { font-weight: 600; color: var(--clr-text); }

/* ============ HOW TO USE ============ */
#howto { background: linear-gradient(160deg, #FFFFFF 0%, #ECFDF5 100%); }
.steps-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--clr-rose);
  color: #FFF;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.step-item p { font-size: 13px; color: var(--clr-muted); line-height: 1.45; }

/* ============ PROGRESS BARS ============ */
#quality { background: var(--clr-surface); }
.quality-item { margin-bottom: 18px; }
.quality-item:last-child { margin-bottom: 0; }
.quality-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.quality-bar {
  height: 8px;
  background: var(--clr-border);
  border-radius: 100px;
  overflow: hidden;
}
.quality-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-rose-dark), var(--clr-rose));
  border-radius: 100px;
  transition: width 1s ease;
}

/* ============ REVIEWS ============ */
#reviews { background: var(--clr-bg); }
.review-card {
  background: var(--clr-surface);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
}
.review-card:last-child { margin-bottom: 0; }
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar svg { width: 24px; height: 24px; stroke: var(--clr-rose); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--clr-text); }
.reviewer-date { font-size: 12px; color: var(--clr-muted); }
.review-stars { display: flex; gap: 2px; }
.star { color: #FFBA00; font-size: 14px; }
.review-text { font-size: 13px; color: var(--clr-text); line-height: 1.55; }
.review-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-rose);
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 9px;
  border-radius: 100px;
}

/* ============ GUARANTEE ============ */
#guarantee { background: var(--clr-surface); }
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 30px;
}
.guarantee-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--clr-border);
}
.guarantee-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guarantee-icon svg { width: 22px; height: 22px; stroke: var(--clr-rose); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guarantee-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--clr-text); }
.guarantee-card p { font-size: 12px; color: var(--clr-muted); line-height: 1.4; }

/* ---- How to order steps ---- */
.order-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.order-steps::before {
  content: '';
  position: absolute;
  left: 17px; top: 0; bottom: 0;
  width: 2px;
  background: var(--clr-border);
  z-index: 0;
}
.order-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}
.ostep-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 2px solid var(--clr-rose);
  color: var(--clr-rose);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.order-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--clr-text); }
.order-step p { font-size: 12px; color: var(--clr-muted); }

/* ============ LAST BLOCK ============ */
#order {
  background: linear-gradient(160deg, #FFFFFF 0%, #ECFDF5 100%);
  padding: 40px 20px;
}
.last-img-wrap {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: transparent;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.last-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============ FOOTER ============ */
footer {
  background: #F3F4F6;
  color: var(--clr-muted);
  padding: 28px 20px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid var(--clr-border);
}
footer a { color: var(--clr-text); text-decoration: underline; }

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 0 20px;
}
