@media only screen and (max-width: 1570px) {
    .fs14 {
        font-size: 12px;
    }
    .fs18 {
        font-size: 12px;
    }
    .fs24 {
        font-size: 20px;
    }
    .sm-lh-2 {
        line-height: 1.8em;
    }
    .upper-nav {
        grid-template-columns: 1fr 15% 35%;
    }
    .hm-TR-login span {
        font-size: 12px;
    }
    .hm-TR-login a {
        display: flex;
        align-items: center;
    }
    .btn-white p {
        font-size: 12px;
    }
    .text-center {
        text-align: center;
    }
}

@media only screen and (max-width: 1550px) {
    .tabs-context-wrapper{
        grid-template-columns: max-content max-content max-content;
        width: max-content;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 1500px) {
    .sm-hidden1500 {
        display: none;
    }
    .collage-container {
        display: block;
    }
    .collage-img2 {
        grid-column: 1;
        overflow: hidden;
    }
    .collage-img1 img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: scale(1) translateY(0px);
    }
    .collage-img3 {
        max-height: max-content;
    }
    #feedback-container {
        position: initial;
        background-color: #fff;
        padding: 30px;
        width: 100%;
    }
}

@media only screen and (max-width: 1400px) {
    #inquireTrigger,
    #log {
        margin-left: 10px;
        margin-right: 10px;
    }
    .sticky #cr-order {
        width: 90%;
    }
    .sticky .nav-auth {
        display: flex;
        justify-content: space-around;
        max-width: 40%;
    }

    .sm-hidden {
        display: none;
    }
    .sticky .lower-nav {
        justify-content: flex-end;
        /* margin-right: 50px; */
    }

    .sticky .nav-wrapper {
        grid-template-rows: 1fr;
    }

    .upper-nav {
        grid-template-columns: 1fr 1fr;
    }
    /* .fs75 {
        font-size: 55px;
    }
    .fs20 {
        font-size: 15px;
    } */
    .btn-white p {
        font-size: 12px;
    }
    .products-item {
        background-color: #fff;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 90%;
        height: 100%;
    }

    /* EXPLORE-NEWS */
    /* .explore-items-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-gap: 3%;
        margin: 0 3%;
    } */
    .about-text-container p {
        font-weight: 400;
        font-size: 1em;
        line-height: 1.8em;
    }
}
@media only screen and (max-width: 1200px) {
    .sm-hidden1200 {
        display: none;
    }
    .products-item h3 {
        font-size: 1.5em;
    }
    .products-item p {
        margin-top: 10px;
    }
    #mainPage-gallery.swiper-container {
        display: none;
    }
    .gallery-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        margin: 0 3%;
        margin-top: 50px;
    }
}
@media only screen and (max-width: 1100px) {
    .sticky .bottom-create-order > div:first-child {
        margin-right: 15px;
    }
    .sticky .lower-nav .bottom-nav-links {
        display: none;
    }
    .sticky .hamburger-hidden {
        display: block !important;
        margin-left: 15px;
    }
}

