@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-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 {
  color-scheme: light;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #242424;
  --muted: #737373;
  --line: #e6e6e6;
  --surface: #f7f7f7;
  --page: #fff;
  --surface-hover: #f1f1f1;
  --mark-ink: #333;
  --primary: oklch(0.5772 0.2324 260);
  --primary-top: color-mix(in oklch, var(--primary), white 15%);
  --primary-light: color-mix(in oklch, var(--primary), white 30%);
  --primary-ring: color-mix(in oklch, var(--primary), black 10%);
  --control-line: #ccc;
  --input-line: #d6d6d6;
  --input-focus: #555;
  --selected: #fafafa;
  --selected-line: #333;
  --focus: #777;
  --selection: #e5e5e5;
  --error: #923c3c;
  --backdrop: #ffffffbf;
  --logo-filter: none;
  --rail: 200px;
  --header-height: 88px;
  --header-axis: 44px;
  --page-gutter: 24px;
  --content-gap: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #141414;
  --ink: #ededed;
  --muted: #a0a0a0;
  --line: #303030;
  --surface: #1e1e1e;
  --surface-hover: #252525;
  --mark-ink: #dedede;
  --control-line: #444;
  --input-line: #444;
  --input-focus: #999;
  --selected: #222;
  --selected-line: #bbb;
  --focus: #aaa;
  --selection: #414141;
  --error: #f09a9a;
  --backdrop: #080808bf;
  --logo-filter: invert(1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; background: var(--page); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 13px/1.55 var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased; }
body.dialog-open, body.menu-open { overflow: hidden; }
button, input, select { font: inherit; color: inherit; border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { border: 0; cursor: pointer; background: transparent; padding: 0; }
button:disabled { cursor: wait; opacity: .5; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
input:focus-visible { outline: none; }
::selection { background: var(--selection); }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd { margin: 0; font-size: inherit; font-weight: 400; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 24px; z-index: 100; background: var(--page); padding: 8px; }
.skip-link:focus { top: 8px; }
.topbar-background { position: fixed; inset: 0 0 auto; height: var(--header-height); background: var(--page); pointer-events: none; z-index: 18; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--rail); padding: calc(var(--header-axis) - 20px) var(--page-gutter) var(--space-6); z-index: 20; background: var(--page); display: flex; flex-direction: column; }
.sidebar-heading { display: flex; align-items: center; height: 40px; flex-shrink: 0; }
.brand-image-button { display: grid; place-items: center; width: 80px; height: 40px; flex-shrink: 0; }
.brand-image { display: block; width: 80px; height: 40px; object-fit: contain; }
.wordmark { position: fixed; top: var(--header-axis); left: 50%; transform: translate(-50%, -50%); z-index: 22; display: block; width: 240px; height: 40px; overflow: hidden; }
/* Center the PNG itself; its transparent margins must not size a grid track. */
.wordmark-image { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: block; width: 100%; height: auto; filter: var(--logo-filter); }
.mobile-menu-button { display: none; }
.sidebar-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.site-navigation { margin-top: var(--space-8); }
#category-nav { display: flex; flex-direction: column; align-items: flex-start; }
.category-button { display: flex; align-items: center; min-height: 32px; color: var(--muted); font-size: 13px; line-height: 24px; text-align: left; padding-block: var(--space-1); }
.category-button:hover, .category-button.active { color: var(--ink); }
.category-button.active { font-weight: 500; }
.telegram-button { display: flex; align-items: center; justify-content: center; min-height: 34px; width: 100%; margin-top: auto; padding: 8px 18px; font-size: 13px; font-weight: 500; line-height: 1; }
.utility-nav { position: fixed; top: calc(var(--header-axis) - 20px); right: var(--page-gutter); z-index: 21; }
.orders-button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.basket-icon { width: 22px; height: 22px; }
.orders-button:hover { color: var(--muted); }
#order-count { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; display: grid; place-items: center; padding-inline: 3px; border-radius: 50%; background: var(--ink); color: var(--page); font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.store-main { width: calc(100% - var(--rail) * 2); max-width: 1120px; margin-inline: auto; padding: calc(var(--header-height) + var(--content-gap)) 0 var(--space-8); min-height: 100dvh; outline: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.product-card { min-width: 0; }
.product-button { display: block; width: 100%; text-align: left; }
.product-art { display: grid; width: 100%; aspect-ratio: 1; place-items: center; color: var(--mark-ink); background: var(--surface); --icon-bg: var(--surface); transition: background .2s ease; }
.product-button:hover .product-art { background: var(--surface-hover); --icon-bg: var(--surface-hover); }
.service-icon { width: clamp(52px, var(--mark-proportion, 26%), var(--mark-max, 104px)); height: clamp(52px, var(--mark-proportion, 26%), var(--mark-max, 104px)); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-chatgpt { --mark-proportion: 27%; }
.service-vpn { --mark-proportion: 34%; --mark-max: 120px; }
.service-cards { --mark-proportion: 28%; --mark-max: 112px; }
.service-esim { --mark-proportion: 26%; --mark-max: 104px; }
.product-caption { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); }
.product-name { font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: -.015em; }
.product-price { font-size: 12px; font-weight: 400; line-height: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-period { color: var(--muted); }
.loading-state, .empty-state { grid-column: 1 / -1; padding: var(--space-12) var(--space-4); text-align: center; color: var(--muted); font-size: 13px; }
.empty-state h2 { font-size: 16px; color: var(--ink); font-weight: 500; }
.empty-state p { margin-bottom: var(--space-4); }
.empty-state .button { margin-top: var(--space-6); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: var(--space-3) var(--space-6); font-size: 13px; line-height: 20px; font-weight: 500; }
.button-primary { border: 1px solid #2558c8; border-color: var(--primary-ring); border-radius: 8px; background-color: #2c68e8; background-color: var(--primary); background-image: linear-gradient(to bottom, var(--primary-top), var(--primary)); box-shadow: inset 0 1px 0 var(--primary-light), 0 1px 2px rgb(0 0 0 / .05); color: #fff; transition: background-image .2s, transform .2s; }
.button-primary:hover:not(:disabled) { background-image: linear-gradient(to bottom, var(--primary-light), var(--primary)); }
.button-primary:active:not(:disabled) { transform: scale(.98); }
.button-primary:focus-visible { outline: 2px solid var(--primary-ring); outline-offset: 3px; }
.button-outline { background: var(--page); border: 1px solid var(--control-line); }
.button-outline:hover { background: var(--surface); }
.button-block { width: 100%; }
dialog { margin: 0 0 0 auto; width: min(440px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 0; background: var(--page); color: var(--ink); overflow-y: auto; scrollbar-gutter: stable; }
dialog::backdrop { background: var(--backdrop); opacity: 0; transition: opacity 240ms ease; }
dialog[open]::backdrop { opacity: 1; }
dialog[open].is-closing::backdrop { opacity: 0; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }
.dialog-content { padding: 72px var(--space-8) var(--space-8); position: relative; }
.dialog-close { position: absolute; top: var(--space-4); right: var(--space-4); width: 40px; height: 40px; }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-product-icon { display: grid; place-items: center; height: 112px; background: var(--surface); color: var(--mark-ink); --icon-bg: var(--surface); margin-bottom: var(--space-6); }
.dialog-product-icon .service-icon { width: 48px; height: 48px; }
dialog h2 { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.035em; }
#order-form { margin-top: var(--space-6); }
.field-label { display: block; font-size: 12px; font-weight: 500; margin-bottom: var(--space-2); }
.plans { padding: 0; margin: 0 0 var(--space-6); border: 0; width: 100%; min-width: 0; }
.plans legend { padding: 0; }
.offer-period { color: var(--muted); margin-bottom: var(--space-6); }
.offer-note { color: var(--muted); margin-top: var(--space-2); }
.plan-options { display: flex; gap: var(--space-2); }
.plan-option { flex: 1; min-width: 0; cursor: pointer; position: relative; }
.plan-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-option > span { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 48px; border: 1px solid var(--line); padding: var(--space-2) var(--space-1); font-size: 12px; }
.plan-option input:checked + span { border-color: var(--selected-line); background: var(--selected); }
.plan-option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.plan-option small { font-size: 12px; color: var(--muted); margin-top: var(--space-1); font-variant-numeric: tabular-nums; }
.contact-input { width: 100%; height: 44px; border: 1px solid var(--input-line); padding: var(--space-3); font-size: 13px; color: var(--ink); background: var(--page); }
.contact-input::placeholder { color: var(--muted); }
.contact-input:focus { border-color: var(--input-focus); }
.contact-input[aria-invalid="true"] { border-color: var(--error); }
.order-total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6); margin-block: var(--space-6); font-size: 13px; }
.order-total strong { font-size: 18px; line-height: 24px; font-weight: 500; font-variant-numeric: tabular-nums; }
.form-error { color: var(--error); font-size: 12px; line-height: 20px; margin-bottom: var(--space-4); }
.receipt { margin-block: var(--space-6); padding-block: var(--space-3); border-block: 1px solid var(--line); }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding-block: var(--space-2); font-size: 13px; }
.receipt-row dt { color: var(--muted); }
.receipt-row dd { text-align: right; font-variant-numeric: tabular-nums; }
.receipt-id { display: flex; align-items: center; gap: var(--space-1); font-size: 12px; }
.receipt-id .icon-button { width: 28px; height: 28px; margin-block: -6px; }
.recent-orders { display: grid; gap: var(--space-6); }
.recent-order { border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); }
.recent-order-heading { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); font-size: 13px; }
.recent-order-heading h3 { font-weight: 500; }
.recent-order-heading > span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.recent-order-id { color: var(--muted); font-size: 12px; margin-top: var(--space-2); }
.recent-order-meta { display: flex; gap: var(--space-4); color: var(--muted); font-size: 12px; margin-top: var(--space-1); }
.toast { position: fixed; left: 50%; bottom: var(--space-6); transform: translateX(-50%); padding: var(--space-3) var(--space-6); border: 1px solid var(--line); background: var(--page); color: var(--ink); font-size: 12px; max-width: calc(100% - 32px); z-index: 100; text-align: center; }
.noscript-message { position: fixed; bottom: 16px; left: 16px; background: var(--page); padding: 12px; }
@media (min-width: 1024px) and (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header-height: 72px; --header-axis: 36px; --content-gap: 24px; }
  .sidebar { inset: 0 0 auto; width: 100%; height: var(--header-height); overflow: hidden; transition: height 300ms cubic-bezier(.22, 1, .36, 1); }
  .sidebar-heading { justify-content: flex-start; gap: 8px; }
  .brand-image-button { width: 64px; }
  .brand-image { width: 64px; height: 32px; }
  .mobile-menu-button { display: inline-grid; width: 32px; }
  .sidebar-content { display: flex; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 180ms; }
  body.menu-open .sidebar { height: 100dvh; }
  body.menu-open .sidebar-content { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 50ms, 50ms, 0s; }
  body.menu-open .site-navigation { margin-top: var(--space-8); }
  body.menu-open .category-button { font-size: 16px; min-height: 44px; line-height: 24px; }
  body.menu-open .telegram-button { margin-top: auto; flex-shrink: 0; }
  .store-main { width: auto; margin-inline: var(--page-gutter); }
}
@media (max-width: 700px) {
  :root { --page-gutter: 16px; }
  .sidebar-heading { gap: 4px; }
  .brand-image-button { width: 52px; }
  .brand-image { width: 52px; height: 26px; }
  .wordmark { width: clamp(96px, calc(100vw - 224px), 180px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
  .product-caption { display: grid; grid-template-columns: 1fr; gap: var(--space-1); padding-top: var(--space-2); }
  .product-name { font-size: 13px; line-height: 18px; }
  .product-price { font-size: 12px; line-height: 18px; }
  .dialog-content { padding-inline: var(--space-6); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .contact-input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
