#prmn-cmngr-cities {
    z-index: 100000 !important;
}

/* И его бэкдроп (фон-затемнение) тоже должен быть выше меню */
.modal-backdrop {
    z-index: 99999 !important;
}

/* Стили для плавающих кнопок, чтобы они всегда были наверху */
.fix-calc-button,
.callback-button,
.whats-app-button,
.scroll-top-wrapper {
    position: fixed; /* Убедитесь, что позиционирование fixed */
    z-index: 10000;  /* Высокое значение z-index */
}

/* Редизайн главной */
#common-home #content .h3_style,
#common-home .h3_style {
    margin: 10px 0;
    border-radius: 15px;
}

#column-left {
  padding-left: 0px;
}

.ttitle {
    margin: 10px 0;
    border-radius: 15px;
    padding: 20px !important;
    font-weight: 500;
    line-height: 1.1;
}

.text-description-home {
    border-radius: 15px;
}

.newsnews .row {
    padding: 0 15px;
}

#menu {
    padding-top: 0;
    margin-top: 105px;
    border-radius: 15px;
    margin-bottom: 10px !important;
}

#menu .nav>li>a {
    padding: 25px 22px;
}

.breadcrumb {
    margin: 10px 0 20px 0;
    padding: 12px 0;
    border-radius: 15px;
}

.bgblack {
    border-radius: 15px;
}

.bgblack h1 {
    padding: 15px;
    margin: 0;
}

.swiper-viewport {
    margin: 20px auto;
    box-shadow: none;
}

#information-information .bgwhite {
    padding: 10px 0;
}

#information-information .bgblack h2.blockheadd,
#information-information .bgwhite h2.blockheadd {
    margin: 10px;
}

#information-information .bgblack .bluedescr,
#information-information .bgblack .blockdescr {
    margin-bottom: 20px;
}

#information-information .bgblack {
    padding: 0;
}

#content .row {
    padding: 0;
}

#product-manufacturer #A,
#product-manufacturer #B,
#product-manufacturer #C,
#product-manufacturer #D,
#product-manufacturer #E,
#product-manufacturer #F,
#product-manufacturer #G,
#product-manufacturer #H,
#product-manufacturer #I,
#product-manufacturer #J,
#product-manufacturer #K,
#product-manufacturer #L,
#product-manufacturer #M,
#product-manufacturer #N,
#product-manufacturer #O,
#product-manufacturer #P,
#product-manufacturer #R,
#product-manufacturer #S,
#product-manufacturer #T,
#product-manufacturer #U,
#product-manufacturer #V,
#product-manufacturer #W,
#product-manufacturer #X,
#product-manufacturer #Y,
#product-manufacturer #Y,
#product-manufacturer #Z,
#product-manufacturer #В,
#product-manufacturer #С {
    padding-top: 90px;
    margin-top: 0
}




#common-home #slideshow0 {
    border-radius: 15px;
}

.callback-button {
    width: 70px;
    height: 70px;
    justify-content: center;
    left: 110px;
    top: unset;
    border-radius: 50%;
    z-index: 2000;
    font-size: 0;
    box-shadow: none;
    bottom: 30px;
    opacity: .85;
}

.callback-button:hover {
    box-shadow: none;
}

.whats-app-button {
    width: 70px;
    height: 70px;
}

.swiper-viewport .swiper-button-next {
    right: 0px !important;
}

.swiper-viewport .swiper-button-prev {
    left: -30px !important;
}

.swiper-slide img.img-responsive {
    height: 100%;
    width: 1320px !important;
    border-radius: 15px;
}

#common-home #slideshow1 {
    border-radius: 15px;
}

#common-home .swiper-viewport:first-child,
#common-home .swiper-viewport:nth-of-type(2) {
    z-index: 0;
    margin: 20px auto;
    box-shadow: none;
}

.bf-price-filter .bf-attr-header.bf-w-line.bf-clickable {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bf-buttonclear-box {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.input-group-addon,
#column-left .list-group-category,
#input-limit.form-control,
#input-sort.form-control {
    border-radius: 15px !important;
}

.product-card__model {
    height: 30px;
}

.swiper-pagination {
    display: block;
    bottom: -25px;
}

.swiper-pager {
    display: none;
}

#preorder-box .input-group>label {
    width: 25px;
}

