@media (min-width: 1201px) {
.wrapper_advantages_company_block {
    display: flex;
    flex-wrap: wrap;
    gap: 21px;
    justify-content: space-between;
    max-width: 920px;
    margin: auto;
}
.advantages_block_item {
    /* width: calc(25% - 16px); */
    height: 220px;
    width: 205px;
    flex: 0 0 205px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* flex-basis: 25%; */
    box-sizing: border-box;
}
}
div#dropdownTrigger {
    position: relative;
}
div#dropdownTrigger:after {
    content: '';
    position: absolute;
   z-index:43;
    width: 100%;
    height: 44px;
    top: 16px;
}
.catalog_category_item {
    box-shadow: 3px 3px 20px 0px rgba(0, 0, 0, 0);
    transition: all 0.4s ease;
}
.catalog_category_item img {
    will-change: transform;
}

.content.contacts-content {
    background: #fff;
    margin-top: -28px;
    padding-top: 34px;
}

.main_banner_main_title h1 {
    font-size: 5vw;
    letter-spacing: 12px;
    text-shadow: 1px 1px 0 black;
}

.main_banner_main_title {
    top: 60% !important;
}

.main_banner_appointment.feedback_button {
    bottom: 20px !important;
     right: 20px !important;

}

section.main_banner {
    position: relative;
}
section.main_banner:after {
    content: '';
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 18%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0) 40%);
    position: absolute;
    inset: 0;
    z-index: 43
}
.block_image_content_block_bottom {
    bottom: 110px;
    left: 200px;
}
.category_accordion_wrapper, .wrapper_menu_block_category_dropdown, .dropdown_item_menu, .category_item_a {
    user-select: none;
}
.category_card_imgwrap {
    overflow: hidden;
    min-height: 414px;
    max-height: 414px;
    box-shadow: 3px 3px 20px 0px rgba(0, 0, 0, 0);
    transition: all 0.7s ease;
}
a.new_colection_card.category_card:hover .category_card_imgwrap {
    box-shadow: 3px 3px 20px 0px rgba(0, 0, 0, 0.5);
}
a.new_colection_card.category_card img {
    transition: transform 0.7s ease;
    will-change: transform;
    min-height: 414px;
    object-fit: cover;
}
a.new_colection_card.category_card:hover img {
    transform: scale(1.08);
}

/* ---------------------- */
/* .main_banner_appointment a {
    color: #0B0806;
    border: 1px solid #0000003b;
    border-radius: 8px;
    background-color: rgb(233 217 204 / 64%);
    padding: 10px 13px;
    cursor: pointer;
    transition: all 0.4s;
    margin-top: 20px;
} */


/* 
.main_banner_appointment a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    color: #0B0806;
    text-decoration: none;

    padding: 10px 16px;
    margin-top: 20px;

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);

    cursor: pointer;
    overflow: hidden;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;

    transition:
        transform 0.18s cubic-bezier(0.25, 0.1, 0.25, 1),
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

верхний стеклянный блик
.main_banner_appointment a::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 55%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: inherit;
    pointer-events: none;
}

легкий световой наплыв
.main_banner_appointment a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.6s ease;
}

.main_banner_appointment a:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.55);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.04);
      transform: scale(1.05);
    transform: translateY(-2px);
}

.main_banner_appointment a:hover::after {
    left: 130%;
}

сам клик как на iOS
.main_banner_appointment a:active {
    transform: scale(0.96) translateY(0);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 2px 8px rgba(0, 0, 0, 0.08);

    transition-duration: 0.08s;
}

.main_banner_appointment a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
} */

.glass-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    color: #0B0806;
    text-decoration: none;

    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35)!important;;

    background: rgba(255, 255, 255, 1)!important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);

    cursor: pointer;
    overflow: hidden;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;

    transition:
        transform 0.18s cubic-bezier(0.25, 0.1, 0.25, 1),
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.glass-button::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 55%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: inherit;
    pointer-events: none;
}

.glass-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.6s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.32)!important;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.04);

    /* transform: translateY(-2px); */
    transform: scale(1.05);

}

.glass-button:hover::after {
    left: 130%;
}

.glass-button:active {
    transform: scale(0.96) translateY(0);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 2px 8px rgba(0, 0, 0, 0.08);

    transition-duration: 0.08s;
}

