/*
 * =====================================================================
 *  BMM Shop One — витрина интернет-магазина BMM Enterprise · 3.2.0
 * =====================================================================
 *  Та же система, что у бэк-офиса BMM One: лазурит — действие и ссылки,
 *  золото пирита — итог корзины, спокойные холодные серые — всё прочее.
 *  Шрифт Golos Text (файлы бэк-офиса dashboard/files/fonts).
 *  Все правила — под <html class="sp">, разметка — ecommerce/one/*.php.
 * =====================================================================
 */
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 400; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-cyrillic-ext-400-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 500; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 500; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-cyrillic-ext-500-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 600; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 600; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-cyrillic-ext-600-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 700; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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: "Golos Text"; font-weight: 700; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-cyrillic-ext-700-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-weight: 700; font-display: swap; src: url(../../dashboard/files/fonts/golos-text-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; }

/* ---------------------------------------------------------------------
   1. Токены
   --------------------------------------------------------------------- */
html.sp {
    --night: #0F1A36; --night-2: #172550; --night-ink: #C7D0E6; --night-dim: #8592B3;
    --lapis: #2346C9; --lapis-h: #1C3AA9; --lapis-t: #EAEFFC; --lapis-t2: #D6E0FA;
    --pyrite: #C99A1E; --pyrite-d: #8A6A12; --pyrite-t: #FBF3DC;
    --canvas: #F3F5F9; --paper: #FFFFFF; --paper-2: #F7F8FB; --paper-3: #EEF1F6;
    --line: #E1E5EE; --line-2: #CAD1DD;
    --ink: #141B2D; --ink-2: #3A4459; --muted: #6A7387; --faint: #98A0B2;
    --green: #12805C; --green-t: #E6F4EE; --red: #C4362C; --red-t: #FCEBEA;
    --amber: #B4741A; --amber-t: #FBF1E1;
    --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 22px;
    --sh-1: 0 1px 2px rgba(20, 27, 45, .05);
    --sh-2: 0 2px 4px rgba(20, 27, 45, .04), 0 12px 28px -14px rgba(20, 27, 45, .25);
    --sh-pop: 0 4px 10px rgba(20, 27, 45, .06), 0 24px 54px -18px rgba(20, 27, 45, .38);
    --wrap: 1280px; --gut: 24px; --top-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 140px;
}

/* ---------------------------------------------------------------------
   2. Основа
   --------------------------------------------------------------------- */
html.sp *, html.sp *::before, html.sp *::after { box-sizing: border-box; }
html.sp body {
    margin: 0; background: var(--canvas); color: var(--ink);
    font: 400 15px/1.5 "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
    min-height: 100vh; display: flex; flex-direction: column;
}
html.sp main { flex: 1 0 auto; }
html.sp a { color: var(--lapis); text-decoration: none; }
html.sp a:hover { color: var(--lapis-h); }
html.sp img { max-width: 100%; display: block; }
html.sp h1, html.sp h2, html.sp h3 { margin: 0; color: var(--ink); letter-spacing: -.01em; }
html.sp h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
html.sp h2 { font-size: 21px; line-height: 1.3; font-weight: 650; font-weight: 600; }
html.sp h3 { font-size: 16px; font-weight: 600; }
html.sp p { margin: 0; }
html.sp button, html.sp input, html.sp select, html.sp textarea { font: inherit; color: inherit; }
html.sp button { cursor: pointer; }
html.sp [hidden] { display: none !important; }
html.sp :focus-visible { outline: 2px solid var(--lapis); outline-offset: 2px; border-radius: 6px; }
html.sp .i { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
html.sp .sp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
html.sp .sp-muted { color: var(--muted); }
html.sp .sp-cur { font-weight: inherit; font-size: .82em; letter-spacing: .01em; }
html.sp .sp-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--paper); padding: 8px 14px; border-radius: 8px; box-shadow: var(--sh-2); }
html.sp .sp-skip:focus { left: 12px; }
html.sp .is-hidden { display: none !important; }

/* ---------------------------------------------------------------------
   3. Кнопки
   --------------------------------------------------------------------- */
html.sp .sp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
    font-weight: 600; font-size: 15px; white-space: nowrap; line-height: 1;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s;
    background: var(--paper); color: var(--ink);
}
html.sp .sp-btn:active { transform: translateY(1px); }
html.sp .sp-btn--primary { background: var(--lapis); color: #fff; box-shadow: 0 8px 18px -10px rgba(35, 70, 201, .8); }
html.sp .sp-btn--primary:hover { background: var(--lapis-h); color: #fff; }
html.sp .sp-btn--soft { background: var(--lapis-t); color: var(--lapis); }
html.sp .sp-btn--soft:hover { background: var(--lapis-t2); color: var(--lapis-h); }
html.sp .sp-btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
html.sp .sp-btn--ghost:hover { border-color: var(--lapis); color: var(--lapis); }
html.sp .sp-btn--lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
html.sp .sp-btn--block { width: 100%; }
html.sp .sp-btn[disabled] { opacity: .55; pointer-events: none; }
html.sp .sp-ibtn {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); flex: none;
}
html.sp .sp-ibtn:hover { background: var(--paper-3); color: var(--ink); }
html.sp .sp-link { background: none; border: 0; padding: 0; color: var(--lapis); font-weight: 500; }
html.sp .sp-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   4. Шапка
   --------------------------------------------------------------------- */
html.sp .sp-top { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
html.sp .sp-top__bar { display: flex; align-items: center; gap: 14px; height: var(--top-h); }
html.sp .sp-burger { display: none; }
html.sp .sp-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.01em; flex: none; max-width: 240px; }
html.sp .sp-logo:hover { color: var(--ink); }
html.sp .sp-logo img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
html.sp .sp-logo__mark { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff !important; background: linear-gradient(135deg, var(--lapis), #4B6BE0) !important; box-shadow: 0 6px 14px -8px rgba(35, 70, 201, .9); }
html.sp .sp-logo__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.sp .sp-catbtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--lapis); color: #fff; font-weight: 600; flex: none; box-shadow: 0 8px 18px -10px rgba(35, 70, 201, .8); }
html.sp .sp-catbtn:hover, html.sp .sp-catbtn[aria-expanded="true"] { background: var(--lapis-h); }
html.sp .sp-catbtn[aria-expanded="true"] .i { transform: rotate(45deg); transition: transform .2s; }

html.sp .sp-search { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
html.sp .sp-search input[type="search"] {
    width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper-2);
    padding: 0 96px 0 44px; font-size: 15px; outline: none; transition: border-color .15s, background .15s, box-shadow .15s; -webkit-appearance: none;
}
html.sp .sp-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
html.sp .sp-search input[type="search"]:focus { border-color: var(--lapis); background: var(--paper); box-shadow: 0 0 0 4px rgba(35, 70, 201, .12); }
html.sp .sp-search__i { position: absolute; left: 14px; color: var(--faint); pointer-events: none; }
html.sp .sp-search__go { position: absolute; right: 5px; height: 36px; padding: 0 16px; border-radius: 9px; border: 0; background: var(--lapis); color: #fff; font-weight: 600; }
html.sp .sp-search__go:hover { background: var(--lapis-h); }

html.sp .sp-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-pop); padding: 8px; max-height: min(70vh, 560px); overflow: auto; z-index: 70; }
html.sp .sp-suggest__cap { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 4px; }
html.sp .sp-sg { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 10px; color: var(--ink); }
html.sp .sp-sg:hover, html.sp .sp-sg.is-on { background: var(--lapis-t); color: var(--ink); }
html.sp .sp-sg img, html.sp .sp-sg .sp-ph { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--paper-2); font-size: 18px; }
html.sp .sp-sg__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.sp .sp-suggest mark { background: none; color: var(--lapis); font-weight: 600; }
html.sp .sp-sg__p { font-weight: 600; white-space: nowrap; }
html.sp .sp-sg__add { width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--lapis-t); color: var(--lapis); display: inline-flex; align-items: center; justify-content: center; }
html.sp .sp-sg__add:hover { background: var(--lapis); color: #fff; }
html.sp .sp-sg__add.is-in { background: var(--green-t); color: var(--green); }
html.sp .sp-sgc { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); }
html.sp .sp-sgc:hover, html.sp .sp-sgc.is-on { background: var(--lapis-t); color: var(--ink); }
html.sp .sp-sgc .i { color: var(--lapis); }
html.sp .sp-sgc small { color: var(--faint); margin-left: auto; }
html.sp .sp-suggest__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; }
html.sp .sp-suggest__none { padding: 18px 12px; color: var(--muted); text-align: center; }

