/* Hostfly 08.11.2026: общий слой ЛК как на сайте (TODO-builder.md, раздел A). Подключает хук includes/hooks/hf_site_layer.php.
   Фон и элементы взяты из гайда Артёма (backdrop.css, tariff-picker.css). Откат: удалить хук. */

:root {
  --hf-font-text: "NT Somic", "Inter", "Helvetica Neue", Arial, sans-serif;
  --hfs-ac: #8B30E7; --hfs-acd: #6B21C8; --hfs-sel: #F8F4FE; --hfs-line: #E6E6E6; --hfs-line-h: #CFCFCF;
  --hfs-mu: rgba(0, 0, 0, .62); --hfs-soft: #F6F6F6; --hfs-tag: #EEEEEE; --hfs-track: #F2F2F4;
  --hfs-wrap: 1512px; --hfs-pad: clamp(20px, 4vw, 56px); --hfs-tap: 40px;
}
@media (max-width: 1024px) { :root { --hfs-tap: 44px; } }

/* ---- основа: шрифт, фон сайта ---- */
html { background: #fff; }
body { font-family: "NT Somic", "Inter", "Helvetica Neue", Arial, sans-serif !important; color: #000; background: transparent !important; }
body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, button, input, select, textarea, .btn) { font-family: inherit; }
#main-body, section#main-body, .main-content, .primary-content { background: transparent !important; }
.site-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.site-backdrop__blob { position: absolute; border-radius: 9999px; }
.site-backdrop__blob--a { top: -28vmax; left: -18vmax; width: 62vmax; height: 62vmax; background: radial-gradient(circle at center, rgba(0, 39, 234, .12) 0%, rgba(0, 39, 234, 0) 65%); animation: hfs-drift-a 28s ease-in-out infinite alternate; }
.site-backdrop__blob--b { top: -12vmax; right: -22vmax; width: 56vmax; height: 56vmax; background: radial-gradient(circle at center, rgba(197, 48, 231, .10) 0%, rgba(197, 48, 231, 0) 65%); animation: hfs-drift-b 34s ease-in-out infinite alternate; }
.site-backdrop__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(0, 39, 234, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 39, 234, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 75%); }
.site-backdrop__noise { position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes hfs-drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); } }
@keyframes hfs-drift-b { to { transform: translate3d(-6vmax, 8vmax, 0) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .site-backdrop__blob { animation: none; } }
@media print { .site-backdrop, .hfs-head { display: none; } }

/* ---- ширина: контент и футер в контейнере сайта ---- */
#main-body > .container, #main-body .container, .master-breadcrumb .container, footer#footer .container, #footer .container { max-width: var(--hfs-wrap) !important; padding-left: var(--hfs-pad) !important; padding-right: var(--hfs-pad) !important; }

/* ---- шапка темы скрыта (в DOM остаётся: счётчик корзины, уведомления), своя шапка вида сайта ---- */
#header.header { display: none !important; }
.master-breadcrumb { background: transparent !important; border: 0 !important; }
.master-breadcrumb .breadcrumb { background: transparent !important; padding-left: 0; font-size: 14px; }
.master-breadcrumb .breadcrumb, .master-breadcrumb .breadcrumb a { color: var(--hfs-mu) !important; }
.hfs-head { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--hfs-line); font-family: "NT Somic", sans-serif; }
.hfs-wrap { max-width: var(--hfs-wrap); margin: 0 auto; padding: 0 var(--hfs-pad); min-height: 72px; display: flex; align-items: center; gap: 32px; }
.hfs-logo { flex: none; display: block; line-height: 0; }
.hfs-logo img { height: 28px; width: auto; }
.hfs-nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.hfs-nav-a, .hfs-sheet-nav a { color: #000 !important; font-size: 15px; font-weight: 500; text-decoration: none !important; }
.hfs-nav-a:hover { color: var(--hfs-ac) !important; }
.hfs-head--mini .hfs-acts { margin-left: auto; }
.hfs-acts { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hfs-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #000 !important; border-radius: 10px; }
.hfs-cart:hover { background: var(--hfs-soft); }
.hfs-cart-n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hfs-ac); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.hfs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 8px; background: #000; color: #fff !important; border: 1px solid #000; font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; cursor: pointer; }
.hfs-btn:hover { background: #2F2F2F; }
.hfs-btn--o { background: #fff; color: #000 !important; }
.hfs-btn--o:hover { background: var(--hfs-soft); }
.hfs-prof { position: relative; }
.hfs-prof-n { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.hfs-dd { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--hfs-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .1); padding: 6px; z-index: 5; }
.hfs-dd a { display: block; padding: 10px 12px; border-radius: 8px; color: #000 !important; font-size: 14px; text-decoration: none !important; }
.hfs-dd a:hover { background: var(--hfs-soft); }
.hfs-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 10px; border-radius: 10px; cursor: pointer; }
.hfs-burger span { display: block; height: 2px; background: #000; border-radius: 2px; margin: 4px 0; }
.hfs-sheet { position: fixed; inset: 0; z-index: 1050; }
.hfs-sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.hfs-sheet-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 64px 24px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: -12px 0 32px rgba(0, 0, 0, .12); }
.hfs-sheet-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--hfs-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.hfs-sheet-nav { display: flex; flex-direction: column; }
.hfs-sheet-nav a { padding: 14px 4px; border-bottom: 1px solid var(--hfs-line); font-size: 17px; }
.hfs-sheet-reg { margin-top: 16px; min-height: 46px; }
@media (max-width: 991px) {
  .hfs-nav, .hfs-reg { display: none; }
  .hfs-burger { display: block; }
  .hfs-wrap { min-height: 60px; gap: 12px; }
  .hfs-logo img { height: 24px; }
  .hfs-prof-n { max-width: 96px; }
}
@media (max-width: 400px) { .hfs-prof-n { display: none; } }

/* ---- цвета: белый, чёрный, один фиолетовый; метки серые ---- */
a { color: var(--hfs-ac); }
a:hover { color: var(--hfs-acd); }
.badge, .label, .badge-info, .badge-primary, .badge-secondary, .badge-light, .label-info, .label-primary, .label-default { background: #F2F2F4 !important; color: #5B5566 !important; font-size: 12px; font-weight: 500; border-radius: 6px; padding: 4px 8px; }
.hfs-cart-n { padding: 0 5px; }
.badge-success, .label-success { background: #DEFBE6 !important; color: #000 !important; }
.badge-danger, .label-danger { background: #FDECEC !important; color: #B42318 !important; }
.badge-warning, .label-warning { background: #FAF6DE !important; color: #000 !important; }
.alert-warning { background: #FFFBE6 !important; border-color: #F5E6A3 !important; color: #000 !important; }
.alert-info { background: #F7F5FA !important; border-color: #E6E3EB !important; color: #000 !important; }
.text-warning { color: #8A6D00 !important; }
.text-info, .text-primary { color: var(--hfs-ac) !important; }

/* ---- выбранное: одно правило (фиолетовая рамка и заливка #F8F4FE) ---- */
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus,
.panel-sidebar .list-group-item.active, .card-sidebar .list-group-item.active,
.btn-check:checked + .btn {
  background: var(--hfs-sel) !important; border-color: var(--hfs-ac) !important; color: #000 !important; box-shadow: inset 0 0 0 1px var(--hfs-ac);
}
.list-group-item.active .badge { background: #fff !important; }
input[type=radio], input[type=checkbox], input[type=range] { accent-color: var(--hfs-ac); }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--hfs-ac) !important; border-color: var(--hfs-ac) !important; }
.page-item.active .page-link { background: var(--hfs-sel) !important; border-color: var(--hfs-ac) !important; color: #000 !important; }

/* ---- элементы управления как на сайте ---- */
.btn { border-radius: 8px; font-weight: 500; }
.btn-primary, .btn-success, .btn-info, .btn-checkout, .btn-order-now {
  background: #000 !important; border-color: #000 !important; color: #fff !important; letter-spacing: -.2px;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-checkout:hover, .btn-order-now:hover { background: #2A2A2A !important; border-color: #2A2A2A !important; }
.btn-primary:not(.btn-sm):not(.btn-xs):not(.btn-block), .btn-success:not(.btn-sm):not(.btn-xs):not(.btn-block), .btn-lg { min-height: 40px; padding-left: 18px; padding-right: 18px; display: inline-flex; align-items: center; justify-content: center; }
.btn-default, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-light { background: #fff !important; border: 1px solid #000 !important; color: #000 !important; }
.btn-default:hover, .btn-secondary:hover, .btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-light:hover { background: #000 !important; color: #fff !important; }
.form-control, .custom-select, select.form-control { border: 1px solid var(--hfs-line); border-radius: 10px; min-height: var(--hfs-tap); font-size: 14px; color: #000; box-shadow: none; }
.form-control:hover, .custom-select:hover { border-color: #000; }
.form-control:focus, .custom-select:focus { border-color: var(--hfs-ac); box-shadow: 0 0 0 2px rgba(139, 48, 231, .2); }
:is(a, button, input, select, textarea, .btn, [tabindex]):focus-visible { outline: 2px solid var(--hfs-ac) !important; outline-offset: 2px; }

/* ---- панели белые, фон виден вокруг ---- */
.card, .panel, .client-home-cards .card, .tile, .sidebar .card { background: #fff; border: 1px solid var(--hfs-line) !important; border-radius: 16px !important; box-shadow: none; }
.card-header, .panel-heading { background: #fff !important; border-bottom-color: var(--hfs-line) !important; }

/* 08.11 (Артём): кнопка «Войти» как на hostfly.by: прозрачная, рамка 2 px чёрная, радиус 8, высота 32, отступы 8×16, 12 px / 700 заглавными */
.hfs-login { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 8px 16px; border: 2px solid #000; border-radius: 8px; background: transparent; color: #000 !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1; text-decoration: none !important; white-space: nowrap; }
.hfs-login:hover { background: #000; color: #fff !important; }
.hfs-login:focus-visible { outline: 2px solid #8B30E7; outline-offset: 2px; }

/* ===== 09.11 feedback-7: выпадающие списки в шапке (Заказать, Помощь, профиль) ===== */
.hfs-nav { gap: 24px; }
.hfs-ddw { position: relative; }
.hfs-dd-b { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 0; padding: 6px 0; cursor: pointer; font-family: inherit; }
.hfs-chev { flex: none; overflow: visible; }
.hfs-chev path { transition: transform .15s ease; transform-origin: 12px 12px; }
.hfs-dd-b[aria-expanded="true"] .hfs-chev path { transform: rotate(180deg); }
.hfs-dd-b[aria-expanded="true"] { color: var(--hfs-ac) !important; }
.hfs-pan { position: absolute; left: -16px; top: calc(100% + 14px); min-width: 240px; background: #fff; border: 1px solid var(--hfs-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .1); padding: 8px; z-index: 1040; }
.hfs-pan--r { left: auto; right: 0; }
.hfs-pan a { display: block; padding: 9px 12px; border-radius: 8px; color: #000 !important; font-size: 15px; line-height: 1.35; text-decoration: none !important; white-space: nowrap; }
.hfs-pan a:hover, .hfs-pan a:focus-visible { background: var(--hfs-soft); }
.hfs-pan--wide { width: min(760px, calc(100vw - 2 * var(--hfs-pad))); padding: 20px 16px 12px; }
.hfs-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
.hfs-col-t { padding: 0 12px 6px; font-size: 12px; font-weight: 500; color: var(--hfs-mu); }
.hfs-col a { white-space: normal; }
.hfs-pan-f { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--hfs-line); }
.hfs-pan-f .hfs-all { display: inline-block; color: var(--hfs-ac) !important; font-weight: 500; }
.hfs-out { color: var(--hfs-mu) !important; border-top: 1px solid var(--hfs-line); border-radius: 0 0 8px 8px !important; margin-top: 4px; }
.hfs-reg { color: #000 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; padding: 6px 4px; }
.hfs-reg:hover { color: var(--hfs-ac) !important; }
/* бургер: разделы аккордеоном */
.hfs-sheet-p { overflow-y: auto; }
.hfs-sheet-nav > .hfs-nav-a, .hfs-sheet-nav .hfs-dd-b { display: flex; width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--hfs-line); font-size: 17px; font-weight: 500; color: #000 !important; text-decoration: none !important; }
.hfs-sheet .hfs-pan { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px; width: auto; min-width: 0; }
.hfs-sheet .hfs-cols { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.hfs-sheet .hfs-col-t { padding: 10px 8px 4px; }
.hfs-sheet .hfs-pan a { padding: 10px 8px; font-size: 16px; border-bottom: 0; }
.hfs-sheet-acc { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.hfs-sheet-acc a { color: #000 !important; text-decoration: none !important; padding: 10px 8px; font-size: 16px; }
.hfs-sheet-login { width: 100%; min-height: 46px; color: #fff !important; }
.hfs-sheet-reg2 { text-align: center; font-weight: 500; }
@media (max-width: 1100px) { .hfs-nav { gap: 18px; } }
@media (max-width: 991px) { .hfs-acts > .hfs-login { display: none; } }
/* 09.11: колокольчик уведомлений клиента */
.hfs-bell { border: 0; background: transparent; cursor: pointer; padding: 0; }
.hfs-bell .hfs-cart-n { background: #D93025; }
.hfs-pan--bell { width: min(360px, calc(100vw - 32px)); padding: 12px 8px 8px; max-height: 70vh; overflow-y: auto; }
.hfs-al { padding: 10px 12px; border-radius: 8px; border-left: 3px solid var(--hfs-line); margin: 4px 0; background: #fff; }
.hfs-al--danger, .hfs-al--error { border-left-color: #D93025; }
.hfs-al--warning { border-left-color: #F2A100; }
.hfs-al--success { border-left-color: #1E8E3E; }
.hfs-al--info { border-left-color: var(--hfs-ac); }
.hfs-al-m { font-size: 14px; line-height: 1.4; color: #000; white-space: normal; }
.hfs-pan .hfs-al-a { display: inline-block; padding: 4px 0 0; color: var(--hfs-ac) !important; font-size: 14px; font-weight: 500; }
.hfs-pan .hfs-al-a:hover { background: transparent; text-decoration: underline !important; }
.hfs-al-none { padding: 10px 12px; color: var(--hfs-mu); font-size: 14px; }
.hfs-pan a.hfs-al { display: block; white-space: normal; padding: 10px 12px; }
.hfs-pan a.hfs-al:hover { background: var(--hfs-soft); }
/* 09.11 feedback-8 */
/* п.1: «Войти» в бургере: белый текст на чёрной кнопке */
.hfs-sheet .hfs-sheet-acc a.hfs-sheet-login { color: #fff !important; background: #000; justify-content: center; font-weight: 600; }
.hfs-sheet .hfs-sheet-acc a.hfs-sheet-login:hover { background: #2F2F2F; }
/* п.2: рамка фокуса только с клавиатуры и фиолетовая (тема рисовала оранжевую после клика) */
.hfs-head :is(a, button):focus:not(:focus-visible), .hfs-sheet :is(a, button):focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.hfs-head :is(a, button):focus-visible, .hfs-sheet :is(a, button):focus-visible { outline: 2px solid #8B30E7 !important; outline-offset: 2px; box-shadow: none !important; }

/* ===== 18.11.2026 гайд нового ЛК (max-prompt-lk-prod.md, tools-ui-kit.md), шаг 2: одна кнопка и метки =====
   Тема (hf-theme.css) задаёт кнопкам и меткам свои размеры через body :is(#main-body, …) (вес с id), поэтому здесь тот же префикс и html впереди. */
html body :is(#main-body, .invoice-container, .modal) .btn:not(.btn-link):not(.close):not(.dropdown-toggle-split) {
  min-height: 40px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 500; line-height: 1.2;
  text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
html body :is(#main-body, .invoice-container, .modal) .btn.btn-block { display: flex; width: 100%; }
html body :is(#main-body, .invoice-container, .modal) :is(.btn-sm, .btn-xs, .btn-group-sm > .btn):not(.btn-link) { min-height: 32px; padding: 0 12px; font-size: 13px; }
@media (max-width: 1024px) {
  html body :is(#main-body, .invoice-container, .modal) .btn:not(.btn-link):not(.close):not(.btn-sm):not(.btn-xs) { min-height: 44px; }
}
html body :is(#main-body, .invoice-container, .modal) :is(.btn-primary, .btn-success, .btn-checkout, .btn-order-now):hover { background: #2A2A2A !important; border-color: #2A2A2A !important; color: #fff !important; }
html body :is(#main-body, .invoice-container, .modal) :is(.btn-default, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-light, .btn-info):hover { background: #000 !important; border-color: #000 !important; color: #fff !important; }
html body :is(#main-body, .invoice-container, .modal) .btn:disabled, html body :is(#main-body, .invoice-container, .modal) .btn.disabled { background: #F2F2F4 !important; border-color: #F2F2F4 !important; color: #8E8899 !important; opacity: 1; }
/* метки: обычный регистр, 12/500, радиус 6, отступы 4/8; цвет состояния только подложкой */
html body :is(#main-body, .invoice-container, .modal) :is(.badge, .label):not(.hfs-cart-n) {
  text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; line-height: 16px; border-radius: 6px; padding: 4px 8px;
}
/* поля: высота как у кнопки (40, на касании 44), 15 px, радиус 10, рамка #E6E6E6; textarea и списки с несколькими строками не трогаем */
html body :is(#main-body, .invoice-container, .modal) :is(input.form-control, select.form-control, .custom-select, input.field, select.field):not([type=checkbox]):not([type=radio]):not([multiple]):not([size]) {
  height: 40px; min-height: 40px; padding-top: 0; padding-bottom: 0; font-size: 15px; border-radius: 10px; border: 1px solid #E6E6E6;
}
html body :is(#main-body, .invoice-container, .modal) :is(textarea.form-control, .form-control[multiple]) { font-size: 15px; border-radius: 10px; border: 1px solid #E6E6E6; }
html body :is(#main-body, .invoice-container, .modal) :is(.form-control, .custom-select, .field):hover { border-color: #CFCFCF; }
html body :is(#main-body, .invoice-container, .modal) :is(.form-control, .custom-select, .field):focus { border-color: #8B30E7; box-shadow: 0 0 0 2px rgba(139, 48, 231, .2); }
@media (max-width: 1024px) {
  html body :is(#main-body, .invoice-container, .modal) :is(input.form-control, select.form-control, .custom-select, input.field, select.field):not([type=checkbox]):not([type=radio]):not([multiple]):not([size]) { height: 44px; min-height: 44px; }
}

/* ===== 18.11.2026 гайд, шаг 3: переключатели (вкладки, сегменты) — подложка #F2F2F4, радиус 10, отступ 3;
   выбранный пункт белый «бегунок» с тенью, плавно переезжает (hf-site.js, .hfs-thumb); невыбранные #5B5566, под мышью #000 ===== */
html body :is(#main-body, .modal) :is(.nav-tabs, .nav-pills):not(.flex-column) {
  display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; margin-bottom: 16px; background: #F2F2F4; border: 0 !important; border-radius: 10px; max-width: 100%;
}
html body :is(#main-body, .modal) :is(.nav-tabs, .nav-pills):not(.flex-column) .nav-item { margin: 0; }
html body :is(#main-body, .modal) :is(.nav-tabs, .nav-pills):not(.flex-column) .nav-link {
  min-height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border: 0 !important; border-radius: 8px; background: transparent !important;
  color: #5B5566 !important; font-size: 14px; font-weight: 400; text-decoration: none !important; box-shadow: none !important;
}
@media (hover: hover) { html body :is(#main-body, .modal) :is(.nav-tabs, .nav-pills):not(.flex-column) .nav-link:hover { color: #000 !important; } }
html body :is(#main-body, .modal) :is(.nav-tabs, .nav-pills):not(.flex-column) .nav-link.active { color: #000 !important; font-weight: 500; background: #fff !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 1px 1px rgba(0, 0, 0, .04) !important; }
@media (max-width: 1024px) { html body :is(#main-body, .modal) :is(.nav-tabs, .nav-pills):not(.flex-column) .nav-link { min-height: 38px; } }
/* бегунок: когда hf-site.js поставил .hfs-thumb, белый фон у выбранного пункта рисует он */
.hfs-seg-on { position: relative; isolation: isolate; }
.hfs-seg-on > .hfs-thumb { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 1px 1px rgba(0, 0, 0, .04); pointer-events: none; }
.hfs-seg-on.hfs-seg-anim > .hfs-thumb { transition: transform .25s cubic-bezier(.2, .7, .2, 1), width .25s cubic-bezier(.2, .7, .2, 1), height .25s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .hfs-seg-on.hfs-seg-anim > .hfs-thumb { transition: none; } }
html body .hfs-seg-on > :not(.hfs-thumb), html body .hfs-seg-on > * > :is(button, a) { position: relative; z-index: 1; }
html body .hfs-seg-on :is(.nav-link.active, .hfb-cyc[aria-pressed="true"], button[aria-pressed="true"]) { background: transparent !important; box-shadow: none !important; }
/* ===== 18.11.2026 гайд, шаг 5: подвал. 4 колонки: Инструменты, О компании + Полезное (.footer-stack), Домены и почта, Хостинг и серверы;
   на телефоне аккордеон как был (stack раскрывается в обычные строки); ссылки под мышью #6B21C8 ===== */
footer.footer .footer-stack { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
@media (max-width: 768px) { footer.footer .footer-stack { display: contents; } }
footer.footer :is(.footer-link, .footer-phone, .footer-legal__link, .copyright a):hover,
footer.footer :is(.footer-link, .footer-phone, .footer-legal__link, .copyright a):focus { color: #6B21C8 !important; }
/* ===== 18.11.2026 замечания Max по главной: плитки счётчиков как карточки сайта (отдельно, зазор 16), значки линейные чёрные
   с лавандовым пятном (гайд: «Иконки»), полоска снизу фиолетовая у всех; свёрнутые карточки сайдбара без «обрезанных» углов ===== */
html body #main-body .tiles .row.no-gutters { margin: 0 -8px; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0; }
html body #main-body .tiles .row.no-gutters > [class*="col"] { padding: 8px; }
html body #main-body .tiles .tile {
  position: relative; display: block; height: 100%; min-height: 112px; padding: 20px; background: #fff; border: 1px solid #E6E6E6 !important;
  border-radius: 16px; overflow: hidden; color: #000; text-decoration: none !important; transition: border-color .2s, box-shadow .2s;
}
@media (hover: hover) { html body #main-body .tiles .tile:hover { border-color: #CFCFCF !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); } }
html body #main-body .tiles .tile .stat { position: relative; z-index: 1; font-size: 32px; font-weight: 500; line-height: 1.1; color: #000; margin: 0; }
html body #main-body .tiles .tile .title { position: relative; z-index: 1; margin-top: 6px; font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; color: #5B5566; }
html body #main-body .tiles .tile .highlight { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; margin: 0; border-radius: 2px 2px 0 0; background: #8B30E7 !important; opacity: 1; }
html body #main-body .tiles .tile::before { content: ""; position: absolute; top: 26px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: #E9DEFB; z-index: 0; }
html body #main-body .tiles .tile > i {
  position: absolute; top: 18px; right: 20px; z-index: 1; width: 30px; height: 30px; font-size: 0 !important; color: transparent; opacity: 1;
  background: #000; -webkit-mask: var(--hf-ico) center / contain no-repeat; mask: var(--hf-ico) center / contain no-repeat;
}
html body #main-body .tiles .tile > i::before { content: none !important; }
html body #main-body .tiles .tile > i.fa-cube { --hf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M21 7.5 12 3 3 7.5v9L12 21l9-4.5z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9'/%3E%3C/svg%3E"); }
html body #main-body .tiles .tile > i.fa-globe { --hf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
html body #main-body .tiles .tile > i.fa-comments { --hf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M20 12a7.5 7.5 0 0 1-10.9 6.7L4 20l1.3-4.6A7.5 7.5 0 1 1 20 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01' stroke-linecap='round' stroke-width='2.2'/%3E%3C/svg%3E"); }
html body #main-body .tiles .tile > i.fa-credit-card { --hf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M15 3v4h4M9 11h7M9 14.5h7M9 18h4' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* свёрнутая карточка сайдбара: углы шапки не перекрывают скругление карточки */
html body #main-body .card-sidebar { overflow: hidden; }
/* главная, «Активные продукты/услуги» на телефоне: метка статуса не обрезается («Активн…»), строка: метка сверху, название и кнопка ниже */
html body #main-body .div-service-status { flex: 0 0 auto; }
html body #main-body .div-service-status { text-align: left; }
html body #main-body .div-service-status .label { overflow: visible; width: auto !important; min-width: 0; max-width: none; }
@media (max-width: 575px) {
  html body #main-body .div-service-item { flex-wrap: wrap; row-gap: 6px; }
  html body #main-body .div-service-item .div-service-status { flex: 0 0 100%; width: 100%; padding-left: 0; }
}

/* ===== 18.11.2026 перенос под флажок HfSiteLayer: палитра и правки темы, которые раньше лежали в custom.css, hf-theme.css и hf-kit.css.
   Пока слой выключен, тема выглядит как раньше. html:root весит больше :root (см. комментарий в custom.css). ===== */
html:root {
  --primary-50: #f8f4fe; --primary-100: #f1e9fd; --primary-200: #e9defb; --primary-300: #ba94fa; --primary-400: #9865ee; --primary-500: #9a47ec;
  --primary-600: #8b30e7; --primary-700: #6b21c8; --primary-800: #5a1ba8; --primary-900: #46158a; --primary-950: #2f0e5e;
  --primary: #8b30e7; --primary-lifted: #6b21c8; --primary-accented: #5a1ba8;
  --info: #8b30e7; --info-lifted: #6b21c8; --info-accented: #5a1ba8;
  --notice: #6b21c8; --notice-lifted: #5a1ba8; --notice-accented: #6b21c8;
  --yellow-300: #faf6de;
  --c-primary: #8B30E7; --c-secondary: #F7F5FA; --c-warning: #FAF6DE; --c-violet: #8B30E7;
}
/* старые страницы корзины standard_cart (перенос домена, 1С, почта, SSL, БелГИЭ): левая панель дублирует меню «Заказать» (13.11 feedback-11 п.5) */
#order-standard_cart > .row > .cart-sidebar, #order-standard_cart .sidebar-collapsed { display: none !important; }
#order-standard_cart > .row > .cart-body { flex: 0 0 100%; max-width: 100%; width: 100%; float: none; }
