@font-face { font-family: Onest; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f5fb;
  --soft: #e9edf7;
  --card: #ffffff;
  --ink: #0a1638;
  --text: #3a4463;
  --muted: #7b84a1;
  --line: #e2e7f2;
  --brand: #1d4ed8;
  --brand-2: #3d7bff;
  --brand-ink: #ffffff;
  --brand-soft: #e8efff;
  --teal: #0fb5a2;
  --teal-soft: #e2f8f4;
  --sun: #ff9f1c;
  --sun-soft: #fff3de;
  --rose: #e0336b;
  --rose-soft: #ffe8ef;
  --violet: #6a3cf0;
  --verdent: #0f9f5e;
  --verdent-2: #22c77a;
  --verdent-soft: #e3f8ec;
  --navy: #0a1638;
  --navy-2: #172d7a;
  --glass: rgba(255, 255, 255, .86);
  --shadow: 0 1px 2px rgba(10, 22, 56, .05), 0 8px 24px rgba(10, 22, 56, .07);
  --shadow-lg: 0 18px 50px rgba(10, 22, 56, .18);
  --r: 22px;
  --rin: 14px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --tabs-h: 66px;
  --font: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 var(--font);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
@media (display-mode: standalone) { html, body { overscroll-behavior-y: none; } }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.sprite { position: absolute; }
.ic { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 18px; height: 18px; }
.cic { flex: none; width: 44px; height: 44px; }
.muted { color: var(--muted); }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + var(--sat)) 16px 10px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.brand__mark { flex: none; width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 16px rgba(29, 78, 216, .3); }
.brand__text { display: grid; min-width: 0; line-height: 1.1; }
.brand__name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand__name b { background: linear-gradient(135deg, var(--brand-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__by { justify-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, var(--verdent-2), var(--verdent)); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.lang { flex: none; display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.lang__btn { min-width: 44px; min-height: 38px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.lang__btn.is-on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }

.net { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--sun-soft); color: var(--ink); font-size: 14px; font-weight: 600; }

.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; width: 100%; max-width: 1180px; margin: 0 auto; padding: 16px 16px calc(var(--tabs-h) + var(--sab) + 28px); }
.main > * { min-width: 0; }

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabs-h) + var(--sab));
  padding-bottom: var(--sab);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
}
.tabs__item { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); font-size: 11.5px; font-weight: 700; text-decoration: none; }
.tabs__item.is-on { color: var(--brand); }
.tabs__item.is-on .ic { stroke-width: 2.4; }
.tabs__n { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.tabs__n.is-pop { animation: pop .35s ease-out; }
@keyframes pop { 40% { transform: scale(1.35); } }
@media (min-width: 900px) {
  .tabs { left: 50%; right: auto; bottom: 16px; width: 560px; height: var(--tabs-h); padding: 0; border: 1px solid var(--line); border-radius: 22px; transform: translateX(-50%); box-shadow: var(--shadow-lg); }
}

.sec { display: grid; gap: 12px; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.sec__title { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.sec__more { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }

.searchbar { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--muted); font-size: 15.5px; text-decoration: none; box-shadow: var(--shadow); }
.field__box { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 8px 0 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.field__box:focus-within { border-color: var(--brand); }
.field__input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font-size: 17px; }
.field__clear { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }

.hero {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 22px 20px 20px;
  border-radius: 28px;
  background: radial-gradient(110% 80% at 100% 0%, rgba(61, 123, 255, .22), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(46, 230, 200, .25), transparent 60%), linear-gradient(160deg, #ffffff, #eef3ff 60%, #e7fbf6);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(29, 78, 216, .14);
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 123, 255, .14), transparent); z-index: -1; }
.hero__tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero__tag .cic { width: 18px; height: 18px; }
.hero__name { margin: 0; font-size: clamp(26px, 7.4vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__name small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .46em; font-weight: 700; letter-spacing: .02em; }
.hero__pic { position: relative; display: grid; place-items: center; min-height: 230px; }
.hero__pic img { width: min(88%, 380px); max-height: 330px; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(10, 22, 56, .25)); animation: float 6s ease-in-out infinite; }
.hero__pic::before { content: ""; position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 123, 255, .3), transparent 70%); filter: blur(6px); }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero__fact { display: grid; gap: 2px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero__fact b { color: var(--brand); font-size: clamp(14px, 4.2vw, 18px); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.hero__fact span { color: var(--muted); font-size: 12px; line-height: 1.25; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hero__price { font-size: 20px; font-weight: 800; }
.hero__price small { display: block; color: var(--teal); font-size: 12px; font-weight: 600; }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 36px; }
  .hero__pic { grid-row: 1 / span 4; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .hero__pic img { animation: none; } }

.rail::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cat { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 120px; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease; }
.cat:active { transform: scale(.97); }
.cat__name { font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.cat__n { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.cat::after { content: ""; position: absolute; right: -26px; top: -26px; width: 90px; height: 90px; border-radius: 50%; background: var(--brand-soft); opacity: .7; z-index: 0; }
.cat > * { position: relative; z-index: 1; }
.cat--wide { grid-column: 1 / -1; display: flex; align-items: center; min-height: 0; }
.cat__body { display: grid; gap: 3px; }
.cat--wide .cat__body { flex: 1; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 44%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
@media (min-width: 600px) { .rail { grid-auto-columns: 210px; } }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

.pcard { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.pcard__pic { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.pcard__pic img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pcard__body { display: grid; align-content: start; gap: 6px; padding: 10px 12px 12px; }
.pcard__name { display: -webkit-box; overflow: hidden; min-height: 2.6em; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pcard__row { display: flex; align-items: end; justify-content: space-between; gap: 6px; }
.price { display: grid; gap: 1px; min-width: 0; }
.price b { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pcard__row .price { flex: 1; }
.price s { color: var(--muted); font-size: 12px; }
.price em { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 700; }
.add { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 18px rgba(29, 78, 216, .3); cursor: pointer; transition: transform .15s ease; }
.add:active { transform: scale(.9); }
.add.is-in { background: linear-gradient(135deg, #2ee6c8, var(--teal)); box-shadow: 0 8px 18px rgba(15, 181, 162, .32); }
.add:disabled { background: var(--soft); color: var(--muted); box-shadow: none; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #8a93ad; box-shadow: 0 4px 12px rgba(10, 22, 56, .12); cursor: pointer; }
.fav.is-on { color: var(--rose); }
.fav.is-on .ic { fill: currentColor; }
.badges { position: absolute; top: 8px; left: 8px; z-index: 2; display: grid; justify-items: start; gap: 4px; }
.badge { padding: 3px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; }
.badge--hit { background: linear-gradient(135deg, #ffcf4a, #ff8a1f); color: #3a2200; }
.badge--sale { background: var(--rose); color: #fff; }
.badge--order { background: var(--sun-soft); color: #9a5a00; }
.badge--out { background: var(--soft); color: var(--muted); }
.badge--new { background: var(--teal-soft); color: #08786b; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 16px; background: var(--soft); color: var(--ink); font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.btn:active { transform: scale(.98); }
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 12px 26px rgba(29, 78, 216, .3); }
.btn--teal { background: linear-gradient(135deg, #2ee6c8, var(--teal)); color: #04332d; box-shadow: 0 12px 26px rgba(15, 181, 162, .3); }
.btn--line { border: 1.5px solid var(--line); background: var(--card); }
.btn--danger { background: var(--rose-soft); color: var(--rose); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.is-busy { pointer-events: none; opacity: .7; }

.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.chip.is-on { border-color: transparent; background: var(--ink); color: var(--bg); }

.crumbs { display: flex; align-items: center; gap: 8px; }
.back { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.page__title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; overflow-wrap: anywhere; }
.page__sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 24px; background: #fff; box-shadow: var(--shadow); scrollbar-width: none; }
.gallery__item { display: grid; place-items: center; aspect-ratio: 1; scroll-snap-align: center; }
.gallery__item img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .2s ease; }
.dots i.is-on { width: 20px; background: var(--brand); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 62px; height: 62px; padding: 4px; border: 2px solid transparent; border-radius: 14px; background: #fff; cursor: pointer; }
.thumbs button.is-on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo { display: grid; gap: 12px; }
.pinfo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pinfo__price b { font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
.pinfo__price s { color: var(--muted); font-size: 16px; }
.stock { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { background: var(--teal-soft); color: #08786b; }
.stock--order { background: var(--sun-soft); color: #9a5a00; }
.stock--out { background: var(--soft); color: var(--muted); }
.qty { display: inline-flex; align-items: center; height: 52px; padding: 4px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); }
.qty button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; }
.qty span { min-width: 40px; font-size: 17px; font-weight: 800; text-align: center; }
.qty--sm { height: 44px; border-radius: 13px; }
.qty--sm button { width: 34px; height: 34px; border-radius: 10px; }
.qty--sm span { min-width: 30px; font-size: 15px; }
.specs { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 11px 14px; font-size: 14px; }
.specs div:nth-child(odd) { background: var(--bg); }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.about { display: grid; gap: 8px; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.about p { margin: 0; }
.about.is-cut { max-height: 11em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.linkbtn { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand); font-weight: 800; cursor: pointer; }
.buybar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabs-h) + var(--sab)); z-index: 25; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
.buybar .btn { flex: 1; }
.buybar .btn { min-width: 0; padding: 0 14px; }
.buybar__label { display: grid; min-width: 0; line-height: 1.15; text-align: left; }
.buybar__label b { overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.buybar__label span { overflow: hidden; font-size: 12.5px; font-weight: 700; opacity: .85; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 900px) { .buybar { left: 50%; right: auto; bottom: 96px; width: 560px; border: 1px solid var(--line); border-radius: 20px; transform: translateX(-50%); box-shadow: var(--shadow-lg); } }
.has-buybar .main { padding-bottom: calc(var(--tabs-h) + var(--sab) + 110px); }
@media (min-width: 900px) { .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; } }

.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.line__pic { display: block; width: 76px; height: 76px; padding: 4px; border-radius: 14px; background: #fff; }
.line__pic img { width: 100%; height: 100%; object-fit: contain; }
.line__body { display: grid; gap: 6px; min-width: 0; }
.line__name { display: -webkit-box; overflow: hidden; font-size: 14.5px; font-weight: 700; line-height: 1.3; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.line__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.line__del { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; }
.total { display: grid; gap: 8px; padding: 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.total__row { display: flex; justify-content: space-between; gap: 12px; color: var(--text); font-size: 15px; }
.total__row--big { color: var(--ink); font-size: 20px; font-weight: 800; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--brand-soft); color: var(--ink); font-size: 14px; line-height: 1.45; }
.note .cic { width: 34px; height: 34px; }

.form { display: grid; gap: 14px; }
.form__field { display: grid; gap: 6px; }
.form__label { font-size: 14px; font-weight: 700; color: var(--text); }
.form__input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); font-size: 16px; outline: 0; }
.form__input:focus { border-color: var(--brand); }
.form__input--area { min-height: 96px; resize: vertical; }
.form__hint { color: var(--muted); font-size: 13px; }
.form__err { color: var(--rose); font-size: 13px; font-weight: 700; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg__btn { display: grid; gap: 2px; min-height: 64px; padding: 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); text-align: left; cursor: pointer; }
.seg__btn b { font-size: 15px; }
.seg__btn span { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.seg__btn.is-on { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }

.empty { display: grid; justify-items: center; gap: 10px; padding: 40px 16px; text-align: center; }
.empty .cic { width: 76px; height: 76px; }
.empty__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.empty__text { margin: 0; max-width: 32ch; color: var(--muted); }
.done { display: grid; justify-items: center; gap: 12px; padding: 32px 16px; text-align: center; }
.done__mark { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, #2ee6c8, var(--teal)); color: #fff; box-shadow: 0 16px 36px rgba(15, 181, 162, .35); animation: pop .5s ease-out; }
.done__mark .ic { width: 44px; height: 44px; stroke-width: 3; }

.orders { display: grid; gap: 10px; }
.order { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.order__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order__num { font-weight: 800; }
.order__items { color: var(--text); font-size: 14px; }
.st { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 9px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.st--new { background: var(--rose-soft); color: var(--rose); }
.st--confirmed { background: var(--sun-soft); color: #9a5a00; }
.st--shipped { background: var(--brand-soft); color: var(--brand); }
.st--done { background: var(--teal-soft); color: #08786b; }
.st--cancelled { background: var(--soft); color: var(--muted); }

.contact { display: grid; gap: 14px; padding: 20px; border-radius: 26px; background: linear-gradient(150deg, var(--brand-2), var(--brand) 55%, #0e9f8f); color: #fff; box-shadow: 0 20px 50px rgba(29, 78, 216, .28); }
.contact__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.contact__text { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14.5px; }
.contact__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.contact__btn { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); color: #fff; text-decoration: none; }
.contact__btn .cic { width: 38px; height: 38px; }
.contact__btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.contact__btn b { display: block; font-size: 14px; }
.contact__btn span { color: rgba(255, 255, 255, .82); font-size: 12px; }
.verdent { position: relative; display: grid; gap: 14px; overflow: hidden; padding: 20px; border: 1px solid #bfe9d2; border-radius: 26px; background: radial-gradient(90% 80% at 100% 0%, rgba(34, 199, 122, .22), transparent 60%), linear-gradient(160deg, #ffffff, var(--verdent-soft)); }
.verdent__mark { display: inline-flex; align-items: center; gap: 10px; }
.verdent__logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--verdent-2), var(--verdent)); color: #fff; font-size: 24px; font-weight: 800; box-shadow: 0 10px 22px rgba(15, 159, 94, .3); }
.verdent__name { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--verdent); }
.verdent__sub { color: var(--muted); font-size: 13px; font-weight: 700; }
.verdent__text { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.verdent__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .verdent__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.verdent__item { display: grid; gap: 6px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid #d3f0df; }
.verdent__item .cic { width: 36px; height: 36px; }
.verdent__item b { font-size: 14px; line-height: 1.25; }
.verdent__item span { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.foot__brand b { color: var(--verdent); }
.foot { display: grid; justify-items: center; gap: 8px; padding: 8px 0; color: var(--muted); font-size: 13px; text-align: center; }
.foot a { color: inherit; }
.foot__brand { font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + var(--sab) + 18px); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: 14.5px; font-weight: 600; transform: translateX(-50%); box-shadow: var(--shadow-lg); animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.skel { border-radius: 20px; background: linear-gradient(90deg, var(--soft), var(--card), var(--soft)); background-size: 200% 100%; animation: shine 1.2s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.reveal { animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

.isheet-back { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(6, 12, 34, .5); animation: isheet-fade .2s ease-out; }
.isheet-back.is-out { opacity: 0; transition: opacity .2s ease; }
@keyframes isheet-fade { from { opacity: 0; } }
.isheet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; max-width: 520px; padding: 18px 16px calc(16px + var(--sab)); border-radius: 26px 26px 0 0; background: var(--card); box-shadow: 0 -10px 40px rgba(6, 12, 34, .3); animation: isheet-up .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes isheet-up { from { transform: translateY(100%); } }
.isheet__head { display: flex; align-items: center; gap: 12px; }
.isheet__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; }
.isheet__intro { display: grid; flex: 1; gap: 2px; min-width: 0; }
.isheet__title { font-size: 17px; font-weight: 800; }
.isheet__intro span { color: var(--muted); font-size: 14px; }
.isheet__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.isheet__steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.isheet__step { display: flex; gap: 12px; align-items: flex-start; }
.isheet__num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.isheet__stepText { display: grid; gap: 2px; }
.isheet__stepText span { color: var(--muted); font-size: 13.5px; }
.isheet__glyph { width: 18px; height: 18px; vertical-align: -3px; color: var(--brand); }
.isheet__later { min-height: 44px; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.isheet__pointer { position: fixed; left: 50%; bottom: 6px; z-index: 81; color: #fff; transform: translateX(-50%); animation: isheet-bounce 1.2s ease-in-out infinite; pointer-events: none; }
.isheet__pointer .ic { width: 30px; height: 30px; }
@keyframes isheet-bounce { 50% { transform: translate(-50%, 6px); } }
.isheet__pointer--right { left: auto; right: 14px; transform: none; animation-name: isheet-bounce-r; }
@keyframes isheet-bounce-r { 50% { transform: translateY(6px); } }
.isheet-back:has(.isheet__pointer) .isheet { margin-bottom: 36px; border-radius: 26px; }

.doc { padding: 16px; }
.doc__main { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.doc__card { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.doc__card h1 { margin-top: 0; font-size: 24px; letter-spacing: -.02em; }
.doc__card h2 { font-size: 17px; }

.is-desk .app { display: none; }
.desk { min-height: 100svh; background: var(--bg); }
.dlog { display: grid; place-items: center; min-height: 100svh; padding: 24px 16px; background: radial-gradient(120% 80% at 100% 0%, rgba(61, 123, 255, .35), transparent 60%), linear-gradient(160deg, #0a1638, #172d7a); }
.dlog__card { display: grid; gap: 14px; width: 100%; max-width: 400px; padding: 26px 22px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow-lg); }
.dlog__brand { display: flex; align-items: center; gap: 12px; }
.dlog__brand img { width: 52px; height: 52px; border-radius: 15px; }
.dlog__title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dlog__sub { margin: 0; color: var(--muted); font-size: 14px; }

.adm { display: grid; min-height: 100svh; }
@media (min-width: 1024px) { .adm { grid-template-columns: 248px minmax(0, 1fr); } }
.aside { display: none; }
@media (min-width: 1024px) {
  .aside { position: sticky; top: 0; display: flex; flex-direction: column; gap: 6px; height: 100svh; padding: 22px 14px; background: linear-gradient(180deg, #0a1638, #101f57); color: #fff; }
}
.aside__brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; }
.aside__brand img { width: 40px; height: 40px; border-radius: 12px; }
.aside__brand b { display: block; font-size: 17px; font-weight: 800; }
.aside__brand span { color: rgba(255, 255, 255, .6); font-size: 12px; }
.aside__item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border: 0; border-radius: 13px; background: transparent; color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; }
.aside__item:hover { background: rgba(255, 255, 255, .06); }
.aside__item.is-on { background: rgba(255, 255, 255, .13); color: #fff; }
.aside__item em { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; text-align: center; }
.aside__foot { display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.awork { display: grid; align-content: start; gap: 16px; min-width: 0; padding: calc(14px + var(--sat)) 16px calc(var(--tabs-h) + var(--sab) + 24px); }
@media (min-width: 1024px) { .awork { padding: 26px 30px 40px; } }
.atop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.atop__title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.atop__date { color: var(--muted); font-size: 14px; font-weight: 600; }
.atop__brand { display: flex; align-items: center; gap: 10px; }
.atop__brand img { width: 38px; height: 38px; border-radius: 11px; }
@media (min-width: 1024px) { .atop__brand img { display: none; } }
.periods { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.periods .chip { min-height: 40px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.kpi__top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.kpi__top .cic { width: 30px; height: 30px; }
.kpi__val { font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
@media (min-width: 900px) { .kpi__val { font-size: 27px; } }
.delta { justify-self: start; padding: 3px 8px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 700; }
.delta.is-up { background: var(--teal-soft); color: #08786b; }
.delta.is-down { background: var(--rose-soft); color: var(--rose); }
.box { display: grid; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.box__title { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.box__cap { color: var(--muted); font-size: 13px; }
.duo { display: grid; gap: 16px; }
@media (min-width: 1100px) { .duo { grid-template-columns: 1.6fr 1fr; } }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__tip { position: absolute; top: 0; z-index: 2; padding: 8px 10px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 12.5px; line-height: 1.35; white-space: nowrap; pointer-events: none; transform: translateX(-50%); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.legend i { display: inline-block; width: 18px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; background: var(--brand); }
.legend i.is-prev { background: repeating-linear-gradient(90deg, #b6bdcc 0 4px, transparent 4px 7px); }
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow__cell { display: grid; gap: 2px; padding: 12px; border: 0; border-radius: 16px; background: var(--bg); text-align: left; cursor: pointer; }
.flow__cell b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.flow__cell span { color: var(--muted); font-size: 13px; font-weight: 700; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; gap: 5px; }
.bar__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.bar__row span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar__row b { flex: none; }
.bar__track { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-2), var(--teal)); }
.alerts { display: grid; gap: 8px; }
.alert { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 16px; text-align: left; cursor: pointer; }
.alert b { display: block; font-size: 14.5px; }
.alert span { font-size: 13px; opacity: .85; }
.alert--crit { background: var(--rose-soft); color: var(--rose); }
.alert--warn { background: var(--sun-soft); color: #8a4f00; }
.alert--good { background: var(--teal-soft); color: #08786b; }
.alert .ic { flex: none; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools .field__box { flex: 1 1 220px; min-height: 46px; }
.tools .field__input { height: 44px; font-size: 15px; }
.tools select { min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); font-weight: 700; }
.atbl { display: grid; gap: 8px; }
.arow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-align: left; cursor: pointer; }
.arow:hover { border-color: var(--brand); }
.arow__main { display: grid; gap: 2px; min-width: 0; }
.arow__title { overflow: hidden; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.arow__sub { overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.arow__side { display: grid; justify-items: end; gap: 4px; }
.arow__sum { font-weight: 800; white-space: nowrap; }
.arow--prod { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; }
.arow--prod img { width: 56px; height: 56px; padding: 3px; border-radius: 12px; background: #fff; object-fit: contain; }
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pager__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; }
.pager__btn:disabled { opacity: .4; }
.pager__info { color: var(--muted); font-size: 14px; font-weight: 700; }
.sheet-back { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; background: rgba(6, 12, 34, .45); animation: isheet-fade .2s ease-out; }
.sheet { display: grid; align-content: start; gap: 14px; width: 100%; max-width: 560px; height: 100%; overflow-y: auto; padding: calc(14px + var(--sat)) 16px calc(24px + var(--sab)); background: var(--bg); animation: slide-in .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide-in { from { transform: translateX(100%); } }
.sheet__head { position: sticky; top: calc(-14px - var(--sat)); z-index: 2; display: flex; align-items: center; gap: 10px; margin: calc(-14px - var(--sat)) -16px 0; padding: calc(12px + var(--sat)) 16px 12px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.sheet__title { flex: 1; min-width: 0; margin: 0; overflow: hidden; font-size: 18px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; }
.kv { display: grid; gap: 8px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; }
.shot { position: relative; width: 84px; height: 84px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.shot button { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--rose); color: #fff; cursor: pointer; }
.shot--add { display: grid; place-items: center; border-style: dashed; color: var(--muted); cursor: pointer; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); font-weight: 700; cursor: pointer; }
.switch input { width: 46px; height: 28px; appearance: none; border-radius: 99px; background: var(--soft); position: relative; cursor: pointer; transition: background .2s ease; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.switch input:checked { background: var(--teal); }
.switch input:checked::after { transform: translateX(18px); }
.specrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 6px; }
.wbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tabs-h) + var(--sab)); padding-bottom: var(--sab); background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .wbar { display: none; } }
.wbar__item { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; border: 0; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.wbar__item.is-on { color: var(--brand); }
.wbar__item em { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--rose); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; line-height: 19px; }
