/* Sweet responsive style sheet */

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    .footer_arrow {
        display: none;
    }
    .main_menu_categories:after,
    .main_menu_categories:before {
        display: none;
    }
}

@media (min-width: 991px) {

    .main_menu_list li {
        text-decoration: underline;
    }
    .container {
        max-width: 960px;
    }

    .section_footer,
    .mobile_logo,
    .mobile_menu_informer,
    .mobile_search_informer,
    .mobile_informers,
    .mobile_menu_contacts,
    .fn_mobile_search,
    .section_container .swiper-pagination {
        display: none;
    }

    .amount span:hover {
        color: #FF8A00;
        border-color: #FF8A00;
    }

    .product_preview:hover .product_preview-image picture img {
        width: 105%;
        height: 105%;
    }

    .product_preview:hover .wishlist_button {
        transform: translate(5px, -5px);
    }

    .product_preview:hover .discount_label {
        transform: translate(-5px, -5px);
    }

    .product_preview:hover .product_preview-image {
        transform: translate(0, 10px);
        box-shadow: none;
        border-color: #fff;
    }

}

@media (min-width: 1230px) {
    .container {
        max-width: 1214px;
    }

    .mobile_feedback {
        display: none;
    }
    
}

@media (min-width: 1470px) {
    .container {
        max-width: 1454px;
    }
}

@media (max-width: 1470px) {
    .autocomplete-suggestions {
        grid-template-columns: 1fr;
    }

    .section_main-container {
        grid-template-columns: 300px 860px;
    }

    .banner_group_text {
        padding: 70px 0;
        margin-left: 70px;
    }

    .categories_container {
        grid-template-columns: repeat(6, 1fr);
    }
    .product_preview-foot,
    .product_preview__name_link {
        width: 100%;
    }

    .product_preview-image {
        height: 260px;
    }

    .footer_grid {
        grid-template-columns: 23% 24% 24% 23%;
        gap: 2%;
    }

    .menu_group--footer li,
    .footer__menu_item,
    .product_image_slider,
    .product_images_slider {
        width: 100%;
    }

    .product_bottom_main {
        width: calc(100% - 520px);
    }

    .product_information {
        width: 440px;
    }

    .product_images {
        width: calc(100% - 480px);
        flex-direction: column-reverse;
    }

    .product_images_slider {
        padding: 12px 0 0;
        height: unset;
    }
    .main_menu_inner {
        /* max-height: calc(100vh - 330px); */
        height: 470px;
    }
    .main_menu_grid {
        /* max-height: calc(100vh - 330px); */
        /* height: 470px; */
        height: auto;
    }
    .main_menu_categories {
        height: 90%;
    }
    .main_menu_inner .category_link {
        font-size: 15px;
    }
    .main_menu_inner .subcategory .category_item {
        margin-bottom: 6px;
    }
}

@media (max-width: 1230px) {

    .header_phone {
        display: none;
    }
    .header_menu {
        width: 45%;
    }

    .header_feedback {
        display: none;
    }

    .header_top-container {
        padding-left: 136px;
    }

    .header_phones,
    .header_bottom-container {
        gap: 20px;
    }

    .section_main-container {
        grid-template-columns: 300px 624px;
        grid-gap: 20px;
        gap: 20px;
    }

    .banner_group_text {
        padding: 70px 0;
        width: calc(100% - 140px);
        margin: 0 70px;
    }

    .categories_container {
        grid-template-columns: repeat(5, 1fr);
    }

    .section_about-container {
        display: flex;
        flex-direction: column;
    }

    .section_about-image {
        display: flex;
        height: 400px;
    }

    .section_about-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .main_menu_grid {
        width: calc(100% - 136px);
        /* grid-template-columns: 1fr 160px; */
    }

    .main_menu_categories .categories_menu li {
        width: calc(50% - 12px);
    }

    .catalog_grid {
        grid-template-columns: repeat(3, calc(33% - 12px));
    }

    .category_description__image {
        width: 300px;
    }

    .section_container .swiper-pagination {
        bottom: -36px;
    }

    .product_images {
        width: 100%;
    }

    .product_information {
        width: 100%;
        margin-top: 32px;
    }

    .product_side {
        width: 400px;
    }

    .product_bottom_main {
        width: calc(100% - 440px);
    }
}