html.sp .sp-acts { display: flex; align-items: center; gap: 4px; flex: none; }
html.sp .sp-act { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); font-weight: 500; position: relative; max-width: 220px; }
html.sp .sp-act:hover, html.sp .sp-act.is-on { background: var(--paper-3); color: var(--ink); }
html.sp .sp-act > span { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.sp .sp-cartbtn > span { display: inline; }
html.sp .sp-act small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
html.sp .sp-act .i { width: 22px; height: 22px; }
html.sp .sp-act--phone { font-weight: 600; }
html.sp .sp-cartbtn { background: var(--pyrite-t); color: var(--ink); padding: 0 16px 0 14px; font-weight: 600; }
html.sp .sp-cartbtn:hover { background: #F7EAC4; }
html.sp .sp-cartbtn .i { color: var(--pyrite-d); }
html.sp .sp-count { position: absolute; top: 5px; left: 28px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
html.sp .sp-count.is-bump { animation: spBump .45s var(--ease); }
@keyframes spBump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

html.sp .sp-sub { border-top: 1px solid var(--line); }
html.sp .sp-sub__in { display: flex; align-items: center; gap: 18px; height: 44px; }
html.sp .sp-sub__cats { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
html.sp .sp-sub__cats::-webkit-scrollbar { display: none; }
html.sp .sp-sub a { white-space: nowrap; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
html.sp .sp-sub a:hover, html.sp .sp-sub a.is-on { background: var(--paper-3); color: var(--ink); }
html.sp .sp-sub__info { display: flex; gap: 2px; flex: none; padding-left: 14px; border-left: 1px solid var(--line); }
html.sp .sp-sub__info a { color: var(--muted); }

/* меню каталога */
html.sp .sp-mega { position: fixed; left: 0; right: 0; top: var(--mega-top, calc(var(--top-h) + 46px)); z-index: 59; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--sh-pop); max-height: calc(100vh - var(--top-h) - 20px); overflow: auto; animation: spDrop .18s var(--ease); }
@keyframes spDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html.sp .sp-mega__in { padding-top: 20px; padding-bottom: 24px; }
html.sp .sp-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 20px; }
html.sp .sp-mega__item { padding: 4px 0; min-width: 0; }
html.sp .sp-mega__cat { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ink); font-weight: 500; }
html.sp .sp-mega__cat:hover { background: var(--lapis-t); color: var(--lapis-h); }
html.sp .sp-mega__cat img, html.sp .sp-mega__cat .sp-ph { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex: none; background: var(--paper-2); }
html.sp .sp-mega__cat .sp-ph { font-size: 17px; }
html.sp .sp-mega__cat span { min-width: 0; line-height: 1.3; }
html.sp .sp-mega__cat small { display: block; color: var(--faint); font-weight: 400; font-size: 12.5px; }
html.sp .sp-mega__kids { display: flex; flex-direction: column; padding: 0 10px 6px 62px; }
html.sp .sp-mega__kids a { padding: 3px 0; color: var(--ink-2); font-size: 14px; }
html.sp .sp-mega__kids a:hover { color: var(--lapis); }
html.sp .sp-mega__kids .sp-mega__more { color: var(--lapis); font-weight: 500; }

/* ---------------------------------------------------------------------
   5. Боковые панели (меню, корзина) и затемнение
   --------------------------------------------------------------------- */
html.sp .sp-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(15, 26, 54, .42); animation: spFade .2s; }
@keyframes spFade { from { opacity: 0; } to { opacity: 1; } }
html.sp .sp-sheet { position: fixed; top: 0; bottom: 0; z-index: 90; width: min(440px, 100vw); background: var(--paper); display: flex; flex-direction: column; box-shadow: var(--sh-pop); }
html.sp .sp-sheet--right { right: 0; animation: spInR .26s var(--ease); }
html.sp .sp-sheet--left { left: 0; width: min(360px, 88vw); animation: spInL .26s var(--ease); }
@keyframes spInR { from { transform: translateX(100%); } to { transform: none; } }
@keyframes spInL { from { transform: translateX(-100%); } to { transform: none; } }
html.sp .sp-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
html.sp .sp-sheet__head h2 { font-size: 20px; }
html.sp .sp-sheet__head h2 small { color: var(--faint); font-weight: 500; font-size: 15px; margin-left: 4px; }
html.sp .sp-sheet__body { flex: 1 1 auto; overflow: auto; padding: 12px 20px 20px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
html.sp .sp-sheet__foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 12px; }
html.sp .sp-sheet__cap { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin: 14px 0 6px; }
html.sp body.sp-lock { overflow: hidden; }

html.sp .sp-tree, html.sp .sp-tree ul, html.sp .sp-links { list-style: none; margin: 0; padding: 0; }
html.sp .sp-tree__row { display: flex; align-items: center; }
html.sp .sp-tree__row a { flex: 1; padding: 10px 0; color: var(--ink); font-weight: 500; }
html.sp .sp-tree a small, html.sp .sp-tree__row a small { color: var(--faint); font-weight: 400; }
html.sp .sp-tree ul { padding: 0 0 8px 14px; border-left: 2px solid var(--lapis-t); margin-left: 4px; }
html.sp .sp-tree ul a { display: block; padding: 7px 0; color: var(--ink-2); }
html.sp .sp-tree .is-open > .sp-tree__row .i { transform: rotate(180deg); }
html.sp .sp-links a { display: block; padding: 10px 0; color: var(--ink); }
html.sp .sp-sheet .sp-btn--block { margin-top: 16px; }

/* корзина */
html.sp .sp-cart__line { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
html.sp .sp-cart__line:last-child { border-bottom: 0; }
html.sp .sp-cart__img { grid-row: span 2; width: 64px; height: 64px; border-radius: 10px; background: var(--paper-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
html.sp .sp-cart__img img { width: 100%; height: 100%; object-fit: contain; }
html.sp .sp-cart__img .sp-ph { width: 100%; height: 100%; font-size: 22px; border-radius: 10px; }
html.sp .sp-cart__t { color: var(--ink); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.sp .sp-cart__t:hover { color: var(--lapis); }
html.sp .sp-cart__x { width: 32px; height: 32px; margin: -4px -6px 0 0; color: var(--faint); }
html.sp .sp-cart__x:hover { color: var(--red); background: var(--red-t); }
html.sp .sp-cart__row { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
html.sp .sp-cart__each { color: var(--muted); font-size: 13px; }
html.sp .sp-cart__lsum { font-weight: 700; white-space: nowrap; }
html.sp .sp-cart__auto { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
html.sp .sp-cart__auto .i { width: 16px; height: 16px; }
html.sp .sp-cart__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
html.sp .sp-cart__sum span { color: var(--muted); }
html.sp .sp-cart__sum b { font-size: 24px; font-weight: 700; color: var(--ink); }
html.sp .sp-cart__sum b .sp-cur { color: var(--pyrite-d); }
html.sp .sp-cart__empty { text-align: center; padding: 48px 12px; color: var(--muted); }
html.sp .sp-cart__empty .i { width: 56px; height: 56px; color: var(--lapis-t2); margin-bottom: 12px; }
html.sp .sp-cart__empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
html.sp .sp-cart__empty .sp-btn { margin-top: 18px; }
html.sp .sp-cart.is-busy { opacity: .7; }
html.sp .sp-skel { height: 76px; border-radius: 12px; margin: 12px 0; background: linear-gradient(90deg, var(--paper-3), var(--paper-2), var(--paper-3)); background-size: 200% 100%; animation: spSk 1.2s infinite linear; }
@keyframes spSk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------------------------------------------------------------------
   6. Цена, кнопка «В корзину», счётчик
   --------------------------------------------------------------------- */
html.sp .sp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
html.sp .sp-price b { font-size: 19px; font-weight: 700; color: var(--ink); white-space: nowrap; }
html.sp .sp-price s { color: var(--faint); font-size: 13.5px; white-space: nowrap; }
html.sp .sp-price__none { color: var(--muted); font-size: 13.5px; }
html.sp .sp-card .sp-badge--sale ~ .sp-card__body .sp-price b { color: var(--red); }
html.sp .sp-price--lg b { font-size: 34px; letter-spacing: -.01em; }
html.sp .sp-price--lg s { font-size: 18px; }
html.sp .sp-vip { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; color: var(--pyrite-d); font-size: 13px; font-weight: 500; }
html.sp .sp-vip .i { width: 16px; height: 16px; }

html.sp .sp-buy { position: relative; flex: none; }
html.sp .sp-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 11px; border: 0; background: var(--lapis); color: #fff; font-weight: 600; font-size: 14px; transition: background .15s, transform .1s; }
html.sp .sp-add:hover { background: var(--lapis-h); }
html.sp .sp-add:active { transform: scale(.97); }
html.sp .sp-add .i { width: 18px; height: 18px; }
html.sp .sp-step { display: none; align-items: center; height: 40px; border-radius: 11px; background: var(--lapis-t); color: var(--lapis); overflow: hidden; }
html.sp .sp-step button { width: 38px; height: 40px; border: 0; background: transparent; color: var(--lapis); display: inline-flex; align-items: center; justify-content: center; }
html.sp .sp-step button:hover { background: var(--lapis-t2); }
html.sp .sp-step .i { width: 18px; height: 18px; }
html.sp .sp-step__n { min-width: 30px; text-align: center; font-weight: 700; color: var(--ink); }
html.sp .sp-buy.is-in .sp-add { display: none; }
html.sp .sp-buy.is-in .sp-step { display: inline-flex; }
html.sp .sp-buy.is-busy { opacity: .6; pointer-events: none; }
html.sp .sp-buy--big .sp-add, html.sp .sp-buy--big .sp-step { height: 52px; border-radius: 14px; font-size: 16px; }
html.sp .sp-buy--big .sp-add { width: 100%; }
html.sp .sp-buy--big .sp-step { width: 100%; justify-content: space-between; }
html.sp .sp-buy--big .sp-step button { width: 56px; height: 52px; }
html.sp .sp-buy--big .sp-step__n { font-size: 18px; }
html.sp .sp-buy--big .sp-step__n::after { content: " в корзине"; font-weight: 500; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------------
   7. Заглушка без фото (буква на тоне)
   --------------------------------------------------------------------- */
html.sp .sp-ph { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--lapis); background: var(--lapis-t); width: 100%; height: 100%; font-size: 44px; line-height: 1; }
html.sp .sp-ph--1 { color: #12805C; background: #E6F4EE; }
html.sp .sp-ph--2 { color: #8A6A12; background: #FBF3DC; }
html.sp .sp-ph--3 { color: #6A4AD3; background: #EFEBFC; }
html.sp .sp-ph--4 { color: #0E8282; background: #E3F3F3; }
html.sp .sp-ph--5 { color: #B4741A; background: #FBF1E1; }
html.sp .sp-ph--sm { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; }
html.sp .sp-ph--xs { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; }
html.sp .sp-ph--big { font-size: 120px; border-radius: var(--r-lg); }
html.sp .sp-ph--ava { width: 72px; height: 72px; border-radius: 50%; font-size: 30px; }

/* ---------------------------------------------------------------------
   8. Главная
   --------------------------------------------------------------------- */
html.sp .sp-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 400px at 85% -10%, rgba(201, 154, 30, .35), transparent 60%), linear-gradient(120deg, var(--night) 0%, #1A2F7A 55%, var(--lapis) 100%); }
html.sp .sp-hero.has-img { background: linear-gradient(100deg, rgba(15, 26, 54, .92) 0%, rgba(15, 26, 54, .72) 45%, rgba(15, 26, 54, .25) 100%), var(--hero-img) center / cover no-repeat; }
html.sp .sp-hero__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
html.sp .sp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #F3D98C; margin-bottom: 14px; }
html.sp .sp-hero h1 { color: #fff; font-size: 44px; line-height: 1.08; letter-spacing: -.02em; }
html.sp .sp-hero__lead { margin-top: 16px; font-size: 17px; line-height: 1.55; color: #D5DDF2; max-width: 60ch; }
html.sp .sp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
html.sp .sp-hero .sp-btn--primary { background: #fff; color: var(--lapis); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
html.sp .sp-hero .sp-btn--primary:hover { background: var(--lapis-t); }
html.sp .sp-hero .sp-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
html.sp .sp-hero .sp-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
html.sp .sp-hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
html.sp .sp-hero__facts li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.sp .sp-hero__facts .i { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #F3D98C; }
html.sp .sp-hero__facts b { font-size: 18px; color: #fff; }
html.sp .sp-hero__facts b a { color: #fff; }
html.sp .sp-hero__facts span { color: #B9C4E3; font-size: 14px; }

html.sp .sp-sec { margin-top: 40px; }
html.sp .sp-sec__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
html.sp .sp-sec__head h2 { font-size: 24px; font-weight: 700; }
html.sp .sp-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; margin-left: 4px; }
html.sp .sp-more .i { width: 18px; height: 18px; }
html.sp .sp-rail__nav { margin-left: auto; display: flex; gap: 6px; }
html.sp .sp-rail__nav .sp-ibtn { border: 1px solid var(--line); background: var(--paper); }

html.sp .sp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
html.sp .sp-cat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: transform .15s var(--ease), box-shadow .15s, border-color .15s; min-height: 100%; }
html.sp .sp-cat:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: transparent; color: var(--ink); }
html.sp .sp-cat img, html.sp .sp-cat .sp-ph { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: contain; border-radius: 12px; margin-bottom: 8px; }
html.sp .sp-cat img { background: var(--paper-2); }
html.sp .sp-ph--cat { font-size: 34px; }
html.sp .sp-cat__t { font-weight: 600; line-height: 1.3; }
html.sp .sp-cat small { color: var(--muted); font-size: 13px; }

html.sp .sp-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 8px; }
html.sp .sp-how > div { padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
html.sp .sp-how span { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--lapis-t); color: var(--lapis); margin-bottom: 12px; }
html.sp .sp-how b { display: block; font-size: 17px; margin-bottom: 4px; }
html.sp .sp-how p { color: var(--muted); }

/* лента товаров */
html.sp .sp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 12px; margin: 0 -2px; overscroll-behavior-x: contain; }
html.sp .sp-rail::-webkit-scrollbar { display: none; }
html.sp .sp-rail > * { scroll-snap-align: start; }
html.sp .sp-rail--mini { grid-auto-columns: 200px; }
html.sp .sp-mini { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
html.sp .sp-mini:hover { border-color: var(--lapis-t2); color: var(--ink); }
html.sp .sp-mini img, html.sp .sp-mini .sp-ph { width: 56px; height: 56px; border-radius: 8px; object-fit: contain; background: var(--paper-2); font-size: 22px; }
html.sp .sp-mini span { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.sp .sp-mini b { display: block; font-size: 14px; margin-top: 2px; }

/* ---------------------------------------------------------------------
   9. Карточка товара в сетке
   --------------------------------------------------------------------- */
html.sp .sp-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .18s, border-color .18s, transform .18s var(--ease); min-width: 0; }
html.sp .sp-card:hover { box-shadow: var(--sh-2); border-color: transparent; }
html.sp .sp-card__img { --pad: 12px; position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
html.sp .sp-card__img img, html.sp .sp-card__img .sp-ph { position: absolute; left: var(--pad); top: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); }
html.sp .sp-card__img img { object-fit: contain; transition: transform .3s var(--ease); }
html.sp .sp-card:hover .sp-card__img img { transform: scale(1.04); }
html.sp .sp-card__img .sp-ph { border-radius: 12px; font-size: 38px; }
html.sp .sp-card__body { display: flex; flex-direction: column; gap: 6px; padding: 4px 14px 14px; flex: 1; }
html.sp .sp-card__title { color: var(--ink); font-size: 14.5px; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.sp .sp-card__title:hover { color: var(--lapis); }
html.sp .sp-card__stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--green); }
html.sp .sp-card__stock .i { width: 14px; height: 14px; }
html.sp .sp-card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html.sp .sp-card .sp-add span { display: none; }
html.sp .sp-card .sp-add { width: 44px; padding: 0; }
html.sp .sp-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 3px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 700; }
html.sp .sp-badge--sale { background: var(--red); color: #fff; }
html.sp .sp-badge--lg { top: 16px; left: 16px; font-size: 15px; padding: 5px 10px; }
html.sp .sp-card.is-hidden-f { display: none; }
html.sp .sp-card.is-paged { display: none; }

/* ---------------------------------------------------------------------
   10. Каталог
   --------------------------------------------------------------------- */
html.sp .sp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 20px 0 6px; font-size: 13.5px; color: var(--muted); }
html.sp .sp-crumbs a { color: var(--muted); }
html.sp .sp-crumbs a:hover { color: var(--lapis); }
html.sp .sp-crumbs .i { width: 14px; height: 14px; color: var(--faint); }
html.sp .sp-crumbs span { color: var(--ink-2); max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.sp .sp-pagehead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 18px; }
html.sp .sp-pagehead__n { color: var(--muted); }
html.sp .sp-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 14px; }
html.sp .sp-chips::-webkit-scrollbar { display: none; }
html.sp .sp-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; font-weight: 500; flex: none; }
html.sp .sp-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin-left: -6px; }
html.sp .sp-chip small { color: var(--faint); font-weight: 400; }
html.sp .sp-chip .i { width: 16px; height: 16px; color: var(--lapis); }
html.sp .sp-chip:hover { border-color: var(--lapis); color: var(--lapis); }
html.sp .sp-chip.is-on { background: var(--lapis); border-color: var(--lapis); color: #fff; }
html.sp .sp-chip.is-on small { color: var(--lapis-t2); }

html.sp .sp-cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
html.sp .sp-cat-layout--full { grid-template-columns: 1fr; }
html.sp .sp-filters { position: sticky; top: calc(var(--top-h) + 64px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); max-height: calc(100vh - var(--top-h) - 84px); display: flex; flex-direction: column; }
html.sp .sp-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
html.sp .sp-filters__head h2 { font-size: 17px; }
html.sp .sp-filters__head .sp-ibtn { display: none; }
html.sp .sp-filters__body { overflow: auto; padding: 0 16px 8px; }
html.sp .sp-filters__foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
html.sp .sp-filters__foot .sp-btn { flex: 1; height: 40px; padding: 0 10px; }
html.sp .sp-filters__foot .sp-btn--primary { display: none; }
html.sp .sp-fgroup { border: 0; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
html.sp .sp-fgroup:last-child { border-bottom: 0; }
html.sp .sp-fgroup legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
html.sp .sp-range { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.sp .sp-range label { position: relative; display: block; }
html.sp .sp-range span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 13px; pointer-events: none; }
html.sp .sp-range input { width: 100%; height: 38px; padding: 0 8px 0 30px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--paper-2); -moz-appearance: textfield; }
html.sp .sp-range input:focus { outline: none; border-color: var(--lapis); background: var(--paper); }
html.sp .sp-check { clear: both; display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; }
html.sp .sp-check input { width: 18px; height: 18px; accent-color: var(--lapis); margin: 0; flex: none; }
html.sp .sp-check span { flex: 1; min-width: 0; }
html.sp .sp-check small { color: var(--faint); }
html.sp .sp-flink { clear: both; display: block; padding: 5px 0; color: var(--ink-2); font-size: 14px; }
html.sp .sp-flink small { color: var(--faint); }

html.sp .sp-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
html.sp .sp-inline-search { position: relative; flex: 1 1 auto; max-width: 420px; display: flex; align-items: center; }
html.sp .sp-inline-search .i { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--faint); }
html.sp .sp-inline-search input { width: 100%; height: 42px; padding: 0 12px 0 38px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--paper); outline: none; }
html.sp .sp-inline-search input:focus { border-color: var(--lapis); box-shadow: 0 0 0 3px rgba(35, 70, 201, .12); }
html.sp .sp-sort { position: relative; display: inline-flex; align-items: center; margin-left: auto; }
html.sp .sp-sort .i { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
html.sp .sp-sort select { height: 42px; padding: 0 34px 0 38px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236A7387' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center no-repeat; -webkit-appearance: none; appearance: none; font-weight: 500; }
html.sp .sp-only-m { display: none; }
html.sp .sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

html.sp .sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
html.sp .sp-grid--wide { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
html.sp .sp-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 28px 0 8px; }
html.sp .sp-more-wrap small { color: var(--muted); }

html.sp .sp-empty { text-align: center; padding: 64px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r-lg); margin: 24px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
html.sp .sp-empty > .i { width: 56px; height: 56px; padding: 14px; border-radius: 16px; background: var(--lapis-t); color: var(--lapis); }
html.sp .sp-empty h1, html.sp .sp-empty h2 { font-size: 22px; }
html.sp .sp-empty p { color: var(--muted); max-width: 46ch; }
html.sp .sp-empty .sp-btn { margin-top: 8px; }
html.sp .sp-empty--inline { padding: 36px 16px; border: 0; background: transparent; }

/* ---------------------------------------------------------------------
   11. Страница товара
   --------------------------------------------------------------------- */
html.sp .sp-pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; margin-top: 8px; align-items: start; }
html.sp .sp-gal { position: relative; display: grid; gap: 12px; position: sticky; top: calc(var(--top-h) + 64px); }
html.sp .sp-gal__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
html.sp .sp-gal__main::-webkit-scrollbar { display: none; }
html.sp .sp-gal__slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 1 / 1; scroll-snap-align: center; overflow: hidden; }
html.sp .sp-gal__slide img, html.sp .sp-gal__slide .sp-ph { position: absolute; left: 28px; top: 28px; width: calc(100% - 56px); height: calc(100% - 56px); }
html.sp .sp-gal__slide img { object-fit: contain; }
html.sp .sp-gal__thumbs { display: flex; gap: 10px; }
html.sp .sp-gal__thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 6px; }
html.sp .sp-gal__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
html.sp .sp-gal__thumbs button.is-on { border-color: var(--lapis); }
html.sp .sp-pd__info h1 { font-size: 30px; line-height: 1.2; }
html.sp .sp-pd__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 18px; color: var(--muted); font-size: 14px; }
html.sp .sp-pd__meta b { color: var(--ink-2); font-weight: 600; }
html.sp .sp-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
html.sp .sp-ok .i { width: 16px; height: 16px; }
html.sp .sp-buybox { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); }
html.sp .sp-pd__go { height: 46px; }
html.sp .sp-perks { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-2); font-size: 14px; }
html.sp .sp-perks li { display: flex; align-items: center; gap: 10px; }
html.sp .sp-perks .i { width: 18px; height: 18px; color: var(--lapis); }
html.sp .sp-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 14px; }
html.sp .sp-note .i { width: 18px; height: 18px; color: var(--lapis); margin-top: 1px; }
html.sp .sp-pd__block { margin-top: 26px; }
html.sp .sp-pd__block h2 { font-size: 19px; margin-bottom: 12px; }
html.sp .sp-specs { margin: 0; display: grid; gap: 0; }
html.sp .sp-specs > div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
html.sp .sp-specs dt { color: var(--muted); }
html.sp .sp-specs dd { margin: 0; font-weight: 500; }
html.sp .sp-pd__more { margin-top: 36px; display: grid; gap: 12px; max-width: 860px; }
html.sp .sp-prose { color: var(--ink-2); line-height: 1.65; overflow-wrap: anywhere; }
html.sp .sp-prose p, html.sp .sp-prose ul, html.sp .sp-prose ol { margin: 0 0 12px; }
html.sp .sp-prose h2 { margin: 18px 0 8px; font-size: 20px; }
html.sp .sp-prose h3 { margin: 12px 0 6px; }
html.sp .sp-prose img { border-radius: 12px; margin: 12px 0; height: auto; }
html.sp .sp-acc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 18px; }
html.sp .sp-acc summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 0; font-weight: 600; cursor: pointer; }
html.sp .sp-acc summary::-webkit-details-marker { display: none; }
html.sp .sp-acc summary .i { color: var(--lapis); }
html.sp .sp-acc__chev { margin-left: auto; color: var(--faint) !important; transition: transform .2s; }
html.sp details[open] > summary .sp-acc__chev { transform: rotate(180deg); }
html.sp .sp-acc .sp-prose { padding-bottom: 16px; }
html.sp .sp-mbar { display: none; }

/* ---------------------------------------------------------------------
   12. Оформление заказа, формы
   --------------------------------------------------------------------- */
html.sp .sp-card-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; }
html.sp .sp-co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
html.sp .sp-co__form { display: grid; gap: 16px; }
html.sp .sp-co__form h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 16px; }
html.sp .sp-stepn { width: 28px; height: 28px; border-radius: 50%; background: var(--lapis); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
html.sp .sp-field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
html.sp .sp-field:last-child { margin-bottom: 0; }
html.sp .sp-field label { font-weight: 500; font-size: 14px; color: var(--ink-2); }
html.sp .sp-field label i { color: var(--red); font-style: normal; }
html.sp .sp-field input, html.sp .sp-field textarea, html.sp .sp-pass input {
    width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper);
    font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; resize: vertical;
}
html.sp .sp-field input:focus, html.sp .sp-field textarea:focus, html.sp .sp-pass input:focus { border-color: var(--lapis); box-shadow: 0 0 0 4px rgba(35, 70, 201, .12); }
html.sp .sp-field input.is-bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196, 54, 44, .1); }
html.sp .sp-field input.is-good { border-color: var(--green); }
html.sp .sp-field__hint { color: var(--muted); font-size: 13px; }
html.sp .sp-field__hint.is-bad { color: var(--red); }
html.sp .sp-field__hint.is-good { color: var(--green); }
html.sp .sp-co__submit { height: 58px; font-size: 17px; }
html.sp .sp-co__legal { color: var(--muted); font-size: 13px; text-align: center; }
html.sp .sp-co__sum { position: sticky; top: calc(var(--top-h) + 64px); }
html.sp .sp-co__sumhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
html.sp .sp-co__sumhead h2 { font-size: 19px; }
html.sp .sp-co__lines { list-style: none; margin: 0 0 14px; padding: 0; max-height: 46vh; overflow: auto; }
html.sp .sp-co__lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
html.sp .sp-co__lines img, html.sp .sp-co__lines .sp-ph { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--paper-2); font-size: 18px; }
html.sp .sp-co__t { font-size: 14px; line-height: 1.3; min-width: 0; }
html.sp .sp-co__t small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
html.sp .sp-co__lines b { font-size: 14.5px; white-space: nowrap; }
html.sp .sp-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; }
html.sp .sp-alert .i { margin-top: 1px; }
html.sp .sp-alert b { display: block; margin-bottom: 2px; }
html.sp .sp-alert--err { background: var(--red-t); color: #8E2119; }
html.sp .sp-alert--ok { background: var(--green-t); color: #0B5E43; }
html.sp .sp-form { display: grid; gap: 4px; }
html.sp .sp-form h2 { font-size: 19px; margin-bottom: 12px; }
html.sp .sp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
html.sp .sp-row2 .sp-field:last-child { margin-bottom: 14px; }
html.sp .sp-pass { position: relative; }
html.sp .sp-pass .sp-ibtn { position: absolute; right: 5px; top: 5px; }

/* заказ принят */
html.sp .sp-done { padding-top: 40px; padding-bottom: 20px; }
html.sp .sp-done__card { max-width: 640px; margin: 0 auto; background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); padding: 36px; text-align: center; box-shadow: var(--sh-2); }
html.sp .sp-done__icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green-t); color: var(--green); margin-bottom: 16px; animation: spPop .5s var(--ease); }
html.sp .sp-done__icon .i { width: 36px; height: 36px; stroke-width: 2.2; }
@keyframes spPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
html.sp .sp-done h1 { font-size: 26px; }
html.sp .sp-done__card > p { color: var(--muted); margin-top: 8px; }
html.sp .sp-done__list { list-style: none; margin: 24px 0 0; padding: 0; text-align: left; border-top: 1px solid var(--line); }
html.sp .sp-done__list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
html.sp .sp-done__q { color: var(--muted); white-space: nowrap; }
html.sp .sp-done__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 0; }
html.sp .sp-done__sum b { font-size: 24px; }
html.sp .sp-done__sum b .sp-cur { color: var(--pyrite-d); }
html.sp .sp-done__addr { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; color: var(--ink-2); }
html.sp .sp-done__acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------------------------------------------------------------------
   13. Кабинет, вход, контакты, инфо
   --------------------------------------------------------------------- */
