/* ДРОП Mini App. Размеры в px взяты с макетов GPT (телефон 428 px). */
:root {
  --accent: #1452fe;
  --accent-text: #fff;
  --link: #1f5cff;
  --bg: #f7f7f7;
  --surface: #ffffff;
  --field: #eeeeee;
  --text: #0d0d0d;
  --text2: #3c3c40;
  --hint: #8a8a8f;
  --line: #e7e7e9;
  --green: #17872f;
  --green-bg: #e3f6e6;
  --blue-bg: #e9f1fe;
  --black: #151515;
  --font: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --emoji: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { font-family: var(--font); color: var(--text); background: #161716; -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select { font: inherit; color: inherit; border: 0; background: none; outline: none; }
button { cursor: pointer; }
img { display: block; }
.ic { width: 24px; height: 24px; flex: none; display: block; }
.emoji { font-family: var(--emoji); font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- сцена и «телефон» (в браузере) ---------- */
.stage { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; gap: 40px; }
.device { position: relative; width: 428px; height: 971px; flex: none; border-radius: 16px; overflow: hidden; background: #0f1213; transform-origin: center; }
.chrome { height: 99px; color: #fff; position: relative; }
.status { position: absolute; left: 0; right: 0; top: 10px; height: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px 0 37px; }
.status__time { font-weight: 600; font-size: 17.5px; letter-spacing: -.2px; }
.status__icons { display: flex; gap: 6px; align-items: center; }
.status__icons svg:nth-child(1) { width: 19px; height: 12px; }
.status__icons svg:nth-child(2) { width: 17px; height: 12px; }
.status__icons svg:nth-child(3) { width: 27px; height: 13px; }
.chat { position: absolute; left: 0; right: 0; top: 47px; height: 46px; display: flex; align-items: center; }
.chat__back { position: absolute; left: 7px; color: #4e74c4; }
.chat__back .ic { width: 22px; height: 26px; }
.chat__ava { position: absolute; left: 53px; width: 46px; height: 46px; }
.chat__name { position: absolute; left: 114px; top: 2px; font-size: 17px; font-weight: 500; line-height: 20px; }
.chat__name small { display: block; font-size: 15px; color: #8d9093; font-weight: 400; }
.chat__more { position: absolute; right: 13px; width: 24px; height: 24px; border-radius: 50%; border: 1.6px solid #3d6fd6; color: #3d6fd6; display: grid; place-items: center; }
.chat__more .ic { width: 16px; height: 16px; }
.logo-c { display: inline-grid; place-items: center; border-radius: 50%; background: var(--accent); --logo-bg: var(--accent); }
.logo-c .ic { width: 72%; height: 72%; }

.sheet { position: absolute; top: 99px; left: 0; right: 0; bottom: 0; background: var(--bg); border-radius: 16px 16px 16px 16px; overflow: hidden; }
.sheet__head { position: relative; height: 65px; border-bottom: 1px solid var(--line); }
.sheet__handle { position: absolute; top: 11px; left: 50%; width: 40px; height: 4.5px; margin-left: -20px; border-radius: 3px; background: #cfcfd1; }
.sheet__close { position: absolute; left: 18px; top: 26px; font-size: 17.5px; color: var(--link); letter-spacing: -.1px; }
.sheet__title { position: absolute; left: 0; right: 0; top: 23px; text-align: center; font-weight: 700; font-size: 16.5px; line-height: 18px; pointer-events: none; }
.sheet__title small { display: block; font-weight: 400; font-size: 12.5px; color: var(--hint); line-height: 17px; }
.sheet__more { position: absolute; right: 17px; top: 25px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--link); color: var(--link); display: grid; place-items: center; }
.sheet__more .ic { width: 18px; height: 18px; }
.screen { position: absolute; top: 65px; left: 0; right: 0; bottom: 77px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.home-ind { position: absolute; left: 50%; bottom: 9px; width: 148px; height: 5px; margin-left: -74px; border-radius: 3px; background: #0b0b0b; z-index: 30; pointer-events: none; }

/* таббар */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 77px; background: #fbfcfd; border-top: 1px solid #e9e9eb; display: flex; z-index: 10; }
.tabbar a { flex: 1; text-decoration: none; color: #8b8b90; display: flex; flex-direction: column; align-items: center; padding-top: 7px; font-size: 12.3px; position: relative; letter-spacing: -.1px; }
.tabbar a .ic { width: 25px; height: 25px; margin-bottom: 1px; }
.tabbar a.on { color: var(--accent); font-weight: 600; }
.tabbar .badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; border: 1.5px solid #fbfcfd; }

/* MainButton (в браузере - своя, в Telegram - нативная) */
.mainbar { position: absolute; left: 0; right: 0; bottom: 0; height: 95px; background: #fff; z-index: 10; display: none; padding: 10px 12px 0; }
.mainbar__btn { width: 100%; height: 48px; border-radius: 10px; background: var(--accent); color: var(--accent-text); font-size: 17.5px; font-weight: 500; letter-spacing: -.1px; }
.mainbar__btn:active { filter: brightness(.92); }
.has-main .mainbar { display: block; }
.has-main .tabbar { display: none; }
.has-main .screen { bottom: 95px; }
.no-tabs .tabbar { display: none; }
.no-tabs .screen { bottom: 0; }

.toast { position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 20px); background: rgba(20,20,20,.92); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14.5px; opacity: 0; transition: .25s; z-index: 40; white-space: nowrap; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* боковая навигация демо (только в браузере на десктопе) */
.demo-nav { width: 220px; color: #c9c9cc; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.demo-nav__brand { display: flex; align-items: center; gap: 8px; color: #fff; margin-bottom: 14px; line-height: 1.3; font-size: 13px; }
.demo-nav__brand .logo-c { width: 34px; height: 34px; flex: none; }
.demo-nav__brand b { font-size: 15px; }
.demo-nav a, .demo-nav button { color: #dcdce0; text-decoration: none; padding: 7px 10px; border-radius: 8px; text-align: left; font-size: 14px; }
.demo-nav a:hover, .demo-nav button:hover { background: #26272a; }
.demo-nav a.on { background: #24304d; color: #fff; }
.demo-nav__sep { margin: 12px 10px 4px; font-size: 12px; color: #77787d; text-transform: uppercase; letter-spacing: .04em; }
.demo-nav button { color: #8e8f94; margin-top: 10px; }

/* режим iframe/скриншота: только телефон */
.framed body { background: transparent; }
.framed .stage { display: block; }
.framed .demo-nav { display: none; }
.framed .device { width: 100%; }

/* мобильный браузер: на весь экран, без «тёмного чата» */
@media (max-width: 560px) {
  html:not(.framed) .demo-nav { display: none; }
  html:not(.framed) .stage { display: block; }
  html:not(.framed) .device { width: 100%; height: 100%; border-radius: 0; transform: none !important; }
  html:not(.framed) .chrome { display: none; }
  html:not(.framed) .sheet { top: 0; border-radius: 0; }
  html:not(.framed) .home-ind { display: none; }
  html:not(.framed) .tabbar { height: calc(60px + env(safe-area-inset-bottom)); }
  html:not(.framed) .screen { bottom: calc(60px + env(safe-area-inset-bottom)); }
  html:not(.framed) .mainbar { height: calc(70px + env(safe-area-inset-bottom)); }
  html:not(.framed) .has-main .screen { bottom: calc(70px + env(safe-area-inset-bottom)); }
  html:not(.framed) .no-tabs .screen { bottom: 0; }
}

/* внутри Telegram: шапку, кнопку и «домой» рисует сам Telegram */
.tg body { background: var(--bg); }
.tg .stage { display: block; }
.tg .demo-nav, .tg .chrome, .tg .sheet__head, .tg .home-ind, .tg .mainbar { display: none !important; }
.tg .device { width: 100%; height: 100%; border-radius: 0; background: var(--bg); transform: none !important; }
.tg .sheet { top: 0; border-radius: 0; }
.tg .screen { top: 0; bottom: calc(58px + env(safe-area-inset-bottom)); }
.tg .tabbar { height: calc(58px + env(safe-area-inset-bottom)); }
.tg .has-main .screen, .tg .no-tabs .screen { bottom: 0; }

/* ---------- общие элементы ---------- */
.pad { padding: 0 16px; }
.h1 { font-size: 28.5px; font-weight: 800; letter-spacing: -.6px; }
.hint { color: var(--hint); }
.price { font-weight: 800; letter-spacing: -.2px; }
.old { color: #9a9aa0; text-decoration: line-through; text-decoration-thickness: 1px; }
.chip { height: 30px; padding: 0 15px; border-radius: 15px; background: var(--field); font-size: 14px; display: inline-flex; align-items: center; white-space: nowrap; letter-spacing: -.1px; }
.chip.on { background: var(--black); color: #fff; font-weight: 600; }
.pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; white-space: nowrap; }
.radio { width: 21px; height: 21px; border-radius: 50%; border: 1.6px solid #b9b9be; flex: none; position: relative; background: #fff; }
.radio.on { border: 2px solid var(--accent); }
.radio.on::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.empty { text-align: center; color: var(--hint); font-size: 15px; padding: 60px 30px; line-height: 1.45; }
.empty .ic { width: 44px; height: 44px; margin: 0 auto 10px; color: #b5b5ba; }
.btn { height: 46px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 16.5px; font-weight: 500; padding: 0 20px; }
.btn--gray { background: #eff0f1; color: var(--text); }

/* ---------- каталог ---------- */
.greet { height: 54px; display: flex; align-items: center; padding: 0 0 0 16px; }
.greet h1 { font-size: 23.5px; font-weight: 800; letter-spacing: -.5px; flex: 1; white-space: nowrap; }
.greet h1 .emoji { font-size: 22px; margin-left: 2px; }
.greet .pts { height: 27px; padding: 0 11px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 500; margin-right: 9px; }
.greet .ava { width: 40px; height: 40px; border-radius: 50%; margin-right: 13px; object-fit: cover; }
.search { margin: 0 14px; height: 34px; border-radius: 12px; background: var(--field); display: flex; align-items: center; padding: 0 12px; gap: 8px; color: #8e8e93; }
.search .ic { width: 21px; height: 21px; color: #1a1a1a; }
.search input { flex: 1; font-size: 16px; min-width: 0; color: var(--text); }
.search input::placeholder { color: #8e8e93; }
.cats { display: flex; justify-content: space-between; padding: 0 12px 0 13px; margin-top: 13px; }
.cat { width: 70px; display: flex; flex-direction: column; align-items: center; font-size: 13px; letter-spacing: -.2px; color: var(--text); }
.cat__img { width: 70px; height: 70px; border-radius: 50%; border: 2.5px solid var(--accent); padding: 2px; background: #fff; margin-bottom: 1px; }
.cat__img img, .cat__img b { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cat__img b { display: grid; place-items: center; background: #e5403f; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0; }
.cat.sale .cat__img { border-color: #e5403f; }
.cat.on .cat__img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.banner { position: relative; margin: 6px 11px 0 13px; height: 146px; border-radius: 14px; overflow: hidden; color: #fff; display: block; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.28) 100%); }
.banner__title { position: absolute; left: 15px; top: 72px; z-index: 1; font-size: 31px; font-weight: 800; letter-spacing: -.6px; text-shadow: 0 1px 10px rgba(0,0,0,.25); white-space: nowrap; }
.banner__timer { position: absolute; left: 13px; top: 112px; z-index: 1; height: 24px; padding: 0 12px; background: rgba(20,20,20,.82); font-size: 13px; letter-spacing: -.1px; }
.banner__timer b { font-weight: 700; margin-left: 4px; }
.chips { display: flex; gap: 8px; padding: 0 13px; margin-top: 11px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { padding: 0 13.5px; }
.chips .chip:first-child { width: 60px; justify-content: center; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 0 11px 16px 13px; margin-top: 11px; }
.pcard { background: #fff; border-radius: 10px; overflow: hidden; position: relative; display: block; text-decoration: none; color: inherit; }
.pcard__img { height: 117px; background: #e4e3df; position: relative; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__fav { position: absolute; right: 9px; top: 6px; width: 26px; height: 26px; color: #111; display: grid; place-items: center; }
.pcard__fav .ic { width: 25px; height: 25px; }
.pcard__fav.on { color: #ef3b3b; }
.pcard__badge { position: absolute; right: 3px; bottom: 3px; height: 23px; padding: 0 9px; font-size: 13.5px; font-weight: 500; color: #fff; background: var(--accent); }
.pcard__badge.orange { background: #fc6312; }
.pcard__body { padding: 7px 11px 9px; height: 45px; }
.pcard__name { font-size: 14.3px; letter-spacing: -.25px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__price { font-size: 15.5px; line-height: 20px; display: flex; gap: 9px; align-items: baseline; }
.pcard__price .old { font-size: 12.5px; font-weight: 400; }

/* ---------- карточка товара ---------- */
.pg { background: #ecebe9; }
.gal { position: relative; height: 266px; overflow: hidden; background: #ecebe9; }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gal__track img.contain { object-fit: contain; background: #ecebe9; }
.rbtn { position: absolute; top: 11px; height: 40px; min-width: 40px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; color: #111; z-index: 2; }
.rbtn .ic { width: 22px; height: 22px; }
.rbtn--back { left: 11px; }
.rbtn--fav { right: 140px; }
.rbtn--fav.on { color: #ef3b3b; }
.rbtn--share { right: 12px; padding: 0 14px 0 11px; font-size: 13.5px; font-weight: 500; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 9px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d6; }
.dots i.on { background: var(--accent); }
.gal__count { position: absolute; right: 18px; bottom: 7px; font-size: 15.5px; color: #8b8b8f; }
.info { background: var(--bg); border-radius: 16px 16px 0 0; margin-top: -1px; padding: 13px 21px 30px 19px; position: relative; }
.info h1 { font-size: 26.5px; font-weight: 800; letter-spacing: -.6px; line-height: 32px; }
.rating { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--hint); margin-top: 1px; height: 24px; }
.rating .ic { width: 20px; height: 20px; color: var(--accent); }
.rating b { color: var(--text); font-weight: 700; }
.prow { display: flex; align-items: center; height: 40px; gap: 13px; margin-top: 0; }
.prow .price { font-size: 26.5px; letter-spacing: -.5px; }
.prow .old { font-size: 18px; color: #a5a5aa; }
.prow .pill { height: 28px; padding: 0 13px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; margin-left: 2px; }
.split { font-size: 15px; color: var(--hint); height: 18px; line-height: 18px; margin-top: -2px; }
.lbl { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; height: 20px; }
.lbl a { font-size: 15px; font-weight: 400; color: var(--link); text-decoration: none; }
.colors { display: flex; gap: 14px; margin: 4px 0 0 0; height: 42px; align-items: center; }
.sw { width: 42px; height: 42px; border-radius: 50%; position: relative; }
.sw.on::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent); }
.sw--light { box-shadow: inset 0 0 0 1px #dedee2; }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 10px; }
.size { height: 42px; border-radius: 6px; border: 1px solid #e1e1e4; background: #fff; font-size: 16px; display: grid; place-items: center; position: relative; overflow: hidden; }
.size.on { background: var(--black); border-color: var(--black); color: #fff; font-weight: 500; }
.size.off { color: #a8a8ad; background: #fbfbfb; cursor: default; }
.size.off::after { content: ''; position: absolute; left: -10%; top: 50%; width: 120%; height: 1px; background: #c8c8cc; transform: rotate(-35deg); }
.feat { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--hint); height: 30px; }
.feat .ic { width: 23px; height: 23px; color: #1b1b1b; margin-left: 2px; }
.ptabs { display: flex; gap: 34px; border-bottom: 1px solid var(--line); margin-top: 6px; height: 36px; }
.ptabs button { font-size: 16px; font-weight: 600; color: #6c6c72; position: relative; padding: 0 2px; height: 36px; }
.ptabs button.on { color: var(--text); font-weight: 700; }
.ptabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 2.5px; border-radius: 2px; background: var(--accent); }
.ptext { font-size: 15px; color: var(--hint); line-height: 18px; margin-top: 11px; }

/* ---------- корзина ---------- */
.cart-head { display: flex; align-items: center; justify-content: space-between; height: 53px; padding: 0 17px; border-bottom: 1px solid #e8e8ea; margin: 0 0 0 0; }
.cart-head .h1 { font-size: 28px; }
.cart-head > span:not(.h1) { font-size: 15px; color: var(--hint); margin-top: 6px; }
.citem { display: flex; gap: 12px; padding: 6px 17px 0; height: 91px; border-bottom: 1px solid #e8e8ea; position: relative; margin: 0; }
.citem:nth-of-type(2) { height: 91.5px; }
.citem__img { width: 84px; height: 78px; border-radius: 8px; object-fit: cover; background: #e9e8e5; }
.citem__body { flex: 1; min-width: 0; padding-top: 3px; }
.citem__name { font-size: 15px; letter-spacing: -.2px; line-height: 17px; }
.citem__var { font-size: 14px; color: var(--hint); line-height: 20px; margin-top: 2px; }
.citem__price { font-size: 15.5px; font-weight: 800; margin-top: 8px; letter-spacing: -.2px; }
.citem__del { position: absolute; right: 18px; top: 7px; color: #8d8d92; width: 24px; height: 24px; }
.citem__del .ic { width: 23px; height: 23px; }
.step { position: absolute; right: 47px; top: 46px; width: 100px; height: 34px; border-radius: 8px; border: 1px solid #e3e3e6; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; font-size: 16.5px; }
.step button { width: 30px; height: 30px; display: grid; place-items: center; color: #1b1b1b; }
.step .ic { width: 20px; height: 20px; }
.promo { display: flex; gap: 10px; padding: 0 17px 0 18px; margin-top: 14.5px; }
.promo__in { flex: 252 1 0; min-width: 0; height: 39px; border-radius: 9px; border: 1px solid #e3e3e6; background: #fff; display: flex; align-items: center; padding: 0 9px 0 16px; }
.promo__in input { flex: 1; min-width: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .1px; }
.promo__in button { color: #8d8d92; width: 26px; height: 26px; display: grid; place-items: center; }
.promo__in .ic { width: 22px; height: 22px; }
.promo__ok { flex: 131 1 0; height: 39px; border-radius: 9px; background: var(--green-bg); color: var(--green); font-size: 15.5px; display: grid; place-items: center; white-space: nowrap; letter-spacing: -.1px; }
.promo__ok.bad { background: #fdeceb; color: #d23b31; }
.promo__ok.idle { background: var(--accent); color: #fff; font-weight: 500; }
.sec { font-size: 17.5px; font-weight: 800; letter-spacing: -.3px; padding: 0 17px; height: 22px; line-height: 22px; }
.dlv { padding: 0 17px 0 18px; }
.dlv label { display: flex; align-items: center; gap: 10.5px; height: 28px; font-size: 14.5px; letter-spacing: -.15px; cursor: pointer; }
.dlv label b { font-weight: 700; }
.addr { margin: 4px 17px 0 18px; height: 42px; border-radius: 9px; border: 1px solid #e3e3e6; background: #fbfbfb; display: flex; align-items: center; gap: 9px; padding: 0 9px 0 11px; font-size: 15px; letter-spacing: -.15px; }
.addr .ic { width: 22px; height: 22px; color: #2c2c2e; }
.addr span { flex: 1; }
.addr .ic:last-child { color: #8d8d92; width: 20px; height: 20px; }
.pays { display: grid; grid-template-columns: 128fr 114fr 131fr; gap: 10px; padding: 0 17px 0 18px; margin-top: 5.5px; }
.pay { height: 43px; border-radius: 9px; border: 1px solid #e3e3e6; background: #fff; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 15.5px; letter-spacing: -.2px; }
.pay .ic { width: 26px; height: 26px; }
.pay--tg { font-size: 14px; gap: 6px; }
.pay--tg .ic { color: #2a9bea; width: 24px; height: 24px; }
.pay.on { border: 2px solid var(--accent); background: var(--blue-bg); }
.pay.sbp { font-weight: 800; font-size: 16px; }
.sum { padding: 0 20px 0 18px; margin-top: 13.5px; }
.sum div { display: flex; justify-content: space-between; height: 25px; align-items: center; font-size: 15px; color: var(--hint); letter-spacing: -.15px; }
.sum div span:last-child { color: var(--text); }
.sum div.g span:last-child { color: var(--green); }
.total { display: flex; justify-content: space-between; align-items: center; padding: 0 20px 0 18px; margin-top: 4.5px; height: 36px; padding-bottom: 30px; box-sizing: content-box; }
.total span { font-size: 21px; font-weight: 800; }
.total b { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }

/* ---------- админка (мобильная) ---------- */
.admin { --bg: #fefefe; }
.ahead { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 15px 0 17px; }
.ahead .h1 { font-size: 28.5px; }
.open-pill { height: 31px; padding: 0 12px; background: #e3f7e7; color: #157c32; font-size: 14.5px; gap: 8px; letter-spacing: -.1px; }
.open-pill i { width: 11px; height: 11px; border-radius: 50%; background: #23a447; }
.launch { display: flex; align-items: center; gap: 8px; padding: 0 17px; height: 13px; font-size: 15.5px; color: var(--hint); letter-spacing: -.2px; }
.launch .emoji { font-size: 17px; }
.seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; margin: 15px 16px 0 16.5px; }
.seg button { height: 33px; border-radius: 8px; background: #efeff0; font-size: 14.5px; letter-spacing: -.1px; }
.seg button.on { background: var(--black); color: #fff; font-weight: 500; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 15px 0 16.5px; }
.stat { background: #f2f2f3; border-radius: 12px; padding: 13px 17px 0; height: 102px; }
.stat.sm { height: 85px; }
.stat__l { font-size: 16px; letter-spacing: -.2px; line-height: 18px; }
.stat__v { font-size: 30px; font-weight: 800; letter-spacing: -.6px; line-height: 36px; margin-top: 3px; }
.stat__s { font-size: 14.5px; color: var(--hint); line-height: 18px; margin-top: 1px; letter-spacing: -.1px; }
.first { margin: 11.5px 15px 0 16.5px; height: 100px; border-radius: 12px; background: #ebf3fe; position: relative; padding: 16px 0 0 58px; }
.first .emoji { position: absolute; left: 16px; top: 13px; font-size: 26px; }
.first h3 { font-size: 19px; font-weight: 800; color: var(--accent); letter-spacing: -.4px; line-height: 22px; }
.first p { font-size: 15px; color: var(--hint); margin-top: 5px; letter-spacing: -.15px; }
.first a { display: inline-flex; align-items: center; font-size: 15px; color: var(--link); text-decoration: none; margin-top: 5px; }
.first a .ic, .linkr .ic { width: 15px; height: 15px; margin-left: 2px; }
.check { margin: 12.5px 15px 16px 16.5px; border-radius: 12px; border: 1px solid #ececee; padding: 11px 15px 10px 14.5px; background: #fff; }
.check h3 { font-size: 17px; font-weight: 800; letter-spacing: -.3px; line-height: 20px; }
.check h3 span { font-weight: 600; }
.bar { height: 10px; border-radius: 5px; background: #e8e9ed; margin: 8px 0 10px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; background: var(--accent); }
.check li { list-style: none; display: flex; align-items: center; gap: 15px; height: 27.4px; font-size: 15px; color: #45454a; letter-spacing: -.15px; padding-left: 0; }
.check li .ok { width: 20px; height: 20px; border-radius: 50%; background: #1f8f3a; color: #fff; display: grid; place-items: center; flex: none; }
.check li .ok .ic { width: 13px; height: 13px; stroke-width: 3; }
.check li .no { width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid #8e8e93; flex: none; }
.check li .linkr { margin-left: auto; color: var(--link); display: inline-flex; align-items: center; font-size: 15px; text-decoration: none; }

.osearch { margin: 0 15px; height: 36.5px; border-radius: 10px; background: #f0f0f1; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.osearch .ic { width: 22px; height: 22px; }
.osearch input { flex: 1; min-width: 0; font-size: 16px; }
.osearch input::placeholder { color: #8e8e93; }
.ochips { display: flex; flex-wrap: wrap; gap: 6.5px 5px; padding: 0 15px; margin-top: 13.5px; }
.ochips .chip { height: 32px; padding: 0 16px 0 18px; font-size: 15px; border-radius: 16px; background: #f0f0f1; }
.ochips .chip i { font-style: normal; color: #8e8e93; margin-left: 7px; }
.ochips .chip.on i { color: #fff; }
.ochips .chip.on { font-weight: 500; background: var(--black); color: #fff; }
.ochips .chip { justify-content: center; padding: 0 !important; }
.ocard { margin: 10px 10px 0 11px; border-radius: 12px; border: 1px solid #ececee; background: #fff; padding: 12px 13px 12.5px 16.5px; position: relative; }
.ocard.hl { border: 1.5px solid #4a7dfe; padding: 11.5px 12.5px 12px 16px; }
.ohead { display: flex; align-items: center; height: 24px; gap: 10px; }
.ohead b { font-size: 17.5px; font-weight: 800; letter-spacing: -.3px; flex: 1; }
.ohead .st { height: 23px; padding: 0 12px; font-size: 14.5px; background: #dde9fe; color: var(--accent); }
.ohead .st.test { background: #e6e9ee; color: #2c2c30; height: 23.5px; padding: 0 15px; }
.ohead .st.work { background: #fff1d6; color: #b46a00; }
.ohead time { font-size: 15px; color: var(--hint); margin-left: 12px; }
.oit { display: flex; align-items: center; gap: 9px; margin-top: 4px; font-size: 15px; letter-spacing: -.2px; }
.oit img { width: 78.5px; height: 59px; border-radius: 6px; object-fit: cover; }
.oit + .oit img { height: 56px; }
.oit span { color: var(--hint); }
.olines { border-top: 1px solid #ececee; margin-top: 9px; padding-top: 3px; }
.olines div { display: flex; align-items: center; gap: 18px; height: 26px; font-size: 14.5px; letter-spacing: -.15px; }
.olines .ic { width: 22px; height: 22px; color: #1b1b1b; margin-left: -1px; }
.olines .paid { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.olines .paid .ic { width: 17px; height: 17px; color: var(--green); margin: 0; }
.olines .muted { color: #45454a; }
.ototal { font-size: 26.5px; font-weight: 800; letter-spacing: -.5px; margin-top: 4px; line-height: 30px; }
.obtns { display: grid; grid-template-columns: 197.5px 1fr; gap: 10px; margin-top: 7px; margin-left: -3.5px; }
.obtns button { height: 37.5px; border-radius: 7px; font-size: 16px; letter-spacing: -.2px; }
.obtns .b1 { background: var(--accent); color: #fff; }
.obtns .b2 { background: #eff0f1; }
.ocard--sm .oit { margin-top: 3px; }
.ocard--sm .oit img { width: 73.5px; height: 52.5px; }
.ocard--sm .oit div { line-height: 20px; }
.ocard--sm .oit small { display: block; font-size: 14px; color: var(--hint); }
.oempty { text-align: center; font-size: 13.5px; color: #9a9a9f; line-height: 16px; padding: 17px 0 16px; }
.oempty .ic { width: 34px; height: 34px; margin: 0 auto 7px; color: #8e8e93; }

.pedit { padding: 0 15px 16px 16.5px; }
.pedit .ahead { padding: 0; }
.pedit .ahead a { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.pedit .ahead a .ic { width: 26px; height: 30px; color: var(--accent); margin: 0 7px 0 -5px; stroke-width: 2.2; }
.pedit .ahead .lnk { font-size: 15.5px; color: var(--link); letter-spacing: -.15px; text-decoration: none; }
.pgal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 3px; }
.pgal div { height: 72px; border-radius: 6px; overflow: hidden; background: #f0f0f0; position: relative; }
.pgal img { width: 100%; height: 100%; object-fit: cover; }
.pgal .cover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pgal .cover img { border-radius: 6px; }
.pgal .cover span { position: absolute; left: 2px; right: 2px; bottom: 2px; height: 15px; border-radius: 5px; background: var(--accent); color: #fff; font-size: 12px; display: grid; place-items: center; }
.pgal .add { border: 1.5px dashed #c9c9ce; background: #fff; display: grid; place-items: center; color: #6e6e73; cursor: pointer; }
.pgal .add .ic { width: 26px; height: 26px; }
.fl { font-size: 14.5px; color: var(--hint); height: 32px; display: flex; align-items: flex-end; padding-bottom: 6px; letter-spacing: -.1px; }
.fi { height: 34px; border-radius: 7px; border: 1px solid #e3e3e6; background: #fff; display: flex; align-items: center; padding: 0 10px; font-size: 16.5px; letter-spacing: -.2px; position: relative; }
.fi input, .fi select { width: 100%; height: 100%; font-size: 16.5px; appearance: none; -webkit-appearance: none; }
.fi .ic { position: absolute; right: 11px; width: 20px; height: 20px; color: #6e6e73; pointer-events: none; }
.fi2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fi--price input { font-weight: 700; font-size: 17px; }
.fi--price .pill { position: absolute; right: 6px; height: 27.5px; padding: 0 10px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; }
.pnote { font-size: 13.5px; color: #9a9a9f; height: 18px; line-height: 18px; margin-top: 9px; letter-spacing: -.15px; }
.slbl { display: flex; justify-content: space-between; align-items: center; height: 20px; margin-top: 15px; font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.slbl button { font-size: 15px; font-weight: 400; color: var(--link); }
.stock { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 7.5px; }
.stock div { height: 55px; border-radius: 6px; border: 1px solid #e3e3e6; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; line-height: 21px; }
.stock div.zero span:last-child, .stock div.zero input { color: #d23b31; }
.stock input { width: 40px; text-align: center; font-size: 16px; border-bottom: 1px solid var(--accent); line-height: 19px; }
.pcolors { display: flex; gap: 11px; margin-top: 4px; align-items: center; height: 46px; }
.pcolors .sw.add { border: 1.5px dashed #c9c9ce; display: grid; place-items: center; color: #6e6e73; width: 42px; height: 42px; }
.pcolors .sw.add .ic { width: 22px; height: 22px; }
.tgl { display: flex; align-items: center; gap: 17px; font-size: 14.5px; letter-spacing: -.25px; min-height: 31px; cursor: pointer; }
.tgl.t1 { margin-top: 15px; }
.tgl small { display: block; font-size: 13.5px; color: #9a9a9f; margin-top: 3px; }
.sw-t { width: 43px; height: 26px; border-radius: 13px; background: #d9d9de; position: relative; flex: none; transition: .2s; }
.sw-t::after { content: ''; position: absolute; top: 2.5px; left: 2.5px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.sw-t.on { background: var(--accent); }
.sw-t.on::after { left: 19.5px; }
.tgl--sub { align-items: flex-start; padding-top: 4px; }
.save { width: 100%; height: 42.5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 17.5px; font-weight: 500; margin-top: 16px; letter-spacing: -.2px; }

/* простые списки (избранное, профиль, товары, клиенты) */
.list { margin: 6px 15px 16px; background: #fff; border-radius: 12px; border: 1px solid #ececee; overflow: hidden; }
.list a, .list .row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f0f0f2; text-decoration: none; color: inherit; font-size: 15px; }
.list a:last-child, .list .row:last-child { border-bottom: 0; }
.list img { width: 54px; height: 46px; border-radius: 6px; object-fit: cover; }
.list .ic { width: 20px; height: 20px; color: #a0a0a5; margin-left: auto; }
.list small { display: block; color: var(--hint); font-size: 13.5px; margin-top: 2px; }
.okscreen { text-align: center; padding: 70px 26px 20px; }
.okscreen .big { width: 76px; height: 76px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.okscreen .big .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.okscreen h2 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.okscreen p { color: var(--hint); font-size: 15.5px; margin: 10px 0 22px; line-height: 1.45; }
.okscreen .btn { width: 100%; margin-top: 8px; }