@media (max-width: 991px) {

    .page_header {
        align-items: end;
        margin-top: 20px;
    }
    .heading_wrapper {
        flex-direction: column;
        align-items: stretch;
    justify-content: stretch;
    }
    .heading_wrapper h1 {
        text-align: left;
    }

    .main_menu_inner {
        border-bottom: 1px solid #DBDBDB;
        padding-bottom: 20px;
    }
    .main_menu_border {
        border-left: none;
        padding-left: 0;
    }

    .main_menu_inner:last-of-type {
        border-bottom: none;
    }

    .section_main-categories,
    .section_heading .sweet_btn,
    .header_top,
    .header_search,
    .header_menu,
    .header_logo:not(.mobile_logo),
    .account_informer,
    .sweet_messangers {
        display: none;
    }

    .header_informer_link svg {
        width: 24px;
        height: 24px;
    }

    .section_main-container {
        display: flex;
        padding: 46px 0;
    }

    .section_main .container {
        height: unset;
    }

    .banner_group_item {
        height: 300px;
    }

    .banner_group_name {
        font-size: 32px;
    }

    .categories_container {
        grid-template-columns: repeat(3, 1fr);
    }

    .section_categories {
        margin-top: 40px;
    }

    .section_footer {
        margin-top: 60px;
    }

    .section_footer .sweet_btn {
        margin: 0 auto;
        max-width: 210px;
        justify-content: center;
    }

    .footer_copyright {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .footer_grid {
        grid-template-columns: 50% 50%;
        gap: unset;
        row-gap: 40px;
    }

    .section_about,
    .footer,
    .section_products {
        margin-top: 100px;
    }

    .header_bottom {
        position: relative;
        height: 100px;
        box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
        z-index: 1;
    }

    .header_informers {
        width: 100%;
        height: 100px;
        align-items: center;
        justify-content: space-between;
        gap: unset;
    }
    .mobile_menu_informer, .mobile_search_informer, .header_logo.mobile_logo, #wishlist, #cart_informer {
        width: auto;
    }
    .account_informer_desktop {display: none;}
    .categories_list {
        margin-right: -10px;
    }
    .header_logo-link {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        transform: translateY(5%);
    }

    .header_bottom-container {
        position: unset;
    }

    .header_search {
        align-items: center;
        justify-content: space-between;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        height: 100px;
        background: #fff;
        gap: 16px;
        border-bottom: 1px solid #EAEAEA;
        padding: 0 calc((100vw - 710px) / 2);
    }

    .header_search.active {
        display: flex;
    }

    .search {
        width: 100%;
    }

    .search__input {
        height: 56px;
        font-size: 16px;
    }

    .search_results {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .search_button {
        top: 16px;
    }

    .autocomplete-suggestions,
    #fn_search_no_products_found {
        grid-template-columns: 1fr 1fr;
        top: 100%;
        border-radius: unset;
        box-shadow: unset;
        width: 100% !important;
        max-height: calc(100dvh - 100px) !important;
        padding: 24px calc((100vw - 710px) / 2);
        border: 1px solid #DBDBDB;
        border-left: unset;
        border-right: unset;
        box-shadow: 0 5px 5px #0000000f;
    }

    .main_menu_grid.active {
        display: flex;
    }

    .main_menu_grid {
        top: 100%;
        border-radius: unset;
        box-shadow: unset;
        width: 100% !important;
        max-height: calc(100dvh - 100px) !important;
        padding: 24px calc((100vw - 710px) / 2);
        border: 1px solid #DBDBDB;
        border-left: unset;
        border-right: unset;
        z-index: -1;
        flex-direction: column;
        gap: 20px;
        overflow: auto;
        box-shadow: 0 5px 5px #0000000f;
    }

    .category_link picture {
        border: none;
    }

    .main_menu_ttl {
        margin-bottom: 16px;
    }

    .main_menu_list ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .mobile_informers {
        gap: 20px;
        padding-bottom: 24px;
        /* border-bottom: 1px solid #DBDBDB; */
    }

    .mobile_informers .account_informer {
        display: block;
    }
    .main_menu_categories .categories_menu {
        padding-top: 24px;
    }

    .section_reviews {
        margin-top: 100px;
        padding: 100px 0px;
    }

    .catalog_grid {
        column-gap: 18px;
    }

    .product_images {
        padding: 16px;
    }

    .product_bottom_main {
        width: 100%;
    }

    .product_side {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        top: unset;
        z-index: 11;
        width: 100%;
        background: #fff;
        box-shadow: 0px -5px 24px 0px rgba(0, 0, 0, 0.10);
        padding: 8px calc((100vw - 710px) / 2);
        transition: all 0.5s ease-in-out;
        animation-name: dropdownFadeInUp;
        animation-duration: 0.4s;
    }

    .product_side.show {
        display: block;
    }

    .product_side .product_preview-center>*:not(.product_preview-foot) {
        display: none;
    }

    .product_side .product_preview {
        border: unset;
        border-radius: unset;
        background: unset;
    }

    .product_side .product_preview-foot .sweet_btn {
        width: fit-content;
        height: 40px;
        margin: unset;
    }

    .product_side .product_preview_prices {
        margin: unset;
    }

    .product_side .preview_form {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
    }
    .product_feature_name {
        width: 70%;
    }
    .product_feature_value {
        width: 30%;
    }
    .banner_group_text {
        height: 100%;
    }
    .banner_group_description, .banner_group_description p {
        font-size: 16px;
        line-height: 1.2;
    }
    .banner_group_link {
        width: 198px;
        height: 45px;
        margin-top: auto;
    }
    .banner_group_description {
        margin-top: auto;
    }
    .menu_container {
        grid-template-columns: 1fr 1fr 1fr;
        /* height: 427px; */
        height: 375px;
        overflow: auto;
    }
    .main_menu_wrap {
        overflow: hidden;
    }
    .main_menu_inner {
        height: auto;
    }
    .first_ul.item_columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 970px) {
    .block_wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .description_half, .block_image  {
        width: 100%;
    }
    .block_image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .callback_btn_fixed {
        right: 0;
        bottom: 5%;
    }
    .product_information_footer {
        display: none;
    }
    .main_menu_grid {
        padding: 10px calc((100vw - 526px) / 2);
        overflow: auto;
        /* height: calc(100vh - 410px); */
        height: 100vh;
    }

    .header_search {
        padding: 0 calc((100vw - 526px) / 2);
    }

    .autocomplete-suggestions,
    #fn_search_no_products_found {
        padding: 24px calc((100vw - 526px) / 2);
        grid-template-columns: 1fr;
    }

    .categories_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner_group_text {
        padding: 30px 0 40px;
        width: calc(100% - 100px);
        margin: 0px 50px;
    }

    .section_main-banners .swiper-button-prev {
        left: 10px;
    }

    .section_main-banners .swiper-button-next {
        right: 10px;
    }

    .banner_group_link {
        height: 48px;
        margin: auto auto 0;
    }

    .banner_group_name {
        font-size: 32px;
    }

    .footer_grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .footer_inner {
        display: none;
        margin-top: 24px;
    }

    .footer_ttl {
        margin: unset;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer_arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;
    }

    .footer_ttl.active .footer_arrow {
        transform: rotate(180deg);
    }

    .footer_item {
        display: flex;
        flex-direction: column;
    }
    .catalog_grid {
        /* grid-template-columns: repeat(1, 100%); */
        grid-template-columns: repeat(2, calc(50% - 9px));
    }

    .breadcrumbs {
        margin: 36px 0;
    }

    .product_image_wrapper {
        height: 290px;
    }

    .product_images_wrapper {
        height: 80px;
        width: 80px;
        border-radius: 12px;
    }

    .product_information_header {
        gap: 24px;
    }

    .product_information {
        gap: 24px;
    }

    .product_body_btns {
        flex-direction: column;
        gap: 24px;
    }

    .product_image_slider .discount_label {
        top: 16px;
        left: 16px;
    }

    .review_block_header {
        gap: 16px;
    }

    .product_side {
        padding: 8px calc((100vw - 526px) / 2);
    }

    .product_side .product_preview__variants {
        width: 100%;
    }
    .main_menu_categories {
        height: 430px;
    }
}

