@media (max-width: 767px) {
    .header-top {
        position: relative;
        background-color: white;
    }

    .header-row {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu {
        display: block;
        text-align: right;
    }

    .open-menu {
        font-size: 36px;
        color: #1d2327;
    }

    .original-menu {
        display: none;
    }

    .mobile-menu-items {
        display: none;
        position: fixed;
        z-index: 100;
        overflow: hidden;
        background: #272c30fa;
        left: 0;
        padding: 50px 15px 15px 15px;
        right: 0;
        width: 100%;
        height: 100vh;
        top: 0;
        text-align: center;
    }

    .temp-menu-item {
        color: white;
        width: 100%;
        display: block;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid;
    }

    .active-menu {
        display: block;
    }

    .close-menu {
        color: white;
        font-size: 36px;
        margin-top: 25px;
    }

    .index-section-first-light {
        padding: 15px;
        height: auto;
    }

    .section-first-box-light {
        position: relative;
        top: 0;
        left: 0;
        bottom: -15%;
        padding: 15px 25px 15px 25px;
    }

    .section-first-box-light>h1 {
        font-size: 26px;
    }

    .section-first-box-light>p {
        font-size: 16px;
    }

    .main-section-button {
        min-width: 200px;
    }

    .slider-title {
        font-size: 26px;
    }

    .carousel-item>p {
        font-size: 16px;
    }

    .catalog-title {
        font-size: 28px;
    }

    .catalog-mobile-row {
        margin: 0;
    }

    .tab_content {
        width: 100%;
        overflow: hidden;
        padding: 15px;
    }

    .product-card:hover {
        position: relative;
        transition: 0.2s;
        z-index: 100;
        transform: none;
        border-color: transparent;
        border-image: linear-gradient(to top right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
        border-image-slice: 1;
    }

    .footer-section {
        max-height: max-content;
        height: auto;
        padding-top: 25px;
        background-size: cover;
    }

    .footer-block {
        text-align: center;
    }

    .contacts {
        padding: 15px;
    }

    .contact {
        justify-content: center;
        font-size: 16px;
    }

    .contact-link {
        font-size: 16px;
    }

    .contact-link>i, .contact>i {
        font-size: 25px;
        margin-right: 10px;
    }

    .up {
        position: relative;
        bottom: 20px px;
        right: 0;
    }

    .end-text {
        text-align: center;
    }

    .close-modal {
        right: 4%;
        position: absolute;
    }

    .wpcf7-form {
        padding: 0;
    }

    .mobile-products {
        display: block;
    }

    .original-products {
        display: none;
    }

}

@media (max-width: 991px) and (max-height: 600px) {
    .header-top {
        position: relative;
        background-color: white;
    }

    .header-row {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu {
        display: block;
        text-align: right;
    }

    .open-menu {
        font-size: 36px;
        color: #1d2327;
    }

    .original-menu {
        display: none;
    }

    .mobile-menu-items {
        display: none;
        position: fixed;
        z-index: 100;
        overflow: hidden;
        background: #272c30fa;
        left: 0;
        padding: 50px 15px 15px 15px;
        right: 0;
        width: 100%;
        height: 100vh;
        top: 0;
        text-align: center;
    }

    .temp-menu-item {
        color: white;
        width: 100%;
        display: block;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid;
    }

    .active-menu {
        display: block;
    }

    .close-menu {
        color: white;
        font-size: 36px;
        margin-top: 25px;
    }

    .index-section-first-light {
        padding: 15px;
        height: auto;
    }

    .section-first-box-light {
        position: relative;
        top: 0;
        left: 0;
        bottom: -15%;
        padding: 15px 25px 15px 25px;
        max-width: 100%;
    }

    .section-first-box-light>h1 {
        font-size: 26px;
    }

    .section-first-box-light>p {
        font-size: 16px;
    }

    .main-section-button {
        min-width: 200px;
    }

    .slider-title {
        font-size: 26px;
    }

    .carousel-item>p {
        font-size: 16px;
    }

    .catalog-title {
        font-size: 28px;
    }

    .catalog-mobile-row {
        margin: 0;
    }

    .tab_content {
        width: 100%;
        overflow: hidden;
        padding: 15px;
    }

    .product-card:hover {
        position: relative;
        transition: 0.2s;
        z-index: 100;
        transform: none;
        border-color: transparent;
        border-image: linear-gradient(to top right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
        border-image-slice: 1;
    }

    .footer-section {
        max-height: max-content;
        height: auto;
        padding-top: 25px;
        background-size: cover;
    }

    .footer-block {
        text-align: center;
    }

    .contacts {
        padding: 15px;
    }

    .contact {
        justify-content: center;
        font-size: 16px;
    }

    .contact-link {
        font-size: 16px;
    }

    .contact-link>i, .contact>i {
        font-size: 25px;
        margin-right: 10px;
    }

    .up {
        position: relative;
        bottom: 20px px;
        right: 0;
    }

    .end-text {
        text-align: center;
    }

    .close-modal {
        right: 4%;
        position: absolute;
    }

    .wpcf7-form {
        padding: 0;
    }

    .mobile-products {
        display: block;
    }

    .original-products {
        display: none;
    }

}