/* ==========================================
   ИНТОНЕР — ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================== */

/* ===== ПЛАВНАЯ ПРОКРУТКА ===== */

html {
    scroll-behavior: smooth;
}

/* Отступ при переходе к разделу услуг */

#services {
    scroll-margin-top: 110px;
}

/* ===== ШАПКА ПОВЕРХ БАННЕРОВ ===== */

header,
.header,
.site-header,
#header {
    position: relative;
    z-index: 10000;
}

header .dropdown,
header .dropdown-menu,
.header .dropdown,
.header .dropdown-menu {
    z-index: 10001;
}

.it-hero,
.it-process {
    z-index: 0;
}

/* ===== ДОСТУПНОСТЬ ===== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* =====================================================
   ИНТОНЕР — ПОДВАЛ SELLER 2.0 / FOOTER_01
   Полноширинный фон, компактная сетка, адаптация
   ===================================================== */

/* 1. ВНЕШНИЙ ПОДВАЛ */

footer.footer {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 35px 0 0 !important;
    padding: 25px 0 12px !important;

    border: 0 !important;
    border-radius: 0;
    overflow: visible;

    background: linear-gradient(
        115deg,
        #1c354b 0%,
        #142b40 48%,
        #091a2a 100%
    ) !important;

    color: #d2e2f0;
}

/* 2. ВНУТРЕННИЙ КОНТЕЙНЕР */

footer.footer .footer__container {
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 36px !important;
    box-sizing: border-box;
}

/* 3. ОСНОВНАЯ СЕТКА — 4 РАЗДЕЛА */

footer.footer .footer__main {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(0, .9fr)
        minmax(0, .8fr)
        minmax(0, 1.15fr);

    gap: 28px !important;
    align-items: start;

    margin-bottom: 0 !important;
}

footer.footer .footer__column,
footer.footer .footer__contacts {
    min-width: 0;
    grid-column: auto !important;
}

/* 4. ЗАГОЛОВКИ РАЗДЕЛОВ */

footer.footer .footer__accordion-title,
footer.footer .footer__contacts-title {
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .025em;
    line-height: 1.4;
}

footer.footer .footer__accordion-toggle {
    color: #ffffff;
}

/* 5. СПИСКИ ССЫЛОК */

footer.footer .footer__nav {
    display: grid;
    gap: 8px 16px;
    margin-top: 13px !important;
}

/* Наши услуги — 2 колонки */

footer.footer .footer__column:first-of-type .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Остальные разделы — 1 колонка */

footer.footer .footer__column:not(:first-of-type) .footer__nav {
    grid-template-columns: minmax(0, 1fr);
}

footer.footer .footer__nav-item {
    margin: 0 !important;
}

footer.footer .footer__nav-link {
    color: #bdd4e8 !important;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease;
}

footer.footer .footer__nav-link:hover {
    color: #ffffff !important;
}

/* 6. КОНТАКТЫ */

footer.footer .footer__contacts-content {
    padding-top: 12px !important;
}

footer.footer .footer-contacts {
    gap: 7px !important;
}

footer.footer .footer-contacts__details,
footer.footer .footer-contacts__info {
    gap: 7px !important;
}

footer.footer .footer-contacts a,
footer.footer .footer-contacts__address,
footer.footer .footer-contacts__schedule {
    color: #bdd4e8 !important;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

footer.footer .footer-contacts a:hover {
    color: #ffffff !important;
}

footer.footer .footer-contacts__phone {
    color: #ffffff !important;
    font-weight: 750;
}

/* Подписка отключена */

footer.footer .footer-contacts__subscribe {
    display: none !important;
}

/* 7. НИЖНЯЯ ЛИНИЯ И КОПИРАЙТ */

footer.footer .footer__bottom {
    margin-top: 16px !important;
    padding-top: 10px !important;

    border-color: rgba(180, 213, 237, .17) !important;
}

footer.footer .footer__copyright {
    color: #91b1c9 !important;
    font-size: 12px;
    line-height: 1.4;
}

/* =====================================================
   ПЛАНШЕТЫ — ДО 1023 PX
   ===================================================== */

@media (max-width: 1023px) {

    footer.footer .footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px !important;
    }

    footer.footer .footer__container {
        padding: 0 25px !important;
    }

}


/* ============================================
   ИНТОНЕР — КОМПАКТНЫЙ МОБИЛЬНЫЙ ПОДВАЛ
   ============================================ */