@media only screen and (max-width: 1050px) {
    .formsSelect-grid{
        width: max-content;
        grid-template-columns: max-content max-content;
        margin: 50px auto;
    }
}
@media only screen and (max-width: 1000px) {
    .sm-hidden1000 {
        display: none;
    }
        .tabs-context-wrapper{
        grid-template-columns: max-content max-content;
        width: max-content;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 995px) {
    .hamburger-hidden {
        display: block !important;
    }
    .sm-hidden995 {
        display: none;
    }
    .nav-wrapper {
        display: grid;
        grid-template-rows: 1fr;
    }
    .upper-nav {
        grid-template-columns: 35% 1fr;
        border-bottom: 1px solid #e3e3e3;
    }
    .nav-links {
        display: none;
    }
    .nav-auth {
        grid-column: 2;
    }
    .hamburger-hidden {
        display: block !important;
    }

    /* FONT-SIZES */
    /* .fs20 {
        font-size: 12px;
    } */
    .fs40 {
        font-size: 25px;
    }
    .fs16 {
        font-size: 12px;
    }
    .fs18 {
        font-size: 13px;
    }
    .fs24 {
        font-size: 18px;
    }

    .products-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .products-content {
        grid-template-columns: 1fr;
        grid-gap: 3%;
    }
    .products-item {
        grid-template-columns: 300px 1fr;
        height: 100%;
        max-height: max-content;
    }
    .products-image {
        width: 100%;
        height: 100%;
    }

    /* EXPLORE-NEWS */
    .explore-header {
        width: 90%;
        align-items: flex-start;
        text-align: left;
    }
    .explore-header h4 {
        letter-spacing: 1.8px;
        font-weight: 700;
        margin-bottom: 15px;
    }
    .explore-header h3 {
        letter-spacing: 2px;
    }
    /* .explore-items-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-gap: 10px;
        margin: 0 3%;
    } */

    /* ABOUT CONTAINER */
    .collage-container {
        display: block;
    }

    .collage-img2 img {
        padding: 0;
    }

    /* FOOTER */
    .footer-wrapper {
        margin-top: 5%;
        grid-template-columns: 40% 1fr;
        margin-top: 8%;
    }
    .footer-social-wrapper {
        padding: 10% 5%;
    }
    .footer-links-wrapper {
        padding: 10% 5%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr 1fr;
    }
    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .links-container {
        margin-top: 2em;
        display: flex;
        flex-direction: column;
        line-height: 1.5em;
    }
    .nav-doors {
        display: none;
    }
}

@media only screen and (max-width: 855px) {
    .fs75 {
        font-size: 40px;
    }
    .fs44 {
        font-size: 25px;
    }

    /* .slider-inner-wrapper {
        width: 100%;
        display: grid;
        grid-template-columns: 20% 1fr;
    }
    .slider-text-wrapper {
        display: block;
        width:100%;
        position: relative;
    } */
    /* .slider-text-wrapper >div:first-child{
        display: flex;
        flex-direction: column;
         align-items: center; 
        justify-content: center;
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 20px;
    } */

    /* GALLERY */
    .gallery-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        margin: 0 3%;
        margin-top: 50px;
    }

    /* PRODUCTS SECTION */
    .products-item {
        grid-template-columns: 250px 1fr;
    }

    /* ABOUT SECTION */
    .about-wrapper {
        display: block;
        width: 100%;
    }
    .about-text-container {
        padding: 20px;
    }
    .about-text-container .container_2 {
        margin-top: 20px;
    }
    .collage-container {
        display: block;
        margin-top: 25px;
    }

    .collage-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 300px;
    }

    /* .explore-wrapper {
        margin-top: 300px;
    } */
    /* .slider-text-wrapper .sm-hidden855 {
        display: none;
    } */
    .head-slideshow-container {
        height: 400px;
    }
    .head-swiper-text-grid {
        display: block;
        width: 100%;
    }
    .head-swiper-text-grid > div:last-child {
        display: none;
    }
    .head-swiper-text-grid > div:first-child {
        width: 70%;
        height: 100%;
    }
    .head-swiper-text-grid > div:first-child p {
        margin-top: 10px;
        font-size: 0.8em;
        line-height: 1.5em;
    }
    .head-swiper-text-grid > div:first-child {
        margin: auto 0;
        margin-left: 28%;
    }
}

