@import url(../resources/resource.css);


.product-container {
    background-color: var();
    border-radius: 10px;
    padding: 20px;
    display: flex;
    margin: 0 auto;
    margin-top: 2rem;
    max-width: 1280px;
    width: 100%;
    gap: 3rem;
}
.product-image{
    flex-basis: 40%;
}

.product-image img {
    max-width: 780px;
    border-radius: 10px;
}

.product-details {
    margin-left: 20px;
}

.product_name {
    color: var(--primary-color);
    font-size: clamp(24px,2vw,28px);
font-weight: bold;

}

.product-category {
    font-size: 14px;
    color: var(--secondary-color);
}
.product-details{
    width: 100%;
}

.product-description {
    color: var(--white-text);
    font-size: 16px;
    text-align: justify;
}
.sub_images{
    width: 180px;
}
.sub_images_main{
    display: flex;
    margin-top: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
    
}
.pricing {
    margin-top: 10px;
}

.price, .offer-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--white-text);
}

.delivery-charge {
    margin-top: 10px;
    font-size: 14px;
    color: var(--background-color);
    font-weight: bold;
}
.buy-now, .add-to-cart {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

.add-to-cart {
    background-color: var(--secondary-color);
}

.buy-now:hover {
    background-color: #3a9239;
}

.add-to-cart:hover {
    background-color: #e67600;
}


@media screen and (max-width:768px) {
    
.product-container{
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
.product-image img{
    max-width: 100%;
}
}