:root {
    --bs-body-color: #3d4856;
    --color-black: #000000;
    --color-black-rgb: 0, 0, 0;
    --color-rich-black: #333333;
    --color-white: #ffffff;
    --color-white-rgb: 255, 255, 255;
    --color-blue: #229fff;
    --color-blue-rgb: 34, 159, 255;
    --color-clear-blue: #bde3ff;
    --color-light-blue: #28a8e9;
    --color-dark-blue: #0f2846;
    --color-dark-blue-new: #0a58ca;
    --color-red: #c93238;
    --color-bright-red: #ff0000;
    --color-green: #cee800;
    --color-green-rgb: 206, 232, 0;
    --color-light-grey: #f0f2f8;
    --color-dark-grey: #909090;
    --color-border-grey: #eceef0;
    --color-button-grey: #efefef;
    --color-dirty-grey: #eff3f3;
    --color-grey: #e7e7e7;
    --color-grey-new: #787878;
    --color-grey-hr: #d6d6d6;
    --color-blue-shadow: 34, 60, 80;
    --color-clear-grey: #9fa8b0;
    --color-text-grey: #6f767e;
    --color-bg-grey: #f9faff;
    --color-link-grey: #727d99;
    --color-brown: #954213;
    --color-dark-green: #32d318;
    --color-ligt-orange: #ffecb5;
    --color-ocean-blue: #0091d5;
    --color-ocean-blue-rgb: 0, 145, 213;
    --color-navy-blue: #0062a6;
    --color-navy-blue-rgb: 0, 98, 166;
    --color-deep-blue: #00458e;
    --color-deep-blue-rgb: 0, 69, 142;
    --color-pale-grey: #f4f6fb;
    --color-pale-grey-rgb: 244, 246, 251;
    --color-midnight-blue: #2d4b9b;
    --color-midnight-blue-rgb: 45, 75, 155;
    --color-sapphire-blue: #353a8e;
    --color-sapphire-blue-rgb: 53, 58, 142;
    --color-text-muted: #9ea0a1;
    --smoky-white-color: #f2f6f8;
    --main-color: #0091d5;
    --secondary: #6c757d;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --main-color-on-hover: #0062a6;
    --secondary-color: #0099c8;
    --secondary-color-on-hover: #0081a8;
    --orange-color: #ff6400;
    --error-color: #e74c3c;

    /* Отступы */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */
    --spacing-xxl: 3rem; /* 48px */

    /* Размеры шрифтов */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 15px;
    --font-size-md: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 22px;
    --font-size-xxl: 24px;
    --font-size-xxxl: 28px;

    /* Радиусы */
    --radius-sm: 0.375rem; /* 6px */
    --radius-md: 0.5rem; /* 8px */
    --radius-lg: 1rem; /* 16px */
    --radius-xl: 1.25rem; /* 20px */

    /* Переходы */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;

    /* Тени */
    --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.05);

    /* Высоты */
    --height-xs: 200px;
    --height-sm: 250px;
    --height-md: 300px;
    --height-lg: 400px;
    --height-xl: 500px;

    /* Другие */
    --border-width: 1px;
    --line-height-base: 1.4;
    --line-height-tight: 1;
}

/* Шрифты (без изменений) */
@font-face {
    font-family: "Roboto";
    src: url("/fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/Roboto-Black.ttf") format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url("/fonts/RobotoCondensed-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url("/fonts/RobotoCondensed-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    color: var(--bs-body-color);
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size-base);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
}

.h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.64px;
}

h3 {
    font-weight: 700;
    margin-bottom: 13px;
}

h4 {
    font-size: 32px;
    margin-top: 40px;
}

.container {
    margin: 0 auto;
    max-width: 1510px;
    width: 100%;
    height: 100%;
    padding: 0 var(--spacing-xxl);
}

.btn,
.button {
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0);
    background-color: var(--main-color);
    -webkit-border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    width: max-content;
    max-width: 100%;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s linear;
}

.btn:hover,
.button:hover {
    background-color: var(--main-color-on-hover);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    transition: color var(--transition-fast);
}

a[href]:hover:not(.btn) {
    color: var(--main-color-on-hover);
}

input:not([type="checkbox"], [type="radio"], [type="submit"]),
select,
.select2 {
    box-sizing: border-box;
    outline: none;
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0.24px;
    border-radius: 8px;
    border: 1px solid #989898;
    background-color: #fff;
    padding: 18px 25px;
    width: 100%;
    max-width: 100%;
}

.lazyloaded {
    opacity: 1;
    transition: opacity 0.4s;
    transition-delay: 0ms;
}

.breadcrumb .breadcrumb-item a {
    color: #989898;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--main-color);
}

.block__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.128px;
    margin: 0;
}

.block:not(:last-child, .block_not_margin) {
    margin-bottom: 70px;
}

@media (max-width: 1100px) {
    .block__title,
    h2,
    .h2 {
        font-size: 28px;
        letter-spacing: 0.56px;
    }
}

@media (max-width: 1400px) {
    .center_cnt,
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .single__title,
    .page__title {
        font-size: 38px;
        line-height: 120%;
    }

    .single__title {
        width: 100%;
    }

    .center_cnt,
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .single__title,
    .page__title {
        font-size: 30px;
    }

    .block__title,
    h2,
    .h2 {
        font-size: 27px;
    }
}

@media (max-width: 576px) {
    .single__title,
    .page__title {
        font-size: 28px;
    }

    .center_cnt,
    .container {
        padding: 0 16px;
    }
}

@media (min-width: 768px) and (max-width: 1140px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

.mainbanner-block {
    position: relative;
}

.mainbanner-block__carousel {
    box-shadow: var(--shadow-card);
}

.mainbanner-block__slide {
    position: relative;
    overflow: hidden;
}

.mainbanner-block__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.mainbanner-block__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 1.5rem 3rem;
    max-width: 90%;
}

.mainbanner-block__badge {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    display: inline-block;
    border-radius: 0.25rem;
}

.mainbanner-block__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mainbanner-block__description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.mainbanner-block__button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-ocean-blue);
    border: none;
    transition: all 0.3s ease;
}

.mainbanner-block__button:hover {
    background-color: var(--color-ocean-blue);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mainbanner-block__button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.mainbanner-block__indicators {
    bottom: 1rem;
}

.mainbanner-block__indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    padding: 0;
    transition: background-color 0.3s ease;
}

.mainbanner-block__indicators .active {
    background-color: #fff;
}

/* Десктоп: фиксированная высота */
@media (min-width: 769px) {
    .mainbanner-block__slide {
        height: 460px;
        overflow: hidden;
        position: relative;
    }
    .mainbanner-block__image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* для десктопа обрезка допускается */
        object-position: right center;
    }
}

/* Мобильные: адаптивная высота с пропорциями */
@media (max-width: 768px) {
    .mainbanner-block__slide {
        position: relative;
        height: 220px; /* фиксированная высота мобильного слайда */
        overflow: hidden;
        background-color: white; /* фон сайта */
    }
    .mainbanner-block__content {
        padding: 1rem 1.5rem;
        max-width: 90%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center; /* вертикальный центр */
    }
    .mainbanner-block__image {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        transform: translate(-50%, -50%);
        object-fit: contain;
        object-position: right center; /* важная часть справа */
        background-color: transparent;
    }
    .mainbanner-block__title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .mainbanner-block__description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .mainbanner-block__button {
        align-self: flex-start;
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

.block_alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
}

.page__main,
.single__main,
.archive__main {
    padding-bottom: 70px;
}

.btn-wrapper span {
    font-size: 14px;
    line-height: 17px;
    padding-left: 35px;
    max-width: 345px;
}

.btn-wrapper .btn-title {
    font-size: inherit;
    line-height: inherit;
    padding: 0;
    max-width: unset;
}

.btn-wrapper span a {
    color: var(--color-ocean-blue);
}

.btn-wrapper {
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.is-invalid {
    border-color: red;
}

.is-invalid:focus {
    border-color: red;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

/* === Footer Styles === */
.footer {
    flex-shrink: 0;
    padding: var(--spacing-md) 0;
    background-color: var(--color-dark-blue); /* Цвет фона футера */
    height: fit-content;
}

.footer a.footer-link {
    color: #adb5bd; /* Цвет ссылок */
    transition: color var(--transition-fast); /* Плавный переход для изменения цвета */
}

.footer a.footer-link:hover {
    color: var(--color-white); /* Цвет ссылок при наведении */
    text-decoration: none; /* Убираем подчеркивание при наведении */
}

.footer h6 {
    color: var(--color-white); /* Цвет заголовков */
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md); /* Отступ снизу */
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: var(--spacing-sm); /* Отступ снизу у пунктов списка */
}

.footer ul li a.footer-link {
    font-size: var(--font-size-sm);
}

.footer .border-top {
    border-color: #6c757d !important; /* Цвет границы */
}

.footer-logo {
    max-width: 160px; /* Максимальная ширина логотипа */
}

@media (max-width: 767.98px) {
    /* Центрируем логотип на мобильных устройствах */
    .footer .footer-logo {
        margin: 0 auto;
    }

    /* Центрируем элементы с классом .d-flex.justify-content-lg-end */
    .footer .d-flex.justify-content-lg-end {
        justify-content: center !important;
    }

    .footer .text-lg-start {
        text-align: left !important;
    }

    /* Добавляем отступ снизу для всех колонок в футере */
    .footer .row-cols-1 > * {
        margin-bottom: var(--spacing-lg);
    }

    .footer .col.mb-3 {
        display: block;
        text-align: left;
    }
}

/* На экранах >= 768px (планшеты и десктопы) */
@media (min-width: 768px) {
    /* Добавим отступы между колонками на более широких экранах */
    .footer .row-cols-1 > * {
        margin-bottom: var(--spacing-md);
    }
}

/* На экранах >= 992px (десктопы) */
@media (min-width: 992px) {
    /* Логотип и блоки с информацией должны быть выровнены по левому краю */
    .footer .text-lg-start {
        text-align: left !important;
    }

    /* Уменьшаем отступы между колонками на больших экранах */
    .footer .row-cols-1 > * {
        margin-bottom: var(--spacing-sm);
    }
}

/* === Верхняя панель === */
.top-bar {
    background-color: var(--color-light-bg);
    border-bottom: var(--border-width) solid #dee2e6;
}
.top-bar a,
.top-bar span {
    color: var(--color-muted);
    font-size: var(--font-size-xs);
    transition: color var(--transition-fast);
}
.top-bar a:hover {
    color: var(--color-ocean-blue);
}

/* === Основная навигация === */
.main-nav {
    background-color: var(--color-white);
}
.main-nav .nav-link {
    position: relative;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
    color: var(--color-navy-blue);
}

/* Подчеркивание активного пункта меню */
.main-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-ocean-blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition-fast) ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.payment-link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 600;
}

.payment-link:before {
    content: "";
    display: block;
    width: 20px;
    min-width: 20px;
    height: 16px;
    margin-right: 10px;
    background: url("/static/icons/credit-card.svg") no-repeat 50% 50%/contain
}

/* Кнопка выбора города */
.main-nav .btn-link {
    color: var(--color-text);
    transition: color var(--transition-fast);
}
.main-nav .btn-link:hover,
.main-nav .btn-link:focus {
    color: var(--color-ocean-blue);
    text-decoration: none;
}

/* === Offcanvas (мобильное меню) === */
.offcanvas-body .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    transition: color var(--transition-fast),
        background-color var(--transition-fast);
}
.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link:focus {
    color: var(--color-ocean-blue);
}

/* Активный пункт в мобильном меню */
.offcanvas-body .nav-link.active {
    font-weight: 600;
    color: var(--color-ocean-blue);
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    transition: background-color var(--transition-fast),
        border-color var(--transition-fast);
}
.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

@media (max-width: 991.98px) {
    .top-bar,
    .main-nav .d-none.d-lg-flex {
        display: none !important;
    }
}

/* Swiper */
.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

.swiper-vertical > .swiper-wrapper {
    flex-direction: column;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(
        --swiper-wrapper-transition-timing-function,
        initial
    );
    box-sizing: content-box;
}

.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
    transform: translate3d(0px, 0, 0);
}

.swiper-horizontal {
    touch-action: pan-y;
}

.swiper-vertical {
    touch-action: pan-x;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}

.swiper-slide-invisible-blank {
    visibility: hidden;
}

.swiper-autoheight,
.swiper-autoheight .swiper-slide {
    height: auto;
}

.swiper-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform, height;
}

.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.swiper-3d.swiper-css-mode .swiper-wrapper {
    perspective: 1200px;
}

.swiper-3d .swiper-wrapper {
    transform-style: preserve-3d;
}

.swiper-3d {
    perspective: 1200px;
}

.swiper-3d .swiper-cube-shadow,
.swiper-3d .swiper-slide {
    transform-style: preserve-3d;
}

.swiper-css-mode > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
    display: none;
}

.swiper-css-mode > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
}

.swiper-css-mode.swiper-horizontal > .swiper-wrapper {
    scroll-snap-type: x mandatory;
}

.swiper-css-mode.swiper-vertical > .swiper-wrapper {
    scroll-snap-type: y mandatory;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper {
    scroll-snap-type: none;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: none;
}

.swiper-css-mode.swiper-centered > .swiper-wrapper::before {
    content: "";
    flex-shrink: 0;
    order: 9999;
}

.swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: center center;
    scroll-snap-stop: always;
}

.swiper-css-mode.swiper-centered.swiper-horizontal
    > .swiper-wrapper
    > .swiper-slide:first-child {
    margin-inline-start: var(--swiper-centered-offset-before);
}

.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper: :before {
    height: 100%;
    min-height: 1px;
    width: var(--swiper-centered-offset-after);
}

.swiper-css-mode.swiper-centered.swiper-vertical
    > .swiper-wrapper
    > .swiper-slide:first-child {
    margin-block-start: var(--swiper-centered-offset-before);
}

.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper: :before {
    width: 100%;
    min-width: 1px;
    height: var(--swiper-centered-offset-after);
}

.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-bottom,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.swiper-3d .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
}

.swiper-3d .swiper-slide-shadow-left {
    background-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0)
    );
}

.swiper-3d .swiper-slide-shadow-right {
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0)
    );
}

.swiper-3d .swiper-slide-shadow-top {
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0)
    );
}

.swiper-3d .swiper-slide-shadow-bottom {
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0)
    );
}

.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    transform-origin: 50%;
    box-sizing: border-box;
    border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
    border-radius: 50%;
    border-top-color: transparent;
}

.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,
.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
}

.swiper-lazy-preloader-white {
    --swiper-preloader-color: #fff;
}

.swiper-lazy-preloader-black {
    --swiper-preloader-color: #000;
}

@keyframes swiper-preloader-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.swiper-virtual .swiper-slide {
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {
    height: 1px;
    width: var(--swiper-virtual-size);
}

.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {
    width: 1px;
    height: var(--swiper-virtual-size);
}

:root {
    --swiper-navigation-size: 44px;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 50%);
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

.swiper-button-next.swiper-button-hidden,
.swiper-button-prev.swiper-button-hidden {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}

.swiper-navigation-disabled .swiper-button-next,
.swiper-navigation-disabled .swiper-button-prev {
    display: none !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
}

.swiper-rtl .swiper-button-next svg,
.swiper-rtl .swiper-button-prev svg {
    transform: rotate(180deg);
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 10px);
    right: auto;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 10px);
    left: auto;
}

.swiper-button-lock {
    display: none;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: "prev";
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 10px);
    left: auto;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: "next";
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 0.3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-pagination.swiper-pagination-hidden {
    opacity: 0;
}

.swiper-pagination-disabled > .swiper-pagination,
.swiper-pagination.swiper-pagination-disabled {
    display: none !important;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 8px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}

.swiper-pagination-bullets-dynamic {
    overflow: hidden;
    font-size: 0;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: scale(0.33);
    position: relative;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    transform: scale(1);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform: scale(1);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    transform: scale(0.66);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.33);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
    transform: scale(0.66);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
    transform: scale(0.33);
}

.swiper-pagination-bullet {
    width: var(
        --swiper-pagination-bullet-width,
        var(--swiper-pagination-bullet-size, 8px)
    );
    height: var(
        --swiper-pagination-bullet-height,
        var(--swiper-pagination-bullet-size, 8px)
    );
    display: inline-block;
    border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
    background: var(--swiper-pagination-bullet-inactive-color, #000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
}

button.swiper-pagination-bullet {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer;
}

.swiper-pagination-bullet:only-child {
    display: none !important;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-pagination-vertical.swiper-pagination-bullets,
.swiper-vertical > .swiper-pagination-bullets {
    right: var(--swiper-pagination-right, 8px);
    left: var(--swiper-pagination-left, auto);
    top: 50%;
    transform: translate3d(0px, -50%, 0);
}

.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
    display: block;
}

.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-vertical
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
}