@media only screen and (max-width: 855px) {
    #cr-order > div:first-child {
        margin-right: 20px;
    }
    .sticky .lower-nav {
        justify-content: space-between;
    }
}
@media only screen and (max-width: 720px) {
    .tabs{
            padding: 0 0px 20px 0px;
    }
    .nav-doors-item {
        max-width: 170px;
    }
    .nav-doors-item > div:first-child img{
        width: 100%;
    }
    .nav-doors-item > div:last-child{
        height: 100px;
        text-align: center;
    }
    .products-content-tabs{
        padding: 0;
    }
}
@media only screen and (max-width: 655px) {
    .csr-search {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .csr-input {
        max-width: unset;
        width: 100%;
    }
    /* #cr-order > div:first-child{
        margin-right: 20px;
    } */
    .sticky #cr-order {
        width: 90%;
    }
    #menuToggle {
        margin-left: 0px;
    }
    .sm-hidden855 {
        display: none;
    }
    .fs75 {
        font-size: 40px;
    }
    .fs44 {
        font-size: 25px;
    }
    .slider-text {
        font-size: 15px;
    }

    .upper-nav {
        grid-template-columns: 1fr;
        border-bottom: 1px solid #e3e3e3;
    }
    .nav-auth {
        grid-column: 1;
    }

    .btn {
        margin: 0 auto;
    }

    /* EXPLORE SERVICES SECTION */
    .explore-services-wrapper {
        width: 70%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 2%;
        margin-bottom: 100px;
        margin-top: 40px;
    }
    .explore-services-wrapper > div {
        position: relative;
        width: 100%;
        box-shadow: 0 0 15px 1px rgba(31, 116, 138, 0.068);
        overflow: hidden;
        margin: auto;
        height: max-content;
    }
    .explore-services-wrapper > div > img {
        width: 100%;
        height: 100%;
        text-align: center;
        margin: 0 auto;
    }

    /* PRODUCTS SECTION */
    .products-header {
        width: 95%;
    }
    .products-item {
        grid-template-columns: 180px 1fr;
        height: 100%;
        max-height: max-content;
    }
    .products-image {
        width: 100%;
        height: auto;
    }

    .btn-white {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        color: #000;
        width: 160px;
        padding: 0px 5px;
        border-radius: 10px;
        margin: 10px 0;
        border: 2px solid black;
    }

    .collage-container {
        display: grid;
        margin-top: 10px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 400px;
    }
    .collage-img2 img {
        padding: 0;
    }
    .about-wrapper {
        /* margin: 10% 0 0 0; */
        padding: 5%;
    }
}

@media only screen and (max-width: 640px) {
    .links-container {
        margin-top: 0;
    }
    .footer-links-wrapper {
        grid-template-columns: 1fr;
    }
}
@media only screen and (max-width: 640px) {
    #feedback-user img {
        margin-right: 1em;
        margin-left: 1em;
    }
    .container {
        margin: 0 auto;
    }
    .explore-header {
        margin-top: 30px;
    }
    .products-header {
        margin-top: 30px;
    }
    /* .gallery-text-wrapper h4{
        font-size: 13px;
    } */
    .sticky .sticky-hide-cellphone {
        display: none;
    }
}
@media only screen and (max-width: 500px) {
     .nav-doors-item {
        max-width: 140px;
    }
    .formsSelect-grid{
        grid-template-columns: 100%;
    }
}
@media only screen and (max-width: 420px) {
    /* .slider-text-wrapper{
        grid-template-columns: 60% 1fr;
        color: red;
    } */
    .gallery-wrapper {
        margin: 10% 0 0 0;
        padding: 0 5%;
    }
    .fs75 {
        font-size: 30px;
    }
    .sm-hidden420 {
        display: none;
    }
    .products-item:nth-child(2) p {
        margin: 15px 0;
    }
    .sticky {
        grid-template-columns: 22% 1fr;
    }
    #cr-order > div:first-child {
        margin-right: 5px;
    }
}

@media only screen and (max-width: 360px) {
    .sm-hidden360 {
        display: none;
    }
    .btn-white {
        width: 110px;
        padding: 5px;
    }
}

@media only screen and (max-width: 330px) {
    .slider-text {
        max-width: 450px;
        margin-bottom: 30px;
        line-height: 1.2em;
        font-size: 13px;
        padding: 10px;
    }

    .products-item {
        grid-template-columns: 1fr 1fr;
        max-height: max-content;
        margin: auto;
    }
    .products-item h3 {
        font-size: 20px;
    }

    .products-item div:nth-child(2) {
        font-size: 5px;
    }
    .products-image {
        width: 100%;
    }
    .collage-container {
        grid-template-rows: 1fr 300px;
    }
    #feedback-user {
        font-size: 12px;
    }
    #feedback-user img {
        margin-right: 1em;
        margin-left: 0em;
    }
    #feedback-container > div > p {
        border-left: 2px solid var(--text-color-red);
        padding: 10px;
        font-size: 10px;
    }
    #feedback-rate {
        font-size: 10px;
        width: 40%;
    }
    #feedback-rate img {
        width: 50%;
    }
}