#preorder-box button.btn-primary {
    width: 110px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    background-color: #282828;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 30px;
}

#form-preorder .input-group-addon {
    background: none;
    color: #000;
    border-radius: 20px !important;
    padding: 0px !important;
}

#form-preorder label {
    font-size: 12px;
}

#form-preorder {
    border-radius: 30px;
    margin-top: 0;
    padding-left: 0;
}

.product__button-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Калькулятор сетки 21.03.2025 / 13.05.2025*/
.calculator_setki {
    margin: 20px 0px !important;
    border-radius: 15px !important;
    padding: 10px 25px;
}
.calculator-form-column .calculator_setki {
    padding: 10px 25px !important;
}
.calculator-results-wrapper {
    padding: 0 10px;
}


@media (min-width: 992px) {
    .calculator-content-area {
        margin: 0px -15px;
    }
    .accompanying-banner-area {
        border-radius: 15px !important;
    }
}

p.calculator,
span#resultCalculator {
    line-height: 1em;
}

.calculator_setki h2 {
    font-size: 27px;
    font-family: Bender-Bold;
    color: #24588b;
    margin-top: 20px;
}

/* Кнопка копирования в калькуляторе 15.04.2025 */
#copyButton {
    display: inline-block;
    position: relative;
    bottom: 2px;
    left: 10px;
    border: 1px solid #00a9eb;
    border-radius: 10px;
    padding: 5px 10px;
    background: #fff;
}
.p__mesh-price #copyButton {
    left: 0;
}

p.calculator,
span#resultCalculator {
    font-size: 18px;
}

@media (max-width:767px) {
    /* Калькулятор сетки 13.05.2025*/
    #common-home #calculator_zagrad {
        margin: 0px -15px;
    }
    
    #custom-calculator-form .form-select {
        display: block;
    }
    
    /* Виджет Яндекса на мобильных 16.05.2025 */
    .footer__links-block iframe {
    display: block;
    }
    
    /* Кнопка копирования в калькуляторе 15.04.2025 */
    #copyButton {
        left: 0px;
    }

    /* Калькулятор сетки 21.03.2025*/
    .calculator_setki h2 {
        font-size: 22px;
    }

    #product-product,
    #information-information,
    #product_category,
    #information-sitemap,
    #content-manufacturer {
        margin-top: 60px;
    }

    #common-home {
        margin-top: 50px;
    }

    #content {
        margin-top: 0px;
    }

    .callback-button {
        width: 50px;
        height: 50px;
        top: auto;
        left: 90px;
        /* right: 30px;
    left: auto;
    bottom: 85px; */
    }

    .whats-app-button {
        /* right: 30px; */
        left: 30px;
        /* bottom: 140px; */
        opacity: .85;
        width: 50px;
        height: 50px;
    }

    .callback-button,
    .whats-app-button {
        opacity: .85;
    }
}

@media (min-width:550px) {
    .whats-app-button {
        display: flex;
    }
}

@media (max-width: 1366px) {
    .swiper-viewport .swiper-button-prev {
        left: 0px !important;
    }

    .swiper-viewport .swiper-button-next {
        right: 30px !important;
    }
}

.main-header__value {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

.main-header__working-hours-links {
    display: flex;           /* Включаем флекс */
    flex-direction: column;  /* Элементы друг под другом */
    align-items: flex-start; /* Выравнивание по левому краю (старт оси) */
    justify-content: center; /* Центрирование по вертикали относительно иконки */
    line-height: 1.2;        /* Немного прижать строки друг к другу */
}

/* На всякий случай сбросим отступы у ссылок внутри */
.main-header__working-hours-links a {
    text-align: left;
    text-decoration: none;
}

/* === ФИКСЫ: ЛОГО И РЕГИОН === */

/* 1. ЛОГОТИП: Запрещаем сплющивание */
.main-header__logo {
    flex-shrink: 0 !important; /* Не сжиматься, когда мало места */
}

.main-header__logo img {
    height: auto !important;
    width: auto !important;
    max-height: 40px !important; /* Максимальная высота на десктопе */
    object-fit: contain; /* Сохранять пропорции */
}

/* На мобильных уменьшаем лого, чтобы влезло */
@media (max-width: 550px) {
    .main-header__logo img {
        max-height: 30px !important; 
        max-width: 120px !important;
    }
}

/* 2. РЕГИОН: Делаем курсор "рукой" для всего блока */
.main-header__location {
    cursor: pointer; 
    position: relative;
    z-index: 20; /* Поднимаем слой выше, чтобы был кликабелен */
}

/* Убедимся, что сам модуль не перекрыт */
.prmn-cmngr, .prmn-cmngr a {
    position: relative;
    z-index: 21;
}

@media (max-width: 767px) {
    /* Скрываем десктопный блок контактов с Geo-виджетом по ID */
    #geo {
        display: none !important;
    }
}

