.product-detail-section{
    padding-block: 4rem;
}

.product-detail-image{
    position: relative;
}

.product-detail-image img{
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
    padding: 1rem;
}

.product-detail-content{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-right: 0.5rem;
    padding-top: 3rem;
}

.product-category{
    margin: 0;
    color: #777;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-detail-content h1{
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.6rem);
    line-height: 1.2;
}

.product-price{
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #9b111e;
}
.product-detail-heading{
    margin-top: 20px;
}

.product-description{
    margin: 0;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.stock-wrapper{
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.bi-box{
    margin-right: 5px;
    color: green;
}

.stock{
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.in-stock{
    background: #dcfce7;
    color: #166534;
}

.out-stock{
    background: #fee2e2;
    color: #991b1b;
}


.delivery-info{
    margin-top: 5px;
}
.bi-truck{
    color: #991b1b;
    font-size: 1.2rem;
    margin-right: 5px;
}
.product-actions{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.2rem;

}

.product-actions p{
    color: #991b1b;
}

.product-actions .btn{
    padding: 0.85rem 4rem;
    font-weight: 600;
}


.similar-product{
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}


@media(max-width:768px){

    .product-detail-section{
        padding-block: 2rem;
    }

    .product-detail-image img{
        height: 400px;
    }
    .product-detail-content{
        padding-top: 0;
    }

    .product-actions{
        flex-direction: column;
    }

    .product-actions .btn{
        width: 100%;
    }

}