

/* Start:/assets/css/header.css?17844159827810*/
/* ============================================================
   Стили шапки сайта (header.php)
   Вынесены из инлайн <style> в общий файл
   ============================================================ */

.cart-wip-wrapper {
    position: relative;
}
.cart-wip-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ffc107;
    color: #212529;
    font-size: .6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 20px;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
}

/* Всплывающее уведомление "в разработке" */
.cart-wip-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: #212529;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: .9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.cart-wip-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.cart-wip-toast i { color: #ffc107; font-size: 1.1rem; }

/* Обёртка — якорь для дропдауна, overflow visible */
#searchWrapperRoot {
    position: relative;
}

/* Контейнер поля ввода */
.search-field-wrap {
    position: relative; /* нужен только как стек-контекст для input */
}

/* ── Дропдаун ───────────────────────────────────────────────────────────── */
#searchDropdown {
    display: none;
    position: absolute;
    /* Выравнивается по правому краю #searchWrapperRoot */
    top: 100%;
    right: 0;
    left: auto;          /* не растягиваем влево */
    width: 420px;        /* фиксированная ширина */
    max-width: 95vw;     /* на мобиле не уедет за экран */
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 14px 36px rgba(0,0,0,.15);
    z-index: 99999;      /* выше всего */
    scroll-behavior: smooth;
    margin-top: 2px;
}

/* ── Один результат ─────────────────────────────────────────────────────── */
.sd-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #212529;
    border-bottom: 1px solid #f1f3f5;
    transition: background .12s;
}
.sd-item:last-of-type  { border-bottom: none; }
.sd-item:hover,
.sd-item.sd-focused    { background: #f0f5ff; }
.sd-item:hover .sd-title,
.sd-item.sd-focused .sd-title { color: #0d6efd; }

/* ── Иконка ─────────────────────────────────────────────────────────────── */
.sd-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    margin-top: 1px;
}
.sd-icon.page    { background: #e9ecef; color: #6c757d; }
.sd-icon.news    { background: #cfe2ff; color: #0d6efd; }
.sd-icon.service { background: #d1e7dd; color: #198754; }

/* ── Текст ──────────────────────────────────────────────────────────────── */
.sd-body { overflow: hidden; flex: 1; min-width: 0; }

.sd-title {
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .12s;
}
.sd-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    flex-wrap: wrap;
}
.sd-badge {
    font-size: .67rem;
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
}
.sd-badge.news    { background: #cfe2ff; color: #0a58ca; }
.sd-badge.service { background: #d1e7dd; color: #146c43; }
.sd-date          { font-size: .72rem; color: #adb5bd; }

.sd-excerpt {
    font-size: .77rem;
    color: #6c757d;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Подсветка совпадений */
#searchDropdown mark {
    background: #fff3cd;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
    font-style: normal;
}

/* ── Разделитель групп ──────────────────────────────────────────────────── */
.sd-section-header {
    padding: 5px 14px 4px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #adb5bd;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

/* ── Футер «все результаты» ─────────────────────────────────────────────── */
.sd-footer {
    display: block;
    padding: 10px 14px;
    text-align: center;
    color: #0d6efd;
    font-size: .85rem;
    font-weight: 600;
    border-top: 2px solid #e9ecef;
    text-decoration: none;
    transition: background .12s;
    background: #fff;
    position: sticky;
    bottom: 0;
}
.sd-footer:hover { background: #eef2ff; color: #0a58ca; }

/* ── Статус (загрузка / пусто / ошибка) ────────────────────────────────── */
.sd-status {
    padding: 14px 16px;
    font-size: .88rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sd-status.sd-error { color: #dc3545; }

/* ── Кнопка «Старый сайт» ─────────────────────────────────────────────── */
.btn-old-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    color: #495057;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn-old-site i { font-size: 1rem; transition: transform .2s ease; }
.btn-old-site:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    transform: translateY(-1px);
}
.btn-old-site:hover i { transform: translateX(2px); }
.btn-old-site:active { transform: translateY(0); }

/* ── Оверлей плавного перехода между сайтами ───────────────────────────── */
#pageFadeOverlay {
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 200000;
    transition: opacity .35s ease;
}
#pageFadeOverlay.active {
    opacity: 1;
    pointer-events: all;
}
/* End */


/* Start:/bitrix/templates/.default/components/bitrix/menu/template1/style.min.css?1784318791490*/
ul.left-menu{list-style:none;margin:0;padding:0;margin-bottom:8px;position:relative}ul.left-menu li{padding:10px 16px;background:#f5f5f5 url(/bitrix/templates/.default/components/bitrix/menu/template1/images/left_menu_bg.gif) top repeat-x}ul.left-menu li a{font-size:100%;color:#bc262c;font-weight:bold;text-decoration:none}ul.left-menu li a:visited{color:#bc262c}ul.left-menu li a:hover{color:#bc262c}ul.left-menu li a.selected:link,ul.left-menu li a.selected:visited,ul.left-menu li a.selected:active,ul.left-menu li a.selected:hover{color:#fc8d3d}
/* End */


/* Start:/assets/css/footer.css?1784416369710*/
/* ============================================================
   Стили футера сайта (footer.php)
   Вынесены из инлайн <style> в общий файл
   ============================================================ */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
    background: #212529;
    color: #f8f9fa;
    box-shadow: 0 -4px 16px rgba(0,0,0,.15);
    font-size: .9rem;
}
.cookie-banner-link {
    color: #8ab4ff;
    text-decoration: underline;
}
.cookie-banner-link:hover { color: #b7cfff; }

@media (max-width: 576px) {
    .cookie-banner-text { font-size: .82rem; text-align: center; }
}
/* End */
/* /assets/css/header.css?17844159827810 */
/* /bitrix/templates/.default/components/bitrix/menu/template1/style.min.css?1784318791490 */
/* /assets/css/footer.css?1784416369710 */
