@import url('/assets/fonts/fonts.css?v=50fc3ab377');

/* Tokens: BRAND.md §4. --accent* are overwritten per book (common.js / render.js). */
:root {
  --paper: #FBF8F3; --paper-2: #F3EDE3; --line: #E3DACB;
  --ink: #1C1A17; --ink-2: #4A443B;
  --good: #2F6B3F; --good-soft: #E4EFE3; --warn: #9A3412; --gold: #B8862F;
  --accent: #A64521; --accent-soft: #F6E3D9; --accent-ink: #7A2F14;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', 'Segoe UI', Roboto, Arial, sans-serif;
  --col: 640px; --pad: 22px; --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 19px; line-height: 1.62;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 var(--pad); }
.sans { font-family: var(--sans); }
mark.todo { background: #FFE58A; color: #3A2B00; font-family: var(--sans); font-size: .8em; padding: 0 .3em; border-radius: 4px; }

/* ---------- masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; }
.masthead a { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.mark { width: 30px; height: 20px; color: var(--accent); flex: none; }
.wordmark { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .28em; }
.masthead .tag { font-family: var(--sans); font-size: 14px; color: var(--ink-2); }

/* ---------- article ---------- */
.article { padding-top: 26px; padding-bottom: 8px; }
.kicker { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h1 { font-family: var(--serif); font-weight: 800; font-size: 33px; line-height: 1.17; letter-spacing: -.01em; margin: 0 0 16px; }
.deck { font-style: italic; font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 16px; color: var(--ink-2); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.byline .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); flex: none; }
.byline b { color: var(--ink); font-weight: 600; }
.byline .sil { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; color: color-mix(in srgb, var(--accent) 45%, #fff); }
.byline .sil svg { width: 34px; }
h2 { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.25; margin: 34px 0 14px; }
h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; margin: 26px 0 10px; }
p { margin: 0 0 .9em; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1em; }
.article li { margin: 0 0 .45em; }
strong { font-weight: 700; }
blockquote.say { margin: 22px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); font-style: italic; font-size: 21px; line-height: 1.5; }
blockquote.say p:last-child { margin-bottom: 0; }
figure { margin: 22px calc(var(--pad) * -1) 24px; }
figure img { width: 100%; height: auto; }
figcaption { font-family: var(--sans); font-size: 16px; color: var(--ink-2); padding: 8px var(--pad) 0; line-height: 1.45; }
@media (min-width: 680px) { figure { margin-left: 0; margin-right: 0; } figure img { border-radius: 8px; } figcaption { padding-left: 0; } }
.ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--accent-soft), var(--accent-soft) 14px, #fff6 14px, #fff6 28px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-family: var(--sans); font-size: 15px; color: var(--accent-ink); }
.divider { text-align: center; color: var(--accent); margin: 30px 0; font-size: 14px; letter-spacing: 1.2em; }
.divider::before, .divider::after { content: ''; display: inline-block; width: 64px; height: 1px; background: var(--line); vertical-align: middle; margin: 0 14px; }
.box { background: var(--accent-soft); border-radius: var(--r); padding: 18px 20px; margin: 22px 0; }
.box p:last-child, .redflag p:last-child, .tip p:last-child { margin-bottom: 0; }
.redflag { border: 2px solid var(--warn); border-radius: var(--r); padding: 16px 18px; margin: 22px 0; background: #fff; }
.redflag::before { content: 'Кога веднага при лекар'; display: block; font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); margin-bottom: 8px; }
.tip { font-family: var(--sans); font-size: 17px; color: var(--ink-2); border-left: 3px solid var(--line); padding-left: 14px; margin: 18px 0; }

