main {
    display: flex;
    justify-content: center;
    flex-flow: row;
    flex-wrap: wrap;
    background: linear-gradient(65deg, rgb(128, 127, 127), white);
}


#top-section {
    width: 100%;
    display: flex;
    justify-content: center;
    background: white;
    padding-bottom: 2em
}

#main-product-section {
    display: flex;
    /* gap: 5em; */
    padding: 1em;
    padding-top: 0em;
    /* min-width: 95em; */
    width: 100%;
    max-width: 108em;
    flex-wrap: wrap;
    justify-content: space-evenly;
    min-height: 80vh;
}

#OOS {
    font-family: poppins;
    background: #ffffffb2;
    color: red;
    position: absolute;
    left: anchor(--anchor-image left);
    top: anchor(--anchor-image top);
    padding: 1em;
    border-radius: 5px;
    font-size: 0.5em;
    margin: 0.5rem;
}

#OOS::after {
    content: '';
    height: 100%;
    width: 100%;
    backdrop-filter: blur(0.3px);
    /* border: 1px solid black; */
    position: absolute;
    top: 0em;
    left: 0em;
    border-radius: 5px;
}


#product-images {
    display: flex;
    gap: 2em;
}


#alternate-images #container {
    margin-top: 3em;
    display: flex;
    align-items: flex-start;
    justify-content: start;
    flex-direction: column;
    gap: 1em;
}

.alt-imag-container .img-container {
    background-color: #D9D9D9;
    height: 14vh;
    min-height: 10em;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 10vh;
    min-width: 7em;
    overflow: hidden;
}

.img-container .img {
    height: 14vh;
    min-height: 10em;
    background-size: contain;
}

.img {
    background-size: cover;
    background-size: cover;
    height: 100%;
    /* width: 100%; */
    background-repeat: no-repeat;
    background-position: center center;
}

#main-image,
#mobile-view-product-images #container li {
    height: 80vh;
    width: 60vh;
    min-height: 46em;
    max-height: 320vw;
    min-width: 27em;
    max-width: 95vw;
    margin-top: 1em;
    background: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    anchor-name: --anchor-image;
}

#main-image img,
#mobile-view-product-images #container li img {
    height: 77vh;
    min-height: 46em;
    background-position: center center;
}

#main-image:hover{
    cursor: crosshair;
}

#mobile-view-product-images #container {
    height: 77vh;
    width: 100%;
    min-height: 46em;
    max-height: 320vw;
    /* min-width: 36rem; */
    max-width: 95vw;
    margin-top: 1em;
    background: linear-gradient(65deg, #FFF1D2, white);
    overflow-y: hidden;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    display: flex;
    justify-content: start;
    align-items: center;
    anchor-name: --mobile-view-anchor-image;
}

#mobile-view-product-images #container li {
    min-width: 95vw;
    scroll-snap-align: center;
}


#bpic-container {
    position: absolute;
    margin-top: auto;
    margin-bottom: auto;
    /* right: 4em; */
    height: 83vh;
    width: 44vw;
    max-width: 1297px;
    /* border: 1px solid black; */
    /* top: 0px; */
    z-index: 100000;
    overflow: hidden;
    display: none;
    justify-content: center;
    align-items: center;
}


#bpic {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: 200%;
}

#close {
    height: 2em;
    width: 2em;
    position: fixed;
    top: 1em;
    right: 3vw;
    background-image: url(../../icons/cross-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: white;
    border-radius: 100px;
}

/* @media screen and (max-width: 1080px) {
    #bpic{
        width: 98%;
    }
} */
div#product-info {
    display: flex;
    flex-direction: column;
    max-width: 44em;
    gap: 1em;
}

h1#product-desc {
    font-family: 'poppins';
    font-size: 2em;
    margin: 1em 0em 0em 0em;
    color: #6C6C6C;
    line-height: 1.2em;
    word-spacing: 2px;
}

/* #ratings{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
    margin-top: -13px;
} */

.star {
    background: transparent;
    background-image: url(../../icons/empty-star.svg);
    height: 1em;
    width: 1em;
}

.price-info {
    display: flex;
    justify-content: start;
    gap: 5px;
}

