@font-face{font-family:'Forum';font-style:normal;font-display:swap;font-weight:400;src:url(/build/fonts/forum-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Forum';font-style:normal;font-display:swap;font-weight:400;src:url(/build/fonts/forum-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Forum';font-style:normal;font-display:swap;font-weight:400;src:url(/build/fonts/forum-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url(/build/fonts/manrope-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url(/build/fonts/manrope-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url(/build/fonts/manrope-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url(/build/fonts/manrope-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url(/build/fonts/manrope-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url(/build/fonts/manrope-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url(/build/fonts/manrope-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url(/build/fonts/manrope-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url(/build/fonts/manrope-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url(/build/fonts/manrope-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url(/build/fonts/manrope-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url(/build/fonts/manrope-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Oliver Green — generated from tokens.json */
:root, [data-theme="dark"] {
  --bg: #141615;
  --surface: #1c1f1e;
  --surface-raised: #262a28;
  --line: #353a38;
  --border: #7a817d;
  --ink: #efeadf;
  --ink-muted: #aca799;
  --ink-faint: #6c6a63;
  --accent: #d2a952;
  --accent-fill: #d2a952;
  --on-accent: #17130a;
  --action: #d2a952;
  --action-hover: #e0ba68;
  --action-pressed: #b8903f;
  --on-action: #17130a;
  --green: #8dbf95;
  --green-fill: #1f3326;
  --lab1: #d9b86e;
  --lab1-fill: #352d1c;
  --lab2: #a9c0e8;
  --lab2-fill: #212c3e;
  --urgent: #f29a68;
  --urgent-fill: #3b2417;
  --danger: #f28b82;
  --danger-fill: #3d1f1d;
  --info: #a9c0e8;
  --info-fill: #212c3e;
  --logo: #ffe352;
  --focus: #f5d78e;
  --scrim: rgba(8, 9, 9, 0.72);
  --dlv-pickup: #cde6cc;
  --dlv-pickup-ink: #1b3a20;
  --dlv-ozon: #005bff;
  --dlv-cdek: #1ab248;
  --dlv-pochta: #0b3d91;
  --dlv-5post: #ff5a1e;
  --dlv-dpd: #8a1538;
  --dlv-on-dark: #ffffff;
  --dlv-on-light: #0d1a10;
  --shadow-sheet: 0 -8px 32px rgba(0, 0, 0, 0.55);
  --shadow-pop: 0 12px 40px rgba(0, 0, 0, 0.6);
}
[data-theme="light"] {
  --bg: #f3f0e8;
  --surface: #fbf9f4;
  --surface-raised: #ffffff;
  --line: #e2ddd1;
  --border: #8a8578;
  --ink: #1b1d1c;
  --ink-muted: #5a5852;
  --ink-faint: #a5a298;
  --accent: #856516;
  --accent-fill: #856516;
  --on-accent: #fffaf0;
  --action: #1f2321;
  --action-hover: #343937;
  --action-pressed: #0f1110;
  --on-action: #f5ecd7;
  --green: #2d6a3b;
  --green-fill: #e1eee2;
  --lab1: #6b5114;
  --lab1-fill: #f2e7cb;
  --lab2: #2e4d84;
  --lab2-fill: #e2e9f5;
  --urgent: #a4441a;
  --urgent-fill: #f8e3d6;
  --danger: #b3261e;
  --danger-fill: #fbe4e1;
  --info: #2e4d84;
  --info-fill: #e2e9f5;
  --logo: #1b1d1c;
  --focus: #2456c9;
  --scrim: rgba(20, 22, 21, 0.48);
  --shadow-sheet: 0 -8px 32px rgba(27, 29, 28, 0.16);
  --shadow-pop: 0 12px 40px rgba(27, 29, 28, 0.18);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --radius-oval: 50%;
  --tap-min: 44px;
  --control-h: 48px;
  --thumb: 56px;
  --bar-h: 64px;
  --page-max: 1280px;
  --font-display: Forum, "Cormorant SC", Georgia, serif;
  --font-sans: Manrope, "Segoe UI", system-ui, sans-serif;
}
.display { font-family: var(--font-display); font-size: 34px; line-height: 38px; font-weight: 400; letter-spacing: 0.06em; }
.h1 { font-family: var(--font-display); font-size: 26px; line-height: 30px; font-weight: 400; letter-spacing: 0.05em; }
.h2 { font-family: var(--font-display); font-size: 20px; line-height: 24px; font-weight: 400; letter-spacing: 0.08em; }
.order-number { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 400; letter-spacing: 0.04em; }
.title { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 600; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.plant-name { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; }
.price { font-family: var(--font-sans); font-size: 17px; line-height: 22px; font-weight: 700; }
.price-lg { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 700; }
.button { font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 600; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; }



/* ===== Oliver Green · клоны — UI-кит. Значения только из tokens.css ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; -webkit-font-smoothing: antialiased; }
.og { background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; }
.og-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.og-muted { color: var(--ink-muted); }
.og-caption { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.og-display { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; letter-spacing: .06em; margin: 0; }
.og-h1 { font-family: var(--font-display); font-size: 26px; line-height: 30px; letter-spacing: .05em; text-transform: uppercase; font-weight: 400; margin: 0; }
.og-h2 { font-family: var(--font-display); font-size: 20px; line-height: 24px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; margin: 0; }
.og-title { font-size: 17px; line-height: 24px; font-weight: 600; margin: 0; }
.og-price { font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.og-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.og-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.og-icon--sm { width: 16px; height: 16px; }
:where(.og-btn, .og-chip, .og-step button, .og-field input, .og-field textarea, .og-field select, .og-radio, .og-check, .og-link, .og-row__thumb, .og-iconbtn, .og-seg button):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.og-rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Кнопки ---------- */
.og-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-h); padding: 0 20px; border-radius: var(--radius-md); border: 1px solid transparent; font: 600 16px/20px var(--font-sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .12s, border-color .12s; }
.og-btn--primary { background: var(--action); color: var(--on-action); }
.og-btn--primary:hover, .og-btn--primary.is-hover { background: var(--action-hover); }
.og-btn--primary:active, .og-btn--primary.is-pressed { background: var(--action-pressed); }
.og-btn--secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.og-btn--secondary:hover, .og-btn--secondary.is-hover { background: var(--surface-raised); border-color: var(--ink-muted); }
.og-btn--text { background: transparent; color: var(--accent); padding: 0 8px; min-height: var(--tap-min); text-decoration: underline; text-underline-offset: 3px; }
.og-btn--danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.og-btn--danger.is-solid { background: var(--danger); color: var(--bg); }
.og-btn--block { width: 100%; }
.og-btn--sm { min-height: var(--tap-min); padding: 0 14px; font-size: 15px; }
.og-btn[disabled], .og-btn.is-disabled { background: var(--surface-raised); color: var(--ink-faint); border-color: var(--line); cursor: not-allowed; }
.og-btn.is-loading { pointer-events: none; }
.og-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: og-spin .8s linear infinite; }
@keyframes og-spin { to { transform: rotate(360deg); } }
.og-iconbtn { display: inline-grid; place-items: center; width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-md); background: transparent; border: 0; color: var(--ink); cursor: pointer; position: relative; }
.og-iconbtn__badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--accent-fill); color: var(--on-accent); font: 700 11px/18px var(--font-sans); text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Счётчик «− 1 +» ---------- */
.og-step { display: inline-flex; align-items: center; height: var(--tap-min); border-radius: var(--radius-pill); background: var(--action); color: var(--on-action); }
.og-step button { width: var(--tap-min); height: var(--tap-min); border: 0; background: transparent; color: inherit; border-radius: var(--radius-pill); display: grid; place-items: center; cursor: pointer; }
.og-step output { min-width: 28px; text-align: center; font: 700 16px/20px var(--font-sans); font-variant-numeric: tabular-nums; }
.og-step--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.og-add { width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-pill); border: 0; background: var(--action); color: var(--on-action); display: grid; place-items: center; cursor: pointer; flex: none; }
.og-add:hover { background: var(--action-hover); }

/* ---------- Поля ---------- */
.og-field { display: grid; gap: 6px; }
.og-field__label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.og-field__label small { font-weight: 400; color: var(--ink-muted); font-size: 13px; }
.og-field input, .og-field textarea, .og-field select { width: 100%; min-height: var(--control-h); padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink); font: 400 16px/22px var(--font-sans); }
.og-field textarea { min-height: 96px; resize: vertical; }
.og-field input::placeholder, .og-field textarea::placeholder { color: var(--ink-muted); }
.og-field__hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.og-field__error { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; line-height: 18px; color: var(--danger); font-weight: 600; }
.og-field.is-error input, .og-field.is-error textarea { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.og-field.is-focus input { outline: 2px solid var(--focus); outline-offset: 2px; }
.og-field.is-disabled input { color: var(--ink-faint); border-color: var(--line); }
.og-search { position: relative; }
.og-search .og-icon { position: absolute; left: 14px; top: 14px; color: var(--ink-muted); pointer-events: none; }
.og-search input { padding-left: 44px; border-radius: var(--radius-pill); }
.og-select { position: relative; }
.og-select select { appearance: none; padding-right: 40px; }
.og-select .og-icon { position: absolute; right: 14px; top: 14px; color: var(--ink-muted); pointer-events: none; }

/* ---------- Чекбокс ---------- */
.og-check { display: flex; gap: 12px; align-items: flex-start; min-height: var(--tap-min); padding: 10px 0; cursor: pointer; font-size: 15px; line-height: 22px; }
.og-check__box { flex: none; width: 22px; height: 22px; margin-top: 0; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--surface-raised); display: grid; place-items: center; color: transparent; }
.og-check.is-on .og-check__box { background: var(--action); border-color: var(--action); color: var(--on-action); }
.og-check.is-error .og-check__box { border-color: var(--danger); }

/* ---------- Радиокарточка (способ получения) ---------- */
.og-radios { display: grid; gap: 8px; }
.og-radio { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; min-height: 56px; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.og-radio__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; }
.og-radio.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface-raised); }
.og-radio.is-on .og-radio__dot { border-color: var(--action); }
.og-radio.is-on .og-radio__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--action); }
.og-radio__title { font-weight: 600; }
.og-radio__sub { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); font-weight: 400; }

/* ---------- Чипы ---------- */
.og-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
/* ряд с горизонтальной прокруткой (фильтры, роды на телефоне): правый край растворяется — видно, что дальше есть ещё */
.og-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 32px; margin-right: -16px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.og-chips--scroll::-webkit-scrollbar { display: none; }
.og-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; color: var(--ink); font: 500 14px/20px var(--font-sans); cursor: pointer; white-space: nowrap; position: relative; }
.og-chip::before { content: ""; position: absolute; inset: -2px 0; } /* зона нажатия 44px */
.og-chip.is-on { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.og-chip__x { display: grid; place-items: center; margin-right: -6px; }
.og-chip--channel.is-on { background: var(--surface-raised); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Переключатель фасовки ---------- */
.og-seg { display: inline-flex; padding: 2px; border-radius: var(--radius-pill); border: 1px solid var(--border); }
.og-seg button { min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); font: 600 13px/18px var(--font-sans); cursor: pointer; position: relative; }
.og-seg button::before { content: ""; position: absolute; inset: -5px 0; }
.og-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Метки ---------- */
.og-tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: var(--radius-sm); font: 700 12px/16px var(--font-sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.og-tag--lab1 { background: var(--lab1-fill); color: var(--lab1); }
.og-tag--lab2 { background: var(--lab2-fill); color: var(--lab2); }
.og-tag--stock { background: var(--green-fill); color: var(--green); }
.og-tag--new { background: var(--accent-fill); color: var(--on-accent); }
.og-tag--out { background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--border); }
.og-tag--pack { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px; }
.og-tag--urgent { background: var(--urgent-fill); color: var(--urgent); border-radius: var(--radius-pill); }
.og-tag--info { background: var(--info-fill); color: var(--info); }
.og-tag--ok { background: var(--green-fill); color: var(--green); }
.og-tag--danger { background: var(--danger-fill); color: var(--danger); }
.og-tag--muted { background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.og-dlv { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--radius-sm); font: 700 12px/16px var(--font-sans); white-space: nowrap; }
.og-dlv--pickup { background: var(--dlv-pickup); color: var(--dlv-pickup-ink); }
.og-dlv--ozon { background: var(--dlv-ozon); color: var(--dlv-on-dark); }
.og-dlv--cdek { background: var(--dlv-cdek); color: var(--dlv-on-light); }
.og-dlv--pochta { background: var(--dlv-pochta); color: var(--dlv-on-dark); }
.og-dlv--5post { background: var(--dlv-5post); color: var(--dlv-on-light); }
.og-dlv--dpd { background: var(--dlv-dpd); color: var(--dlv-on-dark); }
.og-dlvdot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(127,127,127,.5); }

/* ---------- Шапка ---------- */
.og-header { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 8px; background: var(--surface); border-bottom: 1px solid var(--line); }
.og-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; padding: 0 4px; }
:root { --og-logo-mask: url("/build/logo.svg"); }
.og-logo__img { display: block; width: 132px; height: 52px; background: var(--logo); -webkit-mask: var(--og-logo-mask) center / contain no-repeat; mask: var(--og-logo-mask) center / contain no-repeat; }
.og-logo__img--lg { width: 160px; height: 63px; }
.og-logo__word { font: 400 18px/20px var(--font-display); letter-spacing: .14em; }

/* ---------- Карточка закупки ---------- */
.og-pcard { position: relative; display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.og-pcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.og-pcard__name { font-family: var(--font-display); font-size: 22px; line-height: 26px; letter-spacing: .05em; text-transform: uppercase; margin: 0; font-weight: 400; }
.og-pcard__meta { display: grid; gap: 4px; }
.og-pcard__line { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.og-pcard__line .og-icon { margin-top: 0; color: var(--accent); }
.og-pcard__line b { font-weight: 600; }
.og-pcard.is-urgent { border-color: var(--urgent); }
.og-pcard.is-closed { opacity: 1; }
.og-pcard.is-closed .og-pcard__name { color: var(--ink-muted); }

/* ---------- Строка прайса ---------- */
.og-list { background: var(--surface); }
.og-genus { position: sticky; top: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 20px 16px 8px; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 1; }
.og-genus small { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); letter-spacing: 0; text-transform: none; }
.og-row { display: grid; grid-template-columns: var(--thumb) 1fr auto; gap: 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.og-row__thumb { width: var(--thumb); height: var(--thumb); border-radius: var(--radius-oval); overflow: hidden; border: 0; padding: 0; background: var(--surface-raised); display: grid; place-items: center; color: var(--ink-faint); cursor: zoom-in; }
.og-row__thumb.is-empty { cursor: default; box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.og-row__thumb img, .og-row__thumb .og-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.og-row__body { min-width: 0; display: grid; gap: 4px; }
.og-row__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.og-row__name { font-weight: 500; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.og-row__note { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.og-row__side { display: grid; justify-items: end; gap: 8px; }
.og-row__per { font-size: 13px; line-height: 18px; color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.og-row.is-out { background: var(--bg); }
.og-row.is-out .og-row__name, .og-row.is-out .og-price { color: var(--ink-muted); }
.og-row.is-out .og-row__thumb { opacity: .45; }
.og-left { font-size: 13px; line-height: 18px; color: var(--urgent); font-weight: 600; }
/* псевдо-фото: овальная маска с растительным градиентом для макетов */
.og-ph { background: radial-gradient(120% 90% at 30% 20%, #7ea36d 0, #3f6b3a 45%, #1f3a22 100%); }
.og-ph--b { background: radial-gradient(120% 90% at 70% 30%, #e6e1c8 0, #8fae78 40%, #2f5530 100%); }
.og-ph--c { background: radial-gradient(110% 90% at 40% 30%, #b7c9a0 0, #5d7f4b 50%, #22341e 100%); }
.og-ph--d { background: radial-gradient(120% 100% at 50% 20%, #f1f0e6 0, #c7d6b1 30%, #4b6f3e 70%, #1d2f1b 100%); }

/* ---------- Нижняя панель корзины ---------- */
.og-cartbar { display: flex; align-items: center; gap: 12px; min-height: var(--bar-h); padding: 10px 12px 10px 16px; background: var(--surface-raised); border-top: 1px solid var(--line); box-shadow: var(--shadow-sheet); }
.og-cartbar__sum { display: grid; line-height: 1.2; margin-right: auto; }
.og-cartbar__sum span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.og-cartbar__sum b { font-size: 18px; line-height: 24px; font-variant-numeric: tabular-nums; }

/* ---------- Корзина ---------- */
.og-cgroup { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.og-cgroup__head { display: grid; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.og-cgroup__head .og-row__meta { color: var(--ink-muted); }
.og-crow { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.og-crow__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.og-crow.is-unavailable { background: var(--danger-fill); }
.og-crow.is-unavailable .og-row__name { text-decoration: line-through; text-decoration-color: var(--danger); }
.og-cgroup__foot { display: grid; gap: 6px; padding: 14px 16px; }
.og-sumline { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.og-sumline--total { font-size: 18px; line-height: 24px; font-weight: 700; }

/* ---------- Плашки, тост, пустое состояние, скелетон ---------- */
.og-alert { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--radius-md); font-size: 14px; line-height: 20px; }
.og-alert--info { background: var(--info-fill); color: var(--ink); }
.og-alert--info .og-icon { color: var(--info); }
.og-alert--warn { background: var(--urgent-fill); color: var(--ink); }
.og-alert--warn .og-icon { color: var(--urgent); }
.og-alert--danger { background: var(--danger-fill); color: var(--ink); }
.og-alert--danger .og-icon { color: var(--danger); }
.og-alert--ok { background: var(--green-fill); color: var(--ink); }
.og-alert--ok .og-icon { color: var(--green); }
.og-alert b { font-weight: 700; }
.og-toast { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px 10px 16px; border-radius: var(--radius-md); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-pop); font-size: 14px; line-height: 20px; }
.og-toast .og-link { color: inherit; font-weight: 700; }
.og-empty { display: grid; justify-items: center; gap: 12px; padding: 40px 24px; text-align: center; }
.og-empty__mark { width: 72px; height: 88px; border-radius: var(--radius-oval); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--accent); }
.og-skel { background: linear-gradient(90deg, var(--surface-raised) 0, var(--line) 50%, var(--surface-raised) 100%); background-size: 200% 100%; animation: og-shimmer 1.4s ease-in-out infinite; border-radius: var(--radius-sm); }
@keyframes og-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .og-skel, .og-spin { animation: none; } }

/* ---------- Шторка и модальное окно ---------- */
.og-scrim { background: var(--scrim); }
.og-sheet { background: var(--surface-raised); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-sheet); padding: 8px 20px 20px; }
.og-sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 0 auto 12px; }
.og-modal { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 24px; }
.og-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-oval); overflow: hidden; }
.og-dots { display: flex; gap: 6px; justify-content: center; }
.og-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.og-dots i.is-on { background: var(--ink); width: 18px; border-radius: 3px; }

/* ---------- Подтверждение канала ---------- */
.og-channel { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.og-channel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.og-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 600; }
.og-status--none { color: var(--ink-muted); }
.og-status--wait { color: var(--info); }
.og-status--ok { color: var(--green); }
.og-status--fail { color: var(--danger); }

/* ---------- Админка (всегда светлая тема) ---------- */
.og-admin { background: var(--bg); color: var(--ink); font-size: 14px; line-height: 20px; }
.og-adm-top { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 24px; background: var(--surface); color: var(--ink); } /* ставится с data-theme="dark" */
.og-adm-top .og-logo { margin-right: 24px; }
.og-adm-nav { display: flex; gap: 4px; margin-right: auto; }
.og-adm-nav a { color: var(--ink-muted); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 600; }
.og-adm-nav a.is-on { color: var(--on-accent); background: var(--accent-fill); }
.og-counters { display: flex; gap: 8px; }
.og-counter { display: grid; gap: 2px; min-width: 140px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.og-counter b { font-size: 22px; line-height: 28px; font-variant-numeric: tabular-nums; }
.og-counter span { color: var(--ink-muted); font-size: 13px; }
.og-counter.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.og-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.og-filters .og-field { min-width: 160px; }
.og-filters .og-field input, .og-filters .og-field select { min-height: 40px; padding: 8px 12px; font-size: 14px; }
.og-filters .og-select .og-icon, .og-filters .og-search .og-icon { top: 10px; }
.og-filters .og-search input { padding-left: 40px; }
.og-table { width: 100%; border-collapse: collapse; background: var(--surface-raised); font-size: 14px; line-height: 20px; }
.og-table th { position: sticky; top: 0; text-align: left; font-weight: 600; font-size: 13px; color: var(--ink-muted); padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface); white-space: nowrap; }
.og-table th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.og-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.og-table tr:hover td { background: var(--surface); }
.og-table tr.is-sel td { background: var(--lab2-fill); }
.og-table tr.is-service td { color: var(--ink-muted); }
.og-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.og-table .og-check { min-height: 0; padding: 0; }
.og-flag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--urgent); }
.og-unread { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.og-bulk { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--action); color: var(--on-action); border-radius: var(--radius-md); }
.og-bulk .og-btn--secondary { color: var(--on-action); border-color: var(--on-action); min-height: 36px; font-size: 14px; }
.og-panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; display: grid; gap: 12px; }
.og-panel h3 { margin: 0; font-size: 15px; line-height: 20px; font-weight: 700; }
.og-kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: 14px; }
.og-kv dt { color: var(--ink-muted); }
.og-kv dd { margin: 0; }
.og-hist { display: grid; grid-template-columns: 92px 1fr; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; }
.og-hist time { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.og-hist__who { color: var(--ink-muted); }
.og-strike { text-decoration: line-through; color: var(--ink-muted); }
.og-edited { display: inline-flex; gap: 6px; align-items: baseline; }
.og-edited s { color: var(--ink-muted); font-weight: 400; font-size: 12px; }

/* ---------- Выбор темы ---------- */
.og-theme { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); }
.og-theme button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap-min); padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); font: 600 13px/18px var(--font-sans); cursor: pointer; white-space: nowrap; }
.og-theme button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.og-theme button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ===== Десктоп 1440 (контент до page-max 1200) ===== */
.og-d { background: var(--bg); color: var(--ink); min-height: 100%; }
.og-d-wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-8); }
.og-d-head { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.og-d-head__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.og-d-util { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.og-d-util__in { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.og-d-util a { color: var(--ink-muted); text-decoration: none; margin-left: 20px; }
.og-d-util a:hover { color: var(--ink); text-decoration: underline; }
.og-d-nav { display: flex; gap: 4px; }
.og-d-nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 10px; white-space: nowrap; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font: 400 16px/20px var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.og-d-nav a.is-on { color: var(--accent); }
.og-d-nav a:hover { background: var(--surface-raised); }
.og-d-head .og-search { flex: 0 1 300px; min-width: 220px; margin-left: auto; }
.og-d-head .og-search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 44px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink); font: 400 15px/22px var(--font-sans); }
.og-d-head .og-search .og-icon { top: 12px; }
.og-d-cartbtn { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap-min); padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; color: var(--ink); font: 600 15px/20px var(--font-sans); cursor: pointer; white-space: nowrap; }
.og-d-cartbtn b { font-variant-numeric: tabular-nums; }
.og-d-cartbtn .og-iconbtn__badge { position: static; }
.og-d-quiet { color: var(--ink-muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.og-d-quiet:hover { color: var(--ink); text-decoration: underline; }
.og-d-cols { display: grid; gap: var(--space-8); align-items: start; }
.og-d-cols--price { grid-template-columns: 180px minmax(0, 1fr) 280px; }
.og-d-cols--main-side { grid-template-columns: minmax(0, 1fr) 360px; }
.og-d-sticky { position: sticky; top: 96px; }
.og-d-side { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.og-d-genera { display: grid; gap: 2px; }
.og-d-genera a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font: 400 15px/20px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.og-d-genera a small { font: 400 13px/18px var(--font-sans); letter-spacing: 0; color: var(--ink-muted); }
.og-d-genera a.is-on { background: var(--surface-raised); box-shadow: inset 2px 0 0 var(--accent); }
.og-d-row { display: grid; grid-template-columns: var(--thumb) minmax(0, 1fr) 104px 140px; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.og-d-row .og-row__name { font-size: 15px; }
.og-d-row .og-num.og-muted { font-size: 13px; }
.og-d-row .og-price { text-align: right; }
.og-d-row__act { display: flex; justify-content: flex-end; }
.og-d-row.is-out { background: var(--bg); }
.og-d-row.is-out .og-row__name, .og-d-row.is-out .og-price { color: var(--ink-muted); }
.og-d-row.is-out .og-row__thumb { opacity: .45; }
.og-d-listhead { display: grid; grid-template-columns: var(--thumb) minmax(0, 1fr) 104px 140px; gap: 16px; padding: 8px 16px; font-size: 13px; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.og-d-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.og-d-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.og-d-foot { margin-top: var(--space-12); background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0; }
.og-d-foot__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.og-d-foot h4 { margin: 0 0 12px; font: 400 15px/20px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.og-d-foot a { display: block; color: var(--ink); text-decoration: none; padding: 4px 0; font-size: 15px; }
.og-d-foot a:hover { color: var(--accent); }
.og-d-ctable { width: 100%; border-collapse: collapse; }
.og-d-ctable th { text-align: left; font: 600 13px/18px var(--font-sans); color: var(--ink-muted); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.og-d-ctable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.og-d-ctable .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.og-d-ctable tr.is-unavailable td { background: var(--danger-fill); }
.og-d-ctable tr.is-unavailable .og-row__name { text-decoration: line-through; text-decoration-color: var(--danger); }
.og-d-overlay { position: absolute; inset: 0; background: var(--scrim); display: grid; place-items: center; z-index: 10; }
.og-d-modal { width: 560px; max-width: calc(100% - 64px); }
.og-d-form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.og-d-segtheme { position: relative; }

/* ===== Фото позиций (лаборатория, по клиентскому прайсу) — встроены, чтобы превью не зависели от загрузки файлов ===== */
.og-pic { background-size: cover !important; background-position: center 45% !important; }


/* ===== Сайт: каркас страниц поверх дизайн-системы (bundle.css). Цвета и размеры — только токены ===== */

html { background: var(--bg); color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }
.site-skip { position: absolute; left: var(--space-2); top: -100px; z-index: 50; }
.site-skip:focus { top: var(--space-2); }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* --- Точки перехода (ТЗ 9.1): телефон до 599, планшет 600–1023, десктоп от 1024 --- */
.site-only-desktop { display: none; }
@media (min-width: 1024px) {
  .site-only-desktop { display: block; }
  .site-hide-desktop { display: none !important; }
}

/* --- Шапка телефона и планшета (Header, TabletGrid) --- */
.site-head { position: sticky; top: 0; z-index: 5; }
.site-head .og-search, .site-head .og-d-cartbtn { display: none; }
@media (min-width: 600px) {
  .site-head { height: 64px; padding: 0 var(--space-6); gap: var(--space-4); }
  .site-head .site-head__searchbtn, .site-head .site-head__cartbtn { display: none; }
  .site-head .og-search { display: block; flex: 0 1 320px; margin-left: auto; }
  .site-head .og-search .og-icon { top: 12px; }
  .site-head .og-search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 44px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink); font: 400 15px/22px var(--font-sans); }
  .site-head .og-d-cartbtn { display: inline-flex; }
  .site-head .og-logo { margin-right: 0; }
}

/* --- Меню телефона и планшета: шторка сверху (<dialog> держит фокус и закрывается Esc) --- */
.site-menu { margin: 0; padding: 0; border: 0; max-width: none; width: 100%; max-height: 100dvh; background: transparent; color: var(--ink); }
.site-menu::backdrop { background: var(--scrim); }
.site-menu .og-sheet { border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-pop); padding: 0 var(--space-5) var(--space-5); overflow-y: auto; max-height: 100dvh; }
/* Верхняя строка меню повторяет шапку: крестик на месте кнопки меню, логотип там же — ничего не прыгает */
.site-menu__top { display: flex; align-items: center; gap: 4px; height: 56px; margin: 0 calc(-1 * var(--space-5)); padding: 0 8px; }
/* При открытии фокус ставится на саму панель меню, а не на логотип или крестик: рамку у панели не показываем.
   С клавиатуры Tab дальше идёт по пунктам меню, у них рамка фокуса есть. */
.site-menu [data-menu-panel]:focus { outline: none; }
/* Страница под открытым меню не прокручивается */
html:has(.site-menu[open]) { overflow: hidden; }
.site-menu__link { display: flex; justify-content: space-between; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font: 400 20px/24px var(--font-display); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.site-menu__link[aria-current="page"] { color: var(--accent); }
.site-menu__theme { padding: var(--space-4) 0 var(--space-2); }
.site-menu__quiet { display: flex; align-items: center; min-height: 52px; color: var(--ink-muted); text-decoration: none; font-size: 15px; }
@media (min-width: 600px) {
  .site-menu { width: 420px; margin: 0 0 0 0; }
  .site-menu .og-sheet { border-radius: 0 0 var(--radius-lg) 0; }
  .site-menu__top { height: 64px; padding: 0 var(--space-6); gap: var(--space-4); }
}

/* --- Десктоп: служебная строка и шапка (DesktopSystem) --- */
.og-d-nav a[aria-current="page"] { color: var(--accent); }
.og-d-head .og-iconbtn { flex: none; }
.site-themepop { position: absolute; right: 0; top: calc(100% + var(--space-2)); z-index: 20; width: 220px; padding: var(--space-2); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
.site-themepop[hidden] { display: none; }
.site-themepop .og-theme { grid-template-columns: 1fr; border: 0; padding: 0; background: transparent; border-radius: var(--radius-md); }
.site-themepop .og-theme button { justify-content: flex-start; border-radius: var(--radius-md); padding: 0 var(--space-3); font-size: 15px; }

/* --- Подвал телефона и планшета (HomeScreen) --- */
.site-foot { margin-top: var(--space-8); padding: var(--space-6) var(--space-4) var(--space-8); background: var(--surface); border-top: 1px solid var(--line); display: grid; gap: var(--space-4); }
.site-foot__links { display: grid; gap: var(--space-1); font-size: 14px; }
.site-foot__links .og-link { display: inline-flex; align-items: center; min-height: 32px; }
.site-foot__quiet { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.site-foot__quiet a { color: inherit; }
@media (min-width: 600px) {
  .site-foot { padding-left: var(--space-8); padding-right: var(--space-8); }
  .site-foot .og-theme { max-width: 420px; }
}

/* --- Страницы-заглушки и 404 (SystemScreens, DesktopSystem) --- */
.site-404 { padding: 72px var(--space-6); }
.site-404__code { font-size: 72px; line-height: 72px; color: var(--accent); }
.site-404__actions { display: grid; gap: var(--space-3); justify-items: center; width: 100%; max-width: 358px; }
@media (min-width: 600px) {
  .site-404 { padding: 96px var(--space-6); }
  .site-404__code { font-size: 120px; line-height: 120px; }
  .site-404__actions { display: flex; justify-content: center; max-width: none; }
  .site-404__actions .og-btn--block { width: auto; }
  .site-404__actions .og-btn--text { min-height: var(--control-h); }
}

/* Варианты для телефона (до 599) и для планшета и десктопа (от 600) */
@media (max-width: 599px) { .site-only-wide { display: none !important; } }
@media (min-width: 600px) { .site-only-phone { display: none !important; } }

/* Заголовок 404 на широких экранах крупнее (DesktopSystem) */
@media (min-width: 600px) { .site-404 .og-title { font-size: 22px; } }

/* Иконка темы в шапке десктопа: телефон / луна / солнце по режиму. Режим ставит скрипт в <head> */
.site-themeicon [data-mode] { display: none; }
html:not([data-theme-mode]) .site-themeicon [data-mode="system"],
html[data-theme-mode="system"] .site-themeicon [data-mode="system"],
html[data-theme-mode="dark"] .site-themeicon [data-mode="dark"],
html[data-theme-mode="light"] .site-themeicon [data-mode="light"] { display: block; }

a.og-d-cartbtn { text-decoration: none; }

/* Контейнер страницы: поля 16 (телефон), 32 (планшет и десктоп), контент до page-max */
.site-wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 600px) { .site-wrap { padding: 0 var(--space-8); } }
