html,
body {
    overflow-x: hidden;
}

section img {
    max-width: 100%;
}


section#products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: rgba(102, 102, 102, 0.1); */
    /* overflow-x: hidden; */

}


section#products h2 {
    padding-block-start: 40px;
    color: var(--orange-color-1);
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-inline: auto;
    /* background-color: transparent; */
    /* background: rgba(102, 102, 102, 0.1); */
    position: relative;
    /* z-index: 1; */
}

section#products h2::before {
    content: '';
    top: 0;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    background: rgba(102, 102, 102, 0.1);
    position: absolute;
}

section#products img {
    background: rgba(102, 102, 102, 0.1);
}

section#products p {
    text-align: center;
    font-size: 14px;
    background: #fff;
}

section#products ul {
    background: #fff;
    display: flex;
    padding: 24px 16px;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
}

section#products ul::-webkit-scrollbar {
    display: none;
}

section#products ul::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

section#products ul li {
    font-family: "Plus Jakarta Sans", sans-serif;
    list-style: none;
    border-radius: 20px;
    padding: 8px 16px;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
    border: 1px solid rgba(102, 102, 102, 0.40);
    background: #fff;
    color: var(--Color-Grey, #666);
}

section#products ul li a {
    text-decoration: none;
    color: #666
}


section#products ul li#active-product-link {
    border-radius: 20px;
    border: 1px solid #C69E6E;
    background: rgba(198, 158, 110, 0.80);
}

section#products ul li#active-product-link a {
    color: #fff;
}

section#products>section {
    display: flex;
    flex-direction: row;
    /* padding: 24px; */
    gap: 10px;
    flex-wrap: wrap;
}

section#products section>section {
    margin: 0;
    position: relative;
    flex: 0 0 47%;
}

section#products section>section>p {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    text-align: start;
    letter-spacing: -0.014px;
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0);
}

section#products section>section>img {
    height: 100%;
}

section#gallery {
    padding-block-start: 40px;
    display: grid;
    grid-template-areas: "text text"
        "img1 img1"
        "img2 img3"
        "custom custom";
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    background: #F6F7FB;
}

section#gallery>h2 {
    grid-area: text;
    color: #DDB384;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

section#gallery>#gallery-img-1 {
    grid-area: img2;
}

section#gallery>#gallery-img-2 {
    grid-area: img3;
    height: 100%;
}

section#gallery>#gallery-img-3 {
    grid-area: img1;
}

section#gallery>#gallery-img-4 {
    display: none;
}

section#gallery>#gallery-img-5 {
    display: none;
}

section#gallery>article {
    grid-area: custom;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #808080;
    background: #FFF;
}

section#gallery>article>h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 33.6px;
}

section#gallery>article>a {
    padding: 16px;
    margin-inline: auto;
    align-items: center;
    width: 92%;
    background: var(--orange-color-2);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;

}


@media (min-width:768px) {}

@media (min-width:1024px) {
    section#products h2 {
        font-size: 80px;
        font-weight: 700;
        line-height: 120px;
        margin-block-end: -50px;
    }

    section#products h2::before {
        height: 33vw;
    }

    section#products>img {
        width: 80%;
        position: relative;
        background-color: transparent;
    }


    section#products>p {
        text-align: center;
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        padding: 40px;
        width: 70%;
    }

    section#products>section {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        padding-inline-start: 20px;
        padding-block: 40px;

    }

    section#products>section>section {
        display: block;
        flex: 1 0 23%;
        max-width: 23%;
        margin: 0;
        background-color: rgba(102, 102, 102, 0.1);
    }

    section#products>section>section p {
        z-index: 6;
        top: 10px;
        left: 10px;
    }

    section#products>section>section>img {
        top: 0;
        right: 0;
        width: 100%;
        background-color: rgba(102, 102, 102, 0.1);
    }


    section#gallery {
        padding-block: 75px;
        justify-content: center;
        /* display: grid;
        grid-template-areas: "text text text"
            "img1 img2 img3"
            "img4 img5 custom"; */
        /* gap: 8px; */
        /* grid-template-columns: auto auto auto; */
        display: flex;
        flex-wrap: wrap;
        padding-inline: 24px;
    }

    section#gallery>h2 {
        /* grid-area: text; */
        flex: 1 1 100%;
        font-size: 70px;
        font-weight: 700;
        line-height: 120px;
    }

    section#gallery>h2>span {
        display: inline;
    }

    section#gallery>img {
        max-width: 100%;
    }

    section#gallery>#gallery-img-1 {
        /* grid-area: img1; */
        flex: 0 0 25vw;
        /* height: 470px;
        width: 331px; */
        max-width: 23vw;
        height: 33vw;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    section#gallery>#gallery-img-2 {
        /* grid-area: img2; */
        flex: 0 0 25vw;
        /* height: 470px;
        width: 331px; */
        max-width: 23vw;
        height: 33vw;
        aspect-ratio: 16/9;
        object-fit: cover;

    }

    section#gallery>#gallery-img-3 {
        /* grid-area: img3; */
        flex: 0 0 46vw;
        /* height: 470px;
        width: 682px; */
        max-width: 46vw;
        aspect-ratio: 1;
        object-fit: cover;
        height: 33vw;
    }

    section#gallery>#gallery-img-4 {
        display: block;
        /* grid-area: img4; */
        flex: 0 0 30vw;
        /* height: 448px;
        width: 309px; */
        max-width: 30vw;
        height: 22vw;
    }

    section#gallery>#gallery-img-5 {
        display: block;
        /* grid-area: img5; */
        flex: 0 0 30vw;
        /* height: 447px;
        width: 308px; */
        max-width: 30vw;
        height: 22vw;
    }

    section#gallery>article {
        border: 1px solid #808080;
        flex: 0 0 31.8vw;
        max-width: 31.8vw;
        height: 22vw;
        gap: 0px;
        justify-content: space-between;
    }

    section#gallery>article>h3 {
        font-size: 28px;
        line-height: 50px;
    }

    section#gallery>article>a {
        margin-inline-end: 0;
        width: auto;

    }
}