@media (max-width: 576px) {
    .advantages_wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .swiper~.swiper-button-next {
        right: 14px;
    }

    .swiper~.swiper-button-prev {
        left: 14px;
    }
    .subcategory .category_item {
        margin-bottom: 5px;
    }
    .menu_container {
        grid-template-columns: 1fr;
        gap: 20px;
        height: 100%;
    }
    .fancybox-slide--html .fancybox-close-small {
        right: 10px!important;
    }
}

@media (max-width: 560px) {
    .category_description__image {
        display: none;
    }
}

@media (max-width: 548px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .header_search {
        padding: 0 16px;
    }

    .autocomplete-suggestions,
    #fn_search_no_products_found {
        padding: 24px 16px;
    }

    .main_menu_grid {
        padding: 24px 16px;
    }

    .main_menu_categories .categories_menu li {
        width: 100%;
    }

    .main_menu_list li {
        width: calc(50% - 8px);
    }

    .main_menu_categories {
        height: 230px;
    }

    .review_item_body {
        padding: 16px;
    }

    .review_item_rating {
        border-radius: 12px;
        padding: 6px 10px;
    }

    .h1 {
        font-size: 24px;
    }

    .product_side.show {
        padding: 8px 16px;
    }

    .fancybox-stage {
        left: 0 !important;
    }

    .cart_popup_wrapper {
        animation-name: dropdownFadeInUp;
    }

    .cart_wrapper {
        flex-direction: column-reverse;
    }

    .order_payment__form .sweet_btn,
    .order_payment__checkout .sweet_btn {
        width: 100%;
    }

}

@media (max-width: 512px) {
    .product_video_wrapper iframe {
        width: 100%;
    }
    .banner_group_link {
        width: 150px;
        height: 40px;
    }
    .banner_group_text {
        padding: 20px 0 35px;
    }
}

@media (max-width: 483px) {
    .catalog_grid {
        grid-template-columns: repeat(1, 100%);
    }

    .banner_group_item {
        height: 200px;
    }

    .banner_group_name {
        font-size: 22px;
    }

}

@media (max-width: 430px) {
    .product_feature_item {
        flex-direction: column;
    }
    .product_feature_name, .product_feature_value {
        width: 100%;
    }
    .product_feature_name::after {
        display: none;
    }
}

@media (max-width: 375px) {
    .menu_container {
        height: 100%;
    }
    .mobile_informers {
        gap: 0px;
        padding-bottom: 0px;
    }
}

@media (max-width: 368px) {
    .review_item_header {
        display: grid;
        grid-template-columns: 33% 60%;
        column-gap: 20px;
    }
    .section_about-image {
        height: 300px;
    }
}