.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet,
.swiper-vertical
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet {
    display: inline-block;
    transition: 0.2s transform, 0.2s top;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
    .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}

.swiper-horizontal
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.swiper-horizontal
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet {
    transition: 0.2s transform, 0.2s left;
}

.swiper-horizontal.swiper-rtl
    > .swiper-pagination-bullets-dynamic
    .swiper-pagination-bullet {
    transition: 0.2s transform, 0.2s right;
}

.swiper-pagination-fraction {
    color: var(--swiper-pagination-fraction-color, inherit);
}

.swiper-pagination-progressbar {
    background: var(
        --swiper-pagination-progressbar-bg-color,
        rgba(0, 0, 0, 0.25)
    );
    position: absolute;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
}

.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    transform-origin: right top;
}

.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal,
.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,
.swiper-vertical
    > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: var(--swiper-pagination-progressbar-size, 4px);
    left: 0;
    top: 0;
}

.swiper-horizontal
    > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-vertical,
.swiper-vertical > .swiper-pagination-progressbar {
    width: var(--swiper-pagination-progressbar-size, 4px);
    height: 100%;
    left: 0;
    top: 0;
}

.swiper-pagination-lock {
    display: none;
}

.swiper-scrollbar {
    border-radius: var(--swiper-scrollbar-border-radius, 10px);
    position: relative;
    touch-action: none;
    background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));
}

.swiper-scrollbar-disabled > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-disabled {
    display: none !important;
}

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: absolute;
    left: var(--swiper-scrollbar-sides-offset, 1%);
    bottom: var(--swiper-scrollbar-bottom, 4px);
    top: var(--swiper-scrollbar-top, auto);
    z-index: 50;
    height: var(--swiper-scrollbar-size, 4px);
    width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
}

.swiper-scrollbar.swiper-scrollbar-vertical,
.swiper-vertical > .swiper-scrollbar {
    position: absolute;
    left: var(--swiper-scrollbar-left, auto);
    right: var(--swiper-scrollbar-right, 4px);
    top: var(--swiper-scrollbar-sides-offset, 1%);
    z-index: 50;
    width: var(--swiper-scrollbar-size, 4px);
    height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
}

.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));
    border-radius: var(--swiper-scrollbar-border-radius, 10px);
    left: 0;
    top: 0;
}

.swiper-scrollbar-cursor-drag {
    cursor: move;
}

.swiper-scrollbar-lock {
    display: none;
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.swiper-zoom-container > canvas,
.swiper-zoom-container > img,
.swiper-zoom-container > svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-slide-zoomed {
    cursor: move;
    touch-action: none;
}

.swiper .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000;
}

.swiper-free-mode > .swiper-wrapper {
    transition-timing-function: ease-out;
    margin: 0 auto;
}

.swiper-grid > .swiper-wrapper {
    flex-wrap: wrap;
}

.swiper-grid-column > .swiper-wrapper {
    flex-wrap: wrap;
    flex-direction: column;
}

.swiper-fade.swiper-free-mode .swiper-slide {
    transition-timing-function: ease-out;
}

.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.swiper-fade .swiper-slide .swiper-slide {
    pointer-events: none;
}

.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

.swiper-fade .swiper-slide-active .swiper-slide-active {
    pointer-events: auto;
}

.swiper-cube {
    overflow: visible;
}

.swiper-cube .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
    transform-origin: 0 0;
    width: 100%;
    height: 100%;
}

.swiper-cube .swiper-slide .swiper-slide {
    pointer-events: none;
}

.swiper-cube.swiper-rtl .swiper-slide {
    transform-origin: 100% 0;
}

.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-active .swiper-slide-active {
    pointer-events: auto;
}

.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-next,
.swiper-cube .swiper-slide-prev {
    pointer-events: auto;
    visibility: visible;
}

.swiper-cube .swiper-cube-shadow {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 0;
}

.swiper-cube .swiper-cube-shadow:before {
    content: "";
    background: #000;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    filter: blur(50px);
}

.swiper-cube .swiper-slide-next + .swiper-slide {
    pointer-events: auto;
    visibility: visible;
}

.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.swiper-flip {
    overflow: visible;
}

.swiper-flip .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
}

.swiper-flip .swiper-slide .swiper-slide {
    pointer-events: none;
}

.swiper-flip .swiper-slide-active,
.swiper-flip .swiper-slide-active .swiper-slide-active {
    pointer-events: auto;
}

.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.swiper-creative .swiper-slide {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    transition-property: transform, opacity, height;
}

.swiper-cards {
    overflow: visible;
}

.swiper-cards .swiper-slide {
    transform-origin: center bottom;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}

.swiper-wrapper:not(.swiper-wrapper_no-auto) {
    height: auto !important;
}

.slider-navs .owl-prev,
.slider-navs .owl-next {
    padding: 0;
}

.slider-navs .owl-prev span,
.slider-navs .owl-next span {
    display: none;
}

/* === Стили для стрелок слайдера === */
.slider-navs__next,
.slider-navs__prev,
.slider-navs .owl-prev,
.slider-navs .owl-next {
    position: absolute;
    top: 14px;
    bottom: 0;
    margin: auto;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--smoky-white-color);
    border: none;
    transition: all 0.3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--main-color);
}

.slider-navs__btn svg {
    width: 160px;
    height: 160px;
}

.slider-navs__btn:hover,
.slider-navs__btn:active {
    color: #fff;
}

/* Добавляем overlay для hover-эффекта */
.slider-navs__next:after,
.slider-navs__prev:after,
.slider-navs .owl-prev:after,
.slider-navs .owl-next:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s linear;
    background-position-x: 17px;
}

/* Ховер эффекты */
.slider-navs__next:hover,
.slider-navs__prev:hover,
.slider-navs .owl-prev:hover,
.slider-navs .owl-next:hover {
    background-color: var(--main-color);
}

.slider-navs__next:hover:after,
.slider-navs__prev:hover:after,
.slider-navs .owl-prev:hover:after,
.slider-navs .owl-next:hover:after {
    filter: brightness(100);
}

/* Неактивные стрелки */
.slider-navs__next.swiper-button-disabled,
.slider-navs__prev.swiper-button-disabled,
.slider-navs .owl-prev.swiper-button-disabled,
.slider-navs .owl-next.swiper-button-disabled {
    opacity: 0;
}

.slider-navs__prev:after,
.slider-navs .owl-prev:after {
    transform: rotate(180deg);
}

.slider-navs__prev,
.slider-navs .owl-prev {
    left: -60px;
}

.slider-navs__next,
.slider-navs .owl-next {
    right: -60px;
    transform: rotate(180deg);
}

/* === Стили пагинации === */
.slider-navs__pag {
    text-align: center;
}

.slider-navs__pag .swiper-pagination-bullet {
    width: 15px;
    height: 5px;
    border-radius: 5px;
    background-color: #2d2d2d;
}

.slider-navs__pag .swiper-pagination-bullet-active {
    background-color: var(--main-color);
}

/* === Адаптивность === */
@media (max-width: 1550px) {
    .slider-navs__prev,
    .slider-navs .owl-prev {
        left: -27px;
    }

    .slider-navs__next,
    .slider-navs .owl-next {
        right: -25px;
    }
}

@media (max-width: 992px) {
    .slider-navs__prev,
    .slider-navs .owl-prev {
        left: -10px;
    }

    .slider-navs__next,
    .slider-navs .owl-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .slider-navs__prev,
    .slider-navs .owl-prev,
    .slider-navs__next,
    .slider-navs .owl-next {
        display: none;
    }
}

/* Карусель */
.carousel.slide {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Внутренняя часть карусели */
.carousel-inner {
    border-radius: 0.25rem;
    overflow: hidden; /* Убедитесь, что содержимое не выходит за скругленные углы */
}

.carousel-item {
    transition: opacity 0.5s ease-in-out;
}

.carousel-item .carousel-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-item.active .carousel-text {
    opacity: 1;
    transform: translateY(0);
}

.carousel-slide-wrapper {
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Фон слайда */
.carousel-slide {
    position: relative;
    height: 460px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Оверлей для улучшения читаемости текста */
.carousel-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Полупрозрачный оверлей */
    z-index: 1;
}

/* Контейнер контента */
.carousel-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Текстовая часть */
.badge-carousel {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    display: inline-block;
    border-radius: 0.25rem;
}

.carousel-text {
    padding: 1.5rem 3rem;
}

.carousel-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.carousel-text p.lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Кнопка */
.carousel-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-ocean-blue);
    border: none;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background-color: var(--color-ocean-blue);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.carousel-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Пагинация карусели */
.carousel-indicators {
    position: absolute;
    bottom: 1rem; /* Отступ от нижнего края */
    left: 0; /* Растягиваем на всю ширину */
    right: 0; /* Растягиваем на всю ширину */
    margin: 0 auto; /* Центрируем контейнер */
    display: flex;
    justify-content: center !important; /* Центрируем кнопки */
    z-index: 3; /* Поверх оверлея */
    width: auto !important; /* Ограничиваем ширину */
}

/* Кнопки индикаторов */
.carousel-indicators button {
    width: 12px !important; /* Размер кружочка */
    height: 12px !important; /* Размер кружочка */
    border-radius: 50% !important; /* Круглая форма */
    background-color: rgba(
        255,
        255,
        255,
        0.5
    ) !important; /* Полупрозрачный фон */
    border: none !important; /* Убираем границу */
    margin: 0 6px !important; /* Отступы между кружочками */
    padding: 0 !important; /* Убираем внутренние отступы */
    transition: background-color 0.3s ease;
}

/* Активный индикатор */
.carousel-indicators .active {
    background-color: #fff !important; /* Полностью белый для активного */
    opacity: 1 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .carousel.slide {
        box-shadow: var(--shadow-card);
    }
    .carousel-slide {
        height: 500px;
    }
    .carousel-text {
        padding: 1rem 2rem;
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
    .carousel-text h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .carousel-text p.lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .carousel-indicators {
        bottom: 0.5rem;
    }
    .carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
        margin: 0 4px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .carousel-slide {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
    }

    .carousel.slide,
    .carousel-inner,
    .carousel-slide {
        border-radius: 0 !important;
    }
}

.tariffs .swiper {
    padding: 30px 18px;
    width: calc(100% + 25px);
    margin-left: -18px;
}

.tariffs-block__title {
    margin-bottom: var(--spacing-lg); /* mb-5 */
}

.tariffs-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-button-grey);
    border-radius: 8px;
    padding: 0.3rem;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
}

.tariffs-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tariffs-tabs-nav {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

@media (min-width: 576px) {
    .tariffs__title-container h2 {
        margin-bottom: 0; /* mb-sm-0 */
    }
}

.scrollable-buttons {
    overflow-x: auto; /* Для горизонтальной прокрутки на мобильных */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: var(
        --spacing-xl
    ); /* Добавлено расстояние до карточек тарифов */
}

.filter-btn {
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0.128px;
    padding: var(--spacing-sm) var(--spacing-md);
    white-space: nowrap; /* Предотвращаем перенос текста */
    background-color: var(
        --color-button-grey
    ); /* Белый фон для неактивных кнопок */
    border-radius: var(--radius-sm); /* Bootstrap border-radius */
    transition: all 0.3s ease;
}

.filter-btn .icon {
    width: 1rem; /* h-4 w-4 */
    height: 1rem;
    margin-right: 0.5rem; /* me-2 */
}

.btn-primary {
    background-color: var(--color-ocean-blue);
    border-color: var(--color-ocean-blue);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--color-navy-blue);
    border-color: var(--color-navy-blue);
}

.btn-neutral {
    background-color: #f1f1f1; /* светло-серый фон */
    color: #000; /* черный текст */
    border: none; /* без обводки */
    transition: none;
}

.btn-neutral:hover,
.btn-neutral:focus,
.btn-neutral:active {
    background-color: var(--color-ocean-blue);
    color: var(--color-white);
    border: none;
}

.btn-outline-primary {
    border-color: var(--color-ocean-blue);
    color: var(--color-ocean-blue);
    background-color: transparent;
    transition: all 0.2s ease-in-out;
}

/* Карточки тарифов */
/* Бейджи */
.tariff-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: white;
    display: inline-block;
    vertical-align: middle;
}

.badge--hit {
    background-color: var(--orange-color);
}

.badge--promo {
    background-color: #4caf50;
}

.tariff-header-container {
    display: flex;
    align-items: center;  /* Выравнивание по вертикали */
    gap: 12px;           /* Расстояние между элементами */
    margin-bottom: 12px;
}

.tariff-card {
    background-color: var(--color-white);
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    min-height: 493px;
    width: 100%;
    padding: 20px;
    border: 1px solid var(--smoky-white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

/* === Заголовок и описание тарифа === */
.tariff__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: 25px;
    letter-spacing: -0.2px;
    margin: 0;
    flex: 1;
}

.tariff-name-link {
    text-decoration: none;
    color: inherit;
}

.tariff-name-link:hover {
    color: var(--main-color-on-hover);
}

/* Тариф — описание */
.tariff__desc {
    color: #666;
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.052px;
    margin-bottom: 1rem;
}

/* === Атрибуты тарифа (например, "Интернет", "Телевидение") === */
.tariff-card-plan-attr {
    margin-bottom: 20px;
}

.tariff-card-attr-name {
    font-size: 0.875rem;
    color: #989898;
    display: block;
}

.tariff-card-attr-value {
    font-size: 1.25rem;
    line-height: 1.2;
}

.technology-badge {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.6em;
    padding: 0 4px;
    line-height: 140%;
    border: 1px solid #000;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 400;
    margin-bottom: 4px;
}

/* === Футер карточки (цена, кнопка, ссылка) === */
.tariff-card-footer {
    margin-top: auto;
}

.tarif-card-promo {
    background-color: #f2f5fa;
    padding: 0px 8px;
    font-size: var(--font-size-sm);
    line-height: 28px;
    text-align: center;
    margin-bottom: 12px;
    border-radius: 4px;
    display: inline-block;
    color: #122b3d;
}

.tariff-card-price-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 1rem;
}

.tariff-price-promo {
    font-variant-numeric: tabular-nums;
    font-size: var(--font-size-xxxl);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 24px;
    letter-spacing: 0;
    white-space: nowrap;
}

.tariff-price-next-container {
    display: inline-flex;
    align-items: center; /* Выравнивание по центру */
    gap: 8px; /* Расстояние между ценой и бейджем */
}

.tariff-price-next {
    font-size: var(--font-size-base);
    color: #999;
    position: relative;
}

.tariff-price-next::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #999;
    transform: translateY(-50%);
}

.discount-percent {
    background-color: var(--orange-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin-bottom: 3px;
}

.connect-btn {
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    width: 100%; /* Ширина на весь блок */
    padding: 0.75rem; /* Внутренний отступ */
    font-size: 1rem; /* Размер текста */
    font-weight: 500; /* Полужирный шрифт */
    background-color: var(--main-color); /* Основной цвет кнопки */
    color: var(--color-white); /* Белый текст */
    border: none; /* Без границ */
    border-radius: var(--radius-sm); /* Закруглённые углы */
    cursor: pointer; /* Курсор указатель */
    transition: background-color 0.3s ease; /* Плавный переход */
}

.connect-btn:hover {
    background-color: var(--main-color-on-hover);
    color: white !important;
}

.tariff-card-more-info-warp a {
    display: block; /* Блочный элемент */
    text-align: center; /* Центрирование */
    font-size: 0.9rem; /* Меньший размер шрифта */
    color: var(--color-text-muted);
    text-decoration: none; /* Без подчеркивания */
    margin-top: 1rem; /* Отступ сверху */
}

.channels-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
}

.channels-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.channels-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.tariff-empty {
    display: flex; /* Центрируем содержимое */
    justify-content: center; /* По центру по горизонтали */
    align-items: center; /* По центру по вертикали */
    height: 100%; /* На всю высоту */
    font-size: 1.25rem; /* Размер текста */
    color: var(--color-text-muted); /* Приглушенный цвет */
}

.tariff-swiper-wrapper {
    position: relative;
}

