.header .top_adr_hold {
    max-height: 150px;
}
.image-link img {
    transform: none!important;
    top: 83px;
    position: absolute!important;
}
@media screen and (max-width: 1160px) {
.container {
	display: flex;
	flex-direction: column-reverse;
}
	.top_line .container {
		display: block;
	}
	.header .logo {
		order: 1;
	}
.header .btn {
    margin-left: -20px!important;
    margin-top: 0!important;
    min-width: 100%;
	max-width: 100%;
	}
.image-link img {
    width: 40px!important;
    height: auto;
    margin-left: -70px!important;
    transform: none !important;
    top: -143px!important;
    position: absolute !important;


}


.search-form {
    position: absolute;
    max-width: 50%;
    border-radius: 20px;
    margin: 0 auto;
    transform: translate(-300px, -50px);
    margin-left: 30px;
}

.top_phone_hold .phone_num {
    font-weight: 900;
    font-size: 15px;
    position: absolute;
    margin-left: -250px;
}
}
@media screen and (max-width: 800px) {
    .header .top_adr_hold {
        display: contents;
    }
/*
    .rev_sec_mb {
        display: block !important;
        margin: 20px auto !important;
        transform: none !important;
    }
        */
    .top_phone_hold .phone_num {
        font-weight: 900;
        font-size: 15px;
        position: absolute;
        margin-left: -180px !important;
    }

    .search-form {
        position: absolute;
        max-width: 50%;
        border-radius: 20px;
        left: 50%;
        transform: translate(-50%); /* Центрирование по обеим осям X и Y */
        margin-left: 0;
    }
    
.rev_block {
    display: inline-block;
    vertical-align: top;
    max-width: 366px !important;
    -moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
  }
}
.menu_bLine ul li a, .menu_bLine ul li .active {
    display: block;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    padding: 55px 5px 0;
    text-align: center;
    height: 85px;
    position: relative;
    color: white !important;
}
.container{
    position: revert!important;
}
@media screen and (max-width: 1160px) {
    #menu.open {
        top: 45px;
    }
}


.menu_bLine ul li .active {
    background: rgba(0, 0, 0, .1);
    color: #fff603 !important;
}

.menu_bLine ul li a:hover, .menu_bLine ul li .active {
    background: rgba(0, 0, 0, .1);
    color: #fff603  !important;
}




.menu_tLine li a:hover, .menu_tLine li .active {
    border-color: #fff603;
    color: #fff603 !important;
}

.colorful-button {
    background-color: #702040; /* Яркий фон */
    color: white; /* Цвет текста */
    padding: 15px 30px; /* Отступы */
    text-align: center; /* Выравнивание текста по центру */
    text-decoration: none; /* Убираем подчеркивание */
    display: inline-block; /* Позволяет задавать размеры */
    border-radius: 5px; /* Скругленные углы */
    font-size: 16px; /* Размер шрифта */
    transition: background-color 0.3s; /* Плавный переход цвета фона */
}

.colorful-button:hover {
    background-color: #c70039; /* Цвет фона при наведении */
}
@media screen and (max-width: 1160px) {
    .top_line .container {
        padding-left: 0;
        height: 80px;
    }
}


.top_adr {
    line-height: inherit !important;
  }

  .prod_sec .prod_block {
    width: 23.4%;
    margin: 0 1.1% 30px 0;
    border-radius: 30px;
}

.page a:hover, .page .active {
    background: #702040;
    color: #fff;
    box-shadow: none;
    border-radius: 30px;
}

.best_offer .prod_block {
    width: 272px;
    border-radius: 30px;
}


.slider_img .dot li {
    background: #702040;
}

.rev_block .img.mb {
    margin-bottom: 0;
    min-height: max-content;
    border-radius: 30px;
}


.rev_sec_mb {
    margin-left: 500px;
    transform: translateY(-153px) !important;
}


    .footer-contacts {
        display: contents; /* Используем Flexbox для расположения карточек в ряд */
        justify-content: space-between; /* Распределяем пространство между карточками */
        flex-wrap: wrap; /* Позволяем переносить карточки на новую строку при необходимости */
        max-width: 1000px; /* Устанавливаем максимальную ширину для блока */
        margin: 0 auto; /* Центрирование блока */
        padding: 20px;
    }

    .office {
        flex: 1 1 calc(45% - 20px); /* Каждая карточка занимает 45% ширины, с учетом отступов */
        margin: 10px; /* Отступ между карточками */
        padding: 15px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease; /* Плавный переход для теней */
    }

    .office:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Увеличиваем тень при наведении */
    }

    .office-title {
        color: #333;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .office-address,
    .office-phone,
    .office-hours {
        color: #555;
        font-size: 16px;
        line-height: 1.5;
    }

    strong {
        color: #333;
    }

    .foot_form .btn {
        /* background-color: #702040; */
        background-color: #fff603 !important;
    }


    .vjsm_start {
        visibility: hidden !important;
    }

    .ui-slider .ui-slider-range {
        background: #702040 !important;
    }

    img.news-detail-image {
        border-radius: 30px;
    }

#search-modal-container .title-search-result {
    position: absolute !important; /* чтобы позиционировалось относительно контейнера */
    top: 100%; /* сразу под инпутом */
    left: 0;
    right: 0;
    z-index: 10000; /* выше, чем у модалки */
    background: #fff;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.search-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5); /* полупрозрачный чёрный фон */
}


.search-modal-content {
    margin: auto;
    background: #702040;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    position: relative;
    animation: fadeIn 0.3s ease;
}

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


/* Кнопка закрытия */
.search-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.search-modal-close:hover {
    color: black;
}

/* Стили формы поиска */
.search-modal-content form input[type="text"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
}

.search-modal-content form button {
    padding: 10px 20px;
    background-color: #702040;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.search-modal-content form button:hover {
    background-color: #901a50;
}



.fotorama__stage__shaft {
    transition-duration: 0ms;
    transform: translate3d(0, 0, 0);
    width: 100%;
    margin-left: 0;
    display: flex;
}

.fotorama__stage__frame {
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.fotorama__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 📱 Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .fotorama__stage__shaft {
        flex-direction: column;
        align-items: center;
    }

    .fotorama__stage__frame {
        width: 100%;
    }

    .fotorama__img {
        width: 100%;
        height: auto;
    }
}



