@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../lib/open-sans/woff2/open-sans-400.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url(../lib/open-sans/woff2/open-sans-600.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url(../lib/open-sans/woff2/open-sans-700.woff2) format('woff2')}
/*
 * .local.css — SLIMHOST × RootPanel, v2 (в стиле темы slimhost-new)
 */

:root {
  --red: #c84d50; --red-dk: #a03d40; --red-soft: #fbeeee;
  --bg: #f5f6f8; --surface: #fff; --surface2: #e2e4e7; --border: #dde0e5; --border2: #d0d2d6;
  --text: #595959; --strong: #333; --muted: #6b7079; --dark: #4a4a4a;
  --ok: #2e9e5b; --shadow: 0 6px 18px rgba(0,0,0,.08); --r: 8px;
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

body, input, select, textarea, button, .btn, table, td, th { font-family: var(--font) !important; }
html { font-size: 15px !important; scroll-padding-top: 134px; overflow-x: hidden; }
[id] { scroll-margin-top: 134px; }
body { font-size: 1rem; line-height: 1.55; color: var(--text); background: var(--bg) !important; padding-top: 0 !important; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--strong); font-weight: 700; }

/* Стандартные панели RootPanel скрыты — свои шапка и навбар */
.mai-top-header, .mai-sub-header, .mai-nav-tabs, .mai-nav-tabs-wrap,
#mai-navbar-collapse, .navbar.mai-sub-header { display: none !important; }
.mai-wrapper { padding-top: 0 !important; }
.mai-wrapper > .main-content {
  margin: 0 auto !important; width: 100% !important; max-width: 1200px;
  padding: 24px 20px 0 !important; box-sizing: border-box; min-height: 50vh;
}

/* ================================================================
   ОБЩИЕ ЭЛЕМЕНТЫ BOOTSTRAP — под стиль сайта
   ================================================================ */
a { color: var(--red); }
a:hover { color: var(--red-dk); }
.text-primary { color: var(--red) !important; }
.bg-primary { background-color: var(--red) !important; color: #fff; }
.dropdown-item.bg-primary, .dropdown-item.bg-primary:hover { color: #fff; background-color: var(--red) !important; }
.dropdown-item.bg-primary:hover { background-color: var(--red-dk) !important; }
.border-primary { border-color: var(--red) !important; }
.btn-outline-primary { color: var(--red) !important; border-color: var(--red) !important; background: transparent !important; }
.btn-outline-primary:hover { background: var(--red) !important; color: #fff !important; }
.dropdown-item.active, .dropdown-item:active { color: var(--red); background: var(--bg); }
.text-warning, .text-danger { color: var(--red) !important; }
.bg-warning { background-color: var(--red-soft) !important; }
.badge-warning { background: var(--red-soft); color: var(--red-dk); }
.btn-warning { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.btn-warning:hover { background: var(--red-dk) !important; border-color: var(--red-dk) !important; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--red) !important; border-color: var(--red) !important; }
.custom-switch .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--red) !important; }
.nav-pills .nav-link.active { background: var(--red); }
.list-group-item.active { background: var(--red); border-color: var(--red); }
.spinner-border, .spinner-grow { color: var(--red); }

.btn { border-radius: 6px; font-weight: 700; transition: background .2s, color .2s, transform .15s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-primary, .btn-danger { background-color: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.btn-primary:hover, .btn-danger:hover, .btn-primary:focus, .btn-danger:focus { background-color: var(--red-dk) !important; border-color: var(--red-dk) !important; }
.btn-secondary { background: var(--surface) !important; border: 1px solid var(--border2) !important; color: var(--strong) !important; }
.btn-secondary:hover { border-color: var(--red) !important; color: var(--red) !important; }
.btn-success { background: var(--ok) !important; border-color: var(--ok) !important; }

.card { border: 1px solid var(--border) !important; border-radius: var(--r) !important; box-shadow: none !important; background: var(--surface); }
.card.card-transparent { border: 0 !important; background: transparent !important; border-radius: 0 !important; }
.striped-div { background: var(--bg); border-radius: 6px; }
.card-header { background: transparent; border-bottom: 1px solid var(--border); font-weight: 700; color: var(--strong); font-size: 19px; padding: 20px 0 12px; }
.card-body { font-size: 14.5px; }
.table { font-size: 14.5px; }
.table th, .table td { padding: .75rem .6rem; }
.card-header-divider { border-bottom-color: var(--border) !important; }
.card-subtitle { color: var(--muted) !important; }

.form-control, .custom-select { border: 1px solid var(--border2); border-radius: 6px; color: var(--strong); transition: border-color .15s, box-shadow .15s; }
.form-control:focus, .custom-select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,77,80,.15); }
.form-control.is-invalid { border-color: var(--red); }
.col-form-label { color: var(--text); }
.form-text, .text-muted { color: var(--muted) !important; }

input[type="radio"]:checked::before,
.radio input[type="radio"]:checked + label::before,
.radio-inline input[type="radio"]:checked + label::before,
input[type="checkbox"]:checked,
.checkbox input[type="checkbox"]:checked + label::before,
.checkbox-inline input[type="checkbox"]:checked + label::before,
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--red) !important; border-color: var(--red) !important;
}
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px rgba(200,77,80,.15); }