/* Основной слайд */
.info-slide {
    height: 100%;
    min-height: 493px;
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: white;
    background: linear-gradient(135deg, #0091d5 0%, #0077b5 100%);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.info-slide__content {
    max-width: 300px;
    margin: 0 auto;
}

/* Заголовок и текст */
.info-slide__title {
    font-size: 24px;
    margin-bottom: 15px;
}

.info-slide__text {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Контакты */
.info-slide__contacts {
    margin-bottom: 20px;
}

.info-contact-phone {
    margin-bottom: 15px;
}

.info-contact-phone__link {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
    transition: opacity 0.2s;
}

.info-contact-phone__link:hover {
    color: white !important;
    opacity: 0.9;
}

.info-contact-phone__hours {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Кнопка */
.info-slide__feedback-btn {
    background: white;
    color: var(--main-color);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-slide__feedback-btn:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Соцсети и QR */
.info-slide__social-block {
    margin-top: 20px;
}

.info-slide__social-title {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.info-social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--smoky-white-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.info-social-link:hover {
    transform: scale(1.05) translateZ(0);
}

.info-social-icon {
    width: 24px;
    height: 24px;
    image-rendering: crisp-edges;
}

/* Уникальные стили для callback формы */
.callback-modal {
    position: fixed;
    z-index: 1000;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.callback-modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.callback-modal-content {
    position: relative;
    background-color: var(--smoky-white-color);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.callback-modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.callback-modal-close:hover {
    color: #000;
}

.callback-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.callback-modal-title .accent {
    color: #9c2f9c;
}

.callback-modal-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.callback-input {
    width: 100%;
    margin-bottom: 15px;
    padding: 14px 18px;
    border-radius: 30px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.callback-input:focus {
    border-color: #4e1c84;
    box-shadow: 0 0 0 2px rgba(78, 28, 132, 0.2);
}

.callback-input.input-error {
    border-color: #f44336;
}

.callback-btn {
    width: 100%;
    border-radius: var(--radius-sm);
    border: none;
    background-color: var(--main-color);
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 5px;
}

.callback-btn:hover {
    background-color: var(--main-color-on-hover);
}

.callback-checkbox {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 15px;
    text-align: left;
    cursor: pointer;
}

.callback-checkbox input {
    border: 1px solid var(--main-color);
    margin-right: 8px;
    flex-shrink: 0;
}

.callback-checkbox a {
    color: #4e1c84;
    text-decoration: none;
}

.callback-checkbox a:hover {
    text-decoration: underline;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin: -10px 0 10px 15px;
    text-align: left;
    display: none;
}

.success-message {
    padding: 20px;
    text-align: center;
}

.success-message h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 575.98px) {
    .scrollable-buttons {
        justify-content: start; /* Слева на мобильных */
    }
}

@media (max-width: 768px) {
    .tariff-price-promo {
        font-size: var(--font-size-lg);
    }
    .tariff-price-next {
        font-size: var(--font-size-sm);
    }
    .tarif-card-promo {
        font-size: var(--font-size-xs);
    }
}

/* Общий контейнер */
.main_news-block {
    position: relative;
}

/* Заголовок и кнопка "Показать все" */
.main_news-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.main_news-block__more-wrap {
    text-align: right;
}

.main_news-block__more-wrap .more-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--main-color);
    transition: color 0.3s ease;
}

.main_news-block__more-wrap .more-link:hover {
    color: var(--main-color-on-hover);
}

.main_news-block__more-wrap .more-link svg {
    width: 14px;
    height: 14px;
    margin-left: 5px;
}

.main_news-block .swiper {
    padding: 30px 18px;
    width: calc(100% + 25px);
    margin-left: -18px;
    height: 100%;
}

.main_news-block .swiper-wrapper {
    display: flex;
    align-items: stretch; /* Слайды растягиваются на одинаковую высоту */
}

.main_news-block .swiper-slide {
    height: auto; /* Слайды подстраиваются под содержимое, но с минимальной высотой */
    display: flex;
    flex-direction: column;
}

.main_news-block .swiper-slide .news-card__item {
    height: 100%; /* Карточки занимают всю высоту слайда */
    min-height: 400px; /* Минимальная высота для единообразия */
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .main_news-block__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main_news-block__more-wrap {
        width: 100%;
        margin-top: 8px;
        text-align: left;
    }

    .main_news-block .swiper {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main_news-block .swiper-slide .news-card__item {
        min-height: 360px; /* Меньшая высота для мобильных устройств */
    }
}

@media (max-width: 480px) {
    .main_news-block .swiper-slide .news-card__item {
        min-height: 340px; /* Ещё меньшая высота для маленьких экранов */
    }
}

/* Сетка для карточек новостей */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%; /* Растягиваем сетку на всю ширину контейнера */
    justify-content: start; /* Выравнивание по левому краю */
}

@media (min-width: 960px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-content: start; /* Карточки начинаются с левого края */
    }
}

/* Кнопка "Читать ещё" */
.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background-color: #1a73e8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 40px auto;
}

.load-more-btn:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
}

.load-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
}

/* Карточка новости */
.news-card__item {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.news-card__img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card__placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
}

.news-card__content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    min-height: 0;
}

.news-card__category {
    padding: 6px 12px;
    margin: 0 20px;
    margin-top: -10px;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background-color: #6c757d;
    border-radius: 6px;
    z-index: 1;
}

.news-card__category--news {
    background-color: #007bff; /* Синий для новостей */
}

.news-card__category--promotion {
    background-color: #28a745; /* Зелёный для акций */
}

.news-card__title {
    font-weight: 600;
    font-size: var(--font-size-xl);
    line-height: 25px;
    max-height: calc(1.4em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-card__excerpt {
    font-size: var(--font-size-base);
    line-height: 20px;
    color: #4a4a4a;
    flex-grow: 1;
    max-height: calc(1.6em * 3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-muted, #6c757d);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.news-card__views {
    white-space: nowrap;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === Строка с изображением и текстом === */
.news-detail__row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* === Изображение === */
.news-detail__image {
    flex: 1 1 400px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-height: 320px;
}

.news-detail__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* === Плейсхолдер без картинки === */
.news-detail__placeholder {
    width: 100%;
    height: 320px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

/* === Текстовая часть === */
.news-detail__content {
    flex: 1 1 500px;
}

/* === Заголовок даты === */
.news-detail__header {
    margin-bottom: 12px;
}

.news-detail__date {
    color: var(--color-text-muted, #6c757d);
    font-size: 14px;
}

/* === Название новости === */
.news-detail__title {
    font-size: 2rem;
    margin: 16px 0 24px;
    color: #1a1a1a;
    font-weight: 700;
}

/* === Основной текст === */
.news-detail__body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

/* === Блок "Поделиться" === */
.news-detail__share {
    margin-top: 32px;
}

.news-detail__share-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #1a1a1a;
}

.news-detail__share-list {
    list-style: none;
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.news-detail__share-item a {
    text-decoration: none;
    color: #007bff;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-detail__share-item a:hover {
    color: #0056b3;
}

/* === Читайте также === */
.related-news {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

.related-news__title {
    font-size: 1.6rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.related-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Адаптивность */
@media (max-width: 960px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        justify-content: start; /* Выравнивание по левому краю */
    }
}

@media (max-width: 768px) {
    .news-detail__row {
        flex-direction: column;
        gap: 24px;
        padding: 24px 16px;
    }

    .news-detail__image {
        max-height: 240px;
    }

    .news-detail__image,
    .news-detail__content {
        flex: 1 1 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card__title {
        font-size: var(--font-size-lg);
        line-height: 20px;
    }
    
    .news-card__excerpt {
        font-size: var(--font-size-sm);
        line-height: 17px;
    }

    .news-detail__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 0 12px;
    }

    .news-card__img {
        height: 160px;
    }

    .news-card__title {
        font-size: var(--font-size-md);
    }

    .news-detail__image {
        max-height: 200px;
    }

    .news-detail__title {
        font-size: 1.4rem;
    }
}

/* Фиксированные размеры модального окна */
.modal-fixed-size {
    max-width: 800px;
    width: auto;
}

/* Убедимся, что modal-content занимает всю высоту */
.modal-fixed-size .modal-content {
    height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Заголовок модального окна */
.modal-fixed-size .modal-header {
    flex-shrink: 0;
    border-bottom: none;
    padding-bottom: 0.5rem;
}

/* Прокручиваемая область с каналами */
.modal-fixed-size .channel-scrollable {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 1rem 1rem;
}

/* Опционально: улучшенный скролл */
.channel-scrollable::-webkit-scrollbar {
    width: 6px;
}

.channel-scrollable::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* Карточка канала */
.channel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: transparent;
    border: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

/* Hover-эффект для карточек */
.channel-card:hover {
    background-color: #f8f9fa; /* Bootstrap's bg-light */
    border-radius: 8px;
}

.channel-logo,
.channel-logo-placeholder {
    width: 88px;
    height: 50px;
    border-radius: 8px;
    flex-shrink: 0;
}

.channel-logo {
    object-fit: contain;
}

.channel-logo-placeholder {
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-logo-placeholder-icon {
    font-size: 1.2rem;
    color: #9ca3af;
}

.channel-card span {
    font-size: 14px;
    color: #374151;
    line-height: 1.5; /* Для читаемости */
}

/* Кнопки категорий */
.btn-category {
    background: none;
    border: none;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-category.active {
    color: var(--color-ocean-blue);
}

.z-index-sticky {
    z-index: 1055;
}

.category-toggle {
    background: none;
    border: none;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s ease;
}

.category-toggle[aria-expanded="true"] {
    color: var(--color-ocean-blue);
}

/* Адаптивность */
@media (max-width: 576px) {
    .modal-fixed-size {
        max-width: 95vw; /* Адаптация ширины */
    }

    .channel-card img,
    .channel-logo-placeholder {
        width: 60px;
        height: 40px;
        margin-right: 8px;
    }

    .channel-card span {
        font-size: 12px;
    }

    .channel-card {
        padding: 6px;
    }
}

.btn-category-toggle {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Выпадающий список категорий ТВ-каналов */
.channel-category-dropdown {
    min-width: max-content;
    z-index: 1050; /* чтобы был поверх модалки */
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    background-color: transparent;
    color: inherit;
    outline: none;
    box-shadow: none;
}

/* Элемент выпадающего списка */
.channel-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: #212529; /* Bootstrap default link color */
}

.channel-category-item.active {
    color: var(--color-ocean-blue);
    background-color: transparent;
}

.hidden {
    display: none !important;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3b82f6;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    border: 4px solid white;
}

.hero {
    position: relative;
    background: url("path/to/hero-bg.jpg") center/cover no-repeat;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.counter {
    font-size: 2.5rem;
    font-weight: bold;
}

.about-hero {
    background: url("../img/hero-about.webp") center/cover no-repeat;
}
.about-hero__overlay {
    background: rgba(0, 0, 0, 0.4);
}

.company-history .timeline {
    border-left: 4px solid var(--bs-primary);
    position: relative;
}
.company-history .timeline-item::before {
    content: "";
    position: absolute;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--bs-primary);
    border-radius: 50%;
    top: 0.75rem;
}
@media (min-width: 768px) {
    .company-history .timeline {
        border-left: none;
        border-top: 4px solid var(--bs-primary);
        display: flex;
        overflow-x: auto;
    }
    .company-history .timeline-item {
        flex: 0 0 auto;
        margin-right: 3rem;
    }
    .company-history .timeline-item::before {
        top: -0.6rem;
        left: auto;
        right: 0;
    }
}

.about-features .card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.custom-bullet-list {
    list-style: none; /* Скрыть дефолтные bullets */
    margin: 0;
    padding: 0;
}

/* 2. Стили для элементов списка */
.custom-bullet-list .list-group-item {
    position: relative; /* Для ::before */
    padding-left: 2rem; /* Пространство под маркер */
    border: none; /* Границы уже уберёт list-group-flush */
    background: transparent; /* Чистый фон */
}

/* 3. Псевдоэлемент-«буллет» */
.custom-bullet-list .list-group-item::before {
    content: "";
    position: absolute;
    left: 0.5rem; /* Позиция маркера */
    top: 0.9em;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--bs-primary); /* Цвет бренда */
    border-radius: 50%; /* Круглый маркер */
}

/* 4. Отступы между пунктами */
.custom-bullet-list .list-group-item + .list-group-item {
    margin-top: 1rem;
}

/* === Секция обратной связи === */
.feedback-section {
    position: relative;
}

/* === Контейнер формы === */
#feedback-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
}

#feedback-container:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* === Поля формы === */
#feedback-form-wrapper .form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 10px 14px;
    font-size: 1rem;
}

#feedback-form-wrapper label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

#feedback-form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

#feedback-form-wrapper #id_phone {
    letter-spacing: 1px;
    background-color: #f8f9fa;
}

/* === Кнопки === */
#feedback-form-wrapper .btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#feedback-form-wrapper .btn-primary {
    background-color: #0d6efd; /* Цвет кнопки отправки */
    border-color: #0d6efd;
    color: white;
}

#feedback-form-wrapper .btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

/* === Сообщение "Спасибо" === */
#feedback-form-wrapper .text-success.fw-bold {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* === Анимация сообщения после отправки === */
.feedback-thanks {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Индикатор загрузки при HTMX-запросе === */
.htmx-indicator {
    display: block;
    text-align: center;
    margin: 10px 0;
    font-style: italic;
    color: #6c757d;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.3;
    }
}

/* === Плавная анимация при замене формы === */
#feedback-form-wrapper {
    transition: opacity 0.3s ease-in-out;
}

#feedback-form-wrapper > * {
    transition: opacity 0.3s ease-in-out;
}

#feedback-form-wrapper.htmx-request > * {
    opacity: 0.5;
}

/* === Мобильные устройства === */
@media (max-width: 768px) {
    #feedback-container {
        padding: 15px;
        margin: 0 10px;
    }

    #feedback-form-wrapper .btn {
        width: 100%;
    }
}

/* Основные стили для блока документов */
/* ==================== */
/* ДОКУМЕНТЫ: БАЗОВЫЕ СТИЛИ */
/* ==================== */
.documents-section {
  --documents-primary: #2563eb; /* Синий */
  --documents-primary-hover: #1d4ed8;
  --documents-danger: #dc2626; /* Красный */
  --documents-success: #16a34a; /* Зеленый */
  --documents-text: #1e293b; /* Темно-серый */
  --documents-muted: #64748b; /* Серый */
  --documents-light: #f1f5f9; /* Светло-серый */
  --documents-border: #e2e8f0;
  --documents-bg: #ffffff;
  --documents-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --documents-radius: 0.75rem;
  --documents-transition: all 0.2s ease-in-out;
}

/* ==================== */
/* СЕТКА ДОКУМЕНТОВ */
/* ==================== */
.documents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.documents__item {
  position: relative;
}

/* ==================== */
/* КАРТОЧКА ДОКУМЕНТА */
/* ==================== */
.documents__card {
  border: 1px solid var(--documents-border);
  border-radius: var(--documents-radius);
  background: var(--documents-bg);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--documents-transition);
  box-shadow: var(--documents-shadow);
}

.documents__link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

/* ==================== */
/* ОБЛАСТЬ ПРЕВЬЮ */
/* ==================== */
.documents__preview-area {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--documents-light);
  border-bottom: 1px solid var(--documents-border);
  overflow: hidden;
}

.documents__preview-img {
  max-height: 90%;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--documents-transition);
}

.documents__link:hover .documents__preview-img {
  transform: scale(1.03);
}

/* ==================== */
/* ИКОНКА ФАЙЛА */
/* ==================== */
.documents__file-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.documents__file-type-icon {
  font-size: 3rem;
  color: var(--documents-muted);
}

/* Цвета иконок по типам файлов */
.documents__file-type-icon.bi-file-earmark-pdf {
  color: var(--documents-danger);
}
.documents__file-type-icon.bi-file-earmark-word {
  color: #2b579a;
}
.documents__file-type-icon.bi-file-earmark-excel {
  color: #217346;
}
.documents__file-type-icon.bi-file-earmark-image {
  color: #9c27b0;
}
.documents__file-type-icon.bi-file-earmark-ppt {
  color: #d24726;
}
.documents__file-type-icon.bi-file-earmark-zip {
  color: #6a1b9a;
}

/* ==================== */
/* БЕЙДЖИ */
/* ==================== */
.documents__format-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--documents-danger);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* ==================== */
/* ИНФОРМАЦИОННАЯ ОБЛАСТЬ */
/* ==================== */
.documents__info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.documents__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--documents-text);
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  min-height: 3em;
  line-height: 1.5;
  transition: var(--documents-transition);
}

.documents__link:hover .documents__title {
  color: var(--main-color-on-hover);
}

/* ==================== */
/* МЕТА-ИНФОРМАЦИЯ */
/* ==================== */
.documents__meta {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--documents-muted);
  align-items: center;
}

.documents__size {
  font-weight: 500;
}

.documents__date {
  font-weight: 500;
}

/* ==================== */
/* МОБИЛЬНАЯ ВЕРСИЯ */
/* ==================== */
.documents__mobile-format {
  display: none;
  margin-top: 12px;
  padding: 6px 10px;
  background: var(--documents-light);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--documents-text);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ==================== */
/* СООБЩЕНИЕ О ПУСТОТЕ */
/* ==================== */
.documents__empty-message {
  text-align: center;
  padding: 2rem;
  color: var(--documents-muted);
  font-style: italic;
  grid-column: 1 / -1;
  font-size: 1.1rem;
}

