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

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 12px 0px 12px 0px;
    font-weight: bold;
}

.product-image {
    width: 100%;
    height: 546px;
    border-radius: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail:hover {
    border-color: #28a745;
}

.discount {
    text-decoration: line-through;
    color: grey;
    font-size: 1rem;
}

.size-options .btn {
    margin-right: 5px;
}

.quantity-section {
    max-width: 120px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-buttons i.far.fa-heart {
    /* Styles for the wishlist button */
    color: #dc3545;
}

.action-buttons i.fas.fa-share-alt {
    color: cornflowerblue;
}

/* Related products section start */
.card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.badge {
    font-size: 0.8rem;
    padding: 5px 10px;
}

li {
    list-style: none;
    /* Removes the bullet point */
    padding: 0;
    /* Optional: Reset default padding */
    margin: 0;
    /* Optional: Reset default margin */
    /* background-color: cadetblue; */
}

/* Related products section ends */

/* Review and comment section start */
.form-group textarea {
    width: 100%;
    min-height: 150px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 16px;
}

.btn-success {
    background-color: #28a745;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}

/* Review and comment section ends */

/* Media query section starts */
@media (max-width: 767px) {

    /* Adjust breakpoint as needed */
    .product-image {
        height: auto;
        /* Let height be determined by aspect ratio */
        aspect-ratio: 1/1;
        /* Maintain a 1:1 aspect ratio (square) */
        /* OR */
        /* height: auto;  */
        /* Let height be determined by aspect ratio */
        /* padding-bottom: 100%; */
        /* Creates square, but might crop */
    }
}

/* Media query section ends */