html.sp .sp-acc-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
html.sp .sp-me { display: grid; gap: 10px; justify-items: start; }
html.sp .sp-me > b { font-size: 19px; }
html.sp .sp-me > span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
html.sp .sp-me > span .i { width: 18px; height: 18px; color: var(--muted); }
html.sp .sp-me .sp-btn { margin-top: 8px; }
html.sp .sp-orders h2 { margin-bottom: 8px; }
html.sp .sp-order { border-bottom: 1px solid var(--line); }
html.sp .sp-order summary { list-style: none; display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 14px; padding: 14px 0; cursor: pointer; }
html.sp .sp-order summary::-webkit-details-marker { display: none; }
html.sp .sp-order__n { font-weight: 700; }
html.sp .sp-order__d { color: var(--muted); font-size: 14px; }
html.sp .sp-order summary .sp-tag { justify-self: start; }
html.sp .sp-order ul { list-style: none; margin: 0 0 12px; padding: 12px 14px; background: var(--paper-2); border-radius: 12px; display: grid; gap: 6px; }
html.sp .sp-order li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; font-size: 14px; }
html.sp .sp-order li small { color: var(--muted); }
html.sp .sp-order__addr { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: -4px 0 14px; }
html.sp .sp-order__addr .i { width: 16px; height: 16px; }
html.sp .sp-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
html.sp .sp-tag--blue { background: var(--lapis-t); color: var(--lapis); }
html.sp .sp-tag--amber { background: var(--amber-t); color: var(--amber); }
html.sp .sp-tag--green { background: var(--green-t); color: var(--green); }
html.sp .sp-tag--red { background: var(--red-t); color: var(--red); }