/* ==================== */
/* АДАПТИВНОСТЬ */
/* ==================== */
@media (max-width: 1199px) {
  .documents__grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .documents__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .documents__preview-area {
    display: none;
  }
  
  .documents__title {
    -webkit-line-clamp: 3;
    min-height: 4.5em;
    font-size: 1.05rem;
  }
  
  .documents__mobile-format {
    display: block;
  }
  
  .documents__info {
    padding: 20px;
  }
}

.flex,
.flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 0.25rem rgba(108, 99, 255, 0.25);
}
.tariff-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
}
.equipment-item {
    cursor: pointer;
    border: 2px solid transparent;
}
.equipment-item.selected {
    border-color: var(--color-ocean-blue);
    background-color: rgba(0, 145, 213, 0.05);
}
.summary-card {
    position: sticky;
    top: 20px;
}
.nav-pills .nav-link.active {
    background-color: var(--color-ocean-blue);
}
.nav-pills .nav-link {
    min-width: 120px;
    color: #495057;
    background-color: var(--color-button-grey);
    transition: all 0.3s ease;
}

/* Стили для категорий */
.category-filter {
    cursor: pointer;
    margin-right: 10px; /* Расстояние между категориями */
    text-decoration: none; /* Убираем подчёркивание по умолчанию */
    color: #333; /* Цвет текста */
    transition: text-decoration 0.3s ease; /* Плавное подчёркивание */
}

/* Активная категория */
.category-filter.active {
    text-decoration: underline; /* Подчёркивание при активном состоянии */
    color: #007bff; /* Цвет активной категории */
}

/* Стили для контейнера категорий */
.category-filter-container {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос строк при необходимости */
    gap: 10px; /* Расстояние между категориями */
}

.tab-nav-scroll {
    overflow-x: auto; /* Для горизонтальной прокрутки на мобильных */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: var(
        --spacing-xl
    ); /* Добавлено расстояние до карточек тарифов */
}

.tab-nav-scroll .nav-pills {
    white-space: nowrap;
    padding-bottom: 0.5rem;
}

.tab-nav-scroll .nav-link {
    flex-shrink: 0;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    min-width: 120px;
    text-align: center;
}

.cities-choose {
    overflow: hidden;
    width: 1228px;
    max-width: 100%;
    border-radius: 17px;
    padding: 58px 65px 25px;
    height: 89vh;
}

.cities-choose .fancybox-close-small {
    top: 18px;
    right: 26px;
    width: 40px;
    height: 40px;
    background: url(3) no-repeat center;
}

.cities-choose .fancybox-close-small:hover {
    filter: brightness(0) saturate(100%) invert(57%) sepia(0%) saturate(0%)
        hue-rotate(58deg) brightness(48%) contrast(95%);
}

.cities-choose .fancybox-close-small:after {
    display: none;
}

.cities-choose__header {
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
}

.cities-choose__title {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.3px;
}

.cities-choose__wrapper {
    height: calc(100% - 230px);
    overflow: auto;
}

.cities-choose__wrapper::-webkit-scrollbar {
    width: 5px;
}

.cities-choose__wrapper::-webkit-scrollbar-track {
    background: var(--smoky-white-color);
    border: 1px solid rgba(0, 0, 0, 0);
    background-clip: content-box;
}

.cities-choose__wrapper::-webkit-scrollbar-thumb {
    background: silver;
}

.cities-choose__search {
    grid-column: span 2;
    margin-bottom: 40px;
}

.cities-choose .cities-search__input {
    margin-bottom: 23px;
    border: 1px solid var(--smoky-white-color);
    padding: 16px;
    background: var(--smoky-white-color);
}

.cities-choose .cities-search__input::-webkit-search-cancel-button {
    transform: scale(1.3);
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(64%) sepia(1%) saturate(673%)
        hue-rotate(99deg) brightness(94%) contrast(90%);
}

.cities-choose .cities-search__input:active,
.cities-choose .cities-search__input:focus {
    background-color: #fff;
    border-color: var(--smoky-white-color);
}

.cities-choose .cities-search__favorites {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 20px;
}

.cities-choose .cities-search__favorite {
    font-weight: 600;
}

.cities-choose .cities-search__not-found {
    display: none;
    margin-top: 46px;
}

.cities-choose .cities-search__select-btn {
    margin-top: 18px;
    cursor: pointer;
    color: var(--main-color);
}

.cities-choose .cities-list {
    display: flex;
    flex-flow: column wrap;
    place-content: flex-start space-between;
}

.cities-choose .cities-list__city-region {
    display: none;
    font-size: 12px;
    line-height: 18px;
    color: #989898;
}

.cities-choose .cities-list__wrap {
    position: relative;
    padding: 10px 0 29px 39px;
    height: max-content;
    width: 25%;
}

.cities-choose .cities-list__letter {
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: 700;
}

.cities-choose .cities-list__city {
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.cities-choose .cities-list__city.active {
    font-weight: 700;
}

.cities-choose .cities-list__city a {
    width: 100%;
    display: block;
}

.cities-choose .cities-list__city a:hover {
    text-decoration: underline;
}

.cities-choose .cities-list__city:not(:last-child) {
    margin-bottom: 20px;
}

.cities-choose.search-result .cities-list {
    place-content: flex-start flex-start;
    align-items: flex-start;
    height: 100% !important;
}

.cities-choose.search-result .cities-list__city-region {
    display: block;
}

.cities-choose.search-result .cities-list__city {
    margin-bottom: 20px;
}

.cities-choose.search-result .cities-list__letter {
    display: none;
}

.cities-choose.search-result .cities-list__wrap {
    padding: 0;
}

.cities-choose.search-result__wrap {
    width: 100%;
}

@media (max-width: 1400px) {
    .cities-choose {
        width: 1063px;
    }
}

@media (max-width: 1200px) {
    .cities-choose {
        width: 1063px;
    }

    .cities-choose .cities-list__wrap {
        width: 33%;
    }
}

@media (max-width: 1024px) {
    .cities-choose {
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
}

@media (max-width: 992px) {
    .cities-choose .cities-list__wrap {
        width: 50%;
    }

    .cities-choose.search-result .cities-list {
        height: auto !important;
    }

    .cities-choose.search-result .cities-list__wrap {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .cities-choose .cities-list__wrap {
        width: 100%;
    }

    .cities-choose .fancybox-close-small {
        right: 8px;
    }
}

@media (max-width: 576px) {
    .cities-choose {
        padding: 54px 16px 30px;
    }

    .cities-choose__title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .cities-choose__wrapper {
        height: calc(100% - 260px);
    }

    .cities-choose .cities-search__favorites {
        row-gap: 20px;
    }

    .cities-choose .fancybox-close-small {
        top: 8px;
        right: 8px;
        transform: scale(61%);
    }
}

.cities-definition {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 100vw;
    width: 340px;
    background-color: #fff;
    z-index: 16;
}

.cities-definition__bg {
    display: none;
}

.cities-definition__close {
    position: absolute;
    top: 9px;
    right: 7px;
    width: 20px;
    height: 20px;
    background: url(#) no-repeat center;
}

.cities-definition__close:hover {
    background: url(#) no-repeat center;
}

.cities-definition:before {
    content: "";
    top: -9px;
    right: 49px;
    position: absolute;
    z-index: 0;
    width: 0;
    height: 0;
    border-bottom: 20px solid rgba(0, 0, 0, 0);
    border-left: 20px solid #fff;
    transform: rotate(45deg);
    box-shadow: -1px -8px 24px 0 rgba(200, 35, 90, 0.07);
}

.cities-definition__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
    padding: 28px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.0784313725);
    border-radius: 8px;
}

.cities-definition__your-city {
    grid-column: span 2;
    color: #2d2d2d;
    font-weight: 600;
}

.cities-definition__set-city-link,
.cities-definition__choose-city-btn {
    padding: 11px 5px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 576px) {
    .cities-definition {
        position: fixed;
        top: initial !important;
        bottom: 0;
        left: 0;
        right: 0 !important;
        margin: auto;
        width: 100%;
    }

    .cities-definition__wrapper {
        position: relative;
        z-index: 1;
        border-radius: 16px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        padding: 30px 16px;
    }

    .cities-definition__bg {
        display: block;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: #2d2d2d;
        opacity: 0.8;
        overflow: hidden;
        inset: 0;
        margin: auto;
        z-index: 0;
    }

    .cities-definition__your-city {
        font-size: 14px;
    }

    .cities-definition:before {
        content: none;
    }

    .cities-definition__close {
        display: none;
    }
}

@media (max-width: 375px) {
    .cities-definition__set-city-link {
        width: 100%;
    }
}

/* Стили для десктопного меню */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Расстояние между ссылками */
}

/* Общие стили для модального окна и offcanvas */
.location-select-modal,
.mobile-location-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Фон модального окна и offcanvas */
.location-select-modal__backdrop,
.mobile-location-offcanvas__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

/* Контент модального окна */
.location-select-modal__dialog {
    position: relative;
    width: 800px;
    z-index: 1051;
    max-height: 95vh;
}

.location-select-modal__content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 600px;
    max-height: 600px;
}

/* Заголовок модального окна */
.location-select-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-select-modal__title {
    font-size: 32px;
    font-weight: 700;
    font-style: normal;
    line-height: 35px;
    letter-spacing: -0.2px;
}

/* Поле поиска */
.location-select-modal__search {
    position: relative;
    margin-bottom: 1.5rem;
}

.location-select-modal .location-select-modal__search-input,
.mobile-location-offcanvas .location-select-modal__search-input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--smoky-white-color);
    background-color: var(--smoky-white-color);
    border-radius: 15px;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.location-select-modal .location-select-modal__search-input:focus,
.mobile-location-offcanvas .location-select-modal__search-input:focus {
    background-color: #fff;
    outline: none;
    border-color: var(--main-color-on-hover);
}

/* Список автодополнения */
.list-group {
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
}

.list-group-item-action {
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.list-group-item-action:hover,
.list-group-item-action.active {
    background: #f8f9fa;
    color: #007bff;
}

/* Популярные города (теги) */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.locality-tag {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    background-color: #e9ecef;
    color: #495057;
    transition: all 0.2s ease;
}

.locality-tag:hover,
.locality-tag.selected {
    background-color: var(--color-ocean-blue);
    color: #fff !important;
}

/* Колонки (районы и города) */
.columns-layout {
    display: flex;
    gap: 1.5rem;
}

.columns-layout__column {
    flex: 1;
}

.region-list,
.locality-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.region-item,
.city-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    transition: background 0.2s ease;
}

.region-item:hover,
.region-item.active,
.city-item:hover,
.city-item.selected {
    background: #e7f1ff;
    color: var(--color-navy-blue);
}

/* Мобильный offcanvas */
.mobile-location-offcanvas__content {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 1051;
}

.mobile-location-offcanvas__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    border-bottom: none;
}

.mobile-location-offcanvas__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    font-style: normal;
    line-height: 25px;
    letter-spacing: 0.3px;
}