/* Messenger chat (openloop): system UI font, not the site's, so it reads as a real phone screenshot */
.mg { margin: 26px auto; max-width: 400px; background: #fff; border: 1px solid #E4E6EB; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 34px #1c1a1714; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #050505; }
.mg-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 4px; font-size: 15px; }
.mg-status span { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.mg-bat { display: inline-block; width: 22px; height: 11px; border: 1.5px solid #050505; border-radius: 3px; padding: 1px; position: relative; }
.mg-bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: #050505; border-radius: 0 1px 1px 0; }
.mg-bat i { display: block; width: 45%; height: 100%; background: #050505; border-radius: 1px; }
.mg-head { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px 6px; border-bottom: 1px solid #E4E6EB; }
.mg-hav { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.mg-who { flex: 1; min-width: 0; }
.mg-name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.mg-sub { font-size: 12.5px; color: #65676B; margin-top: 1px; }
.mg-ico { display: inline-flex; color: #0866FF; flex: none; }
.mg-ico svg { width: 24px; height: 24px; }
.mg-head .mg-ico + .mg-ico { margin-left: 8px; }
.mg-body { padding: 14px 12px 26px; }
.mg-time { text-align: center; font-size: 12px; color: #65676B; margin: 0 0 12px; }
.mg-row { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 6px; }
.mg-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.mg-av.ini, .mg-hav.ini { display: flex; align-items: center; justify-content: center; background: #E4E6EB; color: #65676B; font-weight: 700; }
.mg-b { background: #F0F0F0; border-radius: 18px; padding: 8px 12px; font-size: 15.5px; line-height: 1.35; max-width: 78%; }
.mg-row.out { justify-content: flex-end; margin-top: 14px; }
.mg-row.out .mg-b { background: #0866FF; color: #fff; }
.mg-foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px 12px; border-top: 1px solid #F0F0F0; }
.mg-foot .mg-ico svg { width: 22px; height: 22px; }
.mg-input { flex: 1; min-width: 0; background: #F0F2F5; border-radius: 18px; padding: 7px 12px; font-size: 14.5px; color: #65676B; }

/* steps */
.steps { margin: 18px 0; display: grid; gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 6px; }
.step-label { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin: 4px 0 8px; font-size: 22px; }
.step figure { margin: 12px 0; }
.step figure img { border-radius: 8px; }
/* dr-fit layout: long step sections (kicker + H2), then a compact centered card row */
.step-kicker { margin: 34px 0 0; text-align: center; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step-h2 { margin: 4px 0 14px; text-align: center; }
.steps.cards { gap: 12px; margin: 28px 0; }
.steps.cards .step { background: var(--accent-soft); border: 0; border-top: 4px solid var(--accent); border-radius: 6px; padding: 16px 16px 4px; text-align: center; }
.steps.cards .step-label { font-size: 12px; }
.steps.cards .step h3 { font-size: 20px; }
.steps.cards .step p { font-family: var(--sans); font-size: 15px; line-height: 1.5; }
@media (min-width: 560px) { .steps.cards { grid-template-columns: repeat(3, 1fr); } }

/* book cover (CSS version until the illustrated covers exist) — grid from BRAND.md §6 */
.cover { --w: 220px; width: var(--w); aspect-ratio: 148 / 210; background: radial-gradient(120% 70% at 60% 62%, color-mix(in srgb, var(--c) 78%, #fff) 0%, var(--c) 58%), var(--c); color: #FBF8F3; border-radius: 3px 8px 8px 3px; position: relative; overflow: hidden; box-shadow: 0 1px 0 #ffffff22 inset, -6px 0 0 -2px #00000026 inset, 0 18px 40px -12px #1c1a1766, 0 4px 10px #1c1a1726; font-size: calc(var(--w) / 22); display: flex; flex-direction: column; padding: 7% 8% 6%; text-align: left; flex: none; }
.cover::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 4%; background: linear-gradient(90deg, #0003, #fff1 60%, transparent); }
.cover-series { display: flex; align-items: center; gap: .5em; font-family: var(--sans); font-weight: 600; font-size: .78em; letter-spacing: .18em; opacity: .95; }
.cover-series svg { width: 2.1em; height: 1.4em; color: #FBF8F3; }
.cover-title { font-family: var(--serif); font-weight: 800; font-size: 2.55em; line-height: 1.02; margin-top: 1.1em; letter-spacing: -.01em; }
.cover-sub { font-family: var(--serif); font-style: italic; font-size: .9em; line-height: 1.32; margin-top: .7em; opacity: .96; }
.cover-art { flex: 1; display: flex; align-items: center; justify-content: center; }
.cover-art svg { width: 46%; height: auto; color: #FBF8F3; opacity: .9; }
.cover-promise { font-family: var(--sans); font-weight: 600; font-size: .74em; line-height: 1.4; }
.cover-brand { font-family: var(--sans); font-weight: 700; font-size: .66em; letter-spacing: .3em; text-align: center; margin-top: .8em; opacity: .9; }
.cover.sm { --w: 64px; padding: 6% 7%; } .cover.sm .cover-sub, .cover.sm .cover-promise, .cover.sm .cover-series span { display: none; }
.cover.sm .cover-title { font-size: 2.3em; margin-top: .6em; }
.cover-img { width: var(--w, 220px); height: auto; border-radius: 3px 8px 8px 3px; box-shadow: 0 18px 40px -12px #1c1a1766; }
.bookshot { display: flex; justify-content: center; padding: 26px 0 30px; margin: 22px calc(var(--pad) * -1); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.bookshot .cover { --w: 230px; transform: rotate(-2deg); }

/* testimonials */
.quotes { display: grid; gap: 14px; margin: 18px 0 24px; }
.quote { background: var(--paper-2); border-left: 3px solid var(--accent); border-radius: 4px var(--r) var(--r) 4px; padding: 16px 18px; }
.quote p { font-style: italic; margin: 0 0 10px; }
.quote .who { font-family: var(--sans); font-size: 16px; display: flex; gap: 10px; align-items: center; }
.stars { color: var(--gold); letter-spacing: .1em; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* faq */
.faq { margin: 18px 0; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); padding: 16px 0 6px; }
.qa h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.qa p { font-size: 18px; }

/* author card */
.author { text-align: center; margin: 30px 0; }
.author .photo { width: 200px; height: 200px; border-radius: 14px; object-fit: cover; margin: 0 auto 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.author .photo svg { width: 70px; }
.author .name { font-family: var(--serif); font-weight: 700; font-size: 23px; }
.author .cred { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }

/* offer / value stack */
.offer { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 20px; margin: 26px 0; box-shadow: 0 10px 40px -18px #1c1a1740; scroll-margin-top: 20px; }
.offer h2 { margin-top: 0; text-align: center; }
.stack { list-style: none; padding: 0; margin: 10px 0 0; }
.stack li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stack .thumb { width: 64px; display: flex; justify-content: center; }
.stack .thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.stack .thumb .gift { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
.stack .thumb .gift .ico { width: 30px; height: 30px; }
.stack .nm { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.3; }
.stack .ds { font-family: var(--sans); font-size: 15px; color: var(--ink-2); line-height: 1.4; margin-top: 3px; }
.stack .lbl { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.stack .val { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.stack .val b { color: var(--good); }
.totals { font-family: var(--sans); margin: 16px 0 6px; }
.totals .row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.totals .worth { font-size: 17px; gap: 12px; }
.totals .worth b { font-size: 19px; white-space: nowrap; }
.totals .payrow { font-weight: 700; font-size: 19px; align-items: flex-end; }
.totals .payrow .pr { text-align: right; line-height: 1; }
.totals .payrow s { display: block; font-weight: 500; font-size: 17px; color: var(--ink-2); margin-bottom: 4px; }
.totals .payrow .big { font-size: 38px; color: var(--accent); letter-spacing: -.02em; }
.totals .note { font-size: 15px; color: var(--ink-2); }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; padding: 14px 18px; border: 0; border-radius: var(--r); background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, #000), 0 2px 0 #00000014; transition: transform .12s, filter .12s; text-align: center; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .arr { font-size: 22px; line-height: 1; }
.btn.ghost { background: transparent; color: var(--ink-2); box-shadow: none; min-height: 48px; font-weight: 500; font-size: 17px; text-decoration: underline; }
.under { font-family: var(--sans); text-align: center; font-size: 15px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.45; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-family: var(--sans); font-size: 15px; color: var(--ink); margin: 14px 0 0; }
.trust span::before { content: '✓ '; color: var(--good); font-weight: 700; }

/* guarantee */
.guarantee { display: grid; justify-items: center; text-align: center; gap: 12px; background: var(--good-soft); border-radius: 18px; padding: 22px 20px 12px; margin: 26px 0; }
.seal { width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--good); color: var(--good); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--sans); background: #fff; box-shadow: 0 0 0 5px #fff inset, 0 0 0 6px color-mix(in srgb, var(--good) 40%, #fff) inset; line-height: 1.05; }
.seal b { font-size: 36px; line-height: 1; }
.seal small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.guarantee h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 19px; }
.guarantee p { font-size: 17px; margin: 0 0 .5em; }

/* two futures */
.futures { display: grid; gap: 14px; margin: 24px 0; }
.future { border-radius: 16px; padding: 18px 18px 8px; }
.future h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.future p { font-size: 18px; }
.future.no { background: #2A2723; color: #EDE7DD; }
.future.no h3 { color: #CFC6B8; }
.future.yes { background: var(--accent-soft); border: 2px solid var(--accent); }
.future.yes h3 { color: var(--accent-ink); }

/* results grid */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.results figure { margin: 0; }
.results img { border-radius: 8px; aspect-ratio: 4 / 5; object-fit: cover; }
.results figcaption { padding: 6px 0 0; font-size: 14px; }
.disclaimer { font-family: var(--sans); font-size: 15px; color: var(--ink-2); text-align: center; }

/* comments */
.comments { margin: 18px 0 30px; font-family: var(--sans); }
.comments h2 { font-family: var(--sans); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.cm { display: grid; grid-template-columns: 44px 1fr; gap: 10px; margin: 16px 0; }
.cm .av { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cm .bub { background: #fff; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 10px 14px; }
.cm .nm { font-weight: 700; font-size: 16px; }
.cm .tx { font-size: 17px; line-height: 1.45; margin-top: 2px; }
.cm .meta { font-size: 14px; color: var(--ink-2); margin: 6px 0 0 4px; display: flex; gap: 14px; }
.cm .reply { margin-top: 10px; }

/* footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 40px; font-family: var(--sans); font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.foot .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 10px; }
.foot .brand .mark { color: var(--ink); }
.foot a { color: var(--ink-2); }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0; }
.foot p { margin: 0 0 8px; }

/* debug */
.debug { position: fixed; right: 8px; bottom: 8px; max-width: 320px; max-height: 50vh; overflow: auto; background: #111; color: #eee; font: 12px/1.4 ui-monospace, monospace; padding: 10px; border-radius: 8px; z-index: 99; opacity: .92; }
.debug .miss { color: #ffb4a8; } .debug .ok { color: #a8f0b4; }

/* ================= checkout / upsell / thanks ================= */
.co { font-family: var(--sans); font-size: 17px; line-height: 1.45; }
.co .wrap { max-width: 560px; }
.timerbar { position: sticky; top: 0; z-index: 20; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 16px; text-align: center; padding: 10px 14px; line-height: 1.3; }
.timerbar b { font-variant-numeric: tabular-nums; font-size: 18px; }
.timerbar.expired { background: var(--paper-2); color: var(--ink); border-bottom: 1px solid var(--line); }
.timerbar[hidden] { display: none; }
.co h1 { font-family: var(--serif); font-size: 27px; margin: 22px 0 6px; }
.co .lead { color: var(--ink-2); margin: 0 0 16px; font-size: 17px; }
.prod { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.prod .t { font-weight: 700; font-size: 17px; line-height: 1.25; }
.prod .s { font-size: 14px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.prod .p { text-align: right; white-space: nowrap; }
.prod .p s { display: block; color: var(--ink-2); font-size: 14px; }
.prod .p b { font-size: 19px; color: var(--accent); }
.sec { margin: 26px 0 0; }
.sec > h2 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.sec > h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fld { margin: 0 0 10px; }
.fld label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 5px; }
.fld input { width: 100%; height: 56px; border: 1.5px solid #CFC5B5; border-radius: 12px; background: #fff; padding: 0 14px; font: 500 18px var(--sans); color: var(--ink); outline: none; }
.fld input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld.bad input { border-color: var(--warn); background: #FFF8F5; }
.fld .err { display: none; color: var(--warn); font-size: 14px; margin-top: 4px; }
.fld.bad .err { display: block; }
.phone { display: flex; }
.phone .cc { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 56px; border: 1.5px solid #CFC5B5; border-right: 0; border-radius: 12px 0 0 12px; background: var(--paper-2); font-weight: 600; white-space: nowrap; }
.phone input { border-radius: 0 12px 12px 0; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--ink-2); margin: 6px 0 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.opts { border: 1.5px solid #CFC5B5; border-radius: var(--r); background: #fff; overflow: hidden; }
.opt { border-bottom: 1px solid var(--line); padding: 14px; cursor: pointer; display: block; }
.opt:last-child { border-bottom: 0; }
.opt .row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; }
.opt input[type=radio] { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.opt .nm { font-weight: 600; }
.opt .fee { font-weight: 700; white-space: nowrap; }
.opt .fee s { color: var(--ink-2); font-weight: 400; margin-right: 6px; }
.opt .eta { grid-column: 2 / 4; font-size: 14px; color: var(--ink-2); }
.opt.on { background: color-mix(in srgb, var(--accent-soft) 45%, #fff); }
.opt .more { display: none; margin: 12px 0 0 36px; }
.opt.on .more { display: block; }
.opt .more .fld { margin: 0; }
.free { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; font-size: 15px; }
.free .bar { height: 10px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-top: 8px; }
.free .bar i { display: block; height: 100%; background: var(--good); border-radius: 6px; transition: width .3s; }
.free.done { background: var(--good-soft); border-color: transparent; color: var(--good); font-weight: 600; }
.free.done .bar { display: none; }
.bump { display: grid; grid-template-columns: 28px 64px 1fr; gap: 12px; align-items: start; background: #fff; border: 2px dashed color-mix(in srgb, var(--accent) 55%, #fff); border-radius: var(--r); padding: 14px; margin: 0 0 10px; cursor: pointer; }
.bump.on { border-style: solid; border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 40%, #fff); }
.bump input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.bump .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.bump .t { font-weight: 700; font-size: 17px; line-height: 1.3; margin: 2px 0 4px; }
.bump .d { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.bump .pr { margin-top: 8px; font-weight: 700; font-size: 17px; }
.bump .pr s { color: var(--ink-2); font-weight: 400; font-size: 15px; margin-right: 6px; }
.bump .pr em { font-style: normal; color: var(--good); font-size: 14px; margin-left: 6px; }
.booklet { width: 58px; aspect-ratio: 105 / 148; background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px 5px 5px 2px; box-shadow: 0 6px 14px -6px #1c1a1755; display: flex; flex-direction: column; justify-content: space-between; padding: 7px 6px; position: relative; overflow: hidden; }
.booklet::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 36%; background: var(--accent); }
.booklet i { position: relative; color: #fff; font: 700 7px/1.1 var(--sans); letter-spacing: .08em; }
.booklet b { font: 700 9px/1.1 var(--serif); color: var(--ink); position: relative; }
.fullsys { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 14px 16px; margin: 4px 0 0; cursor: pointer; border: 0; width: 100%; text-align: left; font: inherit; }
.fullsys .t { font-weight: 700; font-size: 17px; }
.fullsys .d { font-size: 14px; opacity: .85; }
.fullsys .p { text-align: right; white-space: nowrap; font-weight: 700; font-size: 18px; }
.fullsys .p s { display: block; font-weight: 400; font-size: 13px; opacity: .7; }
.fullsys.on { background: var(--good); }
.pay { background: #fff; border: 1.5px solid var(--accent); border-radius: var(--r); padding: 14px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.pay .dot { width: 22px; height: 22px; border-radius: 50%; border: 7px solid var(--accent); background: #fff; margin-top: 1px; }
.pay .nm { font-weight: 700; }
.pay .ds { font-size: 15px; color: var(--ink-2); }
.summary { background: var(--paper-2); border-radius: var(--r); padding: 16px; margin: 18px 0 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 16px; }
.summary .row span:first-child { color: var(--ink-2); }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 20px; font-weight: 700; }
.summary .row.total span:first-child { color: var(--ink); }
.formerr { background: #FFF1EC; color: var(--warn); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-weight: 600; }
.formerr[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--good-soft); color: var(--good); font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: 15px; margin-top: 18px; }
.xsell { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; margin: 16px 0; box-shadow: 0 10px 40px -18px #1c1a1740; }
.xsell .top { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.xsell .cover { --w: 120px; }
.xsell .price { margin-top: 8px; }
.xsell .price s { color: var(--ink-2); margin-right: 8px; }
.xsell .price b { font-size: 28px; color: var(--accent); }
.steps-next { counter-reset: s; list-style: none; padding: 0; margin: 12px 0; }
.steps-next li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps-next li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.legal { font-family: var(--serif); font-size: 18px; }
.legal h1 { font-size: 28px; margin-top: 26px; }
.legal h2 { font-size: 21px; margin-top: 26px; }
.btn [data-price] { white-space: nowrap; }
/* checkout: the sticky timer bar (~44 px, 2 lines on narrow phones) must not cover the label/heading a focus
   or validation jump scrolls to */
html:has(body.co) { scroll-padding-top: 72px; }
.co .fld, .co .sec h2, .co .formerr { scroll-margin-top: 72px; }

/* Payment choice (assets/js/card-pay.js): COD default, card with Stripe wallets + card fields */
.paysel .opt[data-p=card] > .row { cursor: pointer; }
.paysel .opt[data-p=card] .more { margin: 14px 0 0; }
.cbadges { display: flex; gap: 4px; justify-content: flex-end; }
.cbadges i { font-style: normal; font: 700 11px/1 var(--sans); letter-spacing: .02em; color: var(--ink); border: 1px solid #CFC5B5; border-radius: 5px; padding: 4px 5px; background: #fff; white-space: nowrap; }
.cbadges i.mc { display: inline-flex; padding: 3px 5px; }
.cbadges i.mc b { width: 11px; height: 11px; border-radius: 50%; background: #EB001B; display: block; }
.cbadges i.mc b + b { background: #F79E1B; margin-left: -4px; mix-blend-mode: multiply; }
#xpay { min-height: 0; }
.or { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; font: 500 15px var(--sans); color: var(--ink-2); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.or[hidden], #xpay[hidden] { display: none; }
.cload { font: 500 15px var(--sans); color: var(--ink-2); padding: 18px 0; text-align: center; }
.cnote { font: 400 14px/1.45 var(--sans); color: var(--ink-2); margin: 12px 0 0; }

/* offer_image (config.js): the full-system product photo above the value stack */
.offer .offer-photo { margin: 6px 0 4px; }
.offer .offer-photo img { width: 100%; height: auto; border-radius: 10px; display: block; }

/* hyphenated words never split across lines (UI.keepHyphens) */
.nw { white-space: nowrap; }

/* ---------- /magazin (lib/shop.js) ---------- */
.shop-book { margin: 34px 0 10px; }
.shop-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.shop-head h2 { margin: 0; font-size: 22px; }
.shop-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; margin: 0 0 14px; }
.shop-item h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.shop-item p { font-size: 18px; margin: 0 0 10px; }
.shop-item .meta { font-family: var(--sans); font-size: 16px; border-top: 1px solid var(--line); margin: 12px 0 14px; padding-top: 10px; }
.shop-item .meta .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--ink-2); }
.shop-item .meta .row b { color: var(--ink); text-align: right; }
.shop-item .meta .row:last-child b { color: var(--accent); font-size: 20px; }
.shop-item .btn { min-height: 54px; font-size: 18px; }
.shop-outro { font-family: var(--sans); font-size: 16px; color: var(--ink-2); }

/* dr-fit "Вътре е всичко" list: green check per line */
.blk-bridge ul { list-style: none; padding-left: 0; }
.blk-bridge ul li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.blk-bridge ul li::before { content: '✔'; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.demand { font-family: var(--sans); text-align: center; font-size: 15px; font-weight: 600; color: var(--accent-ink); margin: 6px 0 0; }
