@media (max-width: 2000px) and (min-width: 1400px) {
    #header-pc {
        padding-left: 15%;
        padding-right: clamp(15px, 40vw, 300px);
    }

    #sec-gray {
        img {
            height: 90% !important;
            object-fit: cover !important;
        }
        
        .text p {
            width: 100%;
        }
    }

    .section-carrosel {
        margin-left: clamp(-330px, -23vw, 0px) !important;
        padding-left: 3%;
    }

    .category p {
        margin-left: 3px;
        max-width: clamp(170px, 20vw, 260px) !important;
    }

    #collection:not(.home-colect) {
        left: 0 !important;
    }
}

@media (max-width: 1850px) and (min-width: 1400px) {
    .section-carrosel {
        margin-left: clamp(-290px, -18vw, 0px) !important;
    }
}

@media (max-width: 1700px) and (min-width: 1400px) {
    #header-pc {
        padding-left: 10%;
    }

    .section-carrosel {
        margin-left: clamp(-250px, -18.5vw, 0px) !important;
        padding-left: 5%;
    }

    .category p {
        margin-left: -3px;
        max-width: clamp(170px, 20vw, 260px) !important;
    }
}

@media (max-width: 1670px) and (min-width: 1400px) {
    .section-carrosel {
        padding-left: 10%;
    }

    #final {
        margin-right: 5vw;
    }
}

@media (max-width: 1670px) and (min-width: 1400px) {
    .category p {
        margin-left: -6px;
        max-width: clamp(170px, 20vw, 260px) !important;
    }
}

@media (max-width: 1500px) and (min-width: 1400px) {
    #header-pc {
        padding-left: 5%;
    }

    .section-carrosel {
        padding-left: 5vw;
        margin-left: clamp(-200px, -14.5vw, 0px) !important;
    }
}

@media (max-width: 1450px) and (min-width: 1400px) {
    #header-pc {
        padding-left: 5%;
    }

    .category p {
        margin-left: -7px;
        max-width: clamp(170px, 20vw, 240px) !important;
    }

    #final img {
        margin-right: -3vw !important;
    }
}

@media (max-width: 1370px) {
    section:not(#hero, .carrosel-container, #final) {
        margin-left: 2vw !important;
    }

    #final img {
        margin-right: 1vw !important;
    }
}


@media (max-width: 1350px) {
    .ft3 {
        left: 0vw;
    }
}

@media (max-width: 1300px) {
    .section-carrosel {
        padding-left: 3vw !important;
    }

    #navigation {
        margin-right: 2%;
        column-gap: 12vw;
    }
}

@media (max-width: 1280px) and (min-width:1280px) {
    .section-carrosel {
        padding-left: 1vw !important;
    }
}

@media (max-width: 1200px) {
    #navigation {
        margin-right: 0;
        width: 70%;
    }

    /*.footer-logo img {
        width: clamp(180px, 40vw, 200px) !important;
        margin-bottom: 30px;
    }*/

    /*.ft1, .ft2, .ft3 {
        left: 0;
        position: relative;
        margin-bottom: 25px;
    }*/
}

@media (max-width: 1024px) {
    header {
        margin-bottom: 30px;
    }

    section:not(#hero) {
        margin-top: 2%;
    }

    #collection {
        margin-left: .5%;
    }
}

@media (max-width: 1000px) and (min-width: 769px) {
    /*footer {
        height: auto;
    }

    footer .row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 0 20px;
    }

    .footer-social {
        margin-top: 20px;
    }

    .footer-menu-social {
        margin-top: 0;
        justify-content: flex-start;
    }

    .footer-copyright p {
        margin-top: 20px;
    }*/

    #sec-gray img {
        margin-top: 6% !important;
    }
}

@media (max-width: 900px) {
    #navigation {
        column-gap: 17vw;
        margin-left: 2%;
    }

    .footer-logo {
        width: 200px !important;
    }

    .category p {
        margin-left: 0px;
    }
}

@media (max-width: 845px) {
    #navigation {
        column-gap: 7vw;
        margin-left: 5%;
    }

    #collection h1 {
        width: 90%;
    }
}

@media (max-width: 800px) and (min-width: 768px) {
    .home-colect {
        width: 100%;
        margin-left: -5% !important;

        h2 {
            width: 300px !important;
        }
    }
}

@media (max-width: 840px) {
    footer {
        padding-left: 30px;
        padding-right: 30px !important;
    }
}