.table { color: var(--text); }
.table th { color: var(--strong); font-weight: 700; border-top: 0; border-bottom: 1px solid var(--border2); }
.table td, .table th { border-color: var(--border); vertical-align: middle; box-sizing: border-box; }
.table-hover tbody tr:hover { background: var(--bg); }
.main-content .table { width: 100%; }

.alert { border-radius: var(--r); border: 0; }
.alert-danger { background: var(--red-soft); color: var(--red-dk); }
.alert-success { background: #e9f6ee; color: #1f7a45; }
.alert-warning { background: #fff6e5; color: #8a5a00; }
.badge-primary, .badge-danger { background: var(--red); }
.dropdown-menu { border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--bg); color: var(--red); }
.page-link { color: var(--red); border-color: var(--border); }
.page-item.active .page-link { background: var(--red); border-color: var(--red); }
.nav-tabs .nav-link.active { color: var(--red); border-bottom-color: var(--red); }
.modal-content { border-radius: var(--r); border: 1px solid var(--border); }
.progress-bar { background: var(--red); }

/* ================================================================
   ШАПКА
   ================================================================ */
.sh-burger, #sh-mobile-menu, .sh-mob-btns, .sh-mob-chat { display: none; }

#sh-header {
  background: var(--surface); box-shadow: inset 0 4px 0 0 #c9cdd0;
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
}
body { padding-top: 119px !important; }
#sh-header .sh-w {
  display: flex; align-items: center; max-width: 1200px; margin: 0 auto;
  padding: 0 20px; height: 72px; box-sizing: border-box;
}
.sh-col1 { flex: 1; display: flex; align-items: center; justify-content: flex-start; }
.sh-col2 { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sh-col3 { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: nowrap; }

.sh-social { display: flex; gap: 8px; }
.sh-social a { text-decoration: none; }
.sh-social a span {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--surface2); border-radius: 50%; color: var(--text); font-size: 13px;
  transition: background .2s, color .2s;
}
.sh-social a span:hover { background: var(--red); color: #fff; }

/* Переключатель языка в шапке — в стиле .seg на slimhost.com.ua */
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px; gap: 2px; }
.seg a {
  border: 0; background: none; padding: 5px 11px; border-radius: 4px; font-size: 13px; font-weight: 600;
  color: var(--text); text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s;
  font-family: var(--font);
}
.seg a:hover { color: var(--red) !important; }
.seg a.on { background: var(--red); color: #fff !important; }

.sh-logo { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; }
.sh-logo img { display: block; width: 190px; height: auto; aspect-ratio: 811/143; }
.sh-logo h3 {
  font-size: 12px !important; margin: 3px 0 0 !important; padding: 0 !important;
  line-height: 1.55; white-space: nowrap; color: var(--text); font-weight: 400; letter-spacing: .02em;
  font-family: var(--font); text-align: center;
}

/* Онлайн чат — контурная пилюля, как на сайте */
.sh-chat-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px;
  border: 1.5px solid var(--red); border-radius: 20px; background: var(--surface);
  color: var(--red) !important; font-size: 13px; font-weight: 700; line-height: 1.55;
  text-decoration: none !important; white-space: nowrap; font-family: var(--font);
  transition: background .2s, color .2s;
}
.sh-chat-btn:hover { background: var(--red); color: #fff !important; }
.sh-chat-btn .sh-ic, .sh-mob-chat .sh-ic { width: 16px; height: 16px; display: block; flex: none; }

/* Баланс и пользователь — серые пилюли */
.sh-btn-flat {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 20px;
  color: var(--strong) !important; font-size: 13px; font-weight: 600;
  text-decoration: none !important; white-space: nowrap; cursor: pointer; font-family: var(--font);
  transition: background .2s, color .2s, border-color .2s;
}
.sh-btn-flat:hover { border-color: var(--red); color: var(--red) !important; }
.sh-btn-flat i { color: var(--red); }
.sh-btn-flat:hover i { color: inherit; }

/* Дропдаун */
.sh-dd { position: relative; }
.sh-dd-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 170px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 5px 0; z-index: 9999;
  border-top: 2px solid var(--red); border-radius: 0 0 4px 4px;
}
@keyframes shFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sh-dd-menu.open { display: block; }
.sh-dd-menu a {
  display: block; padding: 8px 16px; color: var(--text); font-size: 13.5px;
  text-decoration: none; white-space: nowrap; font-family: var(--font); transition: background .15s, color .15s;
}
.sh-dd-menu a:hover { background: var(--bg); color: var(--red); }
.sh-dd-menu hr { margin: 4px 0; border-color: var(--border); }
.sh-dd-id { padding: 7px 16px; font-size: 12.5px; font-weight: 700; color: var(--muted); display: block; }