.mobile-location-offcanvas__body {
    padding: 1.5rem;
    height: calc(100% - 60px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Popover подтверждения местоположения */
.location-confirm-popover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100vw;
    width: 340px;
    padding: 1rem;
    font-size: 14px;
}

.location-confirm-popover::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.location-confirm-popover__header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.location-confirm-popover__body {
    padding: 0.5rem 0;
}

.location-confirm-popover__body p {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.location-confirm-popover__body .btn {
    padding: 11px 5px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
}

.location-confirm-popover__body .btn.btn-outline-secondary {
    color: #333;
    border-color: #ccc;
}

.location-confirm-popover__body .btn-outline-secondary:hover {
    background: #d0d0d0;
}

.location-confirm-popover__body .btn.btn-primary {
    background-color: var(--color-ocean-blue); /* Цвет кнопки "Да, верно" */
    color: #fff;
    border-color: var(--color-ocean-blue);
}

.location-confirm-popover__body .btn-primary:hover {
    background: var(--color-navy-blue);
}

.location-confirm-popover__header .btn-close {
    background-color: transparent;
    border: none;
    position: absolute;
    color: #333;
    top: 9px;
    right: 7px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    line-height: 1;
}

.location-confirm-popover__header .btn-close:hover {
    color: #666;
}

/* Анимации для модального окна */
.modal-enter {
    opacity: 0;
}

.modal-enter-start {
    opacity: 0;
}

.modal-enter-end {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-leave {
    opacity: 1;
}

.modal-leave-start {
    opacity: 1;
}

.modal-leave-end {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Анимации для мобильного offcanvas */
.mobile-enter {
    transform: translateX(100%);
}

.mobile-enter-start {
    transform: translateX(100%);
}

.mobile-enter-end {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.mobile-leave {
    transform: translateX(0);
}

.mobile-leave-start {
    transform: translateX(0);
}

.mobile-leave-end {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* Анимации для popover */
.popover-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.popover-enter-start {
    opacity: 0;
    transform: translateY(-10px);
}

.popover-enter-end {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.popover-leave {
    opacity: 1;
    transform: translateY(0);
}

.popover-leave-start {
    opacity: 1;
    transform: translateY(0);
}

.popover-leave-end {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .location-select-modal__dialog {
        margin: 0.5rem;
        max-width: 100%;
    }

    .location-confirm-popover {
        width: 250px;
        right: -50px;
    }

    .columns-layout {
        flex-direction: column;
    }

    .columns-layout__column {
        max-height: 200px;
    }
}

/* Стили для кнопки закрытия */
.btn-close {
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.7;
    z-index: 10;
    position: absolute;
    top: 20px;
    right: 15px;
    width: 40px;
    height: 40px;
}

.btn-close:hover {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .btn-close {
        top: 10px;
        right: 6px;
        font-size: 16px;
    }
}

/* Подсветка совпадений в поиске */
.list-group-item strong {
    color: #007bff;
    font-weight: 600;
}

/* Увеличение отступа между кнопкой местоположения и гамбургером */
@media (max-width: 991.98px) {
    /* Точка lg в Bootstrap */
    .navbar .navbar-toggler {
        margin-left: 1.5rem; /* Увеличен с 0.5rem до 1.5rem */
    }

    .locality-list {
        max-height: calc(
            100% - 100px
        ); /* Ограничиваем высоту с учетом поиска и популярных городов */
        overflow-y: auto;
    }

    .city-item {
        display: block;
        padding: 0.75rem 1rem;
        color: #212529;
        text-decoration: none;
        border-bottom: 1px solid #eee; /* Легкая разделительная линия */
        transition: background 0.2s ease;
    }

    .city-item:hover,
    .city-item.selected {
        background: #f8f9fa;
        color: #007bff;
    }
}

/* Базовые стили для mobile-confirm-offcanvas */
.mobile-confirm-offcanvas {
    height: auto;
    max-height: 50vh; /* Ограничиваем высоту до половины экрана */
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Контент offcanvas */
.mobile-confirm-offcanvas__content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Заголовок offcanvas */
.mobile-confirm-offcanvas__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6; /* Bootstrap-style border */
}

.mobile-confirm-offcanvas__header h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: #212529; /* Bootstrap dark text */
}

.mobile-confirm-offcanvas__header .btn-close {
    font-size: 0.875rem;
    opacity: 0.5;
}

/* Тело offcanvas */
.mobile-confirm-offcanvas__body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.mobile-confirm-offcanvas__body p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #212529;
}

.mobile-confirm-offcanvas__body .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Стили для кнопок, чтобы соответствовать Bootstrap */
.mobile-confirm-offcanvas__body .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.mobile-confirm-offcanvas__body .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.mobile-confirm-offcanvas__body .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.mobile-confirm-offcanvas__body .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 576px) {
    .mobile-confirm-offcanvas__header h5 {
        font-size: 1.1rem;
    }

    .mobile-confirm-offcanvas__body p {
        font-size: 0.9rem;
    }

    .mobile-confirm-offcanvas__body .btn {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
}

/* === Каталог оборудования === */
.product-gallery .main-image {
    transition: transform 0.3s ease;
}
.product-gallery .main-image:hover {
    transform: scale(1.02);
}
.thumbnail-gallery img {
    cursor: pointer;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}
.thumbnail-gallery img:hover {
    opacity: 0.8;
    border-color: #007bff;
}
.characteristic-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}
.characteristic-label {
    font-weight: 500;
    color: #495057;
    flex: 1;
}
.characteristic-value {
    flex: 1;
    text-align: right;
    color: #212529;
}
.show-more-btn {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
    margin-top: 10px;
    transition: color 0.3s ease;
}
.show-more-btn:hover {
    color: #0056b3;
}
.tabs-one__item {
    transition: background-color 0.3s ease;
}
.tabs-one__item.active {
    background-color: #f8f9fa;
    border-bottom: 2px solid #007bff;
}
.tabs-one__item-link {
    color: #495057;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}
.tabs-one__item-link:hover {
    color: #007bff;
}
.product__tabs-content {
    transition: opacity 0.3s ease;
}

/* Контейнер вкладок */
.product__tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

/* Список вкладок */
.product__tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0;
    list-style: none;
    border-bottom: 2px solid #ccc;
}

/* Одна вкладка */
.product__tabs-list .tabs-one__item {
    margin-bottom: -2px;
}

/* Ссылки вкладок */
.product__tabs-list .tabs-one__item-link {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 2px solid transparent;
    border-bottom: none;
    font-weight: 500;
    color: #495057;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Активная вкладка */
.product__tabs-list .tabs-one__item.active .tabs-one__item-link {
    border-color: #0d6efd #0d6efd white;
    color: #0d6efd;
    background-color: white;
    font-weight: 600;
    border-radius: 0.25rem 0.25rem 0 0;
}

/* Контент вкладки */
.product__tabs-content {
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-top: none;
    background-color: white;
    border-radius: 0 0 0.375rem 0.375rem;
    animation: fadeIn 0.3s ease;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Мобильная адаптация */
@media (max-width: 576px) {
    .product__tabs-list {
        flex-direction: column;
    }

    .product__tabs-list .tabs-one__item-link {
        width: 100%;
        text-align: left;
        border-radius: 0.375rem;
    }

    .product__tabs-list .tabs-one__item.active .tabs-one__item-link {
        border-radius: 0.375rem;
    }
}



.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
}

.status {
    padding: 5px 10px;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
}

.status.available {
    background-color: #e0f7e9;
    color: #2e7d32;
}

.status.unavailable {
    background-color: #fdecea;
    color: #c62828;
}

.buy-btn {
    background-color: var(--color-ocean-blue); /* Цвет кнопки "Да, верно" */
    color: #fff;
    border-color: var(--color-ocean-blue);
}

.buy-btn:hover {
    background: var(--color-navy-blue);
    color: #fff;
}

.favorite-btn {
    background-color: #f1f1f1;
    color: #555;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.favorite-btn:hover {
    background-color: #e0e0e0;
}

.specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.specs-column {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.specs-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 5px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.specs-table td {
    padding: 12px 0;
    vertical-align: top;
    font-size: 0.95rem;
    color: #333;
}

.specs-table td:first-child {
    font-weight: 500;
    display: flex;
    align-items: center;
    color: #1a1a1a;
}

.specs-table td:last-child {
    width: 50%;
    text-align: right;
    color: #555;
}

.specs-icon {
    margin-right: 8px;
    font-size: 1.1rem;
    color: var(--main-color);
}

.no-specs {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .specs-row {
        flex-direction: column;
    }

    .specs-column {
        min-width: 100%;
    }

    .specs-table td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .specs-table td:last-child {
        padding-bottom: 15px;
    }
}

/* Основные карточки товаров */
.product-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    height: 100%;
    border: 1px solid var(--smoky-white-color);
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.product-card:hover {
    border-color: #ccc;
}

.product-card__wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card__wrapper:hover {
    color: #000;
}

/* Изображение */
.product-card__img-wrap {
    position: relative;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.product-card__img-wrap:before {
    content: "";
    display: block;
    padding-bottom: 66.66%; /* 3:2 — нейтральное соотношение */
}

.product-card__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    border-radius: 8px;
}

/* Заглушка без изображения */
.product-card__img-wrap.no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed #ddd;
    background-color: #f5f5f5;
}

.product-card__no-image-label {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 10px;
    max-width: 80%;
}

/* Название и описание */
.product-card__title {
    margin: 0 0 10px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-card__desc {
    font-size: var(--font-size-base);
    line-height: 20px;
    color: #666;
    margin: 0 0 10px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Нижняя часть карточки */
.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-card__price {
    font-size: var(--font-size-xxxl);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 24px;
    letter-spacing: 0;
    white-space: nowrap;
}

.product-card__btn {
    padding: 0.75rem;
    font-size: var(--font-size-base);
    border-radius: 8px;
    flex-shrink: 0;
    width: auto;
    min-width: 120px;
}

.product-card__btn.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.product-card__btn.loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.product-detail .product-card__title {
    font-size: 40px;
}

.product-detail .product-card__desc {
    font-size: var(--font-size-lg);
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
}

.product-detail .product-info__variant-title {
    font-size: var(--font-size-base);
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.product-detail .product-card__price {
    font-size: 36px;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .product-card {
        padding: 12px;
    }

    .product-card__title {
        font-size: var(--font-size-lg);
        line-height: 20px;
    }

    .product-card__desc {
        font-size: var(--font-size-sm);
        line-height: 17px;
        -webkit-line-clamp: 3;
    }

    .product-card__price {
        font-size: var(--font-size-lg);
    }

    .product-card__btn {
        padding: 10px 14px;
    }

    /* Уменьшаем соотношение изображения — меньше места под картинку */
    .product-card__img-wrap:before {
        padding-bottom: 50%; /* Было 75%, стало 50% — компактнее */
    }

    /* Дополнительно: уменьшаем максимальную высоту изображения */
    .product-card__img {
        object-position: center; /* Убедимся, что центрирование явно указано */
        max-width: 90%; 
        max-height: 220px;
        object-fit: contain;
    }

    /* Ещё больше сжимаем карточку на малых экранах */
    .product-card {
        border-radius: 10px;
        border-width: 1px;
    }
    
    .product-detail .product-card__title {
        font-size: 28px;
        letter-spacing: -0.6px;
    }

    .product-detail .product-card__desc {
        font-size: 15px;
        line-height: 20px;
        letter-spacing: -0.15px;
    }
    
    .product-detail .product-card__price {
        font-size: 28px;
        line-height: 30px;
        letter-spacing: -0.56px;
    }
}

/* Популярные товары */
.popular-card-img {
    max-height: 180px;
    object-fit: contain;
}

/* Блоки контента */
.products-slider-block {
    position: relative;
}

.products-slider-block .slider-navs {
    margin-top: 28px;
}

.products-slider-block__item.swiper-slide {
    height: auto;
    display: flex;
}

.products-slider-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.products-slider-block__wrapper {
    position: relative;
}

.products-slider-block__link {
    padding: 12px 15px;
    font-size: 15px;
}

.products-list-block .products__list {
    padding-left: 0;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    margin-bottom: 32px;
}

.products-list-block__title {
    margin-bottom: 30px;
}

.products-list-block .products-panel {
    margin-bottom: 20px;
}

/* Панели управления */
.products-panel {
    display: flex;
    gap: 10px 20px;
    align-items: center;
}

.products-panel__search {
    flex: 1;
    position: relative;
    height: 54px;
}

.products-panel__search-input {
    width: 100%;
    height: 100%;
    padding: 7px 47px 7px 20px;
    border-radius: 5px;
    background-color: var(--smoky-white-color);
    border: none;
}

.products-panel__search-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    top: 0;
    bottom: 0;
    right: 7px;
    margin: auto;
    border: none;
    cursor: pointer;
    transition: all 0.3s linear;
    background: var(--main-color) no-repeat center;
    background-size: 18px;
    color: var(--color-white);
}

.products-panel__search-btn:hover {
    background-color: var(--main-color-on-hover);
}

.products-panel__reset {
    background: 0 0;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: var(--main-color);
}

.products-panel__reset:hover {
    color: var(--main-color-on-hover);
}

/* Сортировка */
.sortings {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.sortings__title {
    margin-right: 10px;
    font-family: 14px;
}

.sortings__item {
    position: relative;
    cursor: pointer;
}

.sortings__item-value {
    display: none;
}

.sortings__item-value:checked + * {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.sortings__item-label {
    padding: 10px 30px 10px 15px;
    transition: all 0.3s linear;
    pointer-events: none;
    border-radius: 10px;
    border: 1px solid silver;
}

.sortings__item-label:after {
    content: "";
    background: no-repeat center;
    position: absolute;
    transition: all 0.3s linear;
    right: 12px;
    top: 0;
    display: block;
    height: 100%;
    width: 10px;
    object-fit: contain;
    filter: brightness(0);
}

.sortings__item_asc .sortings__item-label:after {
    transform: rotate(180deg);
}

.sortings__item_total_sales .sortings__item-label,
.sortings__item_discount .sortings__item-label {
    padding-right: 15px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .products-list-block .products__list {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-panel {
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .products-list-block .products__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .products-list-block .products__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .sortings {
        width: 100%;
        flex: initial;
        order: 1;
        margin-top: -20px;
    }
    .sortings__title {
        width: 100%;
    }
    .product-card {
        padding: 20px;
    }
    .product-card__img-wrap:before {
        padding-bottom: 69%;
    }
    .products-panel_bottom {
        flex-wrap: wrap;
        gap: 0;
    }
    .products-panel__reset {
        margin-left: auto;
        z-index: 1;
    }
}

@media (max-width: 576px) {
    .sortings__title {
        font-size: 14px;
    }
    .product-card {
        padding: 19px;
    }
    .products-panel {
        flex-wrap: wrap;
    }
    .products-panel__search {
        flex: initial;
        width: 100%;
    }
}

/* Контейнер формы подключения */
.connect-form__wrapper {
    display: grid;
    grid-template-columns: 1.52fr 1fr;
    grid-template-rows: max-content 1fr;
    grid-gap: 20px 70px;
    border-radius: 20px;
    background-color: var(--smoky-white-color);
    padding: 70px 56px;
}

.connect-form__title {
    margin-bottom: 9px;
}

.connect-form__subtitle {
    max-width: 550px;
    line-height: 150%;
    letter-spacing: 0.6px;
}

.connect-form__form {
    position: relative;
}

.connect-form__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.connect-form__field {
    width: 100%;
}

.connect-form__label {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
}

.connect-form__input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
}

.connect-form__input:focus {
    border-color: var(--main-color);
    outline: none;
}

.connect-form__error {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.connect-form__field_name,
.connect-form__field_phone {
    width: calc(50% - 10px);
}

.connect-form__field_street {
    width: calc(50% - 10px);
}

.connect-form__field_house,
.connect-form__field_apartment {
    width: calc(25% - 10px);
}

.connect-form__submit {
    width: 290px;
    background: var(--main-color);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.connect-form__submit:hover {
    background: var(--main-color-on-hover);
}

.connect-form__policy {
    font-size: 14px;
    line-height: 200%;
}

.connect-form__tariff {
    grid-row: 1/3;
    grid-column: 2/2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Блок информации о тарифе */
.connect-form__tariff-info {
    color: #2d2d2d;
    font-family: Raleway, Arial, sans-serif;
}

.connect-form__tariff-info-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 28px;
    border-radius: 15px;
    background: #fff;
    height: 100%;
    width: 100%;
    transition: all 0.3s linear;
}

.connect-form__tariff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    gap: 10px;
}

.connect-form__tariff-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.072px;
}

.connect-form__tariff-change {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.28px;
    color: var(--main-color);
}

.connect-form__tariff-change:hover {
    color: var(--main-color-on-hover);
}

.connect-form__tariff-service:not(:last-child) {
    padding-bottom: 17px;
}

.connect-form__tariff-service .d-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.connect-form__tariff-service .mb-1 {
    margin-bottom: 4px;
}

.connect-form__tariff-service .option__icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.connect-form__tariff-service .option__desc {
    color: #989898;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.connect-form__tariff-service .option__label {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
}

.connect-form__tariff-prices {
    display: flex;
    gap: 10px;
    margin-top: 26px;
    padding-top: 26px;
    align-items: center;
    justify-content: space-between;
}

.connect-form__tariff-prices .prices__label {
    font-size: 18px;
    font-weight: 500;
}

.connect-form__tariff-prices .prices__price {
    font-size: 36px;
    font-weight: 700;
    line-height: 18px;
    color: var(--main-color);
}

.connect-form__tariff-prices .prices-wrap {
    margin-left: auto;
    text-align: right;
}

/* Модальное окно */
.connect-form__modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.connect-form__modal.is-visible {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear, opacity 0.3s ease;
}

.connect-form__modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-sizing: border-box;
}

.connect-form__modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #2d2d2d;
}

.connect-form__modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.connect-form__modal-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.connect-form__modal-btn {
    width: 200px;
    background: var(--main-color);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.connect-form__modal-btn:hover {
    background: var(--main-color-on-hover);
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .connect-form__wrapper {
        padding: 70px 33px;
        grid-template-columns: 1fr 1.15fr;
        grid-column-gap: 30px;
    }

    .connect-form__fields {
        gap: 25px;
    }

    .connect-form__field_name,
    .connect-form__field_phone,
    .connect-form__field_street,
    .connect-form__field_house,
    .connect-form__field_apartment {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .connect-form__wrapper {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .connect-form__fields {
        gap: 10px;
    }

    .connect-form__tariff-prices .prices__price {
        font-size: 32px;
    }
}

@media (max-width: 900px) {
    .connect-form__subtitle {
        max-width: 100%;
    }

    .connect-form__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .connect-form__wrapper > * {
        max-width: 668px;
        width: 100%;
    }

    .connect-form__field_name,
    .connect-form__field_phone {
        width: calc(50% - 10px);
    }

    .connect-form__field_street {
        width: calc(50% - 10px);
    }

    .connect-form__field_house,
    .connect-form__field_apartment {
        width: calc(25% - 10px);
    }

    .connect-form__form {
        order: 1;
    }

    .connect-form__tariff {
        align-items: center;
        background: none;
    }

    .connect-form__tariff.loading {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .connect-form__wrapper {
        padding: 33px 30px;
        gap: 33px;
    }

    .connect-form__form {
        padding: 27px 0;
        margin-bottom: -5px;
    }

    .connect-form__fields {
        gap: 23px;
    }

    .connect-form__field_name,
    .connect-form__field_phone,
    .connect-form__field_street,
    .connect-form__field_house,
    .connect-form__field_apartment {
        width: 100%;
    }

    .connect-form__modal-content {
        padding: 20px;
    }

    .connect-form__modal-title {
        font-size: 20px;
    }

    .connect-form__modal-text {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .connect-form__tariff-title {
        font-size: 20px;
    }

    .connect-form__tariff-prices {
        margin-top: 17px;
        flex-wrap: wrap;
    }
}

@media (max-width: 450px) {
    .connect-form {
        width: 100vw;
        margin-left: -16px;
    }

    .connect-form__subtitle {
        font-size: 14px;
    }

    .connect-form__wrapper {
        padding: 40px 16px;
    }

    .connect-form__form {
        padding: 0;
    }

    .connect-form__field {
        width: 100%;
    }

    .connect-form__submit {
        width: 100%;
    }
}

.form2-block {
    padding: 0;
    border-radius: 20px;
}

.form2-block__title {
    margin-bottom: 9px;
}

.form2-block__subtitle {
    margin-bottom: 30px;
    line-height: 150%;
    letter-spacing: 0.32px;
}

.form2-block__form {
    position: relative;
    padding: 70px;
}

.form2-block__wrapper {
    display: grid;
    grid-template-columns: 2.69fr 1fr;
    align-items: center;
}

.form2-block .form__wrapper {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form2-block .form__item {
    width: calc((100% - 35px) / 3);
}

.form2-block .form__item-label {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
}

.form2-block .form__policy {
    font-size: 14px;
    line-height: 200%;
}

.form2-block__img {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 1200px) {
    .form2-block__subtitle {
        font-size: 14px;
    }

    .form2-block__wrapper {
        grid-template-columns: 1.35fr 1fr;
    }

    .form2-block .form__wrapper {
        gap: 20px 10px;
    }

    .form2-block .form__item_name,
    .form2-block .form__item_phone {
        width: calc((100% - 10px) / 2);
    }

    .form2-block .form__item_btn {
        width: 290px;
    }

    .form2-block .form__policy {
        line-height: 120%;
    }
}

@media (max-width: 992px) {
    .form2-block__title {
        font-size: 26px;
    }

    .form2-block__wrapper {
        grid-template-columns: 1.07fr 1fr;
    }

    .form2-block__form {
        padding: 40px;
        padding-right: 20px;
    }

    .form2-block .form__item {
        width: 100%;
    }

    .form2-block .form__wrapper {
        gap: 15px;
    }
}

@media (max-width: 700px) {
    .form2-block__wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        justify-items: center;
    }

    .form2-block__form {
        padding: 30px;
    }

    .form2-block__img-wrap {
        width: 80%;
        text-align: center;
        margin-bottom: -20px;
        order: -1;
    }
}

@media (max-width: 576px) {
    .form2-block__title {
        font-size: 20px;
    }

    .form2-block__form {
        padding: 20px;
    }
}

.tv-console {
    --text-primary: #2c3e50;
    --text-secondary: #4a5568;
    --bg-light: #f8f9fa;
    
    padding: 3rem 0;
    background: #f2f6f8;
    border-radius: var(--radius-xl);
    position: relative;
}

.tv-console__wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.tv-console__header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.tv-console__title {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.tv-console__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tv-console__content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
}

/* Левая колонка с фичами */
.tv-console__features-scroller {
    overflow: visible;
}

.tv-console__features-col {
    flex: 1 1 50%;
    min-width: 300px;
    padding-right: 1rem;
}

.tv-console__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.tv-console__feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.tv-console__feature-icon {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.tv-console__icon-img {
    max-width: 70%;
    height: auto;
}

.tv-console__feature-text {
    line-height: 1.5;
    color: var(--text-primary);
}

.tv-console__feature-text strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    color: var(--main-color);
}

/* Правая колонка с изображением */
.tv-console__image-col {
    flex: 1 1 45%;
    position: relative;
}

.tv-console__banner {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 5500px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.tv-console__banner-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.tv-console__product-image {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 4rem;
}

.tv-console__product-img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Стили для цены */
.tv-console__price-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tv-console__price-box--desktop {
    display: flex;
}

.tv-console__price-box--mobile {
    display: none;
    justify-content: center;
    width: 100%;
}

.tv-console__price-info {
    display: flex;
    flex-direction: column;
}

.tv-console__price-main {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.128px;
    color: var(--main-color);
    white-space: nowrap;
}

.tv-console__buy-btn {
    padding: 1rem 2rem;
    min-width: 200px;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    background: var(--main-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 145, 213, 0.3);
    flex-shrink: 0;
}

.tv-console__buy-btn:hover {
    background: var(--main-color-on-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 98, 166, 0.4);
}

/* Адаптив */
@media (max-width: 1024px) {
    .tv-console__title {
        font-size: 2rem;
    }
    
    .tv-console__description {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .tv-console {
        padding: 2rem 0;
        border-radius: var(--radius-lg);
    }
    
    .tv-console__wrap {
        padding: 0 1.5rem;
    }
    
    .tv-console__features-col,
    .tv-console__image-col {
        flex: 1 1 100%;
    }
    
    .tv-console__features-col {
        padding-right: 0;
    }

    .tv-console__features-scroller {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tv-console__features-list {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .tv-console__features-list::-webkit-scrollbar {
        display: none;
    }
    
    .tv-console__feature {
        flex: 0 0 85%;
        scroll-snap-align: start;
        background: white;
        border-radius: var(--radius-md);
        padding: 1.5rem;
        box-shadow: var(--shadow-card);
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tv-console__feature-icon {
        margin-bottom: 1rem;
    }
    
    .tv-console__feature-text {
        text-align: center;
    }
    
    .tv-console__features-scroller::-webkit-scrollbar {
        display: none;
    }
    
    .tv-console__banner {
        position: relative;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .tv-console__product-image {
        margin-top: 2rem;
    }
    
    .tv-console__price-box--desktop {
        display: none;
    }
    
    .tv-console__price-box--mobile {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tv-console__title {
        font-size: 1.75rem;
    }
    
    .tv-console__description {
        font-size: 1rem;
    }
    
    .tv-console__features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tv-console__feature {
        gap: 1rem;
    }
    
    .tv-console__price-main {
        font-size: 2rem;
    }
    
    .tv-console__buy-btn {
        min-width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .tv-console__price-box--mobile {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .tv-console__price-info {
        align-items: center;
    }
}

@media (min-width: 769px) and (max-width: 1083px) {
    .tv-console__content {
        flex-direction: column;
    }

    .tv-console__features-col {
        width: 100%;
        padding-right: 0;
        order: 2; /* Перемещаем фичи вниз */
    }

    .tv-console__image-col {
        width: 100%;
        order: 1; /* Изображение и баннер вверху */
        margin-bottom: 2rem;
    }

    .tv-console__banner {
        position: relative;
        max-width: 100%;
        margin-bottom: 1rem;
        top: auto;
        right: auto;
    }

    .tv-console__product-image {
        margin-top: 0;
        text-align: right; /* Выравниваем изображение вправо */
        padding-right: 2rem;
    }

    .tv-console__product-img {
        max-height: 280px;
        margin-right: auto;
        margin-left: auto;
    }

    .tv-console__price-box--desktop {
        justify-content: flex-start; /* Кнопка и цена в строку слева */
    }

    /* Улучшаем отображение фич */
    .tv-console__features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .tv-console__feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tv-console__feature-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .tv-console__feature {
        flex: 0 0 90%;
    }
    
    .tv-console__price-box--mobile {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tv-console__buy-btn {
        width: 100%;
    }
}

.advantages-block {
    position: relative;
}

.advantages-block__title {
    margin-bottom: 30px;
}

.advantages-block__wrapper_slider {
    display: block;
}

.advantages-block .advantage {
    position: relative;
    overflow: hidden;
    height: 450px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 25px;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.4px;
    color: #fff;
}

.advantages-block .advantage > * {
    position: relative;
}

.advantages-block .advantage:after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 61, 90, 0.95),
        rgba(28, 61, 90, 0.2)
    );
}

.advantages-block .slider-navs {
    margin-top: 28px;
}

/* === Блок "Доступные услуги" === */

/* Общие стили — активны на десктопе */
.available-services-block__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.available-services-block__title {
    margin-bottom: var(--spacing-lg, 40px);
}

.available-services-block .item {
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1c3d5a;
    transition: all 0.3s linear;
    border-radius: 20px;
    min-height: 319px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.available-services-block .item:nth-child(n) {
    animation-delay: calc(0.1s * (n - 1));
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.available-services-block .service-card__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 61, 90, 0.95),
        rgba(28, 61, 90, 0.2)
    );
    border-radius: 20px;
    z-index: 0;
}

.available-services-block .service-card__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.available-services-block .service-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.4px;
    max-width: 100%;
    margin-bottom: 7px;
}

.available-services-block .service-card__subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0.238px;
    max-width: 100%;
    margin-bottom: 29px;
}

.available-services-block .service-card__btn {
    font-size: 1rem;
    font-weight: 500;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 20px;
    background-color: #fff;
    color: #1c3d5a;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.available-services-block .service-card__btn:hover {
    background-color: #e0e0e0;
}

.available-services-block .service-card__btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Ширина карточек */
.available-services-block__wrapper .item {
    width: calc(33.3333333333% - 14px);
}

/* Адаптация под планшеты (до 992px) */
@media (max-width: 992px) {
    .available-services-block__wrapper .item {
        width: calc(50% - 10px);
    }
}

/* === Полное скрытие всего блока на мобильных (до 600px) === */
@media (max-width: 600px) {
    #available-services {
        display: none !important;
    }
}

.tv-packages-block {
    position: relative;
    margin-top: 70px;
}

.tv-packages-block .swiper {
    padding: 30px 18px;
    width: calc(100% + 25px);
    margin-left: -18px;
}

.tv-packages-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.tv-package-card {
    border: 1px solid var(--smoky-white-color);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 430px;
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.tv-package-card__wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tv-package-card__img-wrap {
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    border-radius: 16px;
}

.tv-package-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-package-card__img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
}

.tv-package-card__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.16px;
    margin: 0 0 10px 0;
}

.tv-package-card__desc {
    color: #666;
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.052px;
    margin-bottom: 10px;
    flex-grow: 1; /* Описание растягивается, чтобы заполнить пространство */
    overflow: hidden;
}

.tv-package-card__stats {
    font-size: var(--font-size-sm);
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tv-package-card__channels-link {
    color: var(--main-color);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.tv-package-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.tv-package-card__price {
    font-variant-numeric: tabular-nums;
    font-size: var(--font-size-xxxl);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 24px;
    letter-spacing: 0;
    white-space: nowrap;
}

.tv-package-card__btn {
    padding: 0.5rem;
    background-color: var(--main-color);
    color: white;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.tv-package-card__btn svg {
    width: 24px;
    height: 24px;
}

/* Кнопка открытия чата */
.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--main-color), var(--main-color-on-hover));
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.chat-toggle-btn:hover {
    transform: scale(1.1);
    background: var(--main-color-on-hover);
}
.chat-toggle-btn.chat-notification {
    animation: pulse 2s infinite;
    will-change: box-shadow;
}
.chat-toggle-btn i {
    color: var(--smoky-white-color);
    font-size: 24px;
}
.chat-unread-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* Чат-модальное окно */
.chat-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font);
    z-index: 1001;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(100%);
    -webkit-overflow-scrolling: touch;
    opacity: 0;
}
.chat-modal[aria-hidden="false"] {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}
.chat-header {
    background: var(--main-color);
    color: var(--smoky-white-color);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}
.chat-status {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}
.chat-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--smoky-white-color);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.chat-close-btn:hover {
    transform: rotate(90deg);
}
.chat-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8f9fa;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}
.message-support, .message-client {
    margin: 8px 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.chat-message-bubble {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    border-radius: 16px;
}
.message-support .chat-message-bubble {
    background: #f1f3f5;
    border-top-left-radius: 0;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    align-self: flex-start;
}
.message-client .chat-message-bubble {
    background: var(--main-color);
    color: #fff;
    border-top-right-radius: 0;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    align-self: flex-end;
}
.chat-message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.7;
    padding: 0 4px;
}
.message-support .chat-message-footer {
    color: #6c757d;
    align-self: flex-start;
}
.message-client .chat-message-footer {
    color: #6c757d;
    align-self: flex-end;
}
.chat-sender {
    margin-right: 8px;
    opacity: 0.7;
}
.chat-time {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}
.message-support .chat-time {
    color: #6c757d;
}
.message-client .chat-time {
    color: #6c757d;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-typing-indicator {
    padding: 8px 16px;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    font-style: italic;
    min-height: 24px;
}
.typing-dots span {
    animation: blink 1.4s infinite both;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
    0% { opacity: 0.3; }
    20% { opacity: 1; }
    100% { opacity: 0.3; }
}
.chat-input-wrapper {
    display: flex;
    padding: 12px;
    border-top: 1px solid #eee;
    background: #fff;
    align-items: center;
}
.chat-input {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: var(--chat-radius);
    margin-right: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}
.chat-input:focus {
    border-color: var(--main-color);
    outline: none;
}
.chat-input.error {
    border-color: #c62828;
    background-color: #fef0f0;
}
#chat-send-btn {
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#chat-send-btn:hover {
    background: var(--main-color-on-hover);
}
.chat-file-upload {
    cursor: pointer;
    color: var(--main-color);
    margin-left: 8px;
    font-size: 18px;
}
.chat-user-form {
    padding: 24px;
    background: var(--smoky-white-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-grow: 1;
    justify-content: center;
}
.chat-user-form input,
.chat-user-form button {
    max-height: 48px;
    width: 100%;
}
.chat-start-btn {
    width: 100%;
    background: var(--main-color);
    border: none;
    color: white;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.chat-start-btn:hover {
    background: var(--main-color-on-hover);
    transform: translateY(-2px);
}
.chat-error {
    display: none;
    background: #fef0f0;
    color: #c62828;
    padding: 10px 16px;
    margin: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #f5c6cb;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}
.chat-error[style*="display: block"] {
    display: block;
}
@media (max-width: 500px) {
    .chat-modal {
        width: 100vw;
        height: 100dvh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        max-height: 100dvh;
        flex-direction: column;
    }
    .chat-header {
        position: sticky;
        top: 0;
        z-index: 10;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .chat-messages {
        flex-grow: 1;
        overflow-y: auto;
        padding: 16px;
        background: #f8f9fa;
        scroll-behavior: smooth;
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 48px - 69px);
    }
    .chat-toggle-btn {
        width: 50px;
        height: 50px;
    }
    .chat-user-form {
        padding: 20px;
        gap: 12px;
        flex-grow: 1;
        width: 100%;
        justify-content: center;
    }
    .chat-input {
        padding: 10px 12px;
    }
}
.chat-date-divider {
    text-align: center;
    margin: 16px 0;
    color: #888;
    font-size: 12px;
    position: relative;
}
.chat-date-divider::before,
.chat-date-divider::after {
    content: '';
    display: block;
    width: 40%;
    height: 1px;
    background: #ccc;
    position: absolute;
    top: 50%;
}
.chat-date-divider::before { left: 0; }
.chat-date-divider::after { right: 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Поповер */
[x-cloak] {
    display: none !important;
}

.nav-locality-popover {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 1050;
    display: none;
}

.nav-locality-popover[x-show] {
  display: block;
}

.nav-locality-popover__content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 30px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-locality-popover__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.nav-locality-popover__close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 4px;
  transition: color 0.2s;
}

.nav-locality-popover__close:hover {
  color: #333;
}

.nav-locality-popover__body {
}

.nav-locality-popover__text {
  font-size: var(--font-size-md);
  line-height: 25px;
  font-weight: 500;
  font-style: normal;
  color: #333;
  margin-bottom: 20px;
}

.nav-locality-popover__text span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.nav-locality-popover__buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nav-button {
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    height: 40px;
}

.nav-button--primary {
    background: var(--main-color);
    color: white;
}

.nav-button--primary:hover {
    background: var(--main-color-on-hover);
}

.nav-button--secondary {
  background: white;
  border-color: #d0d0d0;
  color: #333;
}

.nav-button--secondary:hover {
  background: #f5f5f5;
  border-color: #b0b0b0;
}

/* Анимации для десктопного поповера */
.nav-popover-enter-start {
  opacity: 0;
  transform: translateY(-10px);
}

.nav-popover-enter-end {
  opacity: 1;
  transform: translateY(0);
}

.nav-popover-leave-start {
  opacity: 1;
  transform: translateY(0);
}

.nav-popover-leave-end {
  opacity: 0;
  transform: translateY(-10px);
}

/* Popover подтверждения местоположения */
.loc-confirm-popover {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: none;
  isolation: isolate;
}

.loc-confirm-popover[x-show] {
  display: block;
}

.loc-confirm-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.loc-confirm-container {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.loc-confirm-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.loc-confirm-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 4px;
}

.loc-confirm-body {
}

.loc-confirm-text {
  font-size: var(--font-size-md);
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  margin-bottom: 24px;
  padding: 0 10px;
}

.loc-confirm-buttons {
  display: flex;
  gap: 12px;
}

.loc-confirm-btn {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.loc-confirm-btn--change {
  background: #f5f5f5;
  color: #333;
}

.loc-confirm-btn--confirm {
    background: var(--main-color);
    color: white;
}

/* Анимации (появление снизу) */
.loc-confirm-enter-start .loc-confirm-container {
  transform: translateY(100%);
}

.loc-confirm-enter-end .loc-confirm-container {
  transform: translateY(0);
}

.loc-confirm-leave-start .loc-confirm-container {
  transform: translateY(0);
}

.loc-confirm-leave-end .loc-confirm-container {
  transform: translateY(100%);
}

/* Адаптация для разных экранов */
@media (max-width: 575px) {
  .loc-confirm-container {
    padding: 16px;
  }
  
  .loc-confirm-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .loc-confirm-btn {
    width: 100%;
  }
}

/* ================== */
/* === Base Styles === */
/* ================== */

.offices-page {
    padding: 2rem 0 4rem;
    background: #fff;
}

/* ================== */
/* === Filters === */
/* ================== */

.offices-filter {
    margin-bottom: 2.5rem;
    background: #f5f7fa;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.offices-filter__scroller {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.offices-filter__scroller::-webkit-scrollbar {
    display: none;
}

.offices-filter__nav {
    display: inline-flex;
    gap: 0.25rem;
    min-width: 100%;
}

.offices-filter__btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    background: transparent;
    border: none;
    color: #4b5563;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.offices-filter__btn:hover {
    background: #e5e7eb;
}

.offices-filter__btn.active {
    background: var(--main-color);
    color: white;
}

/* ================== */
/* === Office Card === */
/* ================== */

.office-card {
    display: flex;
    flex-direction: column;
}

.office-card__left {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.office-card__map {
    flex: 0 0 100%;
}

.map-container {
    position: relative;
    min-height: 20rem;
}

.map-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.map-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--main-color);
    animation: spin 1s ease-in-out infinite;
}

/* Анимация для спиннера */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (min-width: 768px) {
    .office-card {
        flex-direction: row;
    }

    .office-card__left {
        flex: 0 0 40%;
    }

    .office-card__map {
        flex: 0 0 60%;
    }
}

/* Дополнительная адаптивность для десктопа */
@media (min-width: 1024px) {
    .office-card__left {
        flex: 0 0 45%;
    }

    .office-card__map {
        flex: 0 0 55%;
    }

    .office-card__map iframe {
        min-height: 30rem;
    }
}

/* ================== */
/* === Office Info === */
/* ================== */

.office-card__info {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.office-card__info-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.office-card__image {
    flex: 0 0 12rem;
    height: 10rem;
}

.office-card__image img,
.office-card__image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.office-card__image-placeholder {
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.5rem;
    border-radius: 0.5rem;
}

.office-card__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.office-detail {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.office-detail:last-child {
    margin-bottom: 0;
}

.office-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--main-color);
    fill: currentColor;
    flex-shrink: 0;
}

.office-detail__title {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.office-detail__value {
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

/* ================== */
/* === Map === */
/* ================== */

.office-card__map {
    min-height: 20rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.office-card__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================== */
/* === Contacts === */
/* ================== */

.office-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.office-contact__container {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
}

.office-contact__left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 50%;
    min-width: 0;
}

.office-contact {
    background: var(--main-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 20px 30px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    font-size: 20px;
    flex: 1;
}

.office-contact--stacked {
    flex: 1 1 100%;
    min-height: 120px;
    box-sizing: border-box;
}

.office-contact--tall {
    flex: 1 1 50%;
    min-height: 280px;
    background: var(--main-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 20px 30px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.office-contact__phone-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.office-contact__label {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.office-contact__label--no-opacity {
    color: rgb(255, 255, 255);
}

.office-contact__link {
    color: white;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
    overflow: hidden;
}

.office-contact__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.office-contact__link:hover {
  color: white !important;
}

.office-contact__link:hover::after {
  transform: scaleX(1);
}

/* Модификаторы для разных типов ссылок */
.office-contact__link--tel {
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.office-contact__link--email {
    word-break: break-all;
}

.office-contact--social {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 20px 20px 30px 40px;
    display: flex;
    flex-direction: column;
}

.office-contact--social .social-icon {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.office-contact--social .social-icon:hover {
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .office-contact__container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .office-contact__left {
        flex: 1 1 100%;
    }

    .office-contact--tall {
        flex: 1 1 100%;
        min-height: 240px;
    }

    .office-contact__link {
        font-size: 22px;
        padding-bottom: 2px;
    }
    
    .office-contact {
        padding: 15px 15px 25px 30px;
        font-size: 18px;
    }

    .office-contact--social .social-icon {
        width: 4rem;
        height: 4rem;
  }
}

/* ================== */
/* === Empty State === */
/* ================== */

.offices-empty {
    text-align: center;
    color: #6b7280;
    padding: 3rem 0;
}

/* ================== */
/* === Tabs & Hidden Cities === */
/* ================== */

.offices-city {
    display: none;
}

.offices-city.active {
    display: block;
}

/* ================== */
/* === Mobile Styles === */
/* ================== */

@media (max-width: 767px) {
    /* Макет карточки */
    .office-card {
        flex-direction: column;
    }

    /* Левая часть карточки */
    .office-card__left {
        flex: 0 0 100%;
        padding-right: 0; /* Убираем лишний отступ справа */
    }

    .office-card__info-row {
        flex-direction: column;
        gap: 1rem;
    }

    .office-card__image {
        flex: 0 0 16rem;
        height: 10rem;
        width: 100%;
    }

    /* Карта под карточкой */
    .office-card__map {
        flex: 0 0 auto;
        margin-top: 1.5rem;
        width: 100%;
        min-height: 20rem;
    }

    .office-card__map iframe {
        width: 100%;
        height: 100%;
        min-height: 20rem;
        display: block;
    }

    /* Текст и отступы */
    .office-card__details {
        padding: 1rem;
    }

    .offices-filter__btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .office-detail__title {
        font-size: 0.8rem;
    }

    .office-detail__value {
        font-size: 1rem;
    }

    .office-contact {
        font-size: 18px;
    }

    .office-contact a {
        font-size: 18px;
    }
}

/* ================================== */
/* === FEEDBACK FORM COMPONENT === */
/* ================================== */

.feedback-form__wrapper {
    display: grid;
    grid-template-columns: 1.52fr 1fr;
    grid-template-rows: max-content 1fr;
    grid-gap: 20px 70px;
    border-radius: 20px;
    background-color: var(--smoky-white-color);
    padding: 70px 56px;
}

.feedback-form__content {
    padding-right: 40px;
}

.feedback-form__title {
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.feedback-form__subtitle {
    margin-bottom: 30px;
    line-height: 150%;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    font-size: 16px;
}

.feedback-form__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feedback-form__field {
    width: 100%;
}

.feedback-form__label {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feedback-form__input,
.feedback-form__textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    background-color: white;
    transition: all 0.3s ease;
}

.feedback-form__input:focus,
.feedback-form__textarea:focus {
    border-color: var(--main-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.1);
}

.feedback-form__textarea {
    min-height: 120px;
    resize: vertical;
}

.feedback-form__error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.feedback-form__input.error,
.feedback-form__textarea.error {
    border-color: #e74c3c;
}

.feedback-form__input.error + .feedback-form__error,
.feedback-form__textarea.error + .feedback-form__error {
    display: block;
}

/* Стили для модального окна */
.feedback-form__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.feedback-form__modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.feedback-form__modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.feedback-form__modal-btn {
    margin-top: 20px;
    width: 100%;
}

.feedback-form__policy {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 20px 0;
}

.feedback-form__policy-link {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feedback-form__policy-link:hover {
    color: var(--main-color-dark);
    text-decoration: underline;
}

.feedback-form__submit {
    width: 100%;
    max-width: 290px;
    background: var(--main-color);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Правая часть с изображением */
.feedback-form__image-side {
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.feedback-form__image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.feedback-form__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.feedback-form__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    border-radius: 0 0 12px 12px;
}

.feedback-form__image-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.feedback-form__image-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .feedback-form__wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
    }
    
    .feedback-form__content {
        padding-right: 0;
    }
    
    .feedback-form__image-side {
        min-height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .feedback-form__wrapper {
        padding: 30px;
        border-radius: 16px;
    }
    
    .feedback-form__row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feedback-form__title {
        font-size: 28px;
    }
    
    .feedback-form__submit {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .feedback-form__wrapper {
        padding: 25px 20px;
    }
    
    .feedback-form__title {
        font-size: 24px;
    }
    
    .feedback-form__subtitle {
        font-size: 14px;
    }
    
    .feedback-form__image-title {
        font-size: 20px;
    }
    
    .feedback-form__image-text {
        font-size: 14px;
    }
}

/* Основной контейнер формы */
.order-form {
    background-color: var(--color-white);
    width: 100%;
}

/* Сетка для основного макета: 2 колонки (основное содержимое и итоги) */
.order-form__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Контейнер основного содержимого */
.order-form__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: var(--spacing-lg);
}

/* Контейнер информации о тарифе */
.tariff-info {
    background-color: var(--background-color);
    border-radius: var(--radius-xl);
    border: 1px solid var(--smoky-white-color);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

/* Контент тарифа: название, описание, цена */
.tariff-info__content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: var(--spacing-md);
}

/* Заголовок тарифа */
.tariff-info__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

/* Блок "В тариф включено" */
.tariff-info__included {
    margin-top: 1rem;
}

.tariff-info__included-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Бейджи с информацией о скорости и ТВ-каналах */
.tariff-info__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tariff-info__badge {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

.tariff-info__badge-icon,
.tariff-info__badge .bi {
    margin-right: 0.5rem;
}

/* Специфические стили для разных типов бейджей */
.tariff-info__badge--speed {
    background-color: #e6f3ff;
    color: #005566;
}

.tariff-info__badge--router {
    background-color: #e6ffec;
    color: #006644;
}

.tariff-info__badge--tv {
    background-color: #fff3e6;
    color: #664200;
}

/* Описание тарифа */
.tariff-info__description {
    font-size: var(--font-size-sm);
    color: var(--muted-color);
}

/* Блок цены */
.tariff-info__price,
.product-info__price {
    color: var(--main-color);
}

.tariff-info__price-value,
.product-info__price-value {
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
}

.tariff-info__price-unit {
    font-size: var(--font-size-sm);
    color: var(--muted-color);
}

/* === БЛОК ИНФОРМАЦИИ О ТОВАРЕ В ЗАКАЗЕ === */
.product-order__content {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    width: 100%;
}

.product-order__image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--form-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-order__img,
.product-order__img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-order__img-placeholder {
    color: var(--muted-color);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === ЗАГОЛОВОК С НАЗВАНИЕМ И ЦЕНОЙ === */
.product-order__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.product-order__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: var(--spacing-lg);
}

.product-order__title-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.product-order__title {
    font-size: var(--font-size-lg);
    margin: 0 0 var(--spacing-xs) 0;
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
    color: #222;
    word-break: break-word;
}

.product-order__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.product-order__link:hover {
    color: var(--main-color);
}

/* === ЦВЕТ === */
.product-order__color-info {
    font-size: var(--font-size-sm);
    color: #555;
    display: flex;
    gap: 0.25em;
    align-items: center;
    margin-top: 4px;
}

.product-order__color-label {
    color: var(--color-rich-black);
    font-weight: 600;
    margin-right: 4px;
}

.product-order__color-name {
    font-size: var(--font-size-base);
    line-height: 1.4;
    color: #555;
}

/* === ЦЕНА СПРАВА === */
.product-order__price-block {
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    min-width: max-content;
}

.product-order__price-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--main-color);
}

.product-order__old-price {
    font-size: var(--font-size-sm);
    color: #999;
    text-decoration: line-through;
    margin-top: 2px;
}

/* === МОБИЛЬНАЯ ВЕРСИЯ: товар в заказе === */
@media (max-width: 768px) {
    .product-order__content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .product-order__image {
        width: 100px;
        height: 100px;
    }

    .product-order__header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .product-order__title-wrapper {
        width: 100%;
    }

    .product-order__title {
        font-size: var(--font-size-base);
        -webkit-line-clamp: 2;
        max-height: 2.6em;
        word-break: break-word;
    }

    .product-order__price-block {
        align-self: flex-end; /* Цена справа, но снизу */
        margin-top: 4px;
    }

    .product-order__price-value {
        font-size: var(--font-size-lg);
    }

    .product-order__old-price {
        font-size: var(--font-size-sm);
    }

    .product-order__color-info {
        font-size: var(--font-size-sm);
    }
}

/* Блок способов оплаты */
.payment-methods {
    background-color: var(--background-color);
    border-radius: var(--radius-xl);
    border: 1px solid var(--smoky-white-color);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.payment-methods__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.payment-methods__options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.payment-method {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method:hover {
    border-color: var(--main-color);
}

.payment-method input[type="radio"] {
    margin-top: 0.15rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--main-color);
}

.payment-method__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    flex-grow: 1;
}

.payment-method__title {
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--text-color);
}

.payment-method__price {
    font-weight: 500;
    font-size: var(--font-size-base);
    color: var(--main-color);
}

.payment-method__description {
    font-size: var(--font-size-sm);
    color: var(--muted-color);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .payment-methods {
        padding: var(--spacing-md);
    }
    
    .payment-methods__title {
        font-size: var(--font-size-md);
    }
    
    .payment-method {
        padding: var(--spacing-sm);
    }
    
    .payment-method__title {
        font-size: var(--font-size-sm);
    }
    
    .payment-method__price {
        font-size: var(--font-size-sm);
    }
    
    .payment-method__description {
        font-size: var(--font-size-xs);
    }
}

/* === Блок TV-тарифов === */

.tv-tariff-section {
    margin-bottom: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    animation: fadeIn 0.3s ease-in;
}

.tv-tariff-section__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.tv-tariff-section__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

/* Сетка карточек */
.tv-tariff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Карточка тарифа */
.tv-tariff-card {
    border: 1px solid var(--smoky-white-color);
    background-color: var(--background-color);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Заголовок карточки */
.tv-tariff-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.tv-tariff-card__content-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-grow: 1;
    min-width: 0;
}

/* Изображение */
.tv-tariff-card__image-container {
    width: 124px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.tv-tariff-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-tariff-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.75rem;
    background-color: #e5e7eb;
}

/* Информация */
.tv-tariff-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tv-tariff-card__name {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.tv-tariff-card__meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.tv-tariff-card__channels {
    white-space: nowrap;
}

.tv-tariff-card__channels i {
    font-size: 0.875em;
    opacity: 0.7;
}

.tv-tariff-card__channels-link {
    color: var(--main-color);
    text-decoration: none;
    white-space: nowrap;
}

/* Переключатель */
.tv-tariff-card__switch {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tv-tariff-card__label {
    cursor: pointer;
}

/* Описание */
.tv-tariff-card__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

/* Футер (цена) */
.tv-tariff-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

.tv-tariff-card__price {
    font-size: var(--font-size-base);
    font-weight: 600;
}

.tv-tariff-card__price small {
    font-size: 0.875em;
    color: var(--muted-color);
    margin-left: 4px;
}

/* Основной контейнер пакетов ТВ */
.tv-packages {
    margin-bottom: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    animation: fadeIn 0.3s ease-in;
}

.tv-packages {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}
.tv-packages[style*="display: none"] {
    opacity: 0;
}
.tv-package {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}
.tv-package[style*="display: none"] {
    opacity: 0;
}

/* Заголовок и описание секции */
.tv-packages__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.tv-packages__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

/* Сетка для отображения пакетов */
.tv-packages__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

/* Карточка отдельного пакета */
.tv-package {
    border: 1px solid var(--smoky-white-color);
    background-color: var(--background-color);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Заголовок пакета с изображением и информацией */
.tv-package__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.tv-package__content-left {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    flex-grow: 1;
    min-width: 0; /* Чтобы текст нормально переносился */
}

.tv-package__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xs);
    min-width: 0; /* Критично для переноса текста */
}

.tv-package__name {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.tv-package__meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.tv-package__channels {
    white-space: nowrap;
}

.tv-package__channels-link {
    color: var(--main-color);
    text-decoration: none;
    white-space: nowrap;
}

/* Контейнер изображения пакета */
.tv-package__image-container {
    width: 124px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.tv-package__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-package__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: var(--font-size-sm);
    background-color: #e5e7eb;
}

/* Описание пакета и цена */
.tv-package__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.tv-package__footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

.tv-package__price {
    font-size: var(--font-size-base);
    font-weight: 600;
}

/* Переключатель выбора пакета */
.tv-package__switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Основной контейнер оборудования */
.equipment {
    margin-bottom: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    animation: fadeIn 0.3s ease-in;
}

/* Заголовок и описание секции */
.equipment__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.equipment__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

/* Список оборудования */
.equipment__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Карточка отдельного оборудования */
.equipment__item {
    background-color: var(--background-color);
    border: 1px solid var(--smoky-white-color);
    border-radius: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease;
}

/* Заголовок оборудования с изображением и информацией */
.equipment__header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.equipment__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.equipment__info-group {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xs);
}

.equipment__category {
    font-size: var(--font-size-sm);
    color: var(--main-color);
    font-weight: 500;
    margin: 0;
}

.equipment__name {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Fallback для Firefox */
    max-height: 2.8em;
}

/* Контейнер изображения оборудования */
.equipment__image-container {
    width: 120px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--form-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
}

.equipment__image-icon {
    width: 48px;
    height: 28px;
    color: #9ca3af;
}

/* Блок цены и переключатель */
.equipment__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.equipment__price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
    min-width: 150px;
    margin-right: 30px;
}

.equipment__payment-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.equipment__price-value {
    font-size: var(--font-size-base);
    font-weight: 600;
}

.equipment__switch-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Стили переключателя */
.form-check-input {
    width: 2.2em;
    height: 1.2em;
    border-radius: 0.7em;
    background-color: #dee2e6;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--main-color);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Модальное окно для выбора способа оплаты оборудования */
.equipment-payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.equipment-payment-modal.show {
    display: flex;
    animation: equipment-payment-modal__fade-in 0.3s ease-in-out;
}

/* Элементы модального окна */
.equipment-payment-modal__content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 500px;
    animation: equipment-payment-modal__slide-in 0.3s ease-in-out;
}

.equipment-payment-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.equipment-payment-modal__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}

.equipment-payment-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-payment-modal__close svg {
    width: 20px;
    height: 20px;
    stroke: #6b7280;
}

.equipment-payment-modal__close:hover svg {
    stroke: #1f2937;
}

.equipment-payment-modal__body {
    padding: 1.5rem;
}

.equipment-payment-modal__option {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.equipment-payment-modal__option-radio {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--main-color);
}

.equipment-payment-modal__option-label {
    cursor: pointer;
}

.equipment-payment-modal__footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
}

.equipment-payment-modal__button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.equipment-payment-modal__button--secondary {
    background: #e5e7eb;
    color: #1f2937;
}

.equipment-payment-modal__button--secondary:hover {
    background: #d1d5db;
}

.equipment-payment-modal__button--primary {
    background: var(--main-color);
    color: #fff;
}

.equipment-payment-modal__button--primary:hover {
    background: var(--main-color-on-hover);
}

/* Основной контейнер дополнительных услуг */
.services {
    margin-bottom: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    animation: fadeIn 0.3s ease-in;
}

/* Заголовок */
.services__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

/* Сетка для отображения услуг */
.services__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

/* Карточка отдельной услуги */
.services__item {
    background-color: var(--background-color);
    border: 1px solid var(--smoky-white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    padding: var(--spacing-md);
    transition: border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1 0 auto;
}

/* Заголовок услуги */
.services__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.services__switch {
    flex-shrink: 0;
    margin: 0;
}

.services__label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.services__name {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: 600;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Описание услуги и цена */
.services__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.services__footer {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
}

.services__price {
    font-size: var(--font-size-base);
    font-weight: 600;
}

/* Контейнер формы заявки */
.order-form__section {
    background-color: #f2f6f8;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    animation: fadeIn 0.3s ease-in;
}

/* Заголовок формы */
.order-form__section-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-color, #1f2937);
}

/* Сетка полей формы */
.order-form__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* Строка для адреса (улица, дом, квартира) */
.order-form__row--address {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-md);
}

/* Поля формы */
.order-form__field {
    position: relative; /* Добавлено для правильного позиционирования ошибок */
}

.order-form__label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--text-color, #1f2937);
}

.order-form__input,
.order-form__textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    font-size: var(--font-size-base);
    background-color: var(--color-white);
    border: 1px solid #989898;
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-form__input::placeholder,
.order-form__textarea::placeholder {
    color: var(--muted-color, #6b7280);
    opacity: 0.7;
}

.order-form__input:focus,
.order-form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Валидация полей */
.order-form__input--invalid,
.order-form__input:invalid:not(:placeholder-shown),
.order-form__textarea:invalid:not(:placeholder-shown) {
    border-color: var(--error-color);
}

.order-form__validation-message {
    font-size: var(--font-size-sm);
    color: var(--error-color);
    margin-top: var(--spacing-xs);
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(-1 * var(--spacing-sm));
}

.order-form__validation-message[style*="block"] {
    display: block;
}

/* Текстовое поле комментария */
.order-form__field--comments {
    grid-column: 1 / -1;
}

.order-form__textarea {
    resize: vertical;
    min-height: 80px;
}

/* Блок действий (чекбокс согласия и кнопка) */
.order-form__field--actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.order-form__consent-text {
    font-size: 0.875rem;
    color: var(--muted-color, #6c757d);
    margin-bottom: 0.5rem;
}

.order-form__consent-text .order-form__link {
    color: var(--main-color, #007bff);
    text-decoration: none;
}

/* Кнопка отправки */
.order-form__submit {
    padding: var(--spacing-md);
    background-color: var(--main-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 0 0 auto;
    min-width: 200px;
}

.order-form__submit:hover {
    background-color: var(--main-color-on-hover);
}

.order-form__submit:disabled {
    background-color: var(--color-clear-grey);
    cursor: not-allowed;
}

.order-form__submit--loading {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
}

.order-form__submit--loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Обработка ошибок */
.error-container {
    margin-bottom: 1rem;
    color: #dc3545;
}

.errorlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.errorlist li {
    margin-bottom: 0.5rem;
}

/* Контейнер итогов */
.summary__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: -webkit-fill-available;
}

.summary__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

/* Секции итогов */
.summary__section {
    margin-bottom: var(--spacing-md);
}

.summary__section-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

/* Элементы итогов */
.summary__item {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    align-items: flex-start;
    width: 100%;
    padding: 8px 0;
}

.summary__item-name {
    flex: 1;
    max-width: 70%;
    white-space: normal;
    word-wrap: break-word;
}

.summary__item-value {
    flex-shrink: 0;
    min-width: 100px;
    text-align: right;
    max-width: 70%;
}

.summary__item--empty {
    color: var(--color-text-muted);
}

/* Разделители и общая сумма */
.summary__divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: var(--spacing-md) 0;
}

.summary__total {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-base);
    font-weight: 500;
}

.summary__total-title,
.summary__total-value {
    color: var(--text-color);
    font-size: var(--font-size-md);
    font-weight: 600;
}

/* Детализация суммы */
.summary__breakdown {
    margin-top: 1rem;
}

.summary__breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.summary__breakdown-name {
    color: #333;
}

.summary__breakdown-value {
    font-weight: 500;
}

.summary__info {
    margin-top: var(--spacing-md);
    color: var(--muted-color);
    font-size: var(--font-size-sm);
}

/* === ЕДИНЫЙ БЛОК АДАПТИВНЫХ СТИЛЕЙ === */

/* Контрольная точка для планшетов и небольших ноутбуков */
@media (max-width: 1280px) {
    /* Основной макет: на планшетах и небольших экранах делаем одноколоночный макет */
    .order-form__layout {
        grid-template-columns: 1fr;
    }
    
    /* Блок итогов: на планшетах показываем внизу */
    .summary--mobile {
        display: block;
        margin-bottom: var(--spacing-lg);
        background-color: #f3f8f2;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow);
        padding: var(--spacing-lg);
    }
    .summary--desktop {
        display: none;
    }
}

/* Контрольная точка для средних планшетов и малых экранов */
@media (max-width: 1024px) {
    /* Пакеты ТВ: при ширине до 1024px показываем по одному в ряду */
    .tv-packages__list {
        grid-template-columns: 1fr;
    }
    
    /* Дополнительные услуги: при ширине до 1024px показываем по одному в ряду */
    .services__list {
        grid-template-columns: 1fr;
    }

    .tv-tariff-grid {
        grid-template-columns: 1fr;
    }
    
    /* Форма: на средних экранах делаем поля в одну колонку */
    .order-form__fields {
        grid-template-columns: 1fr;
    }
    
    /* Адрес: на средних экранах делаем поля в одну колонку */
    .order-form__row--address {
        grid-template-columns: 1fr;
    }
    
    /* Все поля формы на всю ширину */
    .order-form__field--full-name,
    .order-form__field--phone,
    .order-form__field--street,
    .order-form__field--house,
    .order-form__field--apartment,
    .order-form__field--comments,
    .order-form__field--actions {
        grid-column: 1 / -1;
    }
    
    /* Блок действий: на средних экранах делаем вертикальным */
    .order-form__field--actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    /* Кнопка отправки: на средних экранах занимает всю ширину */
    .order-form__submit {
        width: 100%;
        min-width: unset;
    }
}

/* Контрольная точка для малых планшетов и больших мобильных устройств */
@media (max-width: 768px) {
    /* Секции формы: уменьшаем отступы */
    .order-form__section {
        padding: var(--spacing-md);
    }
    
    /* Текстовое поле комментария: увеличиваем высоту */
    .order-form__textarea {
        min-height: 100px;
    }
    
    /* Оборудование: изменяем макет для мобильных */
    .equipment__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .equipment__image-container {
        width: 100px;
        height: 56px;
    }
    
    .equipment__info-group {
        align-self: stretch;
        text-align: left;
    }
    
    .equipment__name,
    .tv-package__name,
    .services__name {
        font-size: var(--font-size-base);
        white-space: normal;
        line-height: 1.3;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .equipment__price-value,
    .tv-package__price,
    .services__price {
        font-size: var(--font-size-base);
    }
    
    .equipment__footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        margin-top: var(--spacing-xs);
        padding-top: var(--spacing-xs);
        border-top: 1px dashed var(--border-color);
    }
    
    .equipment__price-block {
        min-width: auto;
        text-align: left;
        flex-shrink: 0;
    }
    
    .equipment__switch-container {
        margin-left: auto;
    }
    
    /* Уменьшаем размер шрифта лейблов формы на мобильных устройствах */
    .order-form__label {
        font-size: 0.875rem; /* Уменьшено с var(--font-size-base) */
        margin-bottom: var(--spacing-xs);
    }
    
    /* Уменьшаем размер шрифта полей формы на мобильных устройствах */
    .order-form__input,
    .order-form__textarea {
        font-size: 0.875rem; /* Уменьшено с var(--font-size-base) */
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    /* Изменяем макет тарифа для мобильных устройств */
    .tariff-info__content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Перемещаем блок цены под "В тариф включено" */
    .tariff-info__price {
        margin-top: var(--spacing-md);
        align-self: flex-start;
    }
    
    .tariff-info__price-value,
    .product-info__price-value {
        font-size: var(--font-size-md); /* Уменьшено с var(--font-size-lg) */
    }
    
    .tariff-info__price-unit {
        font-size: var(--font-size-sm);
    }
    
    /* Уменьшаем размер шрифта заголовка тарифа на мобильных */
    .tariff-info__title,
    .product-info__title {
        font-size: var(--font-size-base);
    }
}

/* Контрольная точка для малых мобильных устройств */
@media (max-width: 480px) {
    /* Уменьшаем размеры текста и отступов */    
    .order-form__input,
    .order-form__textarea {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8125rem; /* Дополнительно уменьшено для очень маленьких экранов */
    }
    
    .order-form__textarea {
        min-height: 120px;
    }
    
    .order-form__submit {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8125rem; /* Дополнительно уменьшено для очень маленьких экранов */
    }
    
    /* Итоги: уменьшаем отступы */
    .summary {
        padding: var(--spacing-md);
    }
    
    .summary__section-title,
    .summary__total {
        font-size: var(--font-size-sm);
    }
    
    /* Дополнительные улучшения для очень маленьких экранов */
    .order-form__label {
        font-size: 0.8125rem; /* Дополнительно уменьшено */
        margin-bottom: var(--spacing-xs);
    }
    
    .tariff-info__price-value,
    .product-info__price-value {
        font-size: var(--font-size-base);
    }
}

/* === ДЕСКТОПНАЯ ВЕРСИЯ: итог справа === */
@media (min-width: 1281px) {
    .summary--mobile {
        display: none;
    }
    .summary--desktop {
        display: flex;
        background-color: #f3f8f2;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow);
        padding: var(--spacing-lg);
        height: fit-content;
        position: sticky;
        top: var(--spacing-lg);
        min-width: 350px;
    }
}

/* Анимации для плавного появления элементов */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#specs {
    scroll-margin-top: 100px; /* Отступ сверху при прокрутке к этому элементу */
}

/* Для фиксированного блока */
.product-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Адаптив: на мобильных — обычный поток */
@media (max-width: 768px) {
    .product-sidebar {
        position: static;
    }
    .product-sidebar .btn {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Общие стили */
.product-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Макет на grid */
.product-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 0 auto;
}

.product-main {
    display: flex;
    flex-direction: column;
}

/* Галерея и информация в строку */
.product-images-and-info {
    display: flex;
    gap: 30px; /* Увеличено: Для визуального разделения */
    margin-bottom: 40px;
    align-items: flex-start;
}

.product__gallery {
    flex: 1;
    max-width: 50%;
    display: flex; /* Усилено: Для точного центрирования содержимого */
    flex-direction: column;
    align-items: center; /* Добавлено: Центрирование по вертикали */
}

.product-info {
    flex: 1; /* Равные пропорции с .product__gallery */
    max-width: 400px; /* Добавлено: Ограничение ширины для .product-info */
}

/* ==================== */
/* ГАЛЕРЕЯ ТОВАРА */
/* ==================== */

/* Общая обёртка */
.product__gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* === СЛУЧАЙ: 2+ ИЗОБРАЖЕНИЙ → Swiper === */
.product-gallery-main {
    width: 100%;
    max-height: 300px; /* Увеличено: Для чуть большего изображения */
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-gallery-main .swiper-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
}

.gallery__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important; /* Переопределяем некорректные размеры Swiper */
}

.gallery__item-img {
    max-width: 75%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: auto; /* Добавлено: Центрирование изображения внутри слайда */
}

/* Стрелки (скрыты — управляются миниатюрами) */
.product-gallery-main .swiper-button-next,
.product-gallery-main .swiper-button-prev {
    display: none;
}

/* Миниатюры */
.gallery__thumbs {
    padding-top: 10px;
    padding-right: 10px; /* Добавлено: Отступ справа, чтобы последняя миниатюра не обрезалась */
    overflow-x: visible; /* Изменено: Разрешаем горизонтальный overflow, чтобы видеть все миниатюры */
    width: 100%;
}

.gallery__thumbs .swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Выравнивание миниатюр влево */
}

.gallery__thumbs-item {
    width: 60px !important; /* Фиксированная ширина */
    height: 60px;
    cursor: pointer;
    opacity: 0.7;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gallery__thumbs-item:hover,
.gallery__thumbs-item.swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--main-color);
    transform: scale(1.02);
}

.gallery__thumbs-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Изменено: Чтобы миниатюры помещались целиком без обрезки */
    border-radius: 4px;
}

/* === СЛУЧАЙ: 1 ИЗОБРАЖЕНИЕ → Просто img === */
.gallery__single-img {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 280px; /* Увеличено, но чуть меньше Swiper */
    overflow: hidden;
    border-radius: 12px;
}

.gallery__single-img img {
    max-width: 75%; /* Увеличено */
    max-height: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: auto;
}

/* ==================== */
/* ИНФОРМАЦИЯ О ТОВАРЕ */
/* ==================== */
.product-main {
    display: flex;
    flex-direction: column;
}

.product-info {
    flex: 1;
    max-width: 400px;
    margin-top: 0; /* Изменено: Убрано для старта с самого верха */
    padding: 0; /* Изменено: Убрано для минимизации отступов сверху */
}

.product-color {
    font-size: var(--font-size-base);
    line-height: 1.4;
    color: #555;
}

.product-color__name {
    color: var(--color-rich-black);
    font-weight: 600;
    margin-right: 4px;
}

/* Стили для выбора цвета в виде кружков */
.color-circles {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.color-circle {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.color-circle input {
    display: none;
}
.color-circle .circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-text-muted);
    display: inline-block;
    transition: border-color 0.2s, outline 0.2s;
}

.color-circle.active {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
    border-radius: 50%;
}

.color-circle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}
.color-circle.disabled .circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 2px;
    background: #999;
    transform: translate(-50%, -50%) rotate(45deg);
}

.product-specs-title {
    margin-top: 1rem;
    font-size: var(--font-size-base);
    color: var(--color-rich-black);
    font-weight: 600;
}

/* Краткие характеристики */
.product-specs-short {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    font-size: var(--font-size-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

/* Элемент характеристики */
.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    width: 100%;
    overflow: visible;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

/* Название характеристики */
.spec-item__name {
    color: var(--color-text-muted);
    min-width: 90px;
    flex-shrink: 0;
    font-weight: 500;
}

/* Значение характеристики */
.spec-item__value {
    color: var(--color-rich-black);
    text-align: right;
    min-width: 70px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Точки-разделители (улучшенная версия) */
.spec-dots {
    flex: 1;
    margin: 0 8px;
    position: relative;
    height: 1.2em;
    overflow: visible;
    min-width: 20px;
}

.spec-dots::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1.5px;
    background: repeating-linear-gradient(
        to right,
        #999 0px,
        #999 1.5px,
        transparent 1.5px,
        transparent 7px
    );
}

/* Адаптив */
@media (max-width: 600px) {
    .spec-item__name {
        min-width: 70px;
    }
    .spec-dots {
        margin: 0 4px;
    }
    .spec-item__value {
        min-width: 50px;
    }
}

/* Кнопка "Все характеристики" */
.link-more-specs {
    background: none;
    border: none;
    color: var(--main-color);
    font-size: var(--font-size-base);
    cursor: pointer;
    padding: 0;
    margin: 0.5rem 0;
}

.link-more-specs:hover {
    color: var(--main-color-on-hover);
}

/* ==================== */
/* ТАБЫ (ОПИСАНИЕ / ХАРАКТЕРИСТИКИ) */
/* ==================== */
.product-tabs {
    margin-top: 2rem;
}

.product-tabs-wrapper {
    display: inline-flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    background-color: var(--color-button-grey);
    border-radius: 8px;
    padding: 0.3rem;
    max-width: 100%;
}

.product-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #555;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link.active {
    background-color: var(--main-color);
    color: white;
}

.tab-content {
    margin-top: 1.5rem;
}

/* Правая панель */
.product-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin: 5px 0 15px;
}

.btn-order {
    background: var(--color-ocean-blue);
    color: white;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
}

.btn-order:hover {
    background: var(--color-navy-blue);
    color: white !important;
}

.link-download {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
}

/* Адаптив */
@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .product-images-and-info {
        flex-direction: column;
        gap: 10px;
    }
    .product-sidebar {
        position: static;
        margin-top: 30px;
    }
    .product__gallery {
        max-width: 100%; /* Адаптация для мобильных */
    }
    .product-info {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .btn-order {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 1000;
        padding: 16px;
        border-radius: 12px;
        font-size: 1.1rem;
        box-shadow: 0 4px 16px rgba(0,102,204,0.3);
    }
    .gallery__thumbs-item {
        width: 48px !important;
        height: 48px;
        border-radius: 6px;
    }
    .product-gallery-main .gallery__item-img,
    .gallery__single-img img {
        max-width: 90%; /* Было 100% — теперь чуть меньше с отступами */
        max-height: 220px; /* Уменьшено с 250px */
        object-fit: contain;
    }

    /* Контейнер галереи — центрирование и ограничение */
    .product-gallery-main,
    .gallery__single-img {
        max-height: 240px;
        min-height: 220px;
    }
}

.loading-spinner {
    text-align: center;
    margin: 20px 0;
}
.loading-spinner .spinner-border {
    width: 2rem;
    height: 2rem;
}