/* Заряд: техно-ритейл. Світлий фон, один акцент (електричний синій), Manrope. */
:root {
  --bg: #f3f5f8;
  --card: #fff;
  --ink: #0b1020;
  --ink2: #2f3747;
  --mut: #677184;
  --mut2: #9aa3b2;
  --line: #e2e6ed;
  --line2: #eef1f5;
  --plate: #f1f3f6;
  --imgbg: #f2f4f6;
  --acc: #1a5cff;
  --acc-d: #0f47d9;
  --acc-l: #e9efff;
  --acc-ll: #f4f7ff;
  --sale: #e8283c;
  --sale-l: #fdecee;
  --ok: #0f9d58;
  --ok-l: #e6f6ed;
  --warn: #c27a00;
  --warn-l: #fff4dd;
  --r: 14px;
  --r-s: 10px;
  --sh: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 6px rgba(16, 24, 40, .05);
  --sh-h: 0 6px 24px rgba(16, 24, 40, .1);
  --sh-l: 0 16px 48px rgba(16, 24, 40, .18);
  --f: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hdr: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: 'tnum' 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: 26px; font-weight: 800; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; }
p { margin: 0 0 10px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 1040px; }
.muted { color: var(--mut); }
.small { font-size: 13px; }
.center { text-align: center; }
.link { color: var(--acc); font-weight: 600; }
.link:hover { text-decoration: underline; }
.lnk { color: var(--acc); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.lnk svg { width: 17px; height: 17px; }
.lnk:hover { color: var(--acc-d); }
.hide-m { display: none; }
#app { min-height: 60vh; padding-bottom: 32px; }
#app.fadein { animation: fade .25s ease; }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s, box-shadow .15s, color .15s, border-color .15s; border: 1.5px solid transparent; }
.btn svg { width: 19px; height: 19px; }
.btn-p { background: var(--acc); color: #fff; }
.btn-p:hover { background: var(--acc-d); }
.btn-o { background: #fff; border-color: var(--acc); color: var(--acc); }
.btn-o:hover { background: var(--acc-ll); }
.btn-l { background: var(--acc-l); color: var(--acc); }
.btn-l:hover { background: #dbe5ff; }
.btn-g { background: var(--plate); color: var(--ink); }
.btn-g:hover { background: #e6e9ee; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-w { width: 100%; }
.btn:disabled { opacity: .5; }

/* ---------- top bar & header ---------- */
.topbar { display: none; background: var(--ink); color: #c9cfdb; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 34px; }
.topbar a:hover { color: #fff; }
.topbar .tb-r { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; }
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 10px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.03em; flex: none; }
.logo-m { width: 34px; height: 34px; stroke: none; }
.logo-m .lb { fill: var(--acc); }
.logo-m .ln { fill: var(--acc); }
.logo-m .lz { fill: #fff; }
.logo-t { font-size: 22px; line-height: 1; }
.logo-t small { display: none; }
.btn-cat { display: none; }
.search { flex: 1; position: relative; min-width: 0; display: none; }
.search input { width: 100%; height: 44px; padding: 0 44px 0 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--plate); outline: none; font-size: 15px; transition: border-color .15s, background .15s; }
.search input:focus { border-color: var(--acc); background: #fff; }
.search input::-webkit-search-cancel-button { display: none; }
.search-i { position: absolute; left: 14px; top: 12px; color: var(--mut); }
.search-x { position: absolute; right: 8px; top: 7px; width: 30px; height: 30px; border-radius: 8px; display: none; align-items: center; justify-content: center; color: var(--mut); }
.hdr-phone { display: none; }
.hdr-ic { margin-left: auto; display: flex; gap: 2px; }
.ico-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); flex-direction: column; font-size: 11px; font-weight: 600; }
.ico-btn:hover { background: var(--plate); color: var(--ink); }
.ico-btn svg { width: 23px; height: 23px; }
.ico-btn span { display: none; }
.ico-btn.hide-m { display: none; }
.cnt { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; display: inline-flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid #fff; }
.cnt.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.cat-nav { display: none; }
body.searching .search { display: block; position: fixed; inset: 0 0 auto 0; z-index: 60; background: #fff; padding: 10px 12px; height: 64px; border-bottom: 1px solid var(--line); }
body.searching .search-i { left: 26px; top: 22px; }
body.searching .search-x { display: inline-flex; right: 18px; top: 17px; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-l); padding: 8px; z-index: 61; max-height: min(70vh, 620px); overflow-y: auto; }
body.searching .sugg { position: fixed; left: 0; right: 0; top: 64px; border-radius: 0; border: 0; max-height: calc(100vh - 64px); padding: 8px 12px 24px; box-shadow: none; }
.s-h { font-size: 12px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; padding: 8px 8px 4px; }
.s-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.sugg a[data-s]:not(.chip):not(.s-all) { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; }
.sugg a[data-s]:not(.chip):hover, .sugg a.on { background: var(--plate); }
.sugg img { width: 48px; height: 48px; border-radius: 8px; background: var(--imgbg); object-fit: contain; flex: none; }
.s-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-t span { font-weight: 600; font-size: 14px; line-height: 1.3; }
.s-t small { color: var(--mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg .price { font-weight: 800; font-size: 14px; white-space: nowrap; }
.sugg .price small { font-weight: 500; color: var(--mut); }
.sugg mark { background: none; color: var(--acc); font-weight: 800; }
.s-all { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 11px; margin-top: 4px; border-radius: 10px; background: var(--acc-l); color: var(--acc); font-weight: 700; font-size: 14px; }
.s-all svg { width: 17px; height: 17px; }
.s-empty { padding: 14px 10px; color: var(--mut); font-size: 14px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-l); z-index: 45; }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 28px; padding-top: 24px; padding-bottom: 28px; }
.mg { display: flex; flex-direction: column; gap: 6px; }
.mg a { color: var(--ink2); font-size: 14px; }
.mg a:hover { color: var(--acc); }
.mg .mg-h { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.mg .mg-h svg { color: var(--acc); }
.mg .mg-h em { font-style: normal; color: var(--mut2); font-weight: 600; font-size: 13px; }

/* ---------- tabbar (mobile) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; font-weight: 600; color: var(--mut); }
.tabbar a svg { width: 23px; height: 23px; }
.tabbar a.on { color: var(--acc); }
.tabbar .cnt { top: 3px; right: calc(50% - 22px); }
body { padding-bottom: 64px; }
body.no-tab .tabbar { display: none; }
body.no-tab { padding-bottom: 0; }
body.bare .hdr, body.bare .ftr, body.bare .tabbar, body.bare .topbar { display: none; }

/* ---------- common blocks ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); padding: 14px 0 6px; }
.crumbs a { display: inline-flex; align-items: center; gap: 2px; }
.crumbs a:hover { color: var(--acc); }
.crumbs svg { width: 16px; height: 16px; }
.cat-hd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 14px; }
.sec { margin-top: 32px; }
.sec-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-r { display: flex; align-items: center; gap: 14px; }
.row-nav { display: none; gap: 6px; }
.sec-r.small { display: none; }
.row-nav button { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.row-nav button:hover { border-color: var(--acc); color: var(--acc); }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink2); transition: border-color .15s, background .15s, color .15s; }
.chip svg { width: 17px; height: 17px; color: var(--mut); }
.chip em { font-style: normal; font-weight: 600; color: var(--mut2); font-size: 12px; }
.chip:hover { border-color: var(--acc); color: var(--acc); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on svg, .chip.on em { color: rgba(255, 255, 255, .7); }
.chip-x { background: var(--acc-l); border-color: transparent; color: var(--acc); }
.chip-x svg { width: 15px; height: 15px; color: var(--acc); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .01em; color: #fff; }
.b-sale { background: var(--sale); }
.b-hit { background: var(--ink); }
.b-new { background: var(--acc); }
.badges { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.price { font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.price.sale { color: var(--sale); }
.old { color: var(--mut2); text-decoration: line-through; font-size: 13px; font-weight: 600; white-space: nowrap; }
.stars { display: inline-flex; gap: 1px; color: #ffb21a; }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.stars svg.off { color: #d9dde4; }
.stk { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.stk::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-in { color: var(--ok); }
.st-low { color: var(--warn); }
.st-ord { color: var(--mut); }
.empty { text-align: center; padding: 48px 16px; max-width: 520px; margin: 0 auto; }
.empty.sm { padding: 28px 16px; }
.empty-i { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--acc-l); color: var(--acc); display: flex; align-items: center; justify-content: center; }
.empty-i svg { width: 28px; height: 28px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--mut); }
.empty-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.box { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--sh); }
.box h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.box h3 svg { color: var(--acc); }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pc { position: relative; background: #fff; border-radius: var(--r); display: flex; flex-direction: column; min-width: 0; box-shadow: var(--sh); transition: box-shadow .2s; }
.pc:hover { box-shadow: var(--sh-h); }
.pc-img { position: relative; display: block; margin: 6px 6px 0; border-radius: 10px; background: var(--imgbg); aspect-ratio: 1; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pc:hover .pc-img img { transform: scale(1.03); }
.pc-act { position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.ib { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; justify-content: center; color: var(--mut); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); transition: color .15s, background .15s; }
.ib svg { width: 18px; height: 18px; }
.ib:hover { color: var(--acc); }
.ib.fav.on { color: var(--sale); }
.ib.fav.on svg { fill: currentColor; }
.ib.cmpb.on { color: #fff; background: var(--acc); }
.pc-b { padding: 8px 10px 10px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dots { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; min-height: 14px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--acc); }
.dots small { font-size: 11px; color: var(--mut); font-weight: 600; }
.pc-t { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-t:hover { color: var(--acc); }
.pc-s { font-size: 12px; color: var(--mut); margin-top: 3px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-m { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.rate { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; }
.rate svg { width: 14px; height: 14px; fill: #ffb21a; stroke: none; }
.rate small { color: var(--mut2); font-weight: 600; }
.pc-f { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.pc-pr { display: flex; flex-direction: column; min-width: 0; }
.pc-pr .price { font-size: 17px; line-height: 1.15; }
.pc-pr .price small { font-size: 12px; font-weight: 600; color: var(--mut); }
.pc-pr .price.sale small { color: var(--sale); }
.pc-mo { font-size: 11px; color: var(--mut); font-weight: 600; margin-top: 2px; white-space: nowrap; }
.add { width: 40px; height: 40px; border-radius: 11px; background: var(--acc); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .15s; }
.add:hover { background: var(--acc-d); }
.add svg { width: 21px; height: 21px; }

/* ---------- home ---------- */
.home { padding-top: 12px; }
.hero { position: relative; }
.hero-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); scrollbar-width: none; background: var(--ink); }
.hero-main::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: start; display: block; aspect-ratio: 4 / 4.2; overflow: hidden; color: #fff; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 24, 0) 30%, rgba(8, 12, 24, .82) 100%); }
.slide-t { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.slide-t em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--acc); padding: 4px 9px; border-radius: 6px; }
.slide-t b { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.slide-t span { font-size: 15px; color: rgba(255, 255, 255, .86); max-width: 420px; }
.slide-t .btn { margin-top: 6px; height: 42px; font-style: normal; }
.slide-t .btn svg { width: 17px; height: 17px; }
.hero-dots { position: absolute; right: 16px; top: 14px; display: flex; gap: 6px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .5); transition: width .2s, background .2s; }
.hero-dots button.on { width: 22px; background: #fff; }
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 8px; overflow-x: auto; margin: 14px -16px 0; padding: 0 16px 4px; scrollbar-width: none; scroll-padding: 0 16px; scroll-snap-type: x mandatory; }
.cats::-webkit-scrollbar { display: none; }
.cat { background: #fff; border-radius: var(--r); padding: 8px 8px 10px; text-align: center; box-shadow: var(--sh); scroll-snap-align: start; transition: box-shadow .2s; }
.cat:hover { box-shadow: var(--sh-h); }
.cat-img { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--imgbg); overflow: hidden; margin-bottom: 7px; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; }
.cat b { display: block; font-size: 13px; line-height: 1.2; }
.cat small { display: block; color: var(--mut); font-size: 11px; margin-top: 2px; }
.perks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.perk { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); padding: 12px 14px; box-shadow: var(--sh); }
.perk:hover { box-shadow: var(--sh-h); }
.perk-i { width: 42px; height: 42px; border-radius: 12px; background: var(--acc-l); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.perk b { display: block; font-size: 14px; }
.perk small { display: block; font-size: 12px; color: var(--mut); line-height: 1.35; }
.bp-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.bp { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); padding: 10px 12px; box-shadow: var(--sh); }
.bp:hover { box-shadow: var(--sh-h); }
.bp-im { display: flex; align-items: center; gap: 2px; flex: none; }
.bp-im img { width: 56px; height: 56px; border-radius: 10px; background: var(--imgbg); object-fit: contain; }
.bp-im i { color: var(--mut2); display: inline-flex; }
.bp-im i svg { width: 15px; height: 15px; }
.bp-t { flex: 1; min-width: 0; }
.bp-t b { display: block; font-size: 14px; line-height: 1.3; }
.bp-t small { display: block; color: var(--mut); font-size: 12px; line-height: 1.35; }
.bp-off { font-weight: 800; color: var(--sale); background: var(--sale-l); border-radius: 8px; padding: 4px 8px; font-size: 13px; white-space: nowrap; }
.promo2 { display: grid; gap: 10px; }
.pr2 { position: relative; display: flex; align-items: stretch; border-radius: var(--r); overflow: hidden; min-height: 210px; }
.pr2 > span { position: relative; z-index: 2; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 64%; }
.pr2 em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pr2 b { font-size: 21px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.pr2 small { font-size: 13px; line-height: 1.4; }
.pr2 .btn { margin-top: auto; height: 40px; font-style: normal; }
.pr2 .btn svg { width: 16px; height: 16px; }
.pr2 img { position: absolute; right: -6%; bottom: -4%; width: 50%; height: auto; object-fit: contain; }
.pr-ti { background: var(--ink); color: #fff; }
.pr-ti em { color: #8fb0ff; }
.pr-ti small { color: rgba(255, 255, 255, .78); }
.pr-ti img { right: 0; bottom: 0; top: 0; height: 100%; width: 46%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.pr-parts { background: var(--acc-l); }
.pr-parts em { color: var(--acc); }
.pr-parts small { color: var(--ink2); }
.pr-parts img { mix-blend-mode: multiply; }
.consult { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; display: grid; }
.consult > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.consult-b { padding: 20px; }
.consult-b h2 { margin-bottom: 8px; }
.consult-b > p { color: var(--ink2); }
.stores { display: grid; gap: 10px; margin: 14px 0 18px; }
.store { display: flex; gap: 10px; align-items: flex-start; }
.store svg { color: var(--acc); margin-top: 2px; }
.store b { display: block; font-size: 14px; }
.store small { display: block; font-size: 13px; color: var(--mut); line-height: 1.4; }

/* ---------- catalog ---------- */
.cat-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 2px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-layout { display: block; }
.filters { display: none; }
.cat-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.btn-f { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.btn-f i { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: var(--acc); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.sel { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mut); }
.sel select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 12px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; }
.sel > svg { position: absolute; right: 10px; top: 10px; pointer-events: none; width: 18px; height: 18px; color: var(--mut); }
.active-f { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; align-items: center; }
.active-f .chip { height: 32px; padding: 0 10px 0 12px; font-size: 13px; }
.reset { font-size: 13px; color: var(--mut); font-weight: 600; text-decoration: underline; padding: 0 6px; }
.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line2); }
.fgroup:first-child { padding-top: 4px; }
.fgroup h4 { font-size: 14px; margin-bottom: 8px; }
.fvals { display: flex; flex-direction: column; gap: 1px; }
.fgroup.long:not(.all) .fvals > :nth-child(n+8) { display: none; }
.more-f { color: var(--acc); font-size: 13px; font-weight: 700; margin-top: 6px; }
.chk { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.cbx { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c8ced8; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .12s, border-color .12s; }
.cbx svg { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.chk input:checked + .cbx { background: var(--acc); border-color: var(--acc); }
.chk input:checked + .cbx svg { opacity: 1; }
.chk input:focus-visible + .cbx { box-shadow: 0 0 0 3px var(--acc-l); }
.chk-t { flex: 1; }
.chk em, .swatch em { font-style: normal; color: var(--mut2); font-size: 12px; font-weight: 600; }
.chk.dis { opacity: .4; cursor: default; }
.chk:not(.dis):hover .cbx { border-color: var(--acc); }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.swatch { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-align: left; }
.swatch i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.swatch em { margin-left: auto; }
.swatch.on { border-color: var(--acc); background: var(--acc-ll); box-shadow: inset 0 0 0 1px var(--acc); }
.swatch.dis { opacity: .4; }
.pr-in { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pr-in label { flex: 1; position: relative; min-width: 0; }
.pr-in small { position: absolute; left: 10px; top: 10px; font-size: 12px; color: var(--mut); }
.pr-in input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 8px 0 30px; font-weight: 700; font-size: 14px; outline: none; -moz-appearance: textfield; }
.pr-in input::-webkit-outer-spin-button, .pr-in input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pr-in input:focus { border-color: var(--acc); }
.range { position: relative; height: 24px; margin: 0 9px; }
.range i { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--line) var(--a), var(--acc) var(--a), var(--acc) var(--b), var(--line) var(--b)); }
.range input { position: absolute; left: -9px; width: calc(100% + 18px); top: 0; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); pointer-events: auto; cursor: grab; }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); pointer-events: auto; cursor: grab; }
.range input::-webkit-slider-runnable-track { background: none; }
.range input::-moz-range-track { background: none; }
.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet-bg { position: absolute; inset: 0; background: rgba(8, 12, 24, .45); animation: fade .2s; }
.sheet-p { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; background: #fff; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: up .25s ease; }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.sheet-b { overflow-y: auto; padding: 0 16px 10px; flex: 1; overscroll-behavior: contain; }
.sheet-f { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.x { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--plate); color: var(--ink2); flex: none; }
.x:hover { background: #e6e9ee; }

/* ---------- compare bar ---------- */
.cmpbar { position: fixed; left: 8px; right: 8px; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 34; background: var(--ink); color: #fff; border-radius: 14px; padding: 8px 8px 8px 10px; display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-l); animation: up .25s ease; }
body.no-tab .cmpbar { bottom: calc(10px + env(safe-area-inset-bottom)); }
body.has-sticky .cmpbar { display: none; }
.cb-imgs { display: flex; }
.cb-imgs img { width: 34px; height: 34px; border-radius: 8px; background: #fff; object-fit: contain; border: 2px solid var(--ink); margin-left: -8px; }
.cb-imgs img:first-child { margin-left: 0; }
.cb-t { flex: 1; min-width: 0; line-height: 1.25; }
.cb-t b { display: block; font-size: 14px; }
.cb-t small { color: #aab3c5; font-size: 12px; }
.cb-x { width: 32px; height: 32px; border-radius: 50%; color: #aab3c5; display: inline-flex; align-items: center; justify-content: center; }
.cb-x:hover { color: #fff; }

/* ---------- product page ---------- */
.pp { display: grid; gap: 16px; }
.gal { position: relative; background: #fff; border-radius: var(--r); padding: 8px; box-shadow: var(--sh); align-self: start; }
.gal-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 10px; background: var(--imgbg); scrollbar-width: none; }
.gal-main::-webkit-scrollbar { display: none; }
.gal-main figure { margin: 0; scroll-snap-align: start; aspect-ratio: 1; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal .badges { left: 18px; top: 18px; }
.gal-thumbs { display: none; }
.gal-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 4px; }
.gal-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d4d9e1; transition: width .2s; }
.gal-dots i.on { width: 18px; background: var(--acc); }
.pp-info h1 { font-size: 22px; line-height: 1.25; }
.pp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 14px; font-size: 13px; }
.pp-meta .rate { font-size: 13px; gap: 6px; }
.pp-meta .rate span { color: var(--acc); font-weight: 600; }
.pp-ib { margin-left: auto; display: flex; gap: 6px; }
.pp-ib .ib { width: 38px; height: 38px; background: var(--plate); box-shadow: none; }
.pp-grid { display: grid; gap: 14px; }
.opt { margin-bottom: 16px; }
.opt-l { font-size: 14px; color: var(--mut); margin-bottom: 8px; }
.opt-l b { color: var(--ink); }
.cols { display: flex; flex-wrap: wrap; gap: 6px; }
.col { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 70px; padding: 6px 3px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s; }
.col img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: var(--imgbg); }
.col i { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); margin: 7px 0; }
.col small { font-size: 11px; line-height: 1.2; text-align: center; color: var(--ink2); font-weight: 600; }
.col:hover { border-color: #b9c6e8; }
.col.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.var { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 11px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .15s; }
.var b { font-size: 15px; }
.var span { font-size: 13px; color: var(--ink2); font-weight: 600; }
.var s { font-size: 11px; color: var(--mut2); }
.var:hover { border-color: #b9c6e8; }
.var.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.key-sp { background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh); }
.key-sp h4 { margin-bottom: 6px; }
.key-sp table, .spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.key-sp th, .key-sp td { padding: 5px 0; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); }
.key-sp th { color: var(--mut); font-weight: 500; width: 46%; padding-right: 10px; }
.key-sp td { font-weight: 600; }
.key-sp .link { display: inline-block; margin-top: 8px; font-size: 14px; }
.buybox { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); align-self: start; }
.stock-l { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.stock-l .stk { font-size: 14px; }
.stock-l small { color: var(--mut); font-size: 13px; }
.pp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; }
.pp-price .price { font-size: 32px; order: 3; width: 100%; line-height: 1.1; }
.pp-price .old { font-size: 15px; }
.save { font-size: 13px; font-weight: 800; color: var(--sale); background: var(--sale-l); border-radius: 6px; padding: 2px 7px; }
.buy { display: grid; gap: 8px; }
.btn-buy { height: 52px; font-size: 17px; }
.buy-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.pp-sec { margin-top: 14px; }
.pp-sec:empty { display: none; }
.parts { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: linear-gradient(180deg, var(--acc-ll), #fff 60%); }
.parts-hd { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.parts-hd b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.parts-hd b svg { color: var(--acc); width: 18px; height: 18px; }
.parts-hd small { color: var(--ok); font-weight: 700; font-size: 12px; }
.banks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.bank { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; text-align: left; min-width: 0; }
.bank span { min-width: 0; line-height: 1.2; }
.bank b { display: block; font-size: 13px; }
.bank small { display: block; font-size: 11px; color: var(--mut); line-height: 1.2; }
.bank.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.bk { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; flex: none; }
.bk.lg { width: 44px; height: 44px; border-radius: 12px; font-size: 20px; }
.bk-pb { background: #5aa832; }
.bk-mono { background: #111; }
.terms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 12px; }
.term { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; line-height: 1.15; }
.term b { font-size: 16px; }
.term small { font-size: 11px; color: var(--mut); font-weight: 600; }
.term.on { border-color: var(--acc); background: var(--acc); color: #fff; }
.term.on small { color: rgba(255, 255, 255, .8); }
.parts-res { display: flex; flex-direction: column; gap: 8px; }
.pmo { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pr-kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 13px; }
.pr-kv span { color: var(--mut); }
.pr-kv b { text-align: right; font-weight: 700; }
.note { font-size: 12px; color: var(--mut); margin: 10px 0 0; line-height: 1.4; }
.ti-teaser { border-radius: 14px; background: var(--ink); color: #fff; padding: 12px 12px 12px 14px; }
.ti-t { display: flex; align-items: center; gap: 12px; }
.ti-t > svg { color: #8fb0ff; width: 24px; height: 24px; }
.ti-t span { flex: 1; min-width: 0; line-height: 1.3; }
.ti-t b { display: block; font-size: 14px; }
.ti-t small { display: block; color: #b6bfd0; font-size: 12px; }
.ti-teaser .btn-o { background: transparent; border-color: #fff; color: #fff; }
.dlv { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.dlv h4 { margin-bottom: 10px; }
.dl { display: flex; gap: 12px; padding: 8px 0; }
.dl + .dl { border-top: 1px dashed var(--line); }
.dl-i { width: 36px; height: 36px; border-radius: 10px; background: var(--plate); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--ink2); }
.dl b { display: block; font-size: 14px; }
.dl .muted { font-size: 13px; line-height: 1.4; display: block; }
.np, .dl-i.np { font-style: normal; font-weight: 800; font-size: 12px; color: #fff; background: #da291c; letter-spacing: -.02em; }
i.np { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 20px; border-radius: 5px; margin-right: 8px; vertical-align: -4px; font-size: 11px; }
.stores-l { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; }
.stores-l li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.stores-l li small { color: var(--mut); text-align: right; }
.stores-l li.ok small { color: var(--ok); font-weight: 700; }
.pp-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13px; color: var(--ink2); }
.pp-trust span { display: inline-flex; align-items: center; gap: 6px; }
.pp-trust svg { width: 17px; height: 17px; color: var(--ok); }
.bnd-row { display: grid; gap: 10px; }
.bnd { background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--sh); display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; }
.bnd-im { display: flex; align-items: center; gap: 2px; grid-row: span 2; }
.bnd-im img { width: 64px; height: 64px; border-radius: 10px; background: var(--imgbg); object-fit: contain; }
.bnd-im i { color: var(--mut2); display: inline-flex; }
.bnd-im i svg { width: 15px; height: 15px; }
.bnd-t { font-size: 13px; line-height: 1.35; font-weight: 600; display: block; }
.bnd-t a:hover { color: var(--acc); }
.bnd-p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.bnd-p b { font-size: 16px; }
.bnd-p em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--sale); }
.bnd .btn { grid-column: 2; justify-self: start; }
.pp-more { margin-top: 28px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 6px 16px 18px; scroll-margin-top: 80px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 -16px 16px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; padding: 14px 10px; font-weight: 700; font-size: 15px; color: var(--mut); white-space: nowrap; }
.tabs button em { font-style: normal; font-size: 12px; color: var(--mut2); }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 2px; background: var(--acc); }
.spec th, .spec td { padding: 9px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line2); }
.spec th { color: var(--mut); font-weight: 500; width: 45%; padding-right: 12px; }
.spec td { font-weight: 600; }
.tab-pane h4 { margin: 16px 0 6px; }
.rev-note { display: inline-block; font-size: 12px; font-weight: 700; color: var(--mut); background: var(--plate); border-radius: 6px; padding: 3px 8px; margin-bottom: 10px; }
.rev-sum { margin-bottom: 8px; }
.rev-big { display: flex; align-items: center; gap: 12px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.rev-big small { font-size: 13px; font-weight: 500; color: var(--mut); line-height: 1.5; letter-spacing: 0; }
.rev { padding: 14px 0; border-top: 1px solid var(--line2); }
.rev-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; }
.rev-h small { color: var(--mut2); font-size: 12px; margin-left: auto; }
.rev p { margin: 0 0 4px; color: var(--ink2); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .p { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.sticky-buy small { font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .price { font-size: 19px; }
.sticky-buy .sb-mo { color: var(--acc); font-weight: 700; }
.sticky-buy .btn { flex: none; }

/* ---------- compare ---------- */
.cmp-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cmp { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: clip; }
.cr { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border-bottom: 1px solid var(--line2); }
.cl { grid-column: 1 / -1; padding: 10px 12px 2px; font-size: 12px; color: var(--mut); font-weight: 600; }
.cv { padding: 2px 12px 10px; font-size: 14px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.cv + .cv { border-left: 1px solid var(--line2); }
.cv.best { color: var(--ok); }
.cv.best::after { content: ' ✓'; }
.cr.same .cv { color: var(--mut); font-weight: 500; }
.cr.ch { position: sticky; top: 60px; z-index: 5; background: #fff; box-shadow: 0 6px 12px -10px rgba(0, 0, 0, .3); }
.cr.ch .cl { padding: 0; }
.cr.ch .cl:empty { display: none; }
.cmp-add { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; color: var(--acc); font-weight: 700; font-size: 14px; border-bottom: 1px dashed var(--line); }
.cp { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; }
.cp a { display: flex; flex-direction: column; gap: 4px; }
.cp img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; background: var(--imgbg); border-radius: 10px; }
.cp a span { font-size: 13px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cp .price { font-size: 15px; }
.cp .btn { margin-top: auto; }
.cp .btn { padding: 0 8px; }
.cp .btn span { display: none; }
.cmp-x { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--plate); display: inline-flex; align-items: center; justify-content: center; color: var(--mut); z-index: 2; }
.cmp-x svg { width: 15px; height: 15px; }
.cmp-x:hover { color: var(--sale); }
.cmp-hint { margin-top: 16px; }
.tgl { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.sw { width: 42px; height: 24px; border-radius: 12px; background: #cfd5df; position: relative; flex: none; transition: background .15s; margin-top: 1px; }
.sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.tgl input:checked + .sw { background: var(--acc); }
.tgl input:checked + .sw::after { transform: translateX(18px); }
.tgl input:focus-visible + .sw { box-shadow: 0 0 0 3px var(--acc-l); }
.tgl-t { display: flex; flex-direction: column; line-height: 1.35; }
.tgl-t b { font-size: 14px; font-weight: 700; }
.tgl-t small { font-size: 13px; color: var(--mut); }
.tgls { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }

/* ---------- trade-in ---------- */
.ti { display: flex; flex-direction: column; gap: 4px; }
.ti-step { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ti-step.off h4 { color: var(--mut2); }
.ti-step h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.n { width: 24px; height: 24px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ti-step.off .n { background: #c7cdd7; }
.ti-models { display: flex; flex-wrap: wrap; gap: 6px; }
.ti-models .chip, .ti .chips .chip { height: 34px; font-size: 13px; }
.ti-cond { display: grid; gap: 6px; }
.cond { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.cond b { display: block; font-size: 14px; }
.cond small { display: block; color: var(--mut); font-size: 12px; line-height: 1.35; }
.cond.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); background: var(--acc-ll); }
.cond:disabled { opacity: .45; }
.ti-res { margin-top: 10px; padding: 14px; border-radius: 14px; background: var(--plate); }
.ti-res p { margin: 0; }
.ti-res.on { background: var(--acc-ll); border: 1px solid #cddbff; }
.ti-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.ti-sum > div b { white-space: nowrap; }
.ti-sum .total { border-top: 1px solid #cddbff; margin-top: 6px; padding-top: 8px; font-size: 16px; }
.ti-sum .total b { color: var(--acc); font-size: 20px; }
.ti-res .btn { margin-top: 12px; }
.ti-page { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); }
.ti-how { display: grid; gap: 10px; margin-bottom: 14px; }
.ti-how > div { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; background: var(--plate); border-radius: 12px; padding: 12px; }
.ti-how svg { grid-row: span 2; color: var(--acc); width: 24px; height: 24px; }
.ti-how b { font-size: 14px; }
.ti-how small { color: var(--mut); font-size: 13px; line-height: 1.35; }
.ti-cur { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--ok-l); color: var(--ok); font-size: 14px; margin-bottom: 10px; }
.ti-cur span { color: var(--ink); flex: 1; }

/* ---------- cart ---------- */
.ci { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: #fff; border-radius: var(--r); padding: 12px 40px 12px 12px; box-shadow: var(--sh); margin-bottom: 8px; }
.ci-img img { width: 76px; height: 76px; border-radius: 10px; background: var(--imgbg); object-fit: contain; }
.ci-b { min-width: 0; }
.ci-t { font-weight: 700; font-size: 14px; line-height: 1.3; display: block; }
.ci-t:hover { color: var(--acc); }
.ci-v { font-size: 13px; color: var(--mut); margin-top: 2px; }
.ci-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ci-p { display: flex; flex-direction: column; align-items: flex-end; }
.ci-p .price { font-size: 17px; }
.ci-del { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; color: var(--mut2); display: inline-flex; align-items: center; justify-content: center; }
.ci-del:hover { background: var(--plate); color: var(--sale); }
.ci-del svg { width: 17px; height: 17px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; height: 36px; }
.qty button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); }
.qty button:disabled { color: var(--mut2); }
.qty button svg { width: 16px; height: 16px; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.svcs { display: grid; gap: 6px; margin-top: 10px; }
.svc { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; border: 1px dashed #c9d0db; font-size: 13px; text-align: left; transition: border-color .15s, background .15s; }
.svc i { width: 20px; height: 20px; border-radius: 6px; background: var(--acc-l); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.svc i svg { width: 14px; height: 14px; stroke-width: 2.6; }
.svc span { flex: 1; min-width: 0; font-weight: 600; color: var(--ink2); }
.svc b { white-space: nowrap; font-size: 13px; }
.svc:hover { border-color: var(--acc); }
.svc.on { border-style: solid; border-color: var(--acc); background: var(--acc-ll); }
.svc.on i { background: var(--acc); color: #fff; }
.ci-sv { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.ci-sv span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ok); font-weight: 600; }
.ci-sv svg { width: 14px; height: 14px; }
.cbox { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--sh); margin-bottom: 8px; }
.cbox h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 16px; }
.cbox h3 svg { color: var(--acc); }
.bnd-list { display: grid; gap: 8px; }
.bo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 8px; border-radius: 12px; border: 1px solid var(--line2); }
.bo.on { background: var(--ok-l); border-color: transparent; }
.bo-im { display: flex; align-items: center; gap: 1px; grid-row: span 2; }
.bo-im img { width: 42px; height: 42px; border-radius: 8px; background: var(--imgbg); object-fit: contain; }
.bo-im i { color: var(--mut2); display: inline-flex; }
.bo-im i svg { width: 12px; height: 12px; }
.bo-t { min-width: 0; line-height: 1.25; }
.bo-t b { display: block; font-size: 13px; }
.bo-t small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.bo-p s { font-size: 12px; color: var(--mut2); }
.bo-p b { font-size: 14px; color: var(--sale); }
.bo .btn, .bo-ok { grid-column: 2 / 4; justify-self: start; }
.bo-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ok); }
.bo-ok svg { width: 16px; height: 16px; }
.ti-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; position: relative; }
.ti-box > svg { color: var(--acc); width: 24px; height: 24px; }
.ti-box > span { flex: 1; min-width: 160px; line-height: 1.3; }
.ti-box b { display: block; font-size: 14px; }
.ti-box small { display: block; color: var(--mut); font-size: 12px; }
.ti-box.on { border: 1px solid #cddbff; background: var(--acc-ll); padding-right: 44px; }
.ti-box .ci-del { top: 50%; transform: translateY(-50%); }
.ti-amt { font-weight: 800; color: var(--ok); white-space: nowrap; }
.sum { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sum > div { display: flex; justify-content: space-between; gap: 10px; }
.sum > div span:last-child { white-space: nowrap; font-weight: 600; }
.sum .disc span:last-child { color: var(--sale); }
.sum .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 16px; font-weight: 800; }
.sum .total span:last-child { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.sum-parts { background: var(--acc-l); color: var(--acc); border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 700; }
.cart-side { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 12px; align-self: start; }
.side-parts { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink2); background: var(--acc-ll); padding: 8px 10px; border-radius: 10px; }
.side-parts svg { color: var(--acc); width: 18px; height: 18px; }
.cart-layout { display: grid; gap: 12px; }
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8, 12, 24, .45); animation: fade .2s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: .5; } }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.drawer-body .sum { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--sh); }
.added { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; font-size: 14px; background: var(--ok-l); border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; }
.cart-foot { position: sticky; bottom: -12px; background: var(--bg); padding: 12px 0 4px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.cart-link { font-size: 14px; color: var(--acc); font-weight: 600; padding: 6px; }

/* ---------- checkout ---------- */
.co-layout { display: grid; gap: 14px; }
.prefill { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; background: var(--acc-l); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 10px; }
.prefill button { font-weight: 800; color: var(--acc); text-decoration: underline; }
.form-sec { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); margin-bottom: 10px; }
.form-sec > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fld { position: relative; margin-bottom: 12px; min-width: 0; }
.fld label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin-bottom: 5px; }
.fld input, .fld textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.fld textarea { height: 80px; padding: 10px 14px; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-l); }
.fld input:disabled { background: var(--plate); }
.fld .e { display: none; font-size: 12px; color: var(--sale); margin-top: 4px; font-weight: 600; }
.fld.err input, .fld.err textarea { border-color: var(--sale); }
.fld.err .e { display: block; }
.fld .ok-i { display: none; position: absolute; right: 12px; top: 37px; color: var(--ok); }
.fld.ok .ok-i { display: block; }
.fld-row { display: grid; gap: 0 12px; }
.ac { position: absolute; left: 0; right: 0; top: calc(100% - 2px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-l); z-index: 20; padding: 4px; max-height: 300px; overflow-y: auto; }
.ac button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.ac button small { display: block; font-weight: 500; color: var(--mut); font-size: 12px; }
.ac button:hover, .ac button.on { background: var(--plate); }
.ac mark { background: none; color: var(--acc); }
.opts { display: flex; flex-direction: column; gap: 8px; }
.radio { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c3cad5; flex: none; position: relative; background: #fff; box-shadow: none; }
.radio input:checked ~ .dot { border-color: var(--acc); }
.radio input:checked ~ .dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--acc); }
.radio:has(input:checked) { border-color: var(--acc); background: var(--acc-ll); }
.radio.dis { opacity: .5; cursor: default; }
.rt { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; line-height: 1.3; display: flex; flex-direction: column; }
.rt > svg { display: none; }
.rt small { font-weight: 500; color: var(--mut); font-size: 12px; }
.rr { font-weight: 700; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; }
.cards { display: inline-flex; gap: 4px; }
.cards i { font-style: normal; height: 22px; padding: 0 5px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 900; }
.cards .visa { background: #1a1f71; color: #fff; letter-spacing: .02em; }
.cards .mc { background: #252525; padding: 0 4px; }
.cards .mc b { width: 12px; height: 12px; border-radius: 50%; background: #eb001b; display: block; }
.cards .mc b + b { background: #f79e1b; margin-left: -5px; opacity: .9; }
.apay, .gpay { display: inline-flex; align-items: center; gap: 1px; height: 24px; padding: 0 7px; border-radius: 5px; font-weight: 700; font-size: 13px; }
.apay { background: #000; color: #fff; }
.apay svg { width: 15px; height: 15px; }
.gpay { background: #fff; border: 1px solid var(--line); color: #3c4043; }
.gpay svg { width: 15px; height: 15px; margin-right: 2px; }
.bks { display: inline-flex; gap: 4px; }
.bks .bk { width: 24px; height: 24px; font-size: 12px; border-radius: 6px; }
.stores-pick { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.store-c { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; }
.store-c input { position: absolute; opacity: 0; pointer-events: none; }
.store-c:has(input:checked) { border-color: var(--acc); background: var(--acc-ll); }
.sc-b b { display: block; font-size: 14px; }
.sc-b small { display: block; font-size: 12px; color: var(--mut); }
.sc-r { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--mut); }
.sc-r svg { width: 16px; height: 16px; }
.sc-r.ok { color: var(--ok); }
#addr-box { margin-top: 12px; }
#co-parts .parts { margin: 2px 0 4px; }
.ti-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink2); background: var(--plate); padding: 10px 12px; border-radius: 10px; margin: 12px 0 0; }
.ti-note svg { color: var(--acc); }
.co-sum { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 12px; }
.co-items { display: flex; flex-direction: column; gap: 10px; }
.co-it { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: start; }
.co-it img { width: 52px; height: 52px; border-radius: 9px; background: var(--imgbg); object-fit: contain; }
.co-it .t { font-size: 13px; font-weight: 700; line-height: 1.3; min-width: 0; }
.co-it .t small { display: block; font-weight: 500; color: var(--mut); font-size: 12px; }
.co-it .t small.co-sv { color: var(--ok); font-weight: 600; }
.co-it .price { font-size: 14px; }
.co-when { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; background: var(--plate); border-radius: 10px; padding: 8px 10px; }
.co-when svg { color: var(--acc); width: 18px; height: 18px; }
.co-pay { display: flex; flex-direction: column; gap: 6px; }
.co-pay .btn { height: 52px; }
.co-pay p { margin: 0; font-size: 12px; }

/* ---------- pay ---------- */
.pay-wrap { min-height: 100vh; background: linear-gradient(180deg, #e9eef7, #f6f8fb); padding: 16px 12px 40px; }
.pay { max-width: 460px; margin: 0 auto; }
.pay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.pay-back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); font-weight: 600; }
.pay-back svg { width: 17px; height: 17px; }
.pay-sec { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 700; }
.pay-sec svg { width: 15px; height: 15px; }
.test-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; background: var(--warn-l); color: #7a4d00; border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; }
.test-note svg { width: 18px; height: 18px; color: var(--warn); margin-top: 1px; }
.pay-card { background: #fff; border-radius: 18px; box-shadow: var(--sh-l); overflow: hidden; }
.pay-hd { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pay-m { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }
.pay-m .logo-m { width: 30px; height: 30px; }
.pay-m b { color: var(--ink); }
.pay-amt { font-size: 22px; font-weight: 800; text-align: right; letter-spacing: -.02em; }
.pay-amt small { display: block; font-size: 12px; color: var(--mut); font-weight: 500; letter-spacing: 0; }
.pay-b { padding: 16px 18px 18px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.pm { height: 40px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.pm.on { border-color: var(--acc); background: var(--acc-ll); }
.pm svg { width: 17px; height: 17px; }
.test-hint { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--plate); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--mut); margin-bottom: 12px; }
.test-hint b { color: var(--ink); font-size: 14px; letter-spacing: .04em; }
.test-hint button { color: var(--acc); font-weight: 800; font-size: 13px; }
.pfld { margin-bottom: 12px; }
.pfld label { display: block; font-size: 12px; font-weight: 600; color: var(--mut); margin-bottom: 4px; }
.pfld input { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 16px; font-weight: 600; letter-spacing: .03em; outline: none; }
.pfld input:focus { border-color: var(--acc); }
.pfld .e { display: none; color: var(--sale); font-size: 12px; margin-top: 3px; }
.pfld.err input { border-color: var(--sale); }
.pfld.err .e { display: block; }
.pfld .inp { position: relative; }
.brand-ic { position: absolute; right: 10px; top: 12px; font-size: 11px; font-weight: 900; padding: 3px 6px; border-radius: 4px; }
.brand-ic.visa { background: #1a1f71; color: #fff; }
.brand-ic.mc { background: #252525; color: #f79e1b; }
.pfld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-btn { width: 100%; height: 52px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pay-btn:hover { background: #1d2540; }
.pay-btn svg { width: 18px; height: 18px; }
.pay-hint { font-size: 12px; color: var(--mut); text-align: center; margin: 10px 0 0; }
.pay-ft { display: flex; justify-content: center; gap: 16px; padding: 10px; background: var(--plate); font-size: 11px; color: var(--mut); font-weight: 700; }
.pay-ft span { display: inline-flex; align-items: center; gap: 4px; }
.pay-ft svg { width: 13px; height: 13px; }
.sheet-ap { border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; margin-bottom: 12px; }
.sheet-ap .r { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.sheet-ap .r + .r { border-top: 1px solid var(--line2); }
.sheet-ap .r span { color: var(--mut); }
.faceid { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink2); margin: 6px 0 12px; font-weight: 600; }
.apple-btn { width: 100%; height: 52px; border-radius: 12px; background: #000; color: #fff; font-weight: 700; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.apple-btn.g { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; }
.apple-btn svg { width: 22px; height: 22px; }
.bank-pane .bp-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bank-pane .bp-hd b { display: block; font-size: 16px; }
.bank-pane .bp-hd small { color: var(--mut); font-size: 13px; }
.sched { margin-bottom: 12px; font-size: 14px; }
.sched summary { cursor: pointer; color: var(--acc); font-weight: 700; padding: 4px 0; }
.sched ol { list-style: none; margin: 6px 0 0; padding: 0; max-height: 200px; overflow-y: auto; }
.sched li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.sched li span { color: var(--mut); }
.bk-btn.bk-pb { background: #4f9a2a; }
.bk-btn.bk-mono { background: #111; }
.proc { text-align: center; padding: 18px 0 6px; }
.proc h3 { margin: 12px 0 4px; }
.proc p { color: var(--mut); font-size: 14px; }
.spin { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--acc-l); border-top-color: var(--acc); margin: 0 auto; animation: spin .8s linear infinite; }
.spin.sm { width: 18px; height: 18px; border-width: 2.5px; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps-p { display: inline-flex; flex-direction: column; gap: 6px; text-align: left; margin-top: 8px; }
.steps-p div { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mut2); }
.steps-p div svg { width: 18px; height: 18px; opacity: .3; }
.steps-p div.on { color: var(--ink); font-weight: 600; }
.steps-p div.done { color: var(--ok); }
.steps-p div.done svg { opacity: 1; }
.okc { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.okc svg { width: 30px; height: 30px; stroke-width: 2.6; }
.okc.bad { background: var(--sale); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.modal-bg { position: absolute; inset: 0; background: rgba(8, 12, 24, .5); animation: fade .2s; }
.modal-box { position: relative; background: #fff; width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); animation: up .25s ease; overscroll-behavior: contain; }
.modal-box > .x { position: absolute; right: 12px; top: 12px; }
.modal-box h3 { font-size: 20px; padding-right: 44px; margin-bottom: 6px; }
.modal-box .sub { color: var(--mut); font-size: 14px; margin-bottom: 14px; }
.oc-it { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; background: var(--plate); border-radius: 12px; padding: 8px; margin-bottom: 14px; }
.oc-it img { width: 56px; height: 56px; border-radius: 9px; background: #fff; object-fit: contain; }
.oc-it .t { font-weight: 700; font-size: 14px; line-height: 1.3; }
.oc-it .t small { display: block; color: var(--mut); font-weight: 500; font-size: 12px; }
.modal-box .test-note { margin-top: 12px; }
.oc-ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 6px; }
.oc-ok h3 { padding: 0; }
.wt-opts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.wt-opts .chip em { color: var(--ok); }
.modal-box .btn-g { margin-top: 8px; }
.wl-grid { display: grid; gap: 8px; }
.wl { position: relative; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); padding: 10px 44px 10px 10px; box-shadow: var(--sh); }
.wl img { width: 52px; height: 52px; border-radius: 9px; background: var(--imgbg); object-fit: contain; }
.wl a { font-weight: 700; font-size: 14px; }
.wl small { display: block; font-size: 12px; color: var(--mut); }
.wl .ci-del { top: 50%; transform: translateY(-50%); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 95; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; box-shadow: var(--sh-l); animation: up .25s ease; }
body.no-tab .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
.toast button { color: #9cb8ff; font-weight: 800; white-space: nowrap; }

/* ---------- success ---------- */
.succ { padding-top: 22px; }
.succ-hd { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.succ-hd h1 { font-size: 24px; margin-bottom: 4px; }
.succ-hd p { color: var(--ink2); margin: 0; }
.onum { font-weight: 800; color: var(--acc); }
.succ-layout { display: grid; gap: 12px; }
.track { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); }
.track-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.tsteps { display: flex; flex-direction: column; }
.ts { display: grid; grid-template-columns: 36px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.ts:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.ts.done:not(:last-child)::before { background: var(--ok); }
.ts-i { width: 36px; height: 36px; border-radius: 50%; background: var(--plate); color: var(--mut2); display: inline-flex; align-items: center; justify-content: center; }
.ts-i svg { width: 18px; height: 18px; }
.ts.done .ts-i { background: var(--ok); color: #fff; }
.ts.cur .ts-i { background: var(--acc); color: #fff; box-shadow: 0 0 0 5px var(--acc-l); }
.ts-b { padding-top: 6px; }
.ts-b b { display: block; font-size: 14px; }
.ts:not(.done):not(.cur) .ts-b b { color: var(--mut); }
.ts-b small { color: var(--mut); font-size: 13px; }
.shop-cta { margin-top: 12px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.shop-cta p { color: #b6bfd0; font-size: 14px; margin: 4px 0 0; }
.info-grid { display: flex; flex-direction: column; gap: 12px; }
.info-grid .sum { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.kv { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.kv > div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; }
.kv span { color: var(--mut); }
.kv b { font-weight: 600; }
.st { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.st-new { background: var(--acc-l); color: var(--acc); }
.st-ok { background: #eef0ff; color: #4a3fd6; }
.st-make { background: var(--warn-l); color: #a06400; }
.st-road { background: #e3f4ff; color: #0a6aa6; }
.st-done { background: var(--ok-l); color: var(--ok); }

/* ---------- delivery page ---------- */
.dl-grid { display: grid; gap: 12px; }
.dl-grid .store { margin-top: 10px; }
.ztab { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.ztab td { padding: 8px 0; border-bottom: 1px solid var(--line2); }
.ztab td small { display: block; color: var(--mut); font-size: 12px; }
.ztab td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.dl-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-top: 12px; }
/* таблиця «Оплата частинами»: перша колонка фіксована, 5 рівних колонок, на вузькому екрані гортається всередині блоку */
.pt-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line2); border-radius: 12px; overscroll-behavior-x: contain; }
.ptab { width: 100%; min-width: 600px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.ptab col.pt-bank { width: 168px; }
.ptab th, .ptab td { height: 64px; padding: 8px 6px; text-align: center; vertical-align: middle; border-top: 1px solid var(--line2); line-height: 1.25; }
.ptab thead th { height: 52px; border-top: 0; background: var(--plate); font-weight: 600; }
.ptab thead th b { display: block; font-size: 15px; color: var(--ink); }
.ptab thead th small { display: block; font-size: 11px; color: var(--mut); font-weight: 600; }
.ptab thead th:first-child, .ptab tbody th { position: sticky; left: 0; z-index: 1; text-align: left; padding-left: 14px; font-size: 12px; color: var(--mut); }
.ptab thead th:first-child { background: var(--plate); }
.ptab tbody th { background: #fff; box-shadow: 1px 0 0 var(--line2); }
.pt-b { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.pt-b .lg { height: 18px; width: auto; }
.pt-b small { font-size: 11px; color: var(--mut); font-weight: 600; }
.ptab td b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptab td small { display: block; font-size: 11px; color: var(--mut); white-space: nowrap; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg { color: var(--ok); width: 18px; height: 18px; margin-top: 2px; }

/* ---------- shop view (tg & admin) ---------- */
.sv-hd { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sv-hd h1 { margin: 4px 0 6px; }
.sv-hd p { color: var(--ink2); max-width: 720px; margin: 0; }
.seg { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px; box-shadow: var(--sh); align-self: flex-start; }
.seg a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--mut); }
.seg a.on { background: var(--ink); color: #fff; }
.tg-stage { display: grid; gap: 16px; }
.phone-f { width: 100%; max-width: 400px; margin: 0 auto; border-radius: 40px; padding: 10px; background: #111; box-shadow: var(--sh-l); }
.tg { border-radius: 31px; overflow: hidden; background: #c7dbe8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M10 10l6 6M60 20l-5 5M30 60l4-4M70 70l-6-3' stroke='%23b3cbd9' stroke-width='2' fill='none'/%3E%3C/svg%3E"); display: flex; flex-direction: column; height: 760px; max-height: 80vh; }
.tg-st { display: flex; justify-content: space-between; padding: 10px 24px 4px; font-size: 13px; font-weight: 700; background: #fff; }
.tg-st span:last-child { display: flex; gap: 3px; align-items: flex-end; }
.tg-st i { width: 4px; background: var(--ink); border-radius: 1px; height: 6px; }
.tg-st i:nth-child(2) { height: 9px; }
.tg-st i:nth-child(3) { height: 12px; }
.tg-top { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; background: #fff; border-bottom: 1px solid #e3e8ee; }
.tg-top > svg { color: #3a8dde; }
.tg-av { width: 38px; height: 38px; border-radius: 50%; background: var(--acc-l); display: inline-flex; align-items: center; justify-content: center; }
.tg-av .logo-m { width: 26px; height: 26px; }
.tg-top b { display: block; font-size: 15px; }
.tg-top small { color: var(--mut); font-size: 12px; }
.tg-chat { position: relative; flex: 1; overflow-y: auto; padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.tg-chat > * { flex-shrink: 0; }
.tg-day { align-self: center; background: rgba(0, 0, 0, .18); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.tg-msg { position: relative; background: #fff; border-radius: 14px 14px 14px 4px; padding: 8px 10px 18px; font-size: 13px; line-height: 1.45; max-width: 92%; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.tg-msg .h { font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.tg-msg .h svg { width: 16px; height: 16px; color: var(--acc); }
.tg-msg .tm { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: var(--mut2); }
.tg-msg.prev { opacity: .85; }
.tg-msg.prev .l { color: var(--mut); font-size: 12px; }
.tg-msg.new { padding: 0 0 18px; overflow: hidden; }
.tg-ph img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--imgbg); }
.tg-tx { padding: 8px 10px 0; }
.tg-tx .sv { color: var(--mut); padding-left: 12px; font-size: 12px; }
.tg-tx .l { margin-top: 6px; }
.tg-tx .k { color: var(--mut); }
.tg-sum { margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tg-sum span { font-size: 11px; font-weight: 800; border-radius: 5px; padding: 1px 6px; }
.tg-sum .paid { background: var(--ok-l); color: var(--ok); }
.tg-sum .cod { background: var(--warn-l); color: #a06400; }
.tg-sum .prt { background: var(--acc-l); color: var(--acc); }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 92%; }
.tg-kb button { background: rgba(255, 255, 255, .78); border-radius: 9px; padding: 9px 6px; font-size: 13px; font-weight: 700; color: #2a6fb5; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.tg-kb button svg { width: 15px; height: 15px; }
.tg-kb button.wide { grid-column: span 2; }
.tg-kb button.hl { background: #fff; box-shadow: inset 0 0 0 2px #3a8dde; }
.tg-kb button:disabled { color: var(--mut); }
.tg-msg.me { align-self: flex-end; background: #e2ffc7; border-radius: 14px 14px 4px 14px; }
.tg-in { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; color: var(--mut2); font-size: 14px; }
.tg-in span { flex: 1; }
.tg-side { display: flex; flex-direction: column; gap: 10px; }
.note-c { background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh); }
.note-c b { display: block; margin-bottom: 4px; }
.note-c p { color: var(--ink2); font-size: 14px; margin: 0; }
.note-c.soft { background: var(--acc-ll); box-shadow: none; }
.adm { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.adm-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.adm-top .logo-m { width: 28px; height: 28px; }
.adm-top .logo-t { font-size: 18px; }
.adm-user { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.adm-user i { width: 32px; height: 32px; border-radius: 50%; background: var(--acc); color: #fff; font-style: normal; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.adm-body { display: block; }
.adm-nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.adm-nav span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--mut); white-space: nowrap; }
.adm-nav span svg { width: 17px; height: 17px; }
.adm-nav span.on { background: var(--acc-l); color: var(--acc); }
.adm-nav em { font-style: normal; background: var(--acc); color: #fff; font-size: 11px; font-weight: 800; border-radius: 8px; padding: 0 6px; }
.adm-nav em.soft { background: var(--plate); color: var(--mut); }
.adm-main { padding: 14px 12px 16px; min-width: 0; }
.adm-main h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 20px; margin-bottom: 12px; }
.adm-main h2 small { font-size: 13px; color: var(--mut); font-weight: 500; letter-spacing: 0; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.kpi { background: var(--plate); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.kpi small { display: block; font-size: 12px; color: var(--mut); }
.kpi b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.kpi b.acc { color: var(--acc); }
.kpi em { font-style: normal; display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-f { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px 10px; padding: 0 12px 2px; scrollbar-width: none; }
.adm-f .chip { height: 34px; font-size: 13px; }
.orders { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.orders-hd { display: none; }
.ord { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.ord:hover { border-color: #c4d1f5; }
.ord.fresh { border-color: var(--acc); background: var(--acc-ll); }
.ord.open { border-color: var(--acc); }
.o-n { font-weight: 800; }
.o-n small, .o-c small { display: block; font-weight: 500; color: var(--mut); font-size: 12px; }
.o-c { font-weight: 600; grid-row: 2; }
.o-p { grid-column: 1 / -1; color: var(--ink2); }
.o-d, .o-t { color: var(--mut); font-size: 12px; }
.o-s { font-weight: 800; text-align: right; grid-row: 1; grid-column: 2; }
.o-st { grid-column: 2; grid-row: 2; text-align: right; }
.tag-ti { font-style: normal; font-size: 10px; font-weight: 800; background: var(--ink); color: #fff; padding: 1px 5px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.o-empty { padding: 20px; text-align: center; color: var(--mut); }
.ord-x { grid-column: 1 / -1; cursor: default; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.ox-grid { display: grid; gap: 12px; }
.ox-items { display: flex; flex-direction: column; gap: 8px; }
.ox-it { display: flex; gap: 10px; }
.ox-it img { width: 46px; height: 46px; border-radius: 8px; background: var(--imgbg); object-fit: contain; flex: none; }
.ox-it b { display: block; font-size: 13px; }
.ox-it small { display: block; font-size: 12px; color: var(--mut); }
.ox-it small.sv { color: var(--ok); }
.ox-kv { display: flex; flex-direction: column; gap: 6px; }
.ox-kv > div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.ox-kv span { color: var(--mut); font-size: 12px; }
.ox-kv b { font-weight: 600; font-size: 13px; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; }
.acts button { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.acts button svg { width: 15px; height: 15px; }
.acts button.p { background: var(--acc); border-color: var(--acc); color: #fff; }
.acts .btn-sm { height: 34px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #b9c1d0; margin-top: 40px; padding: 32px 0 calc(16px + env(safe-area-inset-bottom)); font-size: 14px; }
.ftr-in { display: grid; gap: 24px; }
.ftr .logo-t { color: #fff; }
.ftr-brand p { margin: 10px 0; max-width: 340px; }
.ftr-phone { color: #fff; font-weight: 800; font-size: 18px; }
.ftr-col { display: flex; flex-direction: column; gap: 6px; }
.ftr-col h4 { color: #fff; margin-bottom: 4px; }
.ftr-col a:hover { color: #fff; }
.ftr-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #222a3c; margin-top: 24px; padding-top: 14px; font-size: 13px; color: #8b94a7; }
.ftr-note a { color: #fff; font-weight: 700; }

/* ========== ≥ 600 ========== */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .row-scroll { grid-auto-columns: 200px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .bp-grid { grid-template-columns: 1fr 1fr; }
  .fld-row { grid-template-columns: 1fr 1fr; }
  .fld-row.keep { grid-template-columns: 2fr 1fr; }
  .slide { aspect-ratio: 16 / 9; }
  .slide-t b { font-size: 32px; }
  .promo2 { grid-template-columns: 1fr 1fr; }
  .ti-how { grid-template-columns: repeat(3, 1fr); }
  .ti-cond { grid-template-columns: repeat(3, 1fr); }
  .bnd-row { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .modal { align-items: center; padding: 20px; }
  .modal-box { max-width: 480px; border-radius: 20px; padding: 24px; }
  .modal-box.m-wide { max-width: 680px; }
  .toast { left: 50%; right: auto; transform: translateX(-50%); min-width: 360px; max-width: 560px; }
  .cmpbar { left: 50%; right: auto; transform: translateX(-50%); width: 460px; }
  .wl-grid { grid-template-columns: 1fr 1fr; }
  .store-c { grid-template-columns: 1fr auto; align-items: center; }
  .cp .btn span { display: inline; }
}

/* ========== ≥ 960 desktop ========== */
@media (min-width: 960px) {
  body { padding-bottom: 0; font-size: 15px; }
  .wrap { padding: 0 24px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hide-m { display: inline; }
  .tabbar { display: none; }
  .topbar { display: block; }
  .hdr-in { height: 72px; gap: 16px; }
  .logo-t small { display: block; font-size: 11px; font-weight: 600; color: var(--mut); letter-spacing: 0; margin-top: 3px; }
  .logo-m { width: 38px; height: 38px; }
  .btn-cat { display: inline-flex; height: 46px; }
  .btn-cat.on { background: var(--acc-d); }
  .search { display: block; }
  .show-m { display: none !important; }
  .hdr-phone { display: flex; flex-direction: column; line-height: 1.2; font-weight: 800; font-size: 15px; white-space: nowrap; }
  .hdr-phone small { font-size: 11px; color: var(--mut); font-weight: 600; }
  .hdr-ic { margin-left: 0; gap: 4px; }
  .ico-btn { width: 58px; height: 50px; gap: 1px; }
  .ico-btn span { display: block; }
  .ico-btn.hide-m { display: inline-flex; }
  .ico-btn .cnt { right: 10px; top: 0; }
  .cat-nav { display: block; border-top: 1px solid var(--line2); }
  .cat-nav .wrap { display: flex; gap: 2px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
  .cat-nav a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
  .cat-nav a svg { width: 19px; height: 19px; color: var(--mut); }
  .cat-nav a:hover, .cat-nav a.on { background: var(--acc-l); color: var(--acc); }
  .cat-nav a:hover svg, .cat-nav a.on svg { color: var(--acc); }
  .cat-nav .cn-r { margin-left: auto; color: var(--sale); }
  .cat-nav .cn-r svg { color: var(--sale); }
  .crumbs { padding-top: 18px; }
  .sec { margin-top: 44px; }
  .row-nav { display: flex; }
  .sec-r.small { display: flex; }
  .row-scroll { grid-auto-columns: calc((100% - 50px) / 6); margin: 0; padding: 2px 0 10px; scroll-padding: 0; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .pc-b { padding: 10px 12px 12px; }
  .pc-t { font-size: 15px; }
  .pc-pr .price { font-size: 19px; }
  .add { width: 44px; height: 44px; }

  .home { padding-top: 20px; }
  .hero { display: block; }
  .slide { aspect-ratio: 21 / 8; }
  .slide::after { background: linear-gradient(90deg, rgba(8, 12, 24, .85) 0%, rgba(8, 12, 24, .5) 40%, rgba(8, 12, 24, 0) 70%); }
  .slide-t { left: 48px; right: auto; top: 0; bottom: 0; justify-content: center; max-width: 520px; gap: 10px; }
  .slide-t b { font-size: 42px; }
  .slide-t span { font-size: 17px; }
  .slide-t .btn { height: 48px; padding: 0 22px; margin-top: 10px; }
  .hero-dots { right: auto; left: 48px; top: auto; bottom: 26px; }
  .cats { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); margin: 16px 0 0; padding: 0; overflow: visible; }
  .cat { padding: 10px 10px 12px; }
  .cat b { font-size: 14px; }
  .perks { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .bp-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pr2 { min-height: 250px; }
  .pr2 > span { padding: 28px 32px; }
  .pr2 b { font-size: 26px; }
  .pr2 small { font-size: 14px; max-width: 360px; }
  .consult { grid-template-columns: 1.1fr 1fr; }
  .consult > img { aspect-ratio: auto; height: 100%; }
  .consult-b { padding: 36px 40px; align-self: center; }
  .stores { grid-template-columns: 1fr; }

  .cat-hd { margin: 8px 0 16px; }
  .cat-chips { flex-wrap: wrap; margin: 0 0 16px; padding: 0; overflow: visible; }
  .cat-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 20px; align-items: start; }
  .filters { display: block; background: #fff; border-radius: var(--r); padding: 12px 16px; box-shadow: var(--sh); position: sticky; top: 132px; max-height: calc(100vh - 148px); overflow-y: auto; scrollbar-width: thin; }
  .btn-f { display: none; }
  .cat-tools { justify-content: flex-end; }

  .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 28px; align-items: start; }
  .gal { position: sticky; top: 136px; padding: 12px; }
  .gal-main { overflow: hidden; }
  .gal-thumbs { display: flex; gap: 8px; margin-top: 10px; }
  .gal-thumbs button { width: 64px; height: 64px; border-radius: 10px; background: var(--imgbg); border: 2px solid transparent; overflow: hidden; }
  .gal-thumbs button.on { border-color: var(--acc); }
  .gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
  .gal-dots { display: none; }
  .gal .badges { left: 24px; top: 24px; }
  .pp-info h1 { font-size: 26px; }
  .pp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
  .buybox { position: sticky; top: 136px; }
  .sticky-buy { display: none; }
  .bnd-row { grid-template-columns: repeat(3, 1fr); }
  .pp-more { padding: 6px 24px 24px; }
  .tabs { margin: 0 -24px 18px; padding: 0 20px; }
  .spec { max-width: 760px; }

  .cmp .cr { grid-template-columns: 220px repeat(var(--n), minmax(0, 1fr)); }
  .cmp .cl { grid-column: auto; padding: 12px 16px; font-size: 13px; background: var(--acc-ll); }
  .cmp .cv { padding: 12px 16px; border-left: 1px solid var(--line2); }
  .cmp .cr.ch { top: 118px; }
  .cmp .cr.ch .cl { display: flex; align-items: center; justify-content: center; padding: 12px; }
  .cmp .cr.ch .cl:empty { display: block; }
  .cmp-add { flex-direction: column; border: 1.5px dashed #c6d3f7; border-radius: 12px; width: 100%; height: 100%; min-height: 160px; }
  .cp { padding: 14px 16px 16px; }
  .cp a span { font-size: 14px; }
  .cp .price { font-size: 17px; }
  .cmpbar { bottom: 20px; }
  body.has-sticky .cmpbar { display: flex; }

  .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
  .cart-side { position: sticky; top: 136px; }
  .ci { grid-template-columns: 100px 1fr; padding: 14px 48px 14px 14px; }
  .ci-img img { width: 100px; height: 100px; }
  .ci-t { font-size: 15px; }
  .svcs { grid-template-columns: 1fr 1fr; }
  .bnd-list { grid-template-columns: 1fr 1fr; }
  .co-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
  .co-side { position: sticky; top: 136px; }
  .form-sec { padding: 20px 22px; }
  .toast { bottom: 24px; }
  body.no-tab .toast { bottom: 24px; }
  .succ-hd h1 { font-size: 30px; }
  .succ-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid .wide { grid-column: span 2; }
  .sv-hd { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .tg-stage { grid-template-columns: 400px 1fr; gap: 40px; align-items: start; }
  .phone-f { margin: 0; }
  .tg-side { padding-top: 20px; max-width: 460px; }
  .adm-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
  .adm-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); padding: 12px; }
  .adm-nav span { padding: 9px 10px; }
  .adm-nav em { margin-left: auto; }
  .adm-main { padding: 18px 20px 20px; }
  .adm-f { flex-wrap: wrap; margin: 0 0 12px; padding: 0; overflow: visible; }
  .orders { gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .orders-hd, .ord { display: grid; grid-template-columns: 92px 1.1fr 1.6fr 1.2fr 1fr 96px 128px; gap: 12px; align-items: center; }
  .orders-hd { padding: 10px 14px; background: var(--plate); font-size: 12px; font-weight: 700; color: var(--mut); }
  .ord { border: 0; border-top: 1px solid var(--line2); border-radius: 0; padding: 10px 14px; }
  .ord.fresh, .ord.open { border-color: var(--line2); }
  .ord.open { background: var(--acc-ll); }
  .o-c, .o-p, .o-s, .o-st { grid-row: auto; grid-column: auto; }
  .o-d, .o-t { font-size: 13px; color: var(--ink2); }
  .o-st { text-align: left; }
  .ord-x { grid-column: 1 / -1; }
  .ox-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ftr-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dl-grid > *, .bnd-row > *, .cart-layout > *, .co-layout > *, .succ-layout > *, .pp > *, .pp-grid > * { min-width: 0; }
.bnd { grid-template-columns: auto minmax(0, 1fr); }

.filters .swatches { grid-template-columns: 1fr; }
.filters .swatch { height: 32px; border: 0; padding: 0 4px; }
.filters .swatch.on { box-shadow: none; background: var(--acc-l); }
.radio .rt { display: block; }
.radio .rt small { display: block; }
.drawer .svcs, .drawer .bnd-list { grid-template-columns: 1fr; }
.drawer .ci { grid-template-columns: 76px 1fr; padding: 12px 40px 12px 12px; }
.drawer .ci-img img { width: 76px; height: 76px; }

/* логотипи банків, Нової Пошти й платіжних систем */
.lg { display: block; width: auto; height: 20px; max-width: none; flex: none; }
.bank { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 60px; padding: 10px 12px; }
.bank .lg { height: 18px; }
.bank small { font-size: 11px; }
.bks { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.bks .lg { height: 14px; }
.bank-pane .bp-hd .bp-l { height: 24px; }
.cards { display: inline-flex; align-items: center; gap: 8px; }
.cards .lg-visa { height: 14px; }
.cards .lg-mastercard { height: 22px; }
.wlt { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.wlt .lg { height: 18px; }
.wlt .lg-googlepay { height: 15px; }
.pm .lg { height: 18px; }
.pm .lg-googlepay { height: 15px; }
.brand-ic.on { padding: 0; top: 50%; transform: translateY(-50%); }
.brand-ic .lg { height: 18px; }
.brand-ic .lg-visa { height: 12px; }
.radio .rt .np-l { display: inline-block; height: 18px; margin: 0 8px 0 0; vertical-align: -4px; }
.dl-i.dl-np { width: 64px; background: #fff; border: 1px solid var(--line2); }
.dl-np .lg { height: 18px; }
h3 .np-h { display: inline-block; height: 22px; margin-right: 10px; vertical-align: -5px; }
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2); }
.pay-logos .lg { height: 18px; }
.pay-logos .lg-mastercard { height: 24px; }
.ftr-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.ftr-pay img { height: 34px; width: auto; padding: 8px 10px; background: #fff; border-radius: 8px; box-sizing: border-box; }
.ftr-pay img[alt="Mastercard"] { padding: 5px 10px; }
.pt-b .lg-monobank { height: 22px; }
.bank .lg-monobank { height: 20px; }
.bks .lg-monobank { height: 17px; }
.bank-pane .bp-hd .lg-monobank { height: 29px; }
.pay-logos .lg-monobank { height: 22px; }