/* ================================================================
   НАВБАР
   ================================================================ */
#sh-navbar {
  background: var(--surface2); border-bottom: 1px solid var(--border2);
  box-shadow: 0 2px 4px rgba(0,0,0,.07); position: fixed; top: 72px; left: 0; right: 0; z-index: 997;
  transition: box-shadow .25s;
}
body.sh-scrolled #sh-navbar { box-shadow: 0 6px 18px rgba(0,0,0,.14); }
#sh-navbar .sh-w {
  display: flex; align-items: center; max-width: 1200px; margin: 0 auto;
  padding: 0 20px; height: 46px; box-sizing: border-box;
}

ul.sh-nav { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; height: 46px; flex-shrink: 0; }
ul.sh-nav > li { position: relative; height: 46px; display: flex; align-items: center; }
ul.sh-nav > li::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  height: 3px; width: 0; background: var(--red); transition: width .25s;
}
ul.sh-nav > li:hover::before, ul.sh-nav > li.active::before { width: 100%; }
ul.sh-nav > li.sh-nav-label::before, ul.sh-nav > li.sh-nav-separator::before { display: none; }
ul.sh-nav > li > a {
  display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 17px;
  color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none;
  white-space: nowrap; font-family: var(--font); box-sizing: border-box; transition: color .2s;
}
ul.sh-nav > li > a [class^="s7-"], ul.sh-nav > li > a [class*=" s7-"], ul.sh-nav > li > a > i { display: none; }
ul.sh-nav > li:hover > a, ul.sh-nav > li:hover > a [class^="s7-"] { color: var(--red); }
ul.sh-nav > li.active > a, ul.sh-nav > li.active > a [class^="s7-"] { color: var(--red-dk); }
ul.sh-nav > li > a .badge { background: var(--red); border-radius: 10px; }

ul.sh-nav > li > ul.sh-sub {
  display: none; position: absolute; top: 46px; left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--red); border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 5px 0; z-index: 1500;
}
ul.sh-nav > li:hover > ul.sh-sub { display: block; }
ul.sh-nav > li > ul.sh-sub li a {
  display: block; padding: 9px 16px; color: var(--text); font-size: 13px;
  text-decoration: none; white-space: nowrap; font-family: var(--font);
}
ul.sh-nav > li > ul.sh-sub li a i, ul.sh-nav > li > ul.sh-sub li a [class^="s7-"], ul.sh-nav > li > ul.sh-sub li a [class*=" s7-"],
ul.sh-nav > li > ul.sh-sub li a .icon { display: none; }
ul.sh-nav > li > ul.sh-sub li a:hover { background: var(--bg); color: var(--red); }
ul.sh-nav > li > ul.sh-sub li a.sh-on { color: var(--red); font-weight: 700; background: var(--red-soft); }

.sh-nav-label { display: flex; align-items: center; height: 46px; padding: 0 8px 0 16px; pointer-events: none; }
.sh-nav-label span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.sh-nav-separator { display: flex; align-items: center; height: 46px; padding: 0 10px; pointer-events: none; }
.sh-nav-separator span { font-size: 18px; font-weight: 300; color: var(--border2); }