/* Мобильный виджет регион */

/* --- Z-INDEX FIXES --- */

/* 1. Само модальное окно города - ВСЕГДА высоко */
#prmn-cmngr-cities.modal {
    z-index: 100050 !important;
    transform: none !important;
}

/* 2. Фон (Backdrop) - "Умная" настройка.
   Применяется ТОЛЬКО когда открыто окно выбора города (класс prmn-open на body).
   Ставим его на уровень 100040.
   Результат: Фон (100040) < Окно (100050). Всё ок.
*/
body.prmn-open .modal-backdrop {
    z-index: 100040 !important;
    /* Если вы вообще не хотите видеть затемнение, раскомментируйте строку ниже: */
    /* opacity: 0 !important; */
}

/* 3. Обычный фон (для корзины и прочего)
   Мы его НЕ трогаем глобально, чтобы не сломать другие окна.
*/

/* Внутренний блок диалога */
#prmn-cmngr-cities .modal-dialog {
    z-index: 100060 !important;
    transform: none !important;
}
/* --- END Z-INDEX FIXES --- */


/* Стили для плавающих кнопок (ниже модалки города) */
.fix-calc-button,
.callback-button,
.whats-app-button,
.scroll-top-wrapper {
    position: fixed;
    z-index: 9000 !important;
}

/* Редизайн главной */
#common-home #content .h3_style,
#common-home .h3_style {
    margin: 10px 0;
    border-radius: 15px;
}

#column-left {
    padding-left: 0px;
}

.ttitle {
    margin: 10px 0;
    border-radius: 15px;
    padding: 20px !important;
    font-weight: 500;
    line-height: 1.1;
}

.text-description-home {
    border-radius: 15px;
}

.newsnews .row {
    padding: 0 15px;
}

#menu {
    padding-top: 0;
    margin-top: 105px;
    border-radius: 15px;
    margin-bottom: 10px !important;
}

#menu .nav>li>a {
    padding: 25px 22px;
}

.breadcrumb {
    margin: 10px 0 20px 0;
    padding: 12px 0;
    border-radius: 15px;
}

.bgblack {
    border-radius: 15px;
}

.bgblack h1 {
    padding: 15px;
    margin: 0;
}

.swiper-viewport {
    margin: 20px auto;
    box-shadow: none;
}

#information-information .bgwhite {
    padding: 10px 0;
}

#information-information .bgblack h2.blockheadd,
#information-information .bgwhite h2.blockheadd {
    margin: 10px;
}

#information-information .bgblack .bluedescr,
#information-information .bgblack .blockdescr {
    margin-bottom: 20px;
}

#information-information .bgblack {
    padding: 0;
}

#content .row {
    padding: 0;
}

#product-manufacturer #A,
#product-manufacturer #B,
#product-manufacturer #C,
#product-manufacturer #D,
#product-manufacturer #E,
#product-manufacturer #F,
#product-manufacturer #G,
#product-manufacturer #H,
#product-manufacturer #I,
#product-manufacturer #J,
#product-manufacturer #K,
#product-manufacturer #L,
#product-manufacturer #M,
#product-manufacturer #N,
#product-manufacturer #O,
#product-manufacturer #P,
#product-manufacturer #R,
#product-manufacturer #S,
#product-manufacturer #T,
#product-manufacturer #U,
#product-manufacturer #V,
#product-manufacturer #W,
#product-manufacturer #X,
#product-manufacturer #Y,
#product-manufacturer #Y,
#product-manufacturer #Z,
#product-manufacturer #В,
#product-manufacturer #С {
    padding-top: 90px;
    margin-top: 0
}