@media (max-width: 767px) {

    /* Карточка подвала */
    footer.footer {
        width: calc(100% - 24px);
        max-width: none;

        margin: 25px auto 15px !important;
        padding: 22px 0 12px !important;

        border: 0 !important;
        border-radius: 22px !important;
        overflow: hidden;

        background: linear-gradient(
            135deg,
            #1c354b 0%,
            #142b40 48%,
            #091a2a 100%
        ) !important;
    }

    /* Внутренние отступы */
    footer.footer .footer__container {
        width: 100%;
        max-width: none;
        padding: 0 24px !important;
    }

    /* Разделы в одну колонку */
    footer.footer .footer__main {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Контакты в самом верху */
    footer.footer .footer__contacts {
        order: -1;
        width: 100%;
        margin-bottom: 12px !important;
    }

    footer.footer .footer__contacts-content {
        padding-top: 12px !important;
    }

    footer.footer .footer-contacts,
    footer.footer .footer-contacts__details,
    footer.footer .footer-contacts__info {
        gap: 7px !important;
    }

    /* Заголовки разделов */
    footer.footer .footer__accordion-title,
    footer.footer .footer__contacts-title {
        font-size: 12px;
        font-weight: 750;
        color: #fff !important;
    }

    /* Раскрывающиеся разделы */
    footer.footer .footer__column {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .footer__accordion-toggle {
        width: 100%;
        padding: 10px 0 !important;
        justify-content: flex-start;
        gap: 12px;
        color: #fff !important;
    }

    /* Сохраняем штатный аккордеон Seller 2.0 */
    footer.footer .footer__accordion-content {
        overflow: hidden;
    }

    /* Ссылки услуг — две колонки */
    footer.footer .footer__column:first-of-type .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Нижняя линия и копирайт */
    footer.footer .footer__bottom {
        margin-top: 12px !important;
        padding-top: 10px !important;

        border-color: rgba(180, 213, 237, .17) !important;
    }

    footer.footer .footer__copyright {
        font-size: 12px;
        line-height: 1.4;
    }
}


/* =========================================
   ИНТОНЕР — ФИКСАЦИЯ СВЕТЛОЙ ТЕМЫ
   Android / Chrome / Яндекс Браузер
   ========================================= */

/* Запрещаем автоматическую смену цветовой схемы */
:root,
html,
body {
    color-scheme: only light !important;
}

/* Основной фон сайта */
html,
body {
    background-color: #ffffff;
}

/* Нативные элементы интерфейса */
input,
textarea,
select,
button {
    color-scheme: only light;
}

/* При системной тёмной теме сохраняем светлую */
@media (prefers-color-scheme: dark) {

    :root,
    html,
    body {
        color-scheme: only light !important;
    }

    html,
    body {
        background-color: #ffffff;
    }
}

/* =========================================
   ИНТОНЕР — ПРИОРИТЕТ ШАПКИ НАД КАРТОЧКОЙ
   ========================================= */

@media (min-width: 1024px) {

    header.product-header {
        z-index: 100 !important;
    }
}



/* ===== ИНТОНЕР — МЕНЮ АДРЕСА ===== */

/* Адрес в шапке */
.header-address--desktop {
    position: relative !important;
    cursor: pointer;
}

.header-address--desktop:focus-visible {
    outline: 2px solid #579ac4;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Выпадающее меню */
.it-address-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 245px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e3eaf0;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(15,35,55,.15);
    z-index: 10050;
    white-space: normal;
}

.it-address-menu[hidden] {
    display: none !important;
}

/* Пункты меню */
.it-address-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #172635 !important;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s ease;
}

.it-address-menu__item:hover {
    background: #eef5fb;
}

/* Общая колонка иконок */
.it-address-menu__icon {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    object-fit: contain;
    transform: none;
}

/* Иконка копирования */
.it-address-menu__item:nth-child(3) .it-address-menu__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 36px;
}

/* Текст пунктов */
.it-address-menu__text {
    flex: 1;
    min-width: 0;
}

/* Разделители между пунктами */
.it-address-menu__item + .it-address-menu__item {
    position: relative;
    margin-top: 5px;
}

.it-address-menu__item + .it-address-menu__item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 12px;
    right: 12px;
    height: 1px;
    background: #e9edf1;
}







