/* Hanout — one design system for the owner app and every shop's storefront. RTL, mobile-first. */
:root {
  --ink: #12171d; --ink-2: #2b333d; --muted: #5d6672; --line: #e9e3d8; --line-2: #f0ebe2;
  --bg: #fff; --sand: #f7f3ec; --sand-2: #efe8dc;
  --green: #0a7a55; --green-2: #08694a; --green-dark: #053d2e; --green-soft: #e8f5ef;
  --gold: #e3a92b; --gold-soft: #fdf4e0; --red: #d23a2c; --red-soft: #fdecea; --wa: #1faa59; --blue-soft: #eaf2ff;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(18,23,29,.04), 0 8px 24px rgba(18,23,29,.06);
  --shadow-lg: 0 20px 50px rgba(5,61,46,.18);
  --font: 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --gutter: 16px;
}
@media (min-width: 750px) { :root { --gutter: 28px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.app { background: var(--sand); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 720px; }
.num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.muted { color: var(--muted); }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: grid; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }

/* Buttons */
.btn { --b: var(--green); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 14px; border: 0; background: var(--b); color: #fff; font-weight: 900; font-size: 16.5px; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(10,122,85,.22); transition: transform .15s, background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--green-2); }
.btn:active { transform: scale(.98); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 11px; box-shadow: none; }
.btn--gold { --b: var(--gold); color: var(--green-dark); box-shadow: 0 8px 22px rgba(227,169,43,.32); }
.btn--gold:hover { background: #f0b83a; }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--sand); }
.btn--light { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; }
.btn--light:hover { background: rgba(255,255,255,.18); }
.btn--wa { --b: var(--wa); box-shadow: 0 6px 18px rgba(31,170,89,.25); }
.btn--wa:hover { background: #18914b; }
.btn--danger { --b: #fff; color: var(--red); border: 1.5px solid #f3c7c2; box-shadow: none; }
.btn--danger:hover { background: var(--red-soft); }

/* Badges / pills */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; line-height: 1.5; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.badge--green { background: var(--green-soft); color: var(--green-2); }
.badge--gold { background: var(--gold); color: var(--green-dark); }
.badge--red { background: var(--red); color: #fff; }
.badge--new { background: #fff4d6; color: #8a5a00; }
.badge--confirmed { background: var(--blue-soft); color: #1d4ed8; }
.badge--shipped { background: #efe7ff; color: #6b21a8; }
.badge--delivered { background: var(--green-soft); color: var(--green-2); }
.badge--returned, .badge--cancelled { background: var(--red-soft); color: #b42318; }

/* Forms */
.field { display: grid; gap: 6px; }
.field > span { font-weight: 800; font-size: 14.5px; }
.field small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.input, .field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; min-height: 50px; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,122,85,.12); }
.input-ltr { direction: ltr; text-align: right; }
.grid-2 { display: grid; gap: 12px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; font-weight: 800; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--green); }
.alert { padding: 12px 14px; border-radius: 12px; font-weight: 800; font-size: 14.5px; }
.alert--error { background: var(--red-soft); color: #b42318; }
.alert--ok { background: var(--green-soft); color: var(--green-2); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px; }
.card--pad-lg { padding: 22px; }
@media (min-width: 750px) { .card--pad-lg { padding: 30px; } }
.card h2 { font-size: 19px; font-weight: 900; }

/* ============ Logo ============ */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(140deg, var(--green), var(--green-dark)); color: var(--gold); display: grid; place-items: center; font-weight: 900; font-size: 19px; line-height: 1; box-shadow: 0 6px 14px rgba(10,122,85,.25); flex: none; }
.logo__name { font-size: 19px; font-weight: 900; white-space: nowrap; }
.logo__name em { font-style: normal; color: var(--green); }

/* ============ Owner app ============ */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 10px; }
.topbar__nav { display: none; gap: 4px; }
.topbar__nav a { padding: 9px 14px; border-radius: 10px; text-decoration: none; font-weight: 800; color: var(--ink-2); display: inline-flex; gap: 7px; align-items: center; }
.topbar__nav a[aria-current] { background: var(--sand); color: var(--ink); }
@media (min-width: 900px) { .topbar__nav { display: flex; } .tabbar { display: none !important; } body.app { padding-bottom: 0 !important; } }
body.app { padding-bottom: 84px; }
.tabbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(18,23,29,.06); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; text-decoration: none; font-size: 12px; font-weight: 800; color: var(--muted); border-radius: 12px; position: relative; }
.tabbar a[aria-current] { color: var(--green); background: var(--green-soft); }
.tabbar__dot { position: absolute; top: 3px; inset-inline-end: 24%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; display: grid; place-items: center; }
.app-main { padding-block: 18px 30px; }
@media (min-width: 900px) { .app-main { padding-block: 30px 60px; } }
.page-title { font-size: clamp(22px, 5vw, 30px); font-weight: 900; }
.page-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }

.hello { background: radial-gradient(700px 300px at 90% -20%, #0f8a61, transparent 60%), var(--green-dark); color: #fff; border-radius: 22px; padding: 22px; position: relative; overflow: hidden; }
.hello h1 { font-size: clamp(22px, 5vw, 30px); font-weight: 900; }
.hello p { color: rgba(255,255,255,.8); margin-top: 4px; }
.hello__q { display: inline-flex; margin-top: 14px; font-weight: 800; color: var(--gold); }
.next { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 18px; border: 2px solid var(--gold); box-shadow: var(--shadow); }
.next__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--gold-soft); color: #9a6a00; display: grid; place-items: center; flex: none; }
.next h2 { font-size: 18px; font-weight: 900; }
.next p { color: var(--muted); margin: 4px 0 12px; font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line-2); }
.stat small { display: block; color: var(--muted); font-weight: 800; font-size: 12.5px; }
.stat strong { display: block; font-size: 24px; font-weight: 900; margin-top: 2px; }
.stat strong small { display: inline; font-size: 13px; color: var(--ink-2); }
.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .actions { grid-template-columns: repeat(4, 1fr); } }
.action { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; font-weight: 900; transition: transform .15s, box-shadow .2s; }
.action:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.action span:first-child { width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.action small { color: var(--muted); font-weight: 700; font-size: 12.5px; margin-top: -6px; }
.share { display: flex; gap: 8px; align-items: center; background: var(--sand); border-radius: 14px; padding: 8px 8px 8px 12px; }
.share code { flex: 1; direction: ltr; text-align: left; font-family: ui-monospace, monospace; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }

.list { display: grid; gap: 10px; }
.item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 10px; text-decoration: none; }
.item__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--sand); flex: none; display: grid; place-items: center; color: var(--muted); }
.item__body { flex: 1; min-width: 0; }
.item__body strong { display: block; font-weight: 900; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__body small { color: var(--muted); font-weight: 700; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: 14px; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { font-weight: 900; opacity: .7; }
.order { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.order__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.order__who strong { font-size: 16px; font-weight: 900; display: block; }
.order__who small { color: var(--muted); font-weight: 700; }
.order__total { text-align: left; font-weight: 900; font-size: 18px; white-space: nowrap; }
.order__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); font-weight: 700; }
.order__meta span { display: inline-flex; gap: 5px; align-items: center; }
.order__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.order__btns form { display: contents; }
.empty { text-align: center; padding: 40px 18px; background: #fff; border-radius: 20px; border: 1.5px dashed var(--line); }
.empty .ic { color: var(--muted); margin: 0 auto 10px; }
.empty h2 { font-size: 18px; font-weight: 900; }
.empty p { color: var(--muted); margin: 6px 0 16px; }
.steps-mini { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-mini span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.steps-mini span.on { background: var(--green); }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photos img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.drop { display: grid; place-items: center; gap: 6px; padding: 22px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; cursor: pointer; background: var(--sand); font-weight: 800; color: var(--ink-2); }
.drop input { display: none; }
.drop:hover { border-color: var(--green); }
.preview { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }

/* ============ Auth / landing ============ */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px var(--gutter); background: radial-gradient(800px 400px at 85% -10%, #0f8a61, transparent 60%), var(--green-dark); }
.auth__card { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 26px 22px; box-shadow: var(--shadow-lg); }
.auth__card h1 { font-size: 24px; font-weight: 900; margin: 16px 0 4px; }
.land-hero { background: radial-gradient(1100px 560px at 85% -10%, #0f8a61, transparent 60%), radial-gradient(900px 600px at 0% 110%, #0b5c44, transparent 55%), var(--green-dark); color: #fff; overflow: hidden; }
.land-nav { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.land-nav .logo { color: #fff; }
.land-hero__grid { display: grid; gap: 30px; padding-block: 26px 56px; align-items: center; }
@media (min-width: 990px) { .land-hero__grid { grid-template-columns: 1.1fr 1fr; padding-block: 50px 90px; } }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: rgba(227,169,43,.16); color: var(--gold); border: 1px solid rgba(227,169,43,.35); margin-bottom: 14px; }
.eyebrow--light { background: var(--green-soft); color: var(--green); border-color: transparent; }
.land-h1 { font-size: clamp(32px, 7.6vw, 60px); line-height: 1.15; font-weight: 900; letter-spacing: -.3px; }
.land-h1 mark { background: none; color: var(--gold); }
.land-lead { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,.82); margin: 16px 0 24px; max-width: 560px; line-height: 1.8; }
.land-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.land-ctas .btn { flex: 1 1 200px; }
@media (min-width: 750px) { .land-ctas .btn { flex: 0 0 auto; } }
.land-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-weight: 800; font-size: 14px; color: rgba(255,255,255,.9); }
.land-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.land-ticks .ic { color: var(--gold); }
.phone { position: relative; margin-inline: auto; width: min(320px, 82vw); border-radius: 38px; background: #0b1210; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.phone__screen { border-radius: 28px; overflow: hidden; background: var(--sand); color: var(--ink); padding: 14px; display: grid; gap: 10px; }
.phone__notif { background: #fff; border-radius: 16px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); font-size: 13px; font-weight: 800; }
.phone__notif .ic { color: var(--green); }
.sec { padding-block: clamp(46px, 7vw, 90px); }
.sec--sand { background: var(--sand); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto clamp(24px, 4vw, 40px); }
.h2 { font-size: clamp(24px, 5vw, 38px); font-weight: 900; line-height: 1.25; }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.feat { display: grid; gap: 14px; }
@media (min-width: 750px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feat { grid-template-columns: repeat(3, 1fr); } }
.feat__card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.feat__card .ico { width: 50px; height: 50px; border-radius: 15px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.feat__card h3 { font-size: 18px; font-weight: 900; }
.feat__card p { color: var(--muted); margin-top: 6px; font-size: 15px; line-height: 1.75; }
.feat__card .soon { margin-top: 10px; }
.how { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 990px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how__step { background: #fff; border-radius: 20px; padding: 22px; border: 1px solid var(--line); display: flex; gap: 14px; }
.how__num { width: 44px; height: 44px; border-radius: 14px; background: var(--green); color: #fff; font-weight: 900; display: grid; place-items: center; flex: none; font-size: 18px; }
.how__step h3 { font-size: 17px; font-weight: 900; }
.how__step p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price-card { max-width: 460px; margin: 0 auto; background: #fff; border-radius: 26px; border: 2px solid var(--green); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-lg); }
.price-card .big { font-size: 46px; font-weight: 900; line-height: 1; margin: 10px 0 4px; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; text-align: right; }
.price-card li { display: flex; gap: 10px; font-weight: 700; }
.price-card li .ic { color: var(--green); margin-top: 3px; }
.foot { background: #0b1210; color: rgba(255,255,255,.65); padding-block: 30px; font-size: 14px; }
.foot .logo { color: #fff; }

/* ============ Storefront ============ */
.s-announce { background: var(--green-dark); color: #eafff5; font-size: 13px; font-weight: 700; text-align: center; padding: 8px 12px; }
.s-announce .ic { color: var(--gold); }
.s-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.s-header__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 10px; }
.s-header .logo__name em { color: var(--ink); }
.s-hero { background: radial-gradient(900px 460px at 85% -10%, #0f8a61, transparent 60%), var(--green-dark); color: #fff; padding-block: 34px 40px; }
.s-hero h1 { font-size: clamp(28px, 6.6vw, 48px); font-weight: 900; line-height: 1.2; }
.s-hero p { color: rgba(255,255,255,.82); margin-top: 10px; font-size: 16.5px; max-width: 600px; }
.s-trust { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line-2); }
@media (min-width: 990px) { .s-trust { grid-template-columns: repeat(4, 1fr); } }
.s-trust div { display: flex; align-items: center; gap: 10px; padding: 16px 10px; font-size: 13.5px; font-weight: 800; }
.s-trust .ico { width: 42px; height: 42px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.s-trust small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 750px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s; min-width: 0; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard__media { position: relative; aspect-ratio: 1; background: var(--sand); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__badge { position: absolute; top: 9px; inset-inline-start: 9px; z-index: 1; }
.pcard__body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: 11.5px; font-weight: 800; color: var(--green); }
.pcard__title { font-size: 14.5px; font-weight: 800; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; }
.pcard__price strong { font-size: 19px; font-weight: 900; }
.pcard__price s { color: #8b929b; font-size: 13px; font-weight: 700; }
.pcard__perk { font-size: 11.5px; font-weight: 700; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.pcard__perk .ic { color: var(--green); }
.pcard .btn { position: relative; z-index: 1; }

.pdp { padding-block: 0 40px; }
@media (min-width: 990px) { .pdp { padding-block: 28px 70px; } }
.pdp__grid { display: grid; gap: 18px; }
@media (min-width: 990px) { .pdp__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; align-items: start; } }
.gal { position: relative; }
@media (min-width: 990px) { .gal { position: sticky; top: 90px; } }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sand); margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 750px) { .gal__track { margin-inline: 0; border-radius: 22px; } }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; display: grid; place-items: center; color: var(--muted); }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.gal__count { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(18,23,29,.7); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.gal__badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.info { display: grid; gap: 14px; }
.info h1 { font-size: clamp(22px, 4.6vw, 32px); font-weight: 900; line-height: 1.35; }
.info__hook { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.pricebox { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; background: var(--sand); border-radius: 16px; }
.pricebox strong { font-size: 32px; font-weight: 900; line-height: 1; }
.pricebox strong small { font-size: 16px; }
.pricebox s { color: #8b929b; font-weight: 700; }
.pricebox__note { flex-basis: 100%; font-size: 13px; font-weight: 800; color: var(--green); display: flex; gap: 6px; align-items: center; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.6; }
.bullets .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; margin-top: 2px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); }
.tile .ic { color: var(--green); }
.tile strong { display: block; font-size: 13.5px; font-weight: 900; line-height: 1.3; }
.tile small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tile--wide { grid-column: 1 / -1; background: var(--green-soft); border-color: #cfe7db; justify-content: center; font-weight: 900; font-size: 13.5px; }
.cod { background: #fff; border: 2px solid var(--green); border-radius: 20px; padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.cod__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cod__head h2 { font-size: 18px; font-weight: 900; }
.cod__steps { display: flex; justify-content: space-between; gap: 4px; background: var(--green-soft); border-radius: 10px; padding: 6px 10px; font-size: 12px; font-weight: 800; color: var(--green-2); white-space: nowrap; overflow-x: auto; }
.cod__sum { background: var(--sand); border-radius: 14px; padding: 10px 12px; font-size: 14px; display: grid; gap: 4px; }
.cod__sum div { display: flex; justify-content: space-between; gap: 8px; }
.cod__sum .tot { border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 2px; font-weight: 900; font-size: 15.5px; }
.cod__sum .tot strong { color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: var(--sand); font-size: 20px; font-weight: 900; cursor: pointer; }
.qty input { width: 46px; text-align: center; border: 0; font-weight: 900; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.desc { font-size: 15px; line-height: 1.9; color: var(--ink-2); white-space: pre-line; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 15px 2px; font-weight: 900; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .ic:first-child { color: var(--green); }
details.acc > div { padding: 0 2px 16px; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(18,23,29,.1); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(120%); transition: transform .25s; }
.sticky.on { transform: none; }
.sticky strong { font-size: 18px; font-weight: 900; display: block; line-height: 1.2; }
.sticky small { font-size: 11.5px; font-weight: 800; color: var(--green); }
.sticky .btn { flex: 1; max-width: 260px; margin-inline-start: auto; min-height: 48px; }
@media (min-width: 990px) { .sticky { display: none; } }
.fab { position: fixed; z-index: 55; bottom: 18px; inset-inline-end: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31,170,89,.45); text-decoration: none; }
body.has-sticky .fab { bottom: 88px; }
.s-foot { background: #0b1210; color: rgba(255,255,255,.7); padding-block: 34px 28px; font-size: 14px; margin-top: 20px; }
.s-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.s-foot__grid { display: grid; gap: 22px; }
@media (min-width: 750px) { .s-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.s-foot h4 { color: #fff; font-size: 15px; font-weight: 900; margin-bottom: 10px; }
.s-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.s-foot__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.thanks { text-align: center; padding-block: 40px; }
.thanks__check { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 14px 34px rgba(10,122,85,.35); }
.thanks h1 { font-size: 28px; font-weight: 900; }
/* fixes: LTR wordmark, no horizontal overflow from long links */
.logo__name { direction: ltr; unicode-bidi: isolate; }
.land-hero .logo__name em, .auth .logo__name em, .foot .logo__name em, .s-foot .logo__name em { color: var(--gold); }
.auth .logo { color: var(--ink); }
.auth .logo__name em { color: var(--green); }
.stack > *, .info > *, .pdp__grid > *, .land-hero__grid > * { min-width: 0; }
.share { min-width: 0; }
.share code { min-width: 0; }
.next > div { min-width: 0; }

/* ============ v0.2 Autopilot, GPS, Studio, Radar, Ads & Connect ============ */
.tabbar--5 { grid-template-columns: repeat(5, 1fr); }
.tabbar--5 a { font-size: 11px; gap: 3px; }
.tabbar--5 a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.gps { margin-top: 16px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 12px 14px; }
.gps__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.gps__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.gps__bar span { height: 7px; border-radius: 99px; background: rgba(255,255,255,.22); }
.gps__bar span.on { background: var(--gold); }
.gps__labels { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; font-weight: 800; }
.gps__labels a { text-decoration: none; color: rgba(255,255,255,.72); }
.gps__labels a.done { color: #b7f5d8; }
.gps__ready { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(31,170,89,.22); border: 1px solid rgba(183,245,216,.35); color: #d5ffeb; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; font-weight: 800; }

@media (min-width: 900px) { .actions--3 { grid-template-columns: repeat(3, 1fr); } }
.action--magic { border-color: #cde8dc; background: linear-gradient(180deg, #fff, #f4fbf7); }
.action--fire { border-color: #f3dfb0; background: linear-gradient(180deg, #fff, #fefaf0); }
.action--fire span:first-child { background: var(--gold-soft); color: #9a6a00; }

.feed { display: grid; gap: 8px; }
.feed__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--sand); border-radius: 12px; font-size: 13.5px; font-weight: 700; }
.feed__ico { width: 30px; height: 30px; border-radius: 10px; background: #fff; color: var(--green); display: grid; place-items: center; flex: none; }
.feed__msg { flex: 1; min-width: 0; }

.banner-radar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--green-dark), #0b5c44); color: #fff; border-radius: 18px; padding: 16px 18px; }
.banner-radar strong { display: block; font-size: 15.5px; font-weight: 900; }
.banner-radar p { color: rgba(255,255,255,.82); font-size: 13.5px; margin-top: 3px; }

.radar-grid { display: grid; gap: 14px; }
@media (min-width: 780px) { .radar-grid { grid-template-columns: repeat(2, 1fr); } }
.radar-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.radar-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.radar-card__title { font-size: 17.5px; font-weight: 900; line-height: 1.4; }
.radar-card__why { font-size: 14px; color: var(--muted); line-height: 1.65; }
.radar-econ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--sand); border-radius: 14px; padding: 10px; text-align: center; }
.radar-econ small { display: block; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.radar-econ strong { display: block; font-size: 16px; font-weight: 900; margin-top: 2px; }
.radar-econ .profit strong { color: var(--green); }
.radar-hub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); font-weight: 700; margin-top: auto; }
.radar-hub .ic { color: var(--green); }

.magic-box { background: radial-gradient(600px 260px at 85% -20%, #0f8a61, transparent 60%), var(--green-dark); color: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-lg); }
.magic-box h2 { font-size: 20px; font-weight: 900; }
.magic-box p { color: rgba(255,255,255,.84); font-size: 14px; margin-top: 4px; }
.magic-box .field > span { color: #eafff5; }
.magic-box input { color: var(--ink); border-color: rgba(255,255,255,.2); }
.drop--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; padding: 14px; }
.divider-label { text-align: center; position: relative; margin: 18px 0; }
.divider-label::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.divider-label span { position: relative; background: var(--sand); padding: 0 14px; color: var(--muted); font-size: 13px; font-weight: 800; }

.autopilot-card { background: #fff; border: 2px solid var(--green); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.autopilot-form { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line-2); }
.slide-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.slide-strip .slide-thumb { flex: 0 0 190px; scroll-snap-align: start; }
@media (min-width: 750px) { .slide-strip .slide-thumb { flex: 0 0 220px; } }
.single-creative { max-width: 280px; }
.slide-thumb { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 4 / 5; }
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slide-thumb__dl { position: absolute; bottom: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 10px; background: rgba(18,23,29,.78); color: #fff; display: grid; place-items: center; text-decoration: none; }
.caption-box { margin-top: 8px; background: var(--sand); border-radius: 12px; padding: 12px; font-size: 13.5px; white-space: pre-line; display: grid; gap: 8px; }

.slider-box { background: var(--sand); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; }
.slider-val { font-size: 20px; font-weight: 900; color: var(--green); white-space: nowrap; }
.range { width: 100%; accent-color: var(--green); height: 8px; cursor: pointer; }
.guard-preview { background: var(--green-soft); border: 1px solid #c6e6d6; border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--green-dark); }
.guard-preview > div { display: flex; gap: 8px; align-items: flex-start; }
.guard-preview .ic { color: var(--green); margin-top: 2px; }

.connect-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; color: #fff; }
.connect-ico--meta { background: linear-gradient(135deg, #0b63c5, #9b2c5e); }
.connect-ico--tt { background: #12171d; }
.connect-ico--wa { background: var(--wa); }
.connect-details { margin-top: 12px; background: var(--sand); border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; font-size: 13.5px; font-weight: 700; }

.quick-replies { border-top: 1px dashed var(--line); padding-top: 8px; }
.quick-replies summary { cursor: pointer; font-size: 13px; font-weight: 800; color: var(--muted); list-style: none; }
.quick-replies summary::-webkit-details-marker { display: none; }


/* ============ v1.0 Moroccan Seller Heaven — Themes, Variants, Bundles, Inbox, Money, QR, Studio, Landing ============ */

/* 5 Moroccan Boutique Themes (Storefront) */
body.theme-terracotta { --green: #b84a27; --green-2: #97391c; --green-dark: #541c0d; --green-soft: #fceee9; }
body.theme-midnight   { --green: #1f2937; --green-2: #111827; --green-dark: #0b1017; --green-soft: #eef2f6; }
body.theme-rose       { --green: #9b2c5e; --green-2: #7e214b; --green-dark: #4a102b; --green-soft: #fcedf4; }
body.theme-royal      { --green: #14489e; --green-2: #0f397f; --green-dark: #09214d; --green-soft: #eaf1fe; }

/* Subtle Moroccan geometric glow texture on hero panels */
.hello, .magic-box, .land-hero, .s-hero {
  background-image:
    radial-gradient(650px 300px at 88% -18%, rgba(227,169,43,.18), transparent 62%),
    radial-gradient(500px 260px at 5% 110%, rgba(255,255,255,.07), transparent 60%);
}
.s-hero__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 12.5px; font-weight: 800; color: var(--gold); margin-bottom: 10px; }

/* Interactive Theme Picker (Onboarding + Shop Settings) */
.theme-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.theme-opt { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.theme-opt input { display: none; }
.theme-swatch { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5), 0 3px 8px rgba(0,0,0,.15); }
.theme-opt small { font-size: 11px; font-weight: 800; color: var(--ink-2); }
.theme-opt:has(input:checked) { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 2px rgba(10,122,85,.14); }

/* Clickable stats & enhanced quick actions */
.stat--link { text-decoration: none; transition: transform .15s, box-shadow .2s, border-color .15s; display: block; }
.stat--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green); }
.action--wa { border-color: #c8ebd7; background: linear-gradient(180deg, #fff, #f2fbf6); }
.action--wa span:first-child { background: #e3f7eb; color: var(--wa); }
.magic-profit { background: rgba(227,169,43,.18); border: 1px solid rgba(227,169,43,.45); color: #fff4cc; border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: 14px; }

/* Storefront search, variants & bundles */
.s-filter { display: grid; gap: 10px; margin-bottom: 18px; }
.s-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; min-height: 48px; }
.s-search input { border: 0; outline: 0; width: 100%; background: transparent; font-size: 15.5px; }
.s-search .ic { color: var(--muted); }
.pcard__bundle { position: absolute; bottom: 9px; inset-inline-start: 9px; z-index: 1; }
.pcard__vars { font-size: 11.5px; font-weight: 700; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.var-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.var-pill { padding: 9px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: 14px; cursor: pointer; transition: all .15s; }
.var-pill[aria-pressed="true"] { background: var(--green-dark); border-color: var(--green-dark); color: #fff; box-shadow: 0 4px 12px rgba(5,61,46,.22); }

.bundles { display: grid; gap: 8px; }
.bundle { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: right; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .15s; }
.bundle strong { display: block; font-size: 15px; font-weight: 900; }
.bundle small { display: block; font-size: 12.5px; font-weight: 700; color: var(--green); }
.bundle__price { font-size: 18px !important; color: var(--ink); white-space: nowrap; }
.bundle--hot { border-color: var(--gold); background: #fffcf3; }
.bundle[aria-pressed="true"] { border: 2px solid var(--green); background: var(--green-soft); box-shadow: 0 4px 14px rgba(10,122,85,.14); }

/* Orders: Anti-Retour Trust Hints & Courier Bar */
.trust-hint { font-size: 12.5px; font-weight: 800; padding: 7px 11px; border-radius: 10px; }
.trust-hint--vip { background: var(--gold-soft); color: #8a5a00; }
.trust-hint--warn { background: #fff8e6; color: #9a6a00; border: 1px solid #f5dfa0; }
.trust-hint--danger { background: var(--red-soft); color: #b42318; border: 1px solid #f4c2bd; }
.courier-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #fff; border: 1.5px solid var(--green); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.courier-bar strong { display: block; font-size: 15px; font-weight: 900; }
.courier-bar small { color: var(--muted); font-weight: 700; font-size: 12.5px; }

/* Inbox: Simulator & Objection Cards */
.sim-box { background: var(--sand); border-radius: 16px; padding: 14px; border: 1px solid var(--line); }
.sim-reply { margin-top: 10px; background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.sim-reply--ok { border-color: var(--green); background: var(--green-soft); }
.obj-grid { display: grid; gap: 12px; }
@media (min-width: 750px) { .obj-grid { grid-template-columns: repeat(2, 1fr); } }
.obj-card { background: var(--sand); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.obj-card strong { font-size: 15px; font-weight: 900; }
.obj-card p { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); background: #fff; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); }

/* Money Ledger & Profit Calculator */
.ledger { display: grid; gap: 8px; }
.ledger__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sand); font-weight: 800; font-size: 14.5px; }
.ledger__row--tot { background: var(--green-soft); border: 1.5px solid var(--green); font-size: 17px; font-weight: 900; }
.calc-out { display: grid; gap: 10px; background: var(--sand); border-radius: 16px; padding: 16px; border: 1.5px solid var(--line); }
@media (min-width: 600px) { .calc-out { grid-template-columns: 1fr 1fr; } }
.calc-out small { display: block; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.calc-out strong { display: block; font-size: 24px; font-weight: 900; margin-top: 2px; }

/* Studio: 9:16 Story Preview, Faceless Reel Script Beats & Viral Hooks */
.single-story { max-width: 210px; }
.slide-thumb--story { aspect-ratio: 9 / 16; }
.script-beats { display: grid; gap: 8px; }
.beat { background: var(--sand); border-radius: 12px; padding: 10px 12px; border-inline-start: 4px solid var(--green); }
.beat small { display: block; font-size: 11.5px; font-weight: 900; color: var(--green); margin-bottom: 2px; }
.beat p { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.65; }
.hook-pill { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--sand); border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 800; }

/* Ads: Live Dirham Projection Strip */
.ad-proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff; border-radius: 12px; padding: 10px; border: 1px solid var(--line); text-align: center; }
.ad-proj small { display: block; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.ad-proj strong { display: block; font-size: 14.5px; font-weight: 900; margin-top: 2px; }

/* Printable Shop QR Poster */
.qr-poster { background: linear-gradient(155deg, var(--green-dark), #095940); color: #fff; border-radius: 26px; padding: 28px 22px; text-align: center; box-shadow: var(--shadow-lg); display: grid; gap: 18px; justify-items: center; }
.qr-poster__head h2 { font-size: 28px; font-weight: 900; margin: 10px 0 4px; color: #fff; }
.qr-poster__head p { color: rgba(255,255,255,.85); font-size: 15px; }
.qr-poster__code { background: #fff; padding: 16px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.qr-poster__code svg { display: block; width: 230px; height: 230px; }
.qr-poster__foot { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 12px 18px; width: 100%; max-width: 440px; }

/* Landing: Pain vs Heaven Comparison Grid */
.pain-grid { display: grid; gap: 14px; }
@media (min-width: 820px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
.pain-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.pain-card__before { background: var(--red-soft); color: #9f251b; font-size: 13.5px; font-weight: 800; padding: 8px 12px; border-radius: 12px; }
.pain-card__after { font-size: 17.5px; font-weight: 900; color: var(--green-dark); line-height: 1.45; }
.pain-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

@media print {
  .no-print { display: none !important; }
  body.app { background: #fff !important; padding: 0 !important; }
  .qr-poster { box-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------------------------------------------------------------- Daily Flow */
.badge--no_answer { background: #fff1e6; color: #a34a00; }
.today { background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.today h2 { font-size: 18px; font-weight: 900; }
.today__list { display: grid; gap: 8px; }
.today__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--sand); text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.today__row:hover { border-color: var(--green); }
.today__row:active { transform: scale(.99); }
.today__row--hot { background: var(--green-soft); border-color: rgba(10,122,85,.35); }
.today__ic { font-size: 24px; flex: none; width: 34px; text-align: center; }
.today__txt { flex: 1; min-width: 0; display: grid; }
.today__txt strong { font-weight: 900; font-size: 15.5px; }
.today__txt small { color: var(--muted); font-size: 13px; }
.today__go { flex: none; display: inline-flex; align-items: center; gap: 2px; font-weight: 900; color: var(--green); }
.today__go .ic { transform: scaleX(-1); }

.cm-cta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: var(--green-dark); color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); }
.cm-cta div { flex: 1; display: grid; }
.cm-cta strong { font-size: 17px; font-weight: 900; }
.cm-cta small { color: rgba(255,255,255,.78); font-size: 13px; }
.cm-cta .ic { transform: scaleX(-1); }

.cm-head { display: grid; gap: 10px; margin-bottom: 14px; }
.cm-progress { background: #fff; border-radius: 14px; padding: 10px 14px; border: 1px solid var(--line); font-size: 14px; }
.cm-bar { height: 8px; border-radius: 99px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.cm-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 99px; transition: width .4s; }
.cm-flash { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 14px; border: 1px solid var(--line); display: grid; gap: 8px; }
.cm-flash p { color: var(--muted); font-size: 14px; }
.cm-flash--ok { background: var(--green-soft); border-color: rgba(10,122,85,.3); }
.cm-flash--warn { background: #fff7ec; border-color: #f3c98b; }
.cm-card { background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 14px; }
.cm-who { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cm-who h2 { font-size: 26px; font-weight: 900; margin-top: 6px; }
.cm-phone { display: block; font-size: 20px; font-weight: 900; color: var(--green); text-decoration: none; text-align: right; }
.cm-total { text-align: center; background: var(--sand); border-radius: 14px; padding: 8px 12px; flex: none; }
.cm-total strong { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; }
.cm-total small { color: var(--muted); font-size: 12px; font-weight: 800; }
.cm-radar { border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; font-size: 14.5px; }
.cm-radar--ok { background: var(--green-soft); }
.cm-radar--warn { background: #fff7e0; }
.cm-radar--danger { background: var(--red-soft); color: #8c1d13; }
.cm-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--sand); }
.cm-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.cm-item div { display: grid; min-width: 0; }
.cm-item small { color: var(--muted); font-size: 13.5px; }
.cm-reach { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-script, .cm-edit { border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; }
.cm-script summary, .cm-edit summary { cursor: pointer; font-weight: 800; font-size: 14.5px; }
.cm-script ol { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cm-script li { display: grid; gap: 2px; font-size: 14.5px; }
.cm-script li b { color: var(--green); font-size: 12.5px; }
.cm-form { display: grid; gap: 10px; }
.cm-yes { min-height: 62px; font-size: 19px; }
.cm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cm-grid .btn { min-height: 50px; font-size: 15px; padding: 8px 10px; }
.cm-clear { background: #fff; border-radius: 22px; padding: 28px 18px; text-align: center; box-shadow: var(--shadow); display: grid; gap: 6px; justify-items: center; }
.cm-clear h2 { font-size: 21px; font-weight: 900; }
.ab { padding: 12px; border-radius: 14px; background: var(--sand); }
.ab .item__body { display: grid; }
.ab small { color: var(--muted); font-size: 13px; }
.stock-low { margin: 0 0 -4px; padding: 8px 12px; border-radius: 12px; background: #fff1e6; color: #a34a00; font-weight: 800; font-size: 14.5px; text-align: center; }
.soldout { display: grid; gap: 10px; text-align: center; }
.soldout h2 { font-size: 22px; font-weight: 900; }

/* ---------------------------------------------------------------- Courier Sync & voice */
.cash-card { background: linear-gradient(135deg, var(--green-dark), #0a5c43); color: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); display: grid; gap: 4px; }
.cash-card small { color: rgba(255,255,255,.78); font-weight: 800; }
.cash-card > strong { font-size: 34px; font-weight: 900; color: var(--gold); line-height: 1.2; }
.cash-card > strong span { font-size: 16px; color: #fff; }
.cash-card p { color: rgba(255,255,255,.88); font-size: 14.5px; }
.sync-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.sync-row input[type=checkbox] { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); flex: none; }
.track-form { display: flex; gap: 8px; margin-top: 10px; }
.track-form input { flex: 1; min-width: 0; min-height: 40px; border: 1.5px solid var(--line); border-radius: 11px; padding: 6px 12px; direction: ltr; text-align: left; font-weight: 700; }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.track li { position: relative; padding: 0 34px 18px 0; display: grid; color: var(--muted); }
.track li::before { content: ""; position: absolute; right: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.track li::after { content: ""; position: absolute; right: 12px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li.done, .track li.now { color: var(--ink); }
.track li.done::before { background: var(--green); }
.track li.done::after { background: var(--green); }
.track li.now::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(227,169,43,.25); }
.track li strong { font-weight: 900; font-size: 16px; }
.track li small { font-size: 13.5px; color: var(--muted); }
.mic { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: 13.5px; cursor: pointer; justify-self: start; width: max-content; }
.mic.on { background: var(--red-soft); border-color: var(--red); color: var(--red); animation: micpulse 1.2s infinite; }
@keyframes micpulse { 50% { box-shadow: 0 0 0 6px rgba(210,58,44,.15); } }
.magic-box .mic { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------------------------------------------------------------- Billing, admin, launch */
.pay-steps { display: grid; gap: 16px; }
.pay-steps > div > b { display: block; font-weight: 900; color: var(--green); margin-bottom: 4px; }
.pay-box { background: var(--sand); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; margin-top: 6px; font-size: 14.5px; }
.pay-box code { font-weight: 900; font-size: 15px; letter-spacing: .5px; }
.sub-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff7ec; border: 1.5px solid #f3c98b; text-decoration: none; font-weight: 800; }
.sub-banner--locked { background: var(--red-soft); border-color: #f3c7c2; color: #8c1d13; }
.sub-banner span:first-child { font-size: 24px; }
.sub-banner div { flex: 1; display: grid; }
.sub-banner small { font-weight: 700; color: var(--muted); }
.adm table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm th, .adm td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.adm th { font-size: 12.5px; color: var(--muted); font-weight: 800; }
.adm .scroll { overflow-x: auto; }
.push-card { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 14px; border: 1.5px dashed var(--green); }
.push-card div { flex: 1; display: grid; }
.push-card small { color: var(--muted); }
.push-card[hidden], .sub-banner[hidden] { display: none; }

/* ---------------------------------------------------------------- Connect & Relax (Zero-Tech Mode) */
.relax-card { background: radial-gradient(600px 260px at 90% -10%, #0f8a61, transparent 60%), var(--green-dark); color: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-lg); }
.relax-card h2 { font-size: 19px; font-weight: 900; line-height: 1.35; margin: 4px 0; }
.relax-card p { color: rgba(255,255,255,.84); font-size: 13.5px; line-height: 1.65; }
.pulse-card { border: 1.5px solid #d5e7de; background: linear-gradient(180deg, #fff, #f7fcf9); }
.pulse-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pulse-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--sand); border: 1px solid var(--line); font-size: 13px; font-weight: 800; text-decoration: none; color: var(--ink-2); }
.pulse-pill.on { background: var(--green-soft); border-color: #bfe4d1; color: var(--green-dark); }
.help-modal { border: 0; border-radius: 22px; padding: 0; max-width: 480px; width: calc(100% - 28px); margin: auto; box-shadow: 0 24px 60px rgba(0,0,0,.28); background: #fff; color: var(--ink); }
.help-modal::backdrop { background: rgba(5, 29, 22, .55); backdrop-filter: blur(4px); }
.help-modal__in { padding: 20px; }