/* Поиск домена */
.sh-search { display: flex; align-items: center; margin-left: auto; flex: 0 1 230px; min-width: 150px; border: 1px solid var(--border2); border-radius: 6px; background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sh-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,77,80,.15); }
.sh-search input { border: 0; padding: 0 12px; font-size: 13px; height: 32px; width: 100%; min-width: 0; flex: 1; outline: none; box-sizing: border-box; font-family: var(--font); background: transparent; }
.sh-search button { background: var(--red); color: #fff; border: 0; width: 34px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0; }
.sh-search button:hover { background: var(--red-dk); }

/* Вход / Регистрация */
.sh-nbbtns { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.sh-search + .sh-nbbtns { margin-left: 12px; }
#sh-navbar.sh-search-off .sh-search { display: none; }
#sh-navbar.sh-search-off .sh-search + .sh-nbbtns { margin-left: auto; }
.sh-nb-login, .sh-nb-reg {
  display: inline-flex; align-items: center; justify-content: center; padding: 6px 16px; border-radius: 20px;
  color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none !important;
  white-space: nowrap; font-family: var(--font); border: 0; transition: background .2s, transform .15s;
}
.sh-nb-login:active, .sh-nb-reg:active { transform: scale(.97); }
.sh-nb-login { background: var(--red); }
.sh-nb-login:hover { background: var(--red-dk); }
.sh-nb-reg { background: var(--dark); }
.sh-nb-reg:hover { background: #333; }

/* ================================================================
   ФУТЕР
   ================================================================ */
#sh-footer { background: var(--surface2); border-top: 1px solid var(--border2); padding-top: 36px; margin-top: 30px; color: var(--text); }
.sh-fw { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sh-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-bottom: 28px; }
@media (min-width: 961px) { .sh-fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)) max-content; } }
#sh-footer a[href^="mailto:"] { white-space: nowrap; }
.sh-mail-ic { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; margin-right: 6px; }
.sh-fh { font-size: 15px; font-weight: 700; color: var(--strong); margin: 0 0 12px; font-family: var(--font); }
.sh-fc ul { list-style: none; padding: 0; margin: 0; }
.sh-fc li { margin-bottom: 6px; font-size: 14.5px; line-height: 1.4; }
.sh-fc a { color: var(--text); text-decoration: none; transition: color .2s; }
.sh-fc a:hover { color: var(--red); }
.sh-fsoc { display: flex; gap: 8px; margin-top: 10px; }
.sh-fsoc a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--text); font-size: 13px; }
.sh-fsoc a:hover { background: var(--red); color: #fff; }

.sh-fpay { display: flex; justify-content: center; gap: 10px; padding: 16px 0; border-top: 1px solid var(--border2); flex-wrap: wrap; }
.sh-fpay span { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #4f545c; border: 1px solid #c6c9ce; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }

.sh-fbot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 0; font-size: 12.5px; color: #4f545c; border-top: 1px solid var(--border2); gap: 8px; }
.sh-fbot-left { text-align: left; }
.sh-fbot-center { text-align: center; }
.sh-fbot-right { text-align: right; }
.sh-fsitemap { color: #4f545c; text-decoration: underline; font-size: 12.5px; transition: color .2s; }
.sh-fsitemap:hover { color: var(--red); }

.sh-lang-foot { position: relative; display: inline-block; }
.sh-lang-foot-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border2); border-radius: 20px; color: var(--strong) !important;
  font-size: 12.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; cursor: pointer; font-family: var(--font);
  transition: border-color .2s, color .2s;
}
.sh-lang-foot-btn:hover { border-color: var(--red); color: var(--red) !important; }
.sh-lang-foot .sh-dd-menu { bottom: calc(100% + 6px); top: auto; right: 0; left: auto; }

/* Кнопка «Наверх» */
.sh-totop {
  position: fixed; left: 18px; bottom: 18px; z-index: 55; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--surface); color: var(--strong); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.sh-totop.show { opacity: 1; transform: none; pointer-events: auto; }
.sh-totop:hover { background: var(--red); color: #fff; border-color: var(--red); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ================================================================
   АДАПТИВ
   ================================================================ */
@media (max-width: 1280px) {
  ul.sh-nav > li > a { padding: 0 12px; }
}
@media (max-width: 1100px) {
  ul.sh-nav > li > a { padding: 0 9px; }
}

@media (max-width: 960px) {
  .sh-social, .sh-chat-btn, .sh-nbbtns, .sh-col1, .sh-col3, .sh-search, ul.sh-nav { display: none; }

  #sh-header { position: fixed; top: 0; box-shadow: inset 0 4px 0 0 #c9cdd0; }
  body { padding-top: 123px !important; }
  #sh-header .sh-w { height: auto; padding: 10px 12px; justify-content: center; }
  .sh-logo h3 { display: block !important; }

  #sh-navbar { top: var(--sh-hh, 73px); background: var(--surface); border-bottom: 1px solid var(--border); border-top: 0; box-shadow: none; }
  #sh-navbar .sh-w { height: 50px; padding: 0 12px; justify-content: space-between; }
  #sh-navbar .sh-w::before { content: ''; display: block; width: 40px; flex-shrink: 0; }

  .sh-burger {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px;
    background: none; border: 0; cursor: pointer; padding: 0; color: var(--strong); font-size: 20px;
  }
  .sh-burger:focus:not(:focus-visible) { outline: 0; }
  .sh-burger.open { color: var(--strong); }
  body.sh-no-scroll { overflow: hidden; }

  .sh-mob-btns { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; }
  .sh-mob-btns .sh-nb-login, .sh-mob-btns .sh-nb-reg { padding: 6px 16px; font-size: 12px; }
  .sh-mob-btns .sh-mob-bal, .sh-mob-btns .sh-mob-user {
    display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 20px;
    background: var(--bg); border: 1px solid var(--border2); color: var(--strong) !important;
    font-size: 12px; font-weight: 600; text-decoration: none !important; white-space: nowrap; cursor: pointer;
  }
  .sh-mob-btns .sh-mob-bal:hover, .sh-mob-btns .sh-mob-user:hover { border-color: var(--red); color: var(--red) !important; }
  .sh-mob-btns .sh-dd-menu { right: auto; left: 0; }
  .sh-mob-chat { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red) !important; background: var(--surface); font-size: 14px; text-decoration: none !important; }
  .sh-mob-chat:hover { background: var(--red); color: #fff !important; }

  #sh-mobile-menu {
    position: absolute; left: 0; right: 0; top: 50px; background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(0,0,0,.12); max-height: calc(100vh - 50px); overflow-y: auto;
  }
  #sh-mobile-menu.open { display: block; animation: shFade .25s ease both; }
  #sh-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  #sh-mobile-menu ul li a {
    display: block; padding: 13px 20px; font-size: 15px; color: var(--text); text-decoration: none;
    border-bottom: 1px solid var(--border); font-family: var(--font); transition: background .15s, color .15s;
  }
  #sh-mobile-menu ul li a:hover { background: var(--bg); color: var(--red); }
  #sh-mobile-menu ul li a.sh-on { color: var(--red); font-weight: 600; }
  #sh-mobile-menu ul li.sh-mob-sep { padding: 10px 20px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--border); }
  .sh-mob-extra { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; background: var(--surface2); flex-wrap: wrap; }
  .sh-mob-soc { display: flex; gap: 8px; }
  .sh-mob-soc a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--text); font-size: 13px; }
  .sh-mob-soc a:hover { background: var(--red); color: #fff; }

  .sh-fgrid { grid-template-columns: repeat(2, 1fr); }
  .mai-wrapper > .main-content { padding: 20px 16px 0 !important; }
  html { scroll-padding-top: 130px; }
  [id] { scroll-margin-top: 130px; }
}