@media (max-width: 768px) {
    #header-pc {
        padding-left: 20px;
    }

    header {
        margin-top: -5%;
    }

    #navigation {
        column-gap: 5vw;
        margin-left: 3%;
    }

    nav ul {
        font-size: clamp(14px, .8vw, 20px);
        gap: 10px;
    }

    .menu-social li {
        font-size: 16px;
        width: 25px;
        height: 25px;
    }

    #collection {
        width: 95vw;
    }

    #collection h1 {
        width: 100%;
        margin-left: 0;
        font-size: clamp(20px, 4vw, 48px) !important;
    }

    #collection p {
        max-width: 90vw !important;
    }

    section.sec:has(.text:first-child) {
        .text {
            order: 2;
        }
        .w-full, .image {
            order: 1;
        }
    }

    section:not(#hero, #final) {
        grid-template-columns: 1fr;
        padding-left: 8%;
        padding-right: 6%;
        row-gap: 20px;
        margin: 0 auto;
        margin-top: 5%;

        .text {
            margin-top: 0 !important;
            margin-left: 0 !important;
        }

        a {
            width: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        p {
            width: 100% !important;
            overflow-wrap: break-word;
        }
    }

    .sec-left .text {
        transform: translate(0, 0) !important;
    }

    #div-gray {
        height: auto;
    }

    #sec-gray {
        grid-template-columns: 1fr !important;
        top: 0;

        .image {
            min-width: 100% !important;
            min-height: unset !important;
            width: 100% !important;
            height: clamp(250px, 50vw, 400px) !important;
            
            margin-top: 0;
            margin-left: 0;
        }

        img {
            min-width: 100% !important;
            min-height: unset !important;
            width: 100% !important;
            height: clamp(250px, 50vw, 400px) !important;
            object-fit: cover;
        }

        .text {
            margin-left: -5vw;
            width: 100% !important;
            max-width: 100%;
            padding: 30px 6%;
        }
    }

    .carrosel-text {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: first baseline;
    }

    .section-carrosel {
        margin-left: 2vw !important;
        width: 100%;
    }

    .carrosel .item img {
        width: 100%;
        height: 100%;
    }

    /*

    footer .row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-logo img {
        width: clamp(120px, 40vw, 200px);
        margin-bottom: 30px;
    }

    .ft1, .ft2, .ft3 {
        left: 0; 
        position: relative;
        margin-bottom: 25px;
    }

    .footer-social {
        margin-top: 20px;
        padding-bottom: 5%;
    }

    .footer-menu-social {
        margin-top: 0;
        justify-content: flex-start;
    }

    .footer-copyright p {
        margin-top: 20px;
        text-align: center;
    }*/

    .category p {
        margin-left: 4px;
        max-width: clamp(170px, 20vw, 240px) !important;
    }
}

@media (max-width: 750px) {
    .section-carrosel {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 712px) {
    section:not(#hero) {
        padding-left: 10%;
    }

    .section-carrosel {
        margin-left: -3vw !important;
    }
}

@media (max-width: 700px) {
    #navigation {
        column-gap: 2vw;
    }

    .menu-social li {
        font-size: 14px !important;
        width: 20px;
        height: 20px;
        margin-top: 10px;
    }

    .section-carrosel {
        margin-left: 0 !important;
    }
}

@media (max-width: 680px) {
    .section-carrosel {
        margin: 0 auto !important
    }
}

@media (max-width: 660px) {
    #navigation {
        margin-left: 2%;
    }

    nav ul {
        font-size: 16px !important;
        gap: 2px;
    }
}

@media (max-width: 600px) {
    .section-carrosel {
        margin-left: -5%;
        width: 100%;
    }

    .carrosel .item {
        width: 90%;
        height: clamp(150px, 50vw, 350px);
    }
}

/* Mobile */
@media (max-width: 480px) {
    section:not(#hero, #collection) {
        padding-left: 4%;
        padding-right: 4%;

        a {
            width: 100%;
        }
    }

    #collection:not(.home-colect) {
        padding-left: 15% !important;
        padding-right: 6% !important;

        h1 {
            margin-bottom: 15px;
        }

        a {
            width: 100%;
            text-align: center;
        }
    }

    #div-gray {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #sec-gray {
        img {
            height: 280px;
        }

        .text {
            padding: 20px 5%;
        }

        a {
            width: 100%;
            text-align: center;
        }
    }

    .section-carrosel {
        margin-left: 1% !important;
    }
}

@media (max-width: 420px) {
    .carrosel .item {
        width: 90%;
        height: clamp(150px, 60vw, 350px);
    }

    #collection:not(.home-colect) {
        left: -2vw !important;
    }

    .section-carrosel {
        margin-left: 2% !important;
    }
}

@media (max-width: 330px) {
    .carrosel .item {
        width: 90%;
        height: clamp(150px, 70vw, 350px);
    }
}