html.sp .sp-auth { padding-top: 48px; }
html.sp .sp-auth__card { max-width: 440px; margin: 0 auto; text-align: center; padding: 34px; }
html.sp .sp-auth__card .sp-form { text-align: left; margin-top: 22px; }
html.sp .sp-auth__card .sp-alert { text-align: left; margin-top: 16px; }
html.sp .sp-auth__icon { display: inline-flex; width: 60px; height: 60px; border-radius: 18px; align-items: center; justify-content: center; background: var(--lapis-t); color: var(--lapis); margin-bottom: 14px; }
html.sp .sp-auth__icon .i { width: 28px; height: 28px; }
html.sp .sp-auth__card h1 { font-size: 24px; margin-bottom: 8px; }
html.sp .sp-auth__alt { margin-top: 18px; color: var(--muted); font-size: 14px; }

html.sp .sp-contact__grid { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
html.sp .sp-contact__cards { display: grid; gap: 12px; }
html.sp .sp-ccard { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; color: var(--ink); padding: 18px; }
html.sp a.sp-ccard:hover { border-color: var(--lapis); color: var(--ink); }
html.sp .sp-ccard > span { grid-row: span 2; display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--lapis-t); color: var(--lapis); }
html.sp .sp-ccard small { color: var(--muted); }
html.sp .sp-ccard b { font-weight: 600; overflow-wrap: anywhere; }