#common-home #slideshow0 {
    border-radius: 15px;
}

.callback-button {
    width: 70px;
    height: 70px;
    justify-content: center;
    left: 110px;
    top: unset;
    border-radius: 50%;
    z-index: 2000;
    font-size: 0;
    box-shadow: none;
    bottom: 30px;
    opacity: .85;
}

.callback-button:hover {
    box-shadow: none;
}

.whats-app-button {
    width: 70px;
    height: 70px;
}

.swiper-viewport .swiper-button-next {
    right: 0px !important;
}

.swiper-viewport .swiper-button-prev {
    left: -30px !important;
}

.swiper-slide img.img-responsive {
    height: 100%;
    width: 1320px !important;
    border-radius: 15px;
}

#common-home #slideshow1 {
    border-radius: 15px;
}

#common-home .swiper-viewport:first-child,
#common-home .swiper-viewport:nth-of-type(2) {
    z-index: 0;
    margin: 20px auto;
    box-shadow: none;
}

.bf-price-filter .bf-attr-header.bf-w-line.bf-clickable {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bf-buttonclear-box {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.input-group-addon,
#column-left .list-group-category,
#input-limit.form-control,
#input-sort.form-control {
    border-radius: 15px !important;
}

.product-card__model {
    height: 30px;
}

.swiper-pagination {
    display: block;
    bottom: -25px;
}

.swiper-pager {
    display: none;
}

#preorder-box .input-group>label {
    width: 25px;
}

#preorder-box button.btn-primary {
    width: 110px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    background-color: #282828;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 30px;
}

#form-preorder .input-group-addon {
    background: none;
    color: #000;
    border-radius: 20px !important;
    padding: 0px !important;
}

#form-preorder label {
    font-size: 12px;
}

#form-preorder {
    border-radius: 30px;
    margin-top: 0;
    padding-left: 0;
}

.product__button-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Калькулятор сетки 21.03.2025 / 13.05.2025*/
.calculator_setki {
    margin: 20px 0px !important;
    border-radius: 15px !important;
    padding: 10px 25px;
}
.calculator-form-column .calculator_setki {
    padding: 10px 25px !important;
}
.calculator-results-wrapper {
    padding: 0 10px;
}


@media (min-width: 992px) {
    .calculator-content-area {
        margin: 0px -15px;
    }
    .accompanying-banner-area {
        border-radius: 15px !important;
    }
}

p.calculator,
span#resultCalculator {
    line-height: 1em;
}

.calculator_setki h2 {
    font-size: 27px;
    font-family: Bender-Bold;
    color: #24588b;
    margin-top: 20px;
}

/* Кнопка копирования в калькуляторе 15.04.2025 */
#copyButton {
    display: inline-block;
    position: relative;
    bottom: 2px;
    left: 10px;
    border: 1px solid #00a9eb;
    border-radius: 10px;
    padding: 5px 10px;
    background: #fff;
}
.p__mesh-price #copyButton {
    left: 0;
}

p.calculator,
span#resultCalculator {
    font-size: 18px;
}

@media (max-width:767px) {
    /* Калькулятор сетки 13.05.2025*/
    #common-home #calculator_zagrad {
        margin: 0px -15px;
    }

    #custom-calculator-form .form-select {
        display: block;
    }

    /* Виджет Яндекса на мобильных 16.05.2025 */
    .footer__links-block iframe {
        display: block;
    }

    /* Кнопка копирования в калькуляторе 15.04.2025 */
    #copyButton {
        left: 0px;
    }

    /* Калькулятор сетки 21.03.2025*/
    .calculator_setki h2 {
        font-size: 22px;
    }

    #product-product,
    #information-information,
    #product_category,
    #information-sitemap,
    #content-manufacturer {
        margin-top: 60px;
    }

    #common-home {
        margin-top: 50px;
    }

    #content {
        margin-top: 0px;
    }

    .callback-button {
        width: 50px;
        height: 50px;
        top: auto;
        left: 90px;
        /* right: 30px;
    left: auto;
    bottom: 85px; */
    }

    .whats-app-button {
        /* right: 30px; */
        left: 30px;
        /* bottom: 140px; */
        opacity: .85;
        width: 50px;
        height: 50px;
    }

    .callback-button,
    .whats-app-button {
        opacity: .85;
    }
}

