:root {
    /* Primary colors */
    --orange: hsl(26, 100%, 55%);
    --pale-orange: hsl(25, 100%, 94%);
    --hover-orange: hsl(26, 100%, 80%);
    /* Neutral colors */
    --very-dark-blue: hsl(220, 13%, 13%);
    --dark-grayish-blue: hsl(219, 9%, 45%);
    --grayish-blue: hsl(220, 14%, 75%);
    --light-grayish-blue: hsl(223, 64%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);

    /* Font size */
    --font-size: 16px;

    /* Font weight */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Font family */
    --font-family: "Kumbh Sans", serif;

    /* Border radius */
    --border-radius: 10px;

    /* Border */
    --border: 1px solid var(--grayish-blue);

    /* Box shadow */
    --box-shadow: 0px 10px 34px 0px rgba(255, 237, 224, 0.75);
}

/* Media query for screen sizes */
@media screen and (min-width: 800px) {

    /* Styles for screen sizes less than 768px */
    .container {
        max-width: max(800px, 90%);
        padding: 0;
    }

    header {
        width: 90%;
        border-bottom: var(--border);
        padding-bottom: 0;
        padding-top: 0;

        .right-header {
            .avatar {
                width: 50px;
                height: 50px;
                margin-left: 20px;
            }
        }

        .left-header {
            .nav-icon {
                display: none;
            }

            .logo{
                display: block;
            }

            .menu {
                display: flex !important;
                align-items: center;
                justify-content: center;
                position: relative;
                z-index: 0 !important;
                width: fit-content;
                height: fit-content;
                padding: 0;
                overflow: hidden;

                nav{
                    flex-direction: row;
                    column-gap: 20px;
                    margin-left: 25px;
                    margin-top: 20px;
                    a{
                        padding-top: 0 !important;
                        padding-bottom: 40px;
                        color: var(--grayish-blue);
                        font-weight: var(--font-weight-medium);
                    }
                    a:hover{
                        color: var(--black);
                        border-bottom: 4px solid var(--orange);
                    }
                }
            }
        }

    }

    .cart{
        /* background: var(--grayish-blue) !important; */
        right: 10% !important;
        transform: translate(80%, -50%) !important;
    }
    main {
        .main-body {
            flex-direction: row;
            max-width: 100vw !important;
            align-items: center;
            justify-content: center !important;
            margin-top: 70px !important;
            padding: 10px 80px;

            .active-product-container {
                padding: 10px 40px;
                width: 40%;
                scale: .9;

                img {
                    width: 100%;
                    aspect-ratio: 20/21;
                    object-fit: cover;
                    border-radius: var(--border-radius);
                }

                .thumbnails {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    column-gap: 10px;
                    margin-top: 20px;
                    .active-thumbnail {
                        filter: opacity(40%);
                        border-color: var(--orange);
                    }
                    img {
                        object-fit: cover;
                        aspect-ratio: 1/1;
                        border: 3px solid var(--light-grayish-blue);

                        &:hover {
                            cursor: pointer;
                            filter: opacity(60%);
                        }
                    }
                }
            }

            .products-details {
                padding: 10px 40px;
                width: 50%;

                h3 {
                    margin-top: 20px;
                }

                h2 {
                    font-size: 2rem;
                    margin-bottom: 25px;
                    width: 70%;
                    line-height: 1.2;
                }

                p {
                    font-size: 1rem;
                    margin-bottom: 20px;
                }
            }

            .price-container {
                display: flex;
                flex-direction: column;
                row-gap: 15px;
                width: fit-content;

                .price {
                    height: fit-content;
                    position: relative;

                    span {
                        font-size: 1.2rem;
                        position: absolute;
                        margin-top: 7px;
                    }
                }

                p {
                    width: fit-content;
                    font-size: 1.2rem;
                }
            }

            .price-calc {
                display: flex;
                justify-content: space-between;
            }

            .product-number {
                box-sizing: border-box !important;
                width: 40%;
                padding: 0 10px !important;
            }

            .add-to-cart {
                width: 50%;

                button {
                    width: 100%;
                }
            }
        }

        .arrows {
            display: none !important;
        }
    }
}

/*  */
@media screen and (min-width: 520px) {
    .arrows{
        top: 170px !important;
    }
    .main-body{
        margin: 0 !important;
        padding: 0 !important;
    }
}