/* Electronics Digital Shop */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  background-attachment: fixed;
  color: #e4e4e7;
  overflow-x:hidden;
  font-family: 'quicksand';
  padding-top: 5rem;
}



.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    padding-top: 2%;
}

.cont {
    display: flex;
    flex-direction: row;
    gap: 4.5rem;
    flex-wrap: wrap; /* allows wrap on smaller screens */
    justify-content: center;
    align-items: center;
    padding-top: 0rem;
    padding: 3rem;
    border-radius: 1rem;
}

.cont img {
    height: auto;
    width: 35rem;
    max-width: 100%;
    border-radius: 1rem;
}

.descrip {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
    flex: 1;
}

.pro-det {
    font-size: 1.2rem;
    line-height: 2.5rem;
    color: #efefef;
    width: 75%;
    font-weight: 500;
}

.pricee {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00ffcc;
}
.btns{
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.btn{
    height: auto;
    width: 10rem;
    padding: 0.7rem;
    border-radius: 1rem;
    font-family: 'quicksand';
    font-weight: 900;
    font-size: 1.1rem;
    color: navy;
    border: none;
    outline: none;
}
.btn:hover{
    background-color: #001b66;
    color: white;
}
.quanty{
    display: flex;
    gap: 1rem;
    flex-direction: row;
    .addqty, .subqty{
        background-color: transparent;
        color: white;
        font-size: 1rem;
        border: none;
        outline: none;
    }

    .qnty{
        font-size: 1.1rem;
        font-weight: 700;
    }
}


/* Added to cart msg  */
.cart-msg-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    /* padding: 2rem; */
    /* position: fixed; */
    /* z-index: 999; */
}
.cart-msg{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    height: 3rem;
    width: 15rem;
    color: rgb(33, 33, 33);
    background-color: rgb(0, 199, 79);
    border-radius: 10px;
    font-weight: 800;
    z-index: 999;
}


/* Responsive styles */
@media (max-width: 768px) {
    .cont {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .product-details{
        width: 100%;
        text-align: start;
        h1 {
            width: 100%;
        }
        p{
            width: 100%;
        }
    }
    .descrip {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .pro-det {
        width: 90%;
        text-align: start;
    }
}

@media (max-width: 375px) {
    .cont {   
        img{
            width: 80vw;
        }
    }
    .product-details{
        width: 80%;
        text-align: start;
    }
    .pro-det{
        font-size: 0.8rem;

    }
    .pricee{
        width: 80%;
        font-size: 0.9rem;
    }
    .quanty{
        width: 80%;
        text-align: center;
    }
    .descrip{
        font-size: 0.6rem;
        width: 100vw;
        justify-content: center;
        align-items: center;
       

    }

        .btns{
            flex-direction: column;
            width: 100vw;
            justify-content: center;
            align-items: center;
        }
        .btn{
            width: 80%;
            height: 40px;
            border-radius: 5px;
        }
    
}