/* =========================================================
   Detox 14 Day — sections visuelles (fo9 style.css)
   ========================================================= */
.detox {
  --brand: #2e7d32;
  --brand-dark: #1b5e20;
  --accent: #f2a93b;
  --soft: #eef7e8;
  --bg: #f6f9f3;
  --leaf: #8bc34a;
}
.detox .btn-primary { box-shadow: 0 6px 18px rgba(46, 125, 50, .3); }
.detox .btn-big { animation-name: pulse-g; }
@keyframes pulse-g { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, .45); } 50% { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); } }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- 1. Hero banner ---------- */
.d-hero {
  position: relative; overflow: hidden; text-align: center;
  margin: 0 -14px; padding: 12px 16px 16px;
  background: radial-gradient(120% 70% at 50% 35%, #ffffff 0%, #e3f3da 55%, #cfe8c2 100%);
}
.d-hero .leaf { position: absolute; width: 56px; height: 56px; color: var(--leaf); opacity: .85; pointer-events: none; }
.d-hero .leaf.l1 { top: 70px; right: 6%; transform: rotate(35deg); }
.d-hero .leaf.l2 { top: 190px; left: 4%; width: 44px; height: 44px; transform: rotate(-40deg); opacity: .7; }
.d-hero .leaf.l3 { top: 330px; right: 3%; width: 38px; height: 38px; transform: rotate(-15deg); opacity: .6; }
.d-hero .leaf.l4 { top: 36px; left: 14%; width: 30px; height: 30px; transform: rotate(60deg); opacity: .55; }
.d-hero .leaf.l5 { top: 300px; left: 12%; width: 26px; height: 26px; transform: rotate(10deg); opacity: .5; }
.cod-pill {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  background: var(--brand-dark); color: #fff; font-weight: 800; font-size: 14px;
  padding: 6px 14px; border-radius: 999px;
}
.cod-pill .ic { font-size: 18px; }
/* Tswira/video: 3lo mrbout b l'écran bach headline + prix + bouton ybanou f awel shasha */
.d-hero .hero-media {
  position: relative; display: flex; justify-content: center; align-items: center;
  height: min(38vh, 340px); height: min(38svh, 340px); margin: 8px auto 0;
}
.d-hero .pouch {
  position: relative; height: 100%; width: auto; max-width: 80%; object-fit: cover;
  border-radius: 18px; box-shadow: 0 12px 26px rgba(27, 94, 32, .22); background: #fff;
}
.d-hero .hero-video { display: none; height: 100%; width: auto; max-width: 100%; border-radius: 16px; object-fit: cover; box-shadow: 0 10px 24px rgba(27, 94, 32, .25); background: #fff; }
.d-hero .hero-media.has-video .pouch { display: none; }
.d-hero .hero-media.has-video .hero-video { display: block; }
.d-hero h1 { position: relative; font-size: 28px; line-height: 1.3; font-weight: 800; color: var(--brand-dark); margin-top: 8px; }
.d-hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, #ffe08a 62%); padding: 0 4px; }
.d-hero .tagline { position: relative; color: #3f4f3f; font-size: 15.5px; line-height: 1.5; margin-top: 2px; }
.d-hero .price-row { position: relative; margin: 8px 0 10px; }
.d-hero .btn-big { font-size: 19px; padding: 14px 16px; }

/* ---------- عنوان section ---------- */
.d-title { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.d-title small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* ---------- 2. ليش ديتوكس ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why div { background: var(--soft); border-radius: 14px; padding: 16px 10px 14px; text-align: center; }
.why .ic-wrap {
  width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 30px;
  box-shadow: 0 4px 10px rgba(46, 125, 50, .12);
}
.why b { display: block; font-size: 16px; line-height: 1.4; }
.why span { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* ---------- 3. طريقة الاستعمال (infographic) ---------- */
.how { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 4px; }
.how .step { text-align: center; }
.how .circle {
  position: relative; width: 74px; height: 74px; margin: 0 auto 8px; border-radius: 50%;
  background: linear-gradient(160deg, #4caf50, var(--brand-dark)); color: #fff;
  display: grid; place-items: center; font-size: 36px;
}
.how .num {
  position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #111; font-weight: 800; font-size: 14px; display: grid; place-items: center;
  border: 2px solid #fff;
}
.how b { display: block; font-size: 15px; line-height: 1.35; }
.how small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.how .arrow { color: var(--leaf); font-size: 22px; margin-top: 26px; transform: scaleX(-1); }

/* ---------- 4. Timeline ---------- */
.timeline { list-style: none; position: relative; padding-right: 30px; }
.timeline::before {
  content: ""; position: absolute; right: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--leaf), var(--brand-dark));
}
.timeline li { position: relative; margin-bottom: 14px; background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.timeline li:last-child { margin-bottom: 0; background: linear-gradient(135deg, #e3f3da, #fff6df); }
.timeline li::before {
  content: ""; position: absolute; right: -27px; top: 16px; width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand);
}
.timeline .when { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: var(--brand); border-radius: 999px; padding: 1px 12px; }
.timeline h3 { font-size: 17px; font-weight: 800; margin: 6px 0 2px; }
.timeline p { font-size: 14.5px; color: #3f4a3f; }
.small-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- 5. Banner l3ard + countdown ---------- */
.offer-banner {
  margin-top: 14px; border-radius: var(--radius); padding: 20px 16px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #43a047 100%);
  position: relative; overflow: hidden;
}
.offer-banner::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); top: -90px; left: -70px;
}
.offer-banner .ends { display: inline-flex; align-items: center; gap: 6px; background: #d84315; font-weight: 800; font-size: 14px; padding: 4px 14px; border-radius: 999px; }
.offer-banner .ends .ic { font-size: 16px; }
.offer-banner h2 { font-size: 24px; font-weight: 800; margin: 10px 0 2px; line-height: 1.4; }
.offer-banner h2 b { color: #ffd54f; font-size: 30px; white-space: nowrap; }
.offer-banner .was { opacity: .85; font-size: 15px; }
.countdown { direction: ltr; display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 14px 0 16px; position: relative; z-index: 1; }
.countdown span { background: #fff; color: var(--brand-dark); border-radius: 12px; min-width: 64px; padding: 6px 4px 4px; line-height: 1.1; }
.countdown b { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 12px; color: var(--muted); }
.countdown i { font-style: normal; font-size: 28px; font-weight: 800; padding-top: 8px; }
.offer-banner .btn { background: #ffd54f; color: #1b3a1d; box-shadow: none; position: relative; z-index: 1; }
.offer-banner .btn-big { animation: none; }

/* ---------- 6. Banner thi9a ---------- */
.trust-banner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.trust-banner div {
  background: #fff; border-radius: 14px; padding: 14px 6px; text-align: center; text-decoration: none; color: var(--ink);
  border-bottom: 3px solid var(--leaf);
}
.trust-banner .ic { font-size: 32px; color: var(--brand); margin: 0 auto 6px; display: block; }
.trust-banner b { display: block; font-size: 14px; line-height: 1.35; }
.trust-banner small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

@media (max-width: 360px) {
  .how .circle { width: 62px; height: 62px; font-size: 30px; }
  .countdown span { min-width: 56px; }
  .d-hero h1 { font-size: 25px; }
}
