/* ═════ v3: меню, регионы, без полос прокрутки, спокойные кнопки (поверх ks-skin.v2.css) ═════ */
html, body, * { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { width: 0; height: 0; display: none; }
body.kx-lock { overflow: hidden; }

/* кнопки внутри форм: аккуратные, без скоса */
#steam-block .ks-sd-cta, .ks-steam-submit, .pl-go, .pl-more, #view-product .ks-submit { clip-path: none !important; border-radius: 16px !important; }
#steam-block .ks-sd-cta { min-height: 74px; padding: 0 18px !important; gap: 14px; background: #fff !important; transition: transform .15s, background .15s; }
#steam-block .ks-sd-cta:hover { transform: translateY(-2px); background: #f1f1f3 !important; }
#steam-block .ks-sd-cta .ico { width: 44px; height: 44px; border-radius: 12px; background: #f0f0f2 !important; border: 1px solid #e0e0e4 !important; display: grid; place-items: center; }
#steam-block .ks-sd-cta .go { width: 46px; height: 46px; border-radius: 50%; background: #000 !important; border: 0 !important; box-shadow: none !important; display: grid; place-items: center; }
#steam-block .ks-sd-cta .go * { stroke: #fff !important; color: #fff !important; }
#steam-block .ks-sd-cta.off, #steam-block .ks-sd-cta[disabled] { background: #1c1c20 !important; }
#steam-block .ks-sd-cta.off .ico, #steam-block .ks-sd-cta[disabled] .ico { background: #26262b !important; border-color: #33333a !important; }
#steam-block .ks-sd-cta.off .go, #steam-block .ks-sd-cta[disabled] .go { background: #33333a !important; }
.pl-more { background: #fff !important; color: #000 !important; }

/* карточки VPN и Steam: приглушённые */
.ks-card-photo img { filter: grayscale(.9) contrast(1.05) brightness(.9) !important; transition: filter .3s; }
.ks-card:hover .ks-card-photo img { filter: grayscale(.2) brightness(1) !important; }

/* чипы каталога: перенос строк, без скрытой прокрутки */
.pl-chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-bottom: 0; }

/* верхнее меню */
.kx-menu { display: flex !important; align-items: center; justify-content: center; gap: 4px; flex-wrap: nowrap; }
.kx-mi { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #b8b8c0; font: 500 14px Inter, sans-serif; cursor: pointer; white-space: nowrap; transition: color .15s, background .15s, border-color .15s; }
.kx-mi .pl-i { opacity: .85; }
.kx-mi:hover { color: #fff; background: rgba(255,255,255,.06); }
.kx-mi.on { color: #fff; background: rgba(255,255,255,.1); border-color: var(--k-line); }
.kx-mi .pl-i:last-child:not(:first-child) { opacity: .5; margin-left: -2px; }
.kx-strip { display: none; gap: 8px; overflow-x: auto; padding: 4px 12px 12px; margin: 0 auto; max-width: 1200px; }
.kx-strip .kx-mi { flex: none; height: 40px; border-color: var(--k-line); background: rgba(255,255,255,.04); }

.kx-mm { position: fixed; inset: 0; z-index: 10000; display: none; }
.kx-mm.show { display: block; }
.kx-mm-bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.kx-mm-pn { position: absolute; top: 86px; left: 50%; transform: translateX(-50%); width: min(1060px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow-y: auto; border-radius: 26px; background: #0b0b0d; border: 1px solid var(--k-line); box-shadow: 0 40px 100px rgba(0,0,0,.7); padding: 20px; animation: plIn .2s cubic-bezier(.22,1,.36,1); }
.kx-mm-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kx-mm-h b { font: 600 20px Inter, sans-serif; color: #fff; letter-spacing: -.02em; }
.kx-mm-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.kx-tile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--k-line); background: rgba(255,255,255,.035); color: #fff; cursor: pointer; text-align: left; font: 500 14px/1.25 Inter, sans-serif; transition: border-color .15s, background .15s, transform .15s; }
.kx-tile:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); transform: translateY(-1px); }
.kx-tile .kx-tl { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,.05); padding: 3px; }
.kx-mm-f { margin-top: 16px; display: flex; justify-content: center; }
.kx-sm { height: 46px; padding: 0 26px; }

/* шаги и регионы в окне товара */
.pl-step { margin: 0 0 12px; font: 600 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--k-mut); }
.pl-ms { position: relative; margin-bottom: 12px; }
.pl-ms .pl-i { position: absolute; left: 14px; top: 14px; color: var(--k-mut); }
.pl-ms input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 14px; border: 1px solid var(--k-line); background: rgba(255,255,255,.05); color: #fff; font: 500 15px Inter, sans-serif; outline: none; }
.pl-ms input:focus { border-color: rgba(255,255,255,.45); }
.pl-regs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pl-reg { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--k-line); background: rgba(255,255,255,.035); color: #fff; cursor: pointer; text-align: left; font-family: Inter, sans-serif; transition: border-color .15s, background .15s; min-width: 0; }
.pl-reg:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
.pl-rn { flex: 1; min-width: 0; font: 600 13.5px/1.25 Inter, sans-serif; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pl-reg em { flex: none; font: 500 11px Inter, sans-serif; font-style: normal; color: #77777f; }
.pl-flag { flex: none; width: 28px; height: 21px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.pl-flag-g { display: inline-grid; place-items: center; background: rgba(255,255,255,.07); color: var(--k-mut); box-shadow: none; }
.pl-flag-x { background: rgba(255,255,255,.07); }
.pl-mb { overscroll-behavior: contain; }
.pl-md { max-height: min(86vh, 760px); }
.pl-lg.pl-art { display: grid; place-items: center; color: #77777f; }

@media (max-width: 1100px) { .kx-mi span { display: none; } .kx-mi { padding: 0 11px; } }
@media (max-width: 900px) {
  .kx-menu { display: none !important; }
  .kx-strip { display: flex; }
  .kx-strip .kx-mi span { display: inline; }
  .kx-strip .kx-mi { padding: 0 14px; }
}
@media (max-width: 560px) {
  .kx-mm-pn { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 84vh; border-radius: 26px 26px 0 0; padding: 16px; }
  .kx-mm-g { grid-template-columns: 1fr 1fr; }
  .kx-tile { padding: 8px; gap: 8px; font-size: 12.5px; }
  .kx-tile .kx-tl { width: 38px; height: 38px; }
  .pl-regs { grid-template-columns: 1fr 1fr; }
  .pl-md { max-height: 90vh; }
  #steam-block .ks-sd-cta { min-height: 68px; }
}
.ks-nav { max-width: 1300px !important; width: min(1300px, calc(100vw - 28px)) !important; }
.kx-menu { gap: 0; min-width: 0; }
.kx-mi { padding: 0 10px; gap: 7px; font-size: 13.5px; }
@media (max-width: 1280px) { .kx-mi .pl-i:last-child:not(:first-child) { display: none; } }
.ks-card, .ks-card.in { border-color: var(--k-line) !important; }
.ks-card-cta-btn { border-color: var(--k-line) !important; background: rgba(255,255,255,.07) !important; color: #fff !important; }
.ks-card-cta-btn * { color: #fff !important; }
.ks-cta-ico { background: rgba(255,255,255,.1) !important; border-color: var(--k-line) !important; }
.ks-cta-go { background: #fff !important; color: #000 !important; }
.ks-cta-go svg, .ks-cta-go * { color: #000 !important; stroke: #000 !important; }
.ks-card:hover .ks-card-cta-btn { background: #fff !important; }
.ks-card:hover .ks-card-cta-btn * { color: #000 !important; }
.ks-card:hover .ks-cta-go { background: #000 !important; }
.ks-card:hover .ks-cta-go * { color: #fff !important; stroke: #fff !important; }
.ks-cta-txt, .ks-card-cta-btn .ks-cta-txt { color: inherit !important; }