.glass-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}
/* 
.wrapper_menu_block_dropdown a {
    position: relative;
    z-index: 1;
    border-bottom: none !important;
    color: inherit;
    text-decoration: none !important;

    background-image: linear-gradient(#caa16e, #caa16e);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0 100%;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    transition: 
    background-size 0.3s ease,
    color 0.2s ease;

    padding: 2px 4px;
    margin: -2px -4px;
    line-height: 1.35;
}

.wrapper_menu_block_dropdown a:hover {
    color: #fff !important;
    background-size: 100% 100%;
} */

.advantages_block_item.active {
    pointer-events: none;
    user-select: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgb(0 0 0 / 28%);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    box-shadow: 0 8px 32px rgb(0 0 0 / 53%), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    border-radius: inherit;
}

.new_colection_banner_block_title h2 {
    font-size: 2.5vw;
}

.catalog_category_item_wrapper {
    max-width: 80%;
    margin: 0 auto;
}

.filter-item:active {
    background: rgba(139, 111, 78, 0.12);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(139, 111, 78, 0.2);
    box-shadow: 0 2px 8px rgba(139, 111, 78, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.96);
    transition-duration: 0.1s;
}

/* .wrapper_menu_block_dropdown ul li a:hover {
    background: rgba(139, 111, 78, 0.06);
}

.wrapper_menu_block_dropdown ul li a:active {
    background: rgba(139, 111, 78, 0.12);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(139, 111, 78, 0.2);
    box-shadow: 0 2px 8px rgba(139, 111, 78, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.96);
    transition-duration: 0.1s;
} */

.new_colection_title_card {
    width: 72%;
}

@media (max-width: 1400px) {
    .main_banner_main_title h1 {
        font-size: 5.7vw;
        text-align: center;
    }
    .new_colection_banner_block_title h2,
    .catalog_category_item h3 {
        font-size: 3.5vw;
    }
}

@media (max-width: 800px) {
    .main_banner_main_title h1 {
        font-size: 8.7vw;
    }
    .new_colection_banner_block_title h2,
    .catalog_category_item h3 {
        font-size: 5.5vw;
    }
}


@media (max-width: 500px) {
    .main_banner_main_title h1 {
        font-size: 11.7vw;
    }
    .new_colection_banner_block_title h2,
    .catalog_category_item h3 {
        font-size: 8.5vw;
    }
    .catalog_category_item_wrapper {
        max-width: 100%;
    }
    .category_card_imgwrap {
        max-height: auto;
    }
}


.category_card_imgwrap:active {
    transform: scale(0.9);
}

.catalog_category_item_wrapper {
    display: flex;
    gap: 36px;
}

@media (min-width: 1201px) {
    .wrapper_advantages_company_block {
        display: flex;
        flex-wrap: wrap;
        gap: 21px;
        justify-content: space-between;
        max-width: 1056px;
        margin: auto;
        /* column-gap: 136px; */
    }

 
    .advantages_block_item {
        width: calc(25% - 16px);
        height: 180px;
        width: calc(25% - 16px);
        flex: 0 0 calc(25% - 16px);
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* flex-basis: 25%; */
        box-sizing: border-box;
    }
}


/* card hover effects */
.category_card_imgwrap.relative-container {
    position: relative;
}

  .animated-border {
    position: absolute;
    inset: 10px;
    pointer-events: none;
    z-index: 3;
  }

  .border-line {
    position: absolute;
    display: block;
    background: #fff;
  }

  .border-left {
    left: 0;
    bottom: 0;
    width: 1px;
    height: 100%;

    transform: scaleY(0);
    transform-origin: bottom;
    will-change:transform;
    transition: transform 0.2s linear 0.2s;
  }


  .border-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    will-change:transform;
    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.2s linear 0s;
  }


  .border-right {
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    will-change:transform;
    transform: scaleY(0);
    transform-origin: top;

    transition: transform 0.2s linear 0.2s;
  }

  .border-bottom {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    will-change:transform;
    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.2s linear 0s;
  }

  .relative-container:hover .border-left,
  .relative-container:hover .border-right {
    transform: scaleY(1);
    transition-delay: 0s;
  }

  .relative-container:hover .border-top,
  .relative-container:hover .border-bottom {
    transform: scaleX(1);
    transition-delay: 0.2s;
  }

.category_card_imgwrap.relative-container img {
    transition: all 0.7s ease!important;
}
.category_card_imgwrap.relative-container:hover img {
    filter: brightness(1) contrast(1.2);
}


@media (max-width: 480px) {
    .category_card_imgwrap.relative-container {
        height: 314px;
        min-height: 314px;
    }
    
    .video-container {
       height: 314px;
        max-height: 314px; 
    }
    .category_card_imgwrap.relative-container img {
        height: 100%;
        object-fit: cover;
    }
}
.content .asking-block .ask-box .ask-form .form {
    display: grid;
    width: 400px !important;
    place-items: center;
    text-align: center;
    height: auto;
}

