/* CSS, public/styles.css, Rush Market catalogue and operator screens. */
:root { color-scheme:dark; --bg:#101318; --surface:#171c23; --raised:#1d242d; --line:#2b333f; --text:#f1f0ec; --muted:#a2a9b3; --blue:#4c8dff; --success:#8bc5a6; --danger:#efadb5; font-family:'Segoe UI',Arial,sans-serif; font-size:16px; font-synthesis:none; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; background:var(--bg); color:var(--text); font-size:16px; line-height:1.55; }
button,input,textarea,select { font:inherit; color:inherit; }
button { border:0; cursor:pointer; }
button:disabled { opacity:.45; cursor:not-allowed; }
button,a { touch-action:manipulation; }
a { color:#a6c7ff; text-decoration:none; }
a:hover { color:#d7e5ff; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:2px solid #91b9ff; outline-offset:3px; }
input,textarea,select { min-width:0; }
img { display:block; max-width:100%; }
svg { display:block; width:22px; height:22px; flex-shrink:0; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { color:var(--text); font-weight:600; }
strong,b { font-weight:600; }
[hidden] { display:none!important; }
::selection { background:#305486; color:white; }
.skip-link { position:fixed; z-index:200; left:12px; top:-100px; padding:10px 15px; background:#2866c8; color:white; border-radius:5px; }
.skip-link:focus { top:12px; }
.app-shell { min-height:100vh; }
.sidebar { position:fixed; z-index:30; inset:0 auto 0 0; width:210px; padding:28px 16px 22px; display:flex; flex-direction:column; background:#13171d; border-right:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:10px; color:#f5f4ee; margin:0 10px 38px; }
.brand:hover { color:white; }
.brand-letter,.brand-mark { width:30px; height:30px; display:grid; place-items:center; color:white; background:#3476dd; font-size:20px; font-weight:700; border-radius:6px; }
.brand-mark svg { width:19px; height:19px; }
.brand-name { font-size:21px; line-height:1.15; letter-spacing:-.45px; font-weight:600; }
.brand-name > span { margin-left:4px; color:#a8b0bd; font-weight:400; }
.brand-subtitle,.brand-image { display:none; }
.nav { display:grid; gap:5px; }
.nav-item { display:flex; align-items:center; gap:12px; min-height:45px; width:100%; padding:11px 13px; background:transparent; color:#9fa8b6; border-radius:6px; font-size:15px; text-align:left; }
.nav-item svg { width:20px; height:20px; }
.nav-item:hover { background:#1d242e; color:var(--text); }
.nav-item.active { background:#222c3a; color:#e6efff; }
.sidebar-bottom { display:grid; gap:14px; margin-top:auto; padding-top:30px; }
.operator-link { font-size:12px; color:#858f9e; background:none; text-align:left; padding:9px 13px; }
.operator-link:hover { color:#d2d9e4; }
.channel-link { display:flex; align-items:center; gap:10px; padding:13px; border-top:1px solid var(--line); color:#c4cfdf; }
.channel-link > svg:first-child { color:#63a7eb; }
.channel-link > div,.channel-link > span { min-width:0; }
.channel-link strong,.channel-link small { display:block; }
.channel-link strong { font-size:13px; }
.channel-link small { font-size:11px; color:#7f8a9a; margin-top:3px; }
.channel-link > svg:last-child { width:15px; height:15px; margin-left:auto; }
.main { min-width:0; max-width:1840px; margin-left:210px; padding:0 34px; }
.topbar { display:flex; gap:18px; align-items:center; min-height:88px; border-bottom:1px solid var(--line); margin-bottom:30px; }
.mobile-brand { display:none; }
.search-wrap { display:flex; align-items:center; gap:10px; flex:1; min-width:0; height:44px; max-width:660px; padding:0 13px; background:#1a2029; border:1px solid #303947; border-radius:6px; }
.search-wrap:focus-within { border-color:#608ecb; }
.search-wrap > span { color:#8f9aaa; }
.search-wrap svg { width:19px; height:19px; }
.search-wrap input { width:100%; height:100%; border:0; outline:0; background:none; font-size:15px; }
.search-wrap input:focus-visible { outline:none; }
.search-wrap input::placeholder { color:#7e899a; }
.search-wrap kbd { color:#687587; border:1px solid #3a4555; font-size:11px; border-radius:3px; padding:0 4px; }
.top-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }
.orders-button,.profile-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; background:transparent; color:#afb9c8; border:1px solid #303947; border-radius:6px; }
.orders-button { padding:10px 13px; font-size:14px; white-space:nowrap; }
.profile-button { width:42px; height:42px; }
.orders-button svg,.profile-button svg { width:20px; height:20px; }
.orders-button:hover,.profile-button:hover { color:white; background:#202936; border-color:#53637a; }
#content { min-height:calc(100vh - 200px); }
.store-heading { margin:0 0 20px; }
.store-heading h1 { font-size:34px; line-height:1.2; letter-spacing:-.9px; margin-bottom:9px; }
.store-heading p { margin:0; color:#929dab; font-size:15px; }
.mobile-break { display:none; }
.store-announcement { display:flex; align-items:center; gap:10px; padding:11px 0; margin:0 0 20px; color:#a2adbc; font-size:13px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.store-announcement svg { width:17px; height:17px; color:#76879f; }
.category-tabs { display:flex; align-items:stretch; gap:25px; border-bottom:1px solid #343c49; overflow-x:auto; scrollbar-width:none; margin-bottom:20px; }
.category-tabs::-webkit-scrollbar { display:none; }
.category-tab { position:relative; display:inline-flex; align-items:center; gap:7px; flex-shrink:0; min-height:46px; padding:6px 0 13px; background:none; color:#9ca7b6; font-size:15px; white-space:nowrap; border-bottom:2px solid transparent; }
.category-tab:hover { color:white; }
.category-tab.active { color:#e6efff; border-bottom-color:#5a96f6; }
.category-tab small { font-size:11px; line-height:1.3; padding:2px 5px; color:#9aa7b8; background:#242c37; border-radius:3px; font-variant-numeric:tabular-nums; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:18px; }
.result-count { color:#8290a2; font-size:13px; overflow-wrap:anywhere; }
.catalog-toolbar select { max-width:220px; min-height:34px; padding:5px 26px 5px 10px; font-size:13px; color:#a8b4c5; border:1px solid #303947; border-radius:5px; background:#161d26; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.product-card { display:flex; flex-direction:column; min-width:0; padding:22px; background:var(--surface); border:1px solid #303946; border-radius:8px; }
.product-card:hover { border-color:#52647f; }
.product-ident { display:flex; align-items:center; gap:13px; min-width:0; margin-bottom:18px; }
.product-ident > div:last-child { min-width:0; }
.product-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:#242d39; color:#b8c9e1; border-radius:8px; }
.product-icon svg { width:25px; height:25px; }
.product-icon.telegram { color:#61a9ea; background:#172c3e; }
.product-icon.crown,.product-icon.star,.product-icon.phone { color:#b8c9e1; background:#242d39; }
.product-category { display:block; font-size:11px; color:#7e8da1; margin-bottom:4px; }
.product-card h3 { font-size:19px; line-height:1.3; letter-spacing:-.25px; margin:0; }
.product-term { display:inline-flex; align-self:flex-start; padding:3px 7px; font-size:11px; color:#a8bacf; background:#242f3e; border-radius:3px; margin:-3px 0 12px; }
.product-description { font-size:14px; line-height:1.65; color:#9ba6b5; margin-bottom:16px; }
.product-meta { display:flex; align-items:center; gap:7px; font-size:12px; color:#8797aa; margin-top:auto; margin-bottom:19px; }
.availability-dot { width:5px; height:5px; border-radius:50%; background:#8ca6bc; flex-shrink:0; }
.availability-dot.unavailable { background:#6d7683; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:17px; border-top:1px solid #2b3543; }
.price { display:block; font-size:26px; font-weight:600; letter-spacing:-.6px; line-height:1.3; color:#f4f2ee; font-variant-numeric:tabular-nums; white-space:nowrap; }
.product-bottom small { display:block; margin-top:3px; font-size:11px; color:#707e91; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:43px; padding:10px 16px; border:1px solid transparent; border-radius:6px; font-size:15px; font-weight:600; line-height:1.4; }
.button svg { width:18px; height:18px; }
.primary { background:#3678df; border-color:#3678df; color:#fff; }
.primary:hover { background:#4688ee; border-color:#4688ee; color:#fff; }
.secondary { background:#232e3d; color:#bfd0e7; border-color:#40516a; }
.secondary:hover { background:#2b3b50; border-color:#607796; color:#fff; }
.danger { background:#39272e; color:#efbdc5; border-color:#6a424f; }
.danger:hover { background:#4b303c; }
.buy-button { min-height:40px; font-size:14px; padding:10px 12px; }
.buy-button svg { width:15px; height:15px; }
.text-link { display:inline-flex; align-items:center; gap:7px; background:none; color:#a1bfe8; font-size:14px; padding:6px 0; text-align:left; }
.text-link svg { width:16px; height:16px; }
.text-link:hover { color:#d3e4ff; }
.catalog-help { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; border-top:1px solid var(--line); padding:22px 0 4px; margin-top:30px; font-size:13px; color:#8e9bab; }
.catalog-help > span { display:flex; align-items:center; gap:10px; }
.catalog-help > span svg { width:18px; height:18px; }
.catalog-help .text-link { font-size:13px; }
.footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:28px 0; font-size:11px; color:#667588; }
.footer a { color:#899bb2; }
.page-heading { margin:0 0 26px; }
.page-heading h1 { font-size:31px; line-height:1.25; letter-spacing:-.6px; margin-bottom:10px; }
.page-heading p { color:#8f9daf; font-size:15px; line-height:1.7; margin-bottom:0; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:20px; }
.section-heading h2 { font-size:22px; line-height:1.3; margin:0; letter-spacing:-.3px; }
.section-heading h2 span { color:#8292a8; font-size:14px; font-weight:400; margin-left:7px; }
.filter-row { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:20px; }
.chip { min-height:36px; padding:7px 12px; background:#19222e; border:1px solid #303f53; color:#a4b3c7; border-radius:5px; font-size:13px; }
.chip.active { color:#d5e5ff; background:#223b5e; border-color:#4f77a9; }
.empty-state { display:flex; align-items:center; flex-direction:column; padding:42px 24px; border:1px solid #303b49; border-radius:8px; background:#171e28; text-align:center; }
.empty-state h2 { font-size:24px; line-height:1.3; margin-bottom:11px; }
.empty-state p { max-width:560px; color:#92a2b8; font-size:15px; line-height:1.7; margin-bottom:22px; }
.empty-state > svg { color:#8197b4; width:36px; height:36px; margin-bottom:20px; }
.orders-list { display:grid; gap:16px; }
.order-card,.content-panel,.profile-card,.stat-card,.admin-product,.admin-order { min-width:0; padding:24px; background:#171e28; border:1px solid #2f3b4c; border-radius:8px; }
.order-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.order-id { color:#98abc4; font:12px Consolas,monospace; overflow-wrap:anywhere; }
.status { display:inline-flex; padding:4px 8px; font-size:11px; line-height:1.6; font-weight:600; border-radius:4px; background:#27374f; color:#b8ccea; }
.status-new { background:#3d3627; color:#d8c091; }
.status-waiting_payment { background:#2c3447; color:#c0cce4; }
.status-processing { background:#263d5b; color:#b4d2f5; }
.status-completed { background:#263e35; color:#add6bd; }
.status-cancelled { background:#422e37; color:#d8a8b7; }
.order-info { display:flex; justify-content:space-between; gap:20px; font-size:15px; line-height:1.7; color:#a5b5cc; }
.order-info h3 { color:#edf1f8; font-size:20px; line-height:1.4; margin-bottom:6px; }
.order-info p { margin-bottom:5px; }
.order-info small { color:#7f93af; font-size:12px; }
.order-info .price { font-size:25px; }
.order-note,.modal-description { font-size:14px; line-height:1.75; color:#9eafc6; overflow-wrap:anywhere; }
.order-note { margin:15px 0 0; }
.order-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; border-top:1px solid #304056; padding-top:17px; margin-top:20px; }
.order-actions .button { font-size:13px; min-height:38px; }
.delivery-text { white-space:pre-wrap; overflow-wrap:anywhere; margin-top:9px; }
.content-panel { max-width:1020px; padding:28px; }
.content-panel + .content-panel { margin-top:20px; }
.content-panel h2 { font-size:24px; line-height:1.35; margin-bottom:14px; }
.content-panel h3 { font-size:19px; line-height:1.4; margin-top:24px; margin-bottom:10px; }
.content-panel p,.content-panel li { font-size:16px; line-height:1.8; color:#9eb0c8; }
.content-panel ol,.content-panel ul { padding-left:23px; }
.content-panel li + li { margin-top:9px; }
.content-panel p:last-child { margin-bottom:0; }
.content-panel > .help-icon,.content-panel > .profile-avatar { margin-bottom:20px; }
.help-icon { display:flex; align-items:center; color:#94b3df; width:35px; height:35px; }
.help-icon svg { width:28px; height:28px; }
.account-layout { display:grid; gap:20px; max-width:1020px; }
.profile-card { display:flex; align-items:center; gap:17px; }
.profile-avatar { display:grid; place-items:center; width:57px; height:57px; background:#26374f; color:#b7cce8; border-radius:50%; flex-shrink:0; }
.profile-avatar svg { width:28px; height:28px; }
.profile-details { min-width:0; }
.profile-details h2 { font-size:22px; margin-bottom:6px; overflow-wrap:anywhere; }
.profile-details p { font-size:14px; color:#99acc6; margin:0; overflow-wrap:anywhere; }
.profile-card > .button { margin-left:auto; }
.stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.stat-card { display:flex; flex-direction:column; gap:9px; color:#94a7c2; font-size:13px; }
.stat-card strong { font-size:28px; line-height:1.3; font-variant-numeric:tabular-nums; color:#e6effc; }
.admin-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 18px; border:1px solid #35475e; border-radius:6px; background:#1d2b3f; color:#b1c6e4; font-size:13px; margin-bottom:21px; }
.admin-bar > span { display:flex; align-items:center; gap:9px; }
.admin-bar svg { width:17px; height:17px; }
.admin-bar .button { font-size:13px; min-height:37px; }
.admin-tabs { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.admin-tabs button { min-height:40px; padding:9px 14px; color:#aabdd7; background:#1a2637; border:1px solid #34465e; border-radius:5px; font-size:14px; }
.admin-tabs button.active { background:#27456b; color:#d7e9ff; border-color:#5d7fa9; }
.admin-product,.admin-order { margin-bottom:16px; }
.admin-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:12px; }
.admin-row h3 { font-size:20px; margin:0; }
.admin-row small { color:#9aacc6; font-size:13px; line-height:1.7; }
.admin-row .button { font-size:13px; min-height:37px; }
.admin-order-form { border-top:1px solid #34465f; padding-top:20px; margin-top:20px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.field { display:flex; flex-direction:column; min-width:0; gap:7px; margin-bottom:19px; }
.field label { color:#b9c9df; font-size:14px; font-weight:600; }
.field input,.field select,.field textarea { display:block; width:100%; min-height:46px; padding:10px 12px; background:#121c2b; border:1px solid #425976; border-radius:6px; color:#e8f0fb; font-size:16px; }
.field label > input,.field label > select,.field label > textarea { margin-top:8px; }
.field textarea { min-height:88px; resize:vertical; line-height:1.65; }
.field input:hover,.field select:hover,.field textarea:hover { border-color:#607c9f; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:#8aaff0; }
.field small { color:#8299bb; font-size:12px; line-height:1.7; }
.field:has(input[type='checkbox']) { flex-direction:row; align-items:center; }
.field input[type='checkbox'] { width:17px; height:17px; min-height:0; accent-color:#4c8dff; }
.form-grid .field { margin-bottom:0; }
.form-grid .full-width { grid-column:1/-1; }
.form-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; padding-top:17px; }
.optional { font-size:12px; color:#7f95b5; font-weight:400; }
.notice { padding:14px 16px; margin:18px 0; border:1px solid #3b5273; border-radius:6px; background:#1b2b43; color:#b1c7e7; font-size:13px; line-height:1.75; overflow-wrap:anywhere; }
.notice.error { background:#33232f; color:#edb8c2; border-color:#6c4557; }
.notice.success { background:#203b34; color:#b1d6c7; border-color:#436d60; }
.terms-row { display:flex; align-items:flex-start; gap:9px; margin:17px 0; color:#9eb3d3; font-size:13px; line-height:1.75; }
.terms-row input { flex-shrink:0; width:17px; height:17px; margin-top:3px; accent-color:#4c8dff; }
.terms-row a { text-decoration:underline; text-underline-offset:3px; }
dialog#modal { width:min(580px,calc(100% - 28px)); max-height:calc(100dvh - 36px); margin:auto; padding:0; overflow:auto; border:1px solid #4b607c; border-radius:9px; background:#182333; color:#e9f0fa; }
dialog#modal::backdrop { background:#060910ca; }
.modal-panel { padding:26px; }
.modal-header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:22px; }
.modal-header h2 { font-size:24px; line-height:1.3; margin:0; letter-spacing:-.3px; }
.icon-button { display:grid; place-items:center; flex-shrink:0; width:35px; height:35px; background:#24374f; border:1px solid #465d7b; border-radius:5px; color:#bfcee2; }
.icon-button:hover { background:#304966; }
.icon-button svg { width:18px; height:18px; }
.product-preview { display:flex; align-items:center; gap:14px; padding:16px; margin-bottom:21px; border:1px solid #344861; border-radius:6px; background:#121c2c; }
.product-preview h3 { font-size:18px; line-height:1.4; margin-bottom:6px; }
.product-preview p { font-size:12px; color:#94a9c6; line-height:1.7; margin-bottom:0; }
.checkout-summary { padding:18px 0; margin:21px 0; border-top:1px solid #3c506e; border-bottom:1px solid #3c506e; }
.checkout-summary > div { display:flex; align-items:center; justify-content:space-between; gap:14px; color:#a0b5d1; font-size:14px; }
.checkout-summary > div + div { margin-top:14px; }
.checkout-summary strong { color:#e9f2ff; }
.checkout-summary .total { font-size:17px; color:#d5e4f9; }
.checkout-summary .total strong { font-size:26px; font-variant-numeric:tabular-nums; }
.quantity-control { display:inline-flex; align-items:center; gap:9px; }
.quantity-control button { display:grid; place-items:center; width:42px; height:42px; background:#263c59; border:1px solid #4b668b; border-radius:5px; font-size:21px; color:#c7dcf9; }
.quantity-control button:hover { background:#355175; }
.quantity-control input { width:64px; height:42px; min-height:42px; padding:0 7px; text-align:center; }
.modal-footer { margin-top:15px; color:#8198b9; font-size:12px; line-height:1.8; }
#modal-body > .button,#modal-body form > .button { width:100%; }
#modal-body .empty-state { border:0; background:none; padding:15px 3px; }
#modal-body .empty-state h2 { font-size:25px; }
.modal-description + form { display:flex; flex-wrap:wrap; gap:10px; }
.toast-region { position:fixed; z-index:100; right:20px; bottom:20px; max-width:min(430px,calc(100% - 30px)); display:flex; flex-direction:column; gap:10px; pointer-events:none; }
.toast { pointer-events:auto; padding:14px 18px; border:1px solid #526c91; border-radius:7px; background:#203650; color:#d8e7fc; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.toast.error { background:#3e2835; color:#eebbc6; border-color:#805365; }
.toast.success { background:#244438; color:#c0e1cf; border-color:#50785f; }
.loading { min-height:220px; display:flex; justify-content:center; align-items:center; gap:12px; color:#94abc9; font-size:15px; }
.spinner { width:22px; height:22px; flex-shrink:0; border:2px solid #3e5574; border-top-color:#a3c3f2; border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { rotate:360deg; } }
.overline,.eyebrow { color:#7f94b1; font-size:11px; font-weight:600; letter-spacing:1px; line-height:1.6; }
.integration-provider,.integration-workspace,.supplier-listing,.fragment-job { background:#171f2b; border-color:#34445a; border-radius:8px; }
.integration-logo { border-radius:7px; }
.integration-state { border-radius:4px; }
.integration-empty { border-radius:6px; }
.integrations-intro h2 { font-size:29px; letter-spacing:-.5px; }
.integration-provider h3 { font-size:22px; letter-spacing:-.3px; }
.integrations-intro p { font-size:15px; }
.integration-workspace .section-heading h2 { font-size:24px; }
@media (max-width:1480px) { .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .product-card { padding:20px; } .product-bottom { gap:8px; } .buy-button { padding:9px 10px; } }
@media (max-width:1180px) { .main { padding:0 26px; } .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .orders-button span { display:none; } .orders-button { width:42px; padding:0; } }
@media (max-width:900px) and (min-width:761px) { .sidebar { width:180px; padding:26px 12px; } .main { margin-left:180px; padding:0 22px; } .brand { margin-left:5px; gap:8px; } .brand-name { font-size:18px; } .brand-letter { width:28px; height:28px; } .product-grid { gap:13px; } .product-card { padding:18px; } .product-icon { width:35px; height:35px; } .product-ident { gap:10px; } .product-card h3 { font-size:18px; } .product-bottom { flex-wrap:wrap; } .store-heading h1 { font-size:30px; } }
@media (max-width:760px) {
  body { padding-bottom:calc(67px + env(safe-area-inset-bottom,0px)); }
  .sidebar { inset:auto 0 0; width:auto; height:calc(63px + env(safe-area-inset-bottom,0px)); padding:0 8px env(safe-area-inset-bottom,0px); border:0; border-top:1px solid #303b4a; background:#161d27; }
  .sidebar .brand,.sidebar-bottom { display:none; }
  .nav { grid-template-columns:repeat(5,minmax(0,1fr)); align-items:center; height:63px; gap:3px; }
  .nav-item { min-height:53px; padding:6px 2px; flex-direction:column; justify-content:center; gap:4px; font-size:11px; border-radius:5px; text-align:center; }
  .nav-item svg { width:21px; height:21px; }
  .nav-item.active { background:#243247; color:#c3d7f8; }
  .main { margin-left:0; padding:0 17px; }
  .topbar { display:grid; grid-template-columns:1fr auto; grid-template-areas:'brand actions' 'search search'; gap:14px 12px; padding:17px 0 18px; margin-bottom:24px; min-height:0; }
  .mobile-brand { grid-area:brand; display:flex; align-items:center; gap:9px; color:#ecefe9; font-size:19px; font-weight:600; letter-spacing:-.35px; }
  .mobile-brand .brand-letter { width:28px; height:28px; font-size:18px; }
  .top-actions { grid-area:actions; gap:8px; }
  .orders-button,.profile-button { width:37px; height:37px; min-height:37px; padding:0; }
  .orders-button span { display:none; }
  .orders-button svg,.profile-button svg { width:19px; height:19px; }
  .search-wrap { grid-area:search; max-width:none; height:43px; width:100%; padding:0 11px; gap:9px; }
  .search-wrap input { font-size:16px; }
  .search-wrap kbd { display:none; }
  .store-heading { margin-bottom:17px; }
  .store-heading h1 { font-size:27px; line-height:1.2; letter-spacing:-.5px; margin-bottom:7px; }
  .store-heading p { font-size:14px; }
  .store-announcement { margin-bottom:11px; gap:9px; padding:10px 0; font-size:12px; line-height:1.6; }
  .store-announcement svg { width:17px; height:17px; }
  .category-tabs { margin-bottom:14px; gap:21px; }
  .category-tab { min-height:43px; padding:7px 0 11px; font-size:14px; gap:6px; }
  .category-tab small { font-size:10px; }
  .catalog-toolbar { gap:11px; margin-bottom:15px; }
  .result-count { font-size:12px; }
  .catalog-toolbar select { max-width:182px; font-size:12px; min-height:33px; padding:5px 21px 5px 9px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .product-card { padding:18px; }
  .product-ident { gap:11px; margin-bottom:15px; }
  .product-card h3 { font-size:19px; }
  .product-description { font-size:14px; margin-bottom:15px; }
  .product-meta { font-size:12px; margin-bottom:16px; }
  .product-bottom { flex-wrap:wrap; gap:13px; padding-top:15px; }
  .price { font-size:26px; }
  .buy-button { font-size:14px; min-height:39px; }
  .catalog-help { margin-top:24px; padding-top:19px; font-size:12px; gap:8px; }
  .catalog-help .text-link { font-size:12px; }
  .footer { padding:25px 0; font-size:11px; gap:8px; }
  .footer > span:nth-child(2) { display:none; }
  .page-heading h1 { font-size:28px; }
  .page-heading p { font-size:14px; }
  .order-card,.content-panel,.profile-card,.stat-card,.admin-product,.admin-order { padding:20px; }
  .content-panel h2 { font-size:23px; }
  .content-panel p,.content-panel li { font-size:15px; }
  .order-info { flex-direction:column; gap:12px; }
  .order-head { gap:10px; }
  .order-info h3 { font-size:19px; }
  .order-actions { justify-content:flex-start; }
  .admin-tabs { gap:7px; }
  .admin-tabs button { font-size:13px; padding:9px 12px; }
  .admin-row h3 { font-size:20px; }
  .form-grid { gap:15px; }
  .profile-card { flex-wrap:wrap; gap:15px; }
  .profile-card > .button { margin-left:0; }
  .modal-panel { padding:23px; }
  .modal-header h2 { font-size:23px; }
  .product-preview { gap:13px; padding:14px; }
  .product-preview h3 { font-size:18px; }
  .product-preview p { font-size:12px; }
  .toast-region { right:15px; bottom:calc(81px + env(safe-area-inset-bottom,0px)); }
  .toast { font-size:13px; }
}
@media (max-width:580px) {
  .product-grid { grid-template-columns:1fr; }
  .product-card { padding:20px; }
  .product-bottom { flex-wrap:nowrap; }
  .buy-button { font-size:15px; padding:10px 13px; }
  .form-grid,.stat-grid { grid-template-columns:1fr; }
  .stat-card { flex-direction:row; justify-content:space-between; align-items:center; }
  .stat-card strong { font-size:26px; }
  .profile-card > .button { width:100%; }
  .modal-panel { padding:22px 19px; }
  .order-actions .button { width:100%; }
}
@media (max-width:420px) {
  .main { padding:0 15px; }
  .mobile-break { display:inline; }
  .mobile-brand { font-size:18px; gap:8px; }
  .store-heading h1 { font-size:26px; }
  .product-card { padding:19px; }
  .product-icon { width:39px; height:39px; }
  .product-category { font-size:11px; }
  .product-card h3 { font-size:19px; }
  .product-meta { font-size:12px; }
  .catalog-toolbar select { max-width:175px; }
  .modal-header h2 { font-size:22px; }
}
@media (prefers-reduced-motion:reduce) { .spinner { animation:none; } }

.nav-item .telegram-original{width:21px;height:21px;flex-shrink:0}
@media(max-width:760px){.nav-item span{max-width:100%;line-height:1.15}.nav-item .telegram-original{width:21px;height:21px}}

@media(max-width:760px){.nav-label-prefix{display:none}}