@media (max-width: 700px) {
  .mai-wrapper > .main-content { padding: 16px 15px 0 !important; }
  .sh-fgrid { grid-template-columns: 1fr; text-align: center; }
  .sh-fsoc { justify-content: center; }
  .sh-fbot { flex-direction: column; text-align: center; }
  .sh-fbot-left, .sh-fbot-center, .sh-fbot-right { flex: none; text-align: center; width: 100%; }
  .sh-mob-btns .sh-nb-login, .sh-mob-btns .sh-nb-reg { padding: 6px 12px; font-size: 11.5px; }
}


/* Поддержка (тикеты) */
ul.sh-nav > li.sh-nav-support { margin-left: 6px; }
ul.sh-nav > li.sh-nav-support::before { display: none; }
ul.sh-nav > li.sh-nav-support > a { padding: 0 6px; }
ul.sh-nav > li.sh-nav-support > a > .sh-sup { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border: 1.5px solid var(--red); border-radius: 20px; color: var(--red); background: var(--surface); transition: background .2s, color .2s; }
ul.sh-nav > li.sh-nav-support > a > .sh-sup i { display: inline-block; font-size: 13px; }
ul.sh-nav > li.sh-nav-support > a:hover > .sh-sup, ul.sh-nav > li.sh-nav-support.active > a > .sh-sup { background: var(--red); color: #fff; }
#sh-mobile-menu ul li a.sh-mob-support i { color: var(--red); width: 18px; margin-right: 8px; text-align: center; }
ul.sh-nav > li.sh-nav-support > a > .sh-sup > span { color: inherit !important; font-weight: inherit; }
ul.sh-nav > li.sh-nav-support > a > .sh-sup { position: relative; }
ul.sh-nav > li.sh-nav-support.sh-new > a > .sh-sup { background: var(--red); color: #fff; animation: shSupPulse 1.6s ease-out infinite; }
ul.sh-nav > li.sh-nav-support.sh-new > a > .sh-sup i { animation: shSupRing 1.6s ease-in-out infinite; transform-origin: 50% 20%; }
#sh-mobile-menu ul li a.sh-mob-support.sh-new { color: var(--red); font-weight: 600; }
#sh-mobile-menu ul li a.sh-mob-support.sh-new::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--red); vertical-align: 2px; animation: shDot 1.2s ease-in-out infinite; }
@keyframes shSupPulse { 0% { box-shadow: 0 0 0 0 rgba(200,77,80,.55); } 70% { box-shadow: 0 0 0 9px rgba(200,77,80,0); } 100% { box-shadow: 0 0 0 0 rgba(200,77,80,0); } }
@keyframes shSupRing { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
@keyframes shDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { ul.sh-nav > li.sh-nav-support.sh-new > a > .sh-sup, ul.sh-nav > li.sh-nav-support.sh-new > a > .sh-sup i, #sh-mobile-menu ul li a.sh-mob-support.sh-new::after { animation: none; } }
.sh-burger.sh-new { position: relative; }
.sh-burger.sh-new::after { content: ''; position: absolute; top: 6px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); animation: shDot 1.2s ease-in-out infinite; }
.sh-burger.sh-new.open::after { display: none; }
/* Сортировка в заголовках таблиц */
a.sh-sort { display: inline-flex; align-items: center; gap: 5px; padding: 3px 0; color: inherit !important; font-weight: inherit; text-decoration: none !important; white-space: nowrap; border: 0; background: none; }
a.sh-sort:hover { color: var(--red) !important; }
a.sh-sort::after { content: ''; width: 9px; height: 13px; flex: none; opacity: .45; background: no-repeat center/9px 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 13'%3E%3Cpath d='M4.5 0 9 5H0zM4.5 13 0 8h9z' fill='%23595959'/%3E%3C/svg%3E"); transition: opacity .15s; }
a.sh-sort:hover::after { opacity: .9; }
a.sh-sort:has(.icon) { color: var(--red) !important; }
a.sh-sort:has(.icon)::after { display: none; }
a.sh-sort .icon { font-size: 15px; line-height: 1; color: var(--red) !important; }

/* Заголовки карточек тарифов (хостинг/VPS/VPN) — тянулись оранжевым из стоковой темы fox */
.pricing-table-title { color: var(--red) !important; }

/* Галочка чекбокса "тонула" в красном фоне (оба стали #c84d50 после перекраски темы) — делаем белой для контраста */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { color: #fff !important; }

/* Точка radio-кнопки тоже "тонула" в красном фоне круга — делаем белой для контраста */
.custom-radio .custom-control-input:checked ~ .custom-control-label::after { color: #fff !important; }

/* Номер активной страницы в пагинации сливался с красным фоном (невидимый текст) */
.pagination .page-item.active .page-link { color: #fff !important; }

/* На мобильных таблицы без .table-responsive-обёртки (например форма оформлення замовлення)
   выходили шире экрана, а overflow-x:hidden на body/html физически обрезал избыток без
   возможности прокрутки — колонка "Сума" была вообще недоступна для просмотра */
@media (max-width: 575px) {
  .card-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}