@media (min-width:550px) {
    .whats-app-button {
        display: flex;
    }
}

@media (max-width: 1366px) {
    .swiper-viewport .swiper-button-prev {
        left: 0px !important;
    }

    .swiper-viewport .swiper-button-next {
        right: 30px !important;
    }
}

.main-header__value {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

.main-header__working-hours-links {
    display: flex;            /* Включаем флекс */
    flex-direction: column;   /* Элементы друг под другом */
    align-items: flex-start;  /* Выравнивание по левому краю (старт оси) */
    justify-content: center;  /* Центрирование по вертикали относительно иконки */
    line-height: 1.2;         /* Немного прижать строки друг к другу */
}

/* На всякий случай сбросим отступы у ссылок внутри */
.main-header__working-hours-links a {
    text-align: left;
    text-decoration: none;
}

/* === ФИКСЫ: ЛОГО И РЕГИОН === */

/* 1. ЛОГОТИП: Запрещаем сплющивание */
.main-header__logo {
    flex-shrink: 0 !important; /* Не сжиматься, когда мало места */
}

.main-header__logo img {
    height: auto !important;
    width: auto !important;
    max-height: 40px !important; /* Максимальная высота на десктопе */
    object-fit: contain; /* Сохранять пропорции */
}

/* На мобильных уменьшаем лого, чтобы влезло */
@media (max-width: 550px) {
    .main-header__logo img {
        max-height: 30px !important;
        max-width: 120px !important;
    }
}

/* 2. РЕГИОН: Делаем курсор "рукой" для всего блока */
.main-header__location {
    cursor: pointer;
    position: relative;
    z-index: 20; /* Поднимаем слой выше, чтобы был кликабелен */
}

/* Убедимся, что сам модуль не перекрыт */
.prmn-cmngr, .prmn-cmngr a {
    position: relative;
    z-index: 21;
}

@media (max-width: 767px) {
    /* Скрываем десктопный блок контактов с Geo-виджетом по ID */
    #geo {
        display: none !important;
    }
}

/* === СТИЛИ ДЛЯ ВИДЖЕТА ГОРОДА В МОБИЛЬНОМ МЕНЮ (ИСПРАВЛЕННЫЕ) === */

/* Контейнер */
.mobile-region-display-mm {
    margin: 15px; /* Отступы от краев меню */
    padding: 0;
    background: transparent;
    border: none;
}

/* Сброс лишних стилей модуля, которые могли сдвигать контент */
.mobile-region-display-mm .prmn-cmngr__content,
.mobile-region-display-mm .prmn-cmngr__title {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important; /* Принудительно влево */
}

/* Убираем возможные стандартные иконки у родителей, чтобы не было "двойников" */
.mobile-region-display-mm .prmn-cmngr__content::before,
.mobile-region-display-mm .prmn-cmngr__content::after,
.mobile-region-display-mm .prmn-cmngr__title::before,
.mobile-region-display-mm .prmn-cmngr__title::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Ссылка-кнопка целиком */
.mobile-region-display-mm .prmn-cmngr__city {
    position: relative;
    display: block !important;
    padding: 12px 15px 12px 55px; /* Слева большой отступ под иконку */
    background-color: rgba(255, 255, 255, 0.15);
    background-image: none !important; /* ВАЖНО: Убираем старую серую каплю */
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Иконка Гео (Белая) - Наша новая */
.mobile-region-display-mm .prmn-cmngr__city::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    /* Белая иконка метки */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
}

/* Текст "Ваша локация" */
.mobile-region-display-mm .prmn-cmngr__label {
    display: block;
    width: 100%;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    text-align: left;
    line-height: 1;
}

/* Название города */
.mobile-region-display-mm .prmn-cmngr__city-name {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    text-align: left;
}

/* Скрываем старый заголовок модуля */
.mobile-region-display-mm .prmn-cmngr__title-text {
    display: none !important;
}

#geo svg,
#geo svg path {
    fill: none !important;      /* Убираем заливку (жирность) */
    stroke: #0092CC !important; /* Красим линии в голубой */
    stroke-width: 2px !important; /* Делаем линии четкими */
}