p#product-price {
    font-family: poppins-light;
    font-size: 1.5em;
    color: #393939;
}


#offers-container {
    /* margin-top: 2em; */
    font-family: poppins;
    color: #686868;
}

#offers-tag {
    color: #FF9A62;
    font-size: larger;
    background-image: url(../../icons/tag.svg);
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 2em;
}


#offers-box {
    margin-top: 1em;
    border: 1px solid black;
    background-color: #FFF1D270;
    max-height: 10em;
    min-height: 4em;
    min-width: 30em;
    text-align: start;
    padding: 1em;
}

#offers-box p {
    font-family: poppins;
    font-size: 1.5em;
}

#specifications {
    display: flex;
    flex-flow: row wrap;
    /* border: 1px solid black; */
    width: 100%;
    justify-content: SPACE-AROUND;
    row-gap: 2em;
    margin: 1em 0em;
}

#specifications div {
    flex: 0 0 50%;
}

#product-details {
    margin-top: 1em;
    font-family: 'poppins';
    color: #686868;
    /* border: 1px solid rgba(0, 0, 0, 0.527); */
}

.tag {
    /* font-size: larger; */
    color: #686868;
    font-family: poppins;
}

#product-details-container {
    font-family: poppins-light;
}

.info {
    font-family: poppins-light;
    color: #464646;
    /* border: 1px solid rgba(0, 0, 0, 0.568); */
}


#add-product{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
    gap: 1em;
    margin-top: 2em;
    font-family: 'poppins-light';
    font-weight: bold;
    letter-spacing: 2px;
}

#product-info .add-in-cart,
.cart-bttn,
#product-info #add-in-wishlist {
    /* min-width: 18em;
    min-height: 4em; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-family: poppins;
}

.add-in-cart,
.cart-bttn {
    background-color: var(--sbmit-bttn-colour);
    color: var(--sbmit-bttn-text-color);
    background-image: url(../../icons/white-cart-icon.png);
    background-repeat: no-repeat;
    background-position: right 18% center;
    background-size: 7%;
    min-width: 18em;
    min-height: 4.5em;
    flex-grow: 1.5;
    border: none;
}

.cart-bttn {
    background-color: #D9D9D9;
    text-decoration: none;
    overflow: hidden;
    width: 100%;
}

#add-in-wishlist {
    background-repeat: no-repeat;
    background-position: right 15% center;
    background-size: 15%;
    /* min-width: 15em; */
    min-height: 4em;
    border: 1px solid black;
    flex-grow: 1;
}

#purchase{
    width: 100%;
    max-height: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    border: none;
}

#buy{
    flex-grow: 1;
    /* border: 1px solid black; */
    font-family: var(--bttn-font);
    line-height: 4em;
    text-align: center;
    border-radius: 5px;
    box-shadow: var(--bttn-shadow);
    background-color: var(--main-color);
    color: var(--sbmit-bttn-text-color);
    transition: none;
    cursor: pointer;
    border: none;
}


#buy:active{
    box-shadow: none;
    opacity: 80%;
}


#mark {
    background-image: url(../../icons/secure-sign.svg);
    background-repeat: no-repeat;
    background-size: 3%;
    padding-left: 2em;
}

.not-into-wishlist {
    display: block;
}

#product-container {
    margin-top: 1em;
    /* padding-bottom: 6em; */
}

#product-suggestions {
    /* margin-top: 2em; */
    width: 100%;
}

hr {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

#suggestions-title {
    font-family: poppins;
    text-align: center;
}

.product-name {
    height: 3em;
    overflow: hidden;
}

#mobile-view-product-images {
    display: none;
}

@media screen and (max-width: 540px) {
    #OOS {
        left: anchor(--mobile-view-anchor-image left);
        top: anchor(--mobile-view-anchor-image top);
        margin: 0.5rem;
    }

    h1 {
        text-align: center;
    }

    #add-in-cart {
        min-width: 18em;
    }

    #mobile-view-product-images {
        display: inline-block;
    }

    #product-images {
        display: none;
    }
}

/* @media screen and (min-width: 446px) and (max-width: 1468px) {
    div#product-info {
        margin-top: -7em;
    }
} */