.contacts-content .asking-block .ask-form .form .message {
    margin-left:  0!important;
}

.agreed {
    margin-left: 0!important;
}
.content .asking-block .ask-box {
    display: grid!important;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
}

.content .asking-block .ask-box .ask-form .agree-btn {
    margin: 0 auto!important;
        width: 184px!important;
    height: 49px!important;
}

/* .video-container.video_container_tovar iframe {
    display: none !important;
} */
/* div#iframe_target {
    position: absolute;
    inset: 0;
}
div#iframe_target iframe {
    display: block!important;
    inset: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    scale: 1.35;
} */


/* ===== ЗОЛОТАЯ КНОПКА "НАВЕРХ" ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 70px;
    right: 40px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #e9d2cc, #caa16e);
    box-shadow: 0 2px 4px rgb(202 161 110), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
/* Эффект свечения при наведении */
#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 8px 40px rgba(184, 134, 11, 0.8),
        inset 0 2px 4px #e9d2cc,
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #e9d2cc, #e9d2cc);
}

/* Эффект нажатия */
#scrollTopBtn:active {
    transform: scale(0.92);
    box-shadow: 0 2px 10px rgba(184, 134, 11, 0.4);
}

/* Иконка стрелки (золотая) */
#scrollTopBtn .arrow {
    display: block;
    width: 15px;
    height: 15px;
    border-left: 4px solid #fff;
    border-top: 4px solid #fff;
    transform: rotate(45deg);
    margin-top: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Кнопка становится видимой при прокрутке */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 70px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    #scrollTopBtn .arrow {
        width: 18px;
        height: 18px;
    }
}

@media (max-width:480px) {
    .mobile_glass_button {
        background: rgb(233 210 204) !important;
    }
}


/* Основной контейнер слайдера */
.big-pic {
    position: relative;
    width: 100%;
    height: auto; /* Автоматическая высота */
    overflow: hidden;
    background: #f8f8f8; /* Фон на время загрузки */
}

/* Контейнер Swiper */
.big-pic .swiper-container {
    width: 100% !important; /* Принудительно занимает 100% ширины родителя */
    height: 100% !important;
    position: relative;
}

/* Обертка слайдов */
.big-pic .swiper-wrapper {
    width: 100%;
    height: 100%;
}

/* Каждый слайд */
.big-pic .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Изображения внутри слайда */
.big-pic .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Видео контейнер */
.big-pic .swiper-slide .video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.big-pic .swiper-slide .video-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 100%;
}

/* Кнопки навигации */
.big-pic .swiper-button-next,
.big-pic .swiper-button-prev {
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.big-pic .swiper-button-next:hover,
.big-pic .swiper-button-prev:hover {
    background: #e9d2cc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.big-pic .swiper-button-next:after,
.big-pic .swiper-button-prev:after {
    font-size: 18px;
}

/* Пагинация */
.big-pic .swiper-pagination {
    position: absolute;
    bottom: 10px;
    z-index: 10;
}

.big-pic .swiper-pagination-bullet {
    background: #caa16e;
    opacity: 0.5;
}

.big-pic .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Миниатюры справа */
.column {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-shrink: 0;
    width: 80px; /* Фиксированная ширина для колонки миниатюр */
}

.column img.small-pic {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.6;
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.column img.small-pic.active {
    border-color: #000;
    opacity: 1;
}

.column img.small-pic:hover {
    opacity: 1;
}

/* Скрываем навигацию при видео */
.big-pic.big_video .swiper-button-next,
.big-pic.big_video .swiper-button-prev,
.big-pic.big_video .swiper-pagination {
    display: none !important;
}

/* Для родительского блока */
.image_block_item {
    width: calc(50% - 16px);
    display: flex;
    flex-direction: column;
}

/* Общий контейнер */
.pics {
    width: 100%; /* Вместо fit-content */
    display: flex;
    gap: 9px;
    position: relative;
}

/* Адаптив */
@media (max-width: 850px) {
    .column {
        display: flex;
        flex-direction: row;
        gap: 9px;
        flex-shrink: 0;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .image_block_item {
        width: 100%;
    }
    
    .pics {
        flex-direction: column-reverse;
        align-items: center;
    }
    
    .column {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }
    
    .column img.small-pic {
        width: 60px;
        height: 60px;
    }
    
    .big-pic {
        width: 100%;
        
    }
}