﻿/*#region Banner*/

.banner {
    height: 300px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 4rem;
}

    .banner > img {
        width: 100%;
        object-fit: contain;
        height: 300px;
    }

    .banner > div {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding-left: 15px;
        padding-bottom: 15px;
        background: #0000003b;
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

        .banner > div span {
            width: max-content;
            padding: 3px 10px;
            background: var(--green);
            border-radius: 20px;
            font-size: 12px;
        }

        .banner > div h2 {
            font-size: 38px;
        }

        .banner > div p {
            font-size: 14px;
            margin-bottom: 13px;
            color: var(--gray);
        }

/*#endregion*/

/*#region SideBar/Container*/

.container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1rem;
}

    .container > div:first-of-type {
        padding: 10px;
    }

.sideBar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    height: max-content;
    top: 120px;
    padding: 1rem;
    background: var(--dark-gray);
    border-radius: 10px;
}

    .sideBar > div:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .sideBar > div:not(:last-of-type) {
        border-bottom: 1px solid gray;
        padding-bottom: 8px;
    }

    .sideBar > div:first-of-type p:first-of-type {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .sideBar > div:first-of-type p:first-of-type i {
            font-size: 12px;
            color: yellow;
        }

        .sideBar > div:first-of-type p:first-of-type i {
            font-size: 12px;
            color: yellow;
        }



    .sideBar > div:first-of-type p:last-of-type {
        font-size: 15px;
    }

    .sideBar > div:first-of-type h4 {
        font-size: 22px;
        display: flex;
        flex-direction: column;
        color: var(--green);
        font-weight: 600;
    }

        .sideBar > div:first-of-type h4 span {
            font-size: 15px;
            font-weight: normal;
        }

    .sideBar > div:nth-of-type(2) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

        .sideBar > div:nth-of-type(2) p {
            display: flex;
            gap: 12px;
            align-items: center;
        }

            .sideBar > div:nth-of-type(2) p i {
                color: var(--green)
            }

            .sideBar > div:nth-of-type(2) p span {
                display: flex;
                flex-direction: column;
                gap: 2px;
                font-size: 12px;
            }

                .sideBar > div:nth-of-type(2) p span b {
                    font-size: 12px;
                }

    .sideBar > div:nth-of-type(3) {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

        .sideBar > div:nth-of-type(3) a:nth-of-type(2) {
            width: calc(100% - 105px);
        }

        .sideBar > div:nth-of-type(3) a:last-of-type {
            transition: 300ms;
        }

            .sideBar > div:nth-of-type(3) a:last-of-type:hover {
                color: var(--gray);
            }

    .sideBar > div:last-of-type {
    }

        .sideBar > div:last-of-type p {
            display: flex;
            gap: 8px;
            align-items: center;
            font-size: 13px;
            color: var(--gray);
        }

            .sideBar > div:last-of-type p i {
                color: var(--green);
            }

    .sideBar > span {
        position: absolute;
        right: 15px;
        top: 15px;
        width: 30px;
        border-radius: 10px;
        border: 1px solid var(--white);
        cursor: pointer;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .sideBar > span i {
            color: red;
        }
/*#endregion*/
/*#region Images*/
.images {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .images > img {
        height: 450px;
        width: 100%;
        object-fit: contain;
        cursor: pointer;
    }

    .images > div {
        display: grid;
        grid-template-columns: repeat(6,1fr);
        gap: 1rem;
    }

        .images > div > img {
            cursor: pointer;
            width: 120px;
            height: 120px;
            object-fit: contain;
            border: 1px solid gray;
            border-radius: 10px;
        }

        .images > div > a {
            text-align: center;
            width: 120px;
            height: 120px;
            border: 1px solid gray;
            border-radius: 10px;
            position: relative;
            background: #00000070;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
        }

            .images > div > a img {
                object-fit: contain;
                width: 120px;
                height: 120px;
                position: absolute;
                z-index: -1;
                left: 0;
                top: 0;
            }

/*#endregion*/

/*#region Key Features*/

.keyFeatures {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4rem;
}

    .keyFeatures h2 {
        font-size: 16px;
        color: var(--green);
    }

    .keyFeatures > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

        .keyFeatures > div div {
            display: flex;
            gap: 1rem;
            height: 90px;
            background: var(--dark-gray);
            padding: 15px;
        }

            .keyFeatures > div div i {
                font-size: 24px;
                color: var(--green);
            }

            .keyFeatures > div div p {
                display: flex;
                flex-direction: column;
                border-radius: 10px;
                gap: 5px;
                font-weight: 600;
            }

                .keyFeatures > div div p span {
                    font-size: 13px;
                    font-weight: normal;
                }

/*#endregion*/

/*#region Specifications*/

.specifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4rem;
}

    .specifications h2 {
        font-size: 16px;
        color: var(--green);
    }

    .specifications > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        background: var(--dark-gray);
        padding: 1rem;
        border-radius: 10px;
    }

        .specifications > div p {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: var(--gray)
        }

            .specifications > div p span {
                color: var(--white)
            }

/*#endregion*/

/*#region WhyChoose*/

.whyChoose {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4rem;
}

    .whyChoose h2 {
        text-align: center;
    }

    .whyChoose > div {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 1rem;
    }

        .whyChoose > div > div {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
        }

            .whyChoose > div > div i {
                font-size: 24px;
                color: var(--green);
            }

            .whyChoose > div > div p {
                font-size: 14px;
            }

/*#endregion*/

/*#region Modal*/

#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000d9;
    align-items: center;
    justify-content: center;
}

body.modal-open {
    overflow: hidden;
}

#imageModal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#prevBtn,
#nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: 0.3s;
}

    #prevBtn:hover,
    #nextBtn:hover {
        color: var(--green);
    }

#prevBtn {
    left: 20px;
}

#nextBtn {
    right: 20px;
}

/*#endregion*/


/*#region Responsive*/

@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
    .images > div > a {
        width: 100%;
        height: 100px;
    }

    .images > div > img {
        width: 100%;
        height: 100px;
    }

    .images > div > a img {
        width: 100%;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .sideBar {
        gap: 1rem;
        position: relative;
        top: 0;
    }

    .container {
        display: flex;
        flex-direction: column;
    }

    .sideBar > div:nth-of-type(3) a:nth-of-type(2) {
        width: auto;
    }
}

@media (max-width: 768px) {
}

@media (max-width: 576px) {
    .images > img {
        height: 400px;
        border: 1px solid gray;
        border-radius: 10px;
    }

    .images > div > img {
        width: 100%;
        height: 50px;
    }

    .keyFeatures > div {
        grid-template-columns: 1fr;
    }

    .specifications > div {
        grid-template-columns: 1fr;
    }

    .whyChoose > div {
        grid-template-columns: 1fr;
    }
}

/*#endregion*/