html.sp .sp-info__grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-top: 8px; }
html.sp .sp-info__nav { display: grid; gap: 2px; position: sticky; top: calc(var(--top-h) + 64px); }
html.sp .sp-info__nav a { padding: 10px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
html.sp .sp-info__nav a:hover { background: var(--paper); color: var(--ink); }
html.sp .sp-info__nav a.is-on { background: var(--lapis-t); color: var(--lapis); }
html.sp .sp-info__body { padding: 32px; }
html.sp .sp-info__body h1 { margin-bottom: 16px; }

/* ---------------------------------------------------------------------
   14. Подвал, нижняя панель, уведомления
   --------------------------------------------------------------------- */
html.sp .sp-foot { margin-top: 64px; background: var(--night); color: var(--night-ink); }
html.sp .sp-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
html.sp .sp-foot .sp-logo { color: #fff; }
html.sp .sp-foot__brand p { margin-top: 14px; color: var(--night-dim); font-size: 14px; line-height: 1.6; max-width: 42ch; }
html.sp .sp-foot h3 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
html.sp .sp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html.sp .sp-foot a { color: var(--night-ink); }
html.sp .sp-foot a:hover { color: #fff; }
html.sp .sp-foot__contacts a, html.sp .sp-foot__contacts span { display: inline-flex; align-items: center; gap: 10px; }
html.sp .sp-foot__contacts .i { width: 18px; height: 18px; color: var(--pyrite); }
html.sp .sp-foot__base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(160, 180, 230, .14); font-size: 13px; color: var(--night-dim); }
html.sp .sp-foot__base a { color: var(--night-dim); }

html.sp .sp-tabs { display: none; }
html.sp .sp-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
html.sp .sp-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 14px; background: var(--night); color: #fff; box-shadow: var(--sh-pop); font-size: 14.5px; animation: spToast .25s var(--ease); }
html.sp .sp-toast .i { width: 20px; height: 20px; color: #7FD8B3; }
html.sp .sp-toast--err .i { color: #FF9C93; }
html.sp .sp-toast button, html.sp .sp-toast a { background: rgba(255, 255, 255, .12); border: 0; color: #fff; padding: 6px 12px; border-radius: 9px; font-weight: 600; white-space: nowrap; }
html.sp .sp-toast button:hover, html.sp .sp-toast a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
@keyframes spToast { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.sp .sp-fly { position: fixed; z-index: 130; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--sh-pop); background: #fff; }
html.sp .sp-fly img { width: 100%; height: 100%; object-fit: contain; }

/* ---------------------------------------------------------------------
   15. Планшет
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
    html.sp .sp-act--phone { display: none; }
    html.sp .sp-rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
    html.sp .sp-foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    html.sp { --gut: 18px; }
    html.sp .sp-sub__info { display: none; }
    html.sp .sp-cat-layout { grid-template-columns: 1fr; }
    html.sp .sp-filters { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 90; max-height: 82vh; border-radius: 22px 22px 0 0; box-shadow: var(--sh-pop); transform: translateY(105%); transition: transform .28s var(--ease); visibility: hidden; }
    html.sp .sp-filters.is-open { transform: none; visibility: visible; }
    html.sp .sp-filters__head .sp-ibtn { display: inline-flex; }
    html.sp .sp-filters__foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    html.sp .sp-filters__foot .sp-btn--primary { display: inline-flex; }
    html.sp .sp-only-m { display: inline-flex; }
    html.sp .sp-pd { grid-template-columns: 1fr; gap: 22px; }
    html.sp .sp-gal { position: relative; top: auto; }
    html.sp .sp-co { grid-template-columns: 1fr; }
    html.sp .sp-co__sum { position: static; order: -1; }
    html.sp .sp-acc-grid, html.sp .sp-contact__grid, html.sp .sp-info__grid { grid-template-columns: 1fr; }
    html.sp .sp-info__nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
    html.sp .sp-info__nav a { white-space: nowrap; }
    html.sp .sp-hero__in { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
    html.sp .sp-hero__facts { grid-template-columns: repeat(3, 1fr); }
    html.sp .sp-hero__facts li { grid-template-columns: 1fr; }
    html.sp .sp-hero__facts .i { grid-row: auto; margin-bottom: 8px; }
    html.sp .sp-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------
   16. Телефон
   --------------------------------------------------------------------- */
@media (max-width: 720px) {
    html.sp { --gut: 16px; --top-h: 60px; scroll-padding-top: 130px; }
    html.sp body { font-size: 15px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    html.sp h1 { font-size: 24px; }
    html.sp .sp-top__bar { flex-wrap: wrap; height: auto; gap: 6px 8px; padding-top: 8px; padding-bottom: 10px; }
    html.sp .sp-burger { display: inline-flex; margin-left: -8px; }
    html.sp .sp-logo { font-size: 17px; flex: 1 1 auto; min-width: 0; }
    html.sp .sp-logo img { height: 34px; }
    html.sp .sp-logo__mark { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
    html.sp .sp-catbtn { display: none; }
    html.sp .sp-acts .sp-act:not(.sp-cartbtn) { display: none; }
    html.sp .sp-cartbtn { height: 42px; padding: 0 12px; }
    html.sp .sp-cartbtn span { display: none; }
    html.sp .sp-count { left: 24px; top: 3px; }
    html.sp .sp-search { order: 5; flex: 1 0 100%; }
    html.sp .sp-search input[type="search"] { height: 44px; padding-right: 14px; font-size: 16px; }
    html.sp .sp-search__go { display: none; }
    html.sp .sp-suggest { max-height: 62vh; border-radius: 14px; }
    html.sp .sp-sub { display: none; }
    html.sp .sp-mega { display: none !important; }
    html.sp .sp-sg { grid-template-columns: 40px 1fr auto; }
    html.sp .sp-sg__add { display: none; }

    html.sp .sp-hero h1 { font-size: 30px; }
    html.sp .sp-hero__lead { font-size: 15.5px; }
    html.sp .sp-hero__in { padding-top: 28px; padding-bottom: 28px; }
    html.sp .sp-hero__cta .sp-btn { flex: 1 1 auto; }
    html.sp .sp-hero__facts { display: none; }
    html.sp .sp-hero__facts li { grid-template-columns: 40px 1fr; padding: 12px 14px; }
    html.sp .sp-hero__facts .i { grid-row: span 2; width: 40px; height: 40px; padding: 10px; margin: 0; }
    html.sp .sp-hero__facts b { font-size: 16px; }
    html.sp .sp-sec { margin-top: 28px; }
    html.sp .sp-sec__head h2 { font-size: 20px; }
    html.sp .sp-rail__nav { display: none; }
    html.sp .sp-rail { grid-auto-columns: 46%; gap: 10px; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 10px; scroll-padding: 0 var(--gut); }
    html.sp .sp-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    html.sp .sp-cat { padding: 10px; }
    html.sp .sp-how { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }

    html.sp .sp-grid, html.sp .sp-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    html.sp .sp-card__img { --pad: 8px; }
    html.sp .sp-card__body { padding: 2px 10px 10px; }
    html.sp .sp-card__title { font-size: 13.5px; }
    html.sp .sp-card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
    html.sp .sp-card .sp-add { width: 100%; }
    html.sp .sp-card .sp-add span { display: inline; }
    html.sp .sp-card .sp-step { width: 100%; justify-content: space-between; }
    html.sp .sp-price b { font-size: 17px; }
    html.sp .sp-toolbar { flex-wrap: wrap; }
    html.sp .sp-inline-search { flex: 1 0 100%; max-width: none; order: -1; }
    html.sp .sp-sort { margin-left: auto; }
    html.sp .sp-crumbs { padding-top: 14px; }
    html.sp .sp-crumbs span { max-width: 26ch; }

    html.sp .sp-pd__info h1 { font-size: 22px; }
    html.sp .sp-gal { margin: 0 calc(-1 * var(--gut)); }
    html.sp .sp-gal__main { border-radius: 0; border-left: 0; border-right: 0; }
    html.sp .sp-gal__thumbs { padding: 0 var(--gut); }
    html.sp .sp-gal__thumbs button { width: 56px; height: 56px; }
    html.sp .sp-price--lg b { font-size: 28px; }
    html.sp .sp-buybox { padding: 16px; }
    html.sp .sp-buybox > .sp-buy { display: none; }
    html.sp .sp-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 55; align-items: center; gap: 12px; padding: 10px var(--gut); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
    html.sp .sp-mbar .sp-price { flex: none; flex-direction: column; gap: 0; }
    html.sp .sp-mbar .sp-price b { font-size: 20px; }
    html.sp .sp-mbar .sp-buy { flex: 1; }
    html.sp .sp-mbar .sp-buy--big .sp-add, html.sp .sp-mbar .sp-buy--big .sp-step { height: 48px; }
    html.sp .sp-mbar .sp-buy--big .sp-step__n::after { content: ""; }
    html.sp body.has-mbar { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }

    html.sp .sp-card-box { padding: 16px; border-radius: 18px; }
    html.sp .sp-row2 { grid-template-columns: 1fr; gap: 0; }
    html.sp .sp-done { padding-top: 20px; }
    html.sp .sp-done__card { padding: 26px 18px; }
    html.sp .sp-done h1 { font-size: 22px; }
    html.sp .sp-order summary { grid-template-columns: auto 1fr auto; gap: 4px 10px; }
    html.sp .sp-order__d { grid-column: 1 / 3; grid-row: 2; }
    html.sp .sp-order summary .sp-tag { grid-column: 2; grid-row: 1; justify-self: end; }
    html.sp .sp-order summary > b { grid-column: 3; grid-row: 2; }
    html.sp .sp-order summary .sp-acc__chev { grid-column: 3; grid-row: 1; justify-self: end; }
    html.sp .sp-info__body { padding: 20px; }
    html.sp .sp-auth { padding-top: 20px; }
    html.sp .sp-auth__card { padding: 24px 18px; }

    html.sp .sp-foot { margin-top: 40px; }
    html.sp .sp-foot__in { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; }
    html.sp .sp-foot__brand, html.sp .sp-foot__in > .sp-foot__col:last-child { grid-column: 1 / -1; }

    html.sp .sp-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
    html.sp .sp-tabs a, html.sp .sp-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; border: 0; background: none; color: var(--muted); font-size: 11.5px; font-weight: 500; }
    html.sp .sp-tabs .i { width: 24px; height: 24px; }
    html.sp .sp-tabs .is-on { color: var(--lapis); }
    html.sp .sp-tabs .sp-count { top: 6px; left: calc(50% + 4px); }
    html.sp .sp-toasts { bottom: calc(80px + env(safe-area-inset-bottom)); }
    html.sp body.has-mbar .sp-toasts { bottom: calc(146px + env(safe-area-inset-bottom)); }
    html.sp .sp-sheet--right { width: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
    html.sp *, html.sp *::before, html.sp *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
    html.sp .sp-top, html.sp .sp-tabs, html.sp .sp-foot, html.sp .sp-mbar { display: none !important; }
}
