.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px; /* total fixed height for each box */
    margin-bottom: 25px;
}

.product-img-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* prevent stretch */
    transition: 0.3s;
}

/* hover image effect */
.product-img-wrapper img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-img-wrapper:hover img.hover {
    opacity: 1;
}

.product-img-wrapper:hover img.primary {
    opacity: 0;
}

/* Product Details Section */
.product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100px; /* ensures text & button area consistent */    
}

/* Product Name */
.product-name a {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3em;
    color: #333;
    text-decoration: none;
    display: block;
    min-height: 40px; /* maintains consistent title area */
}

/* Price styling */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

.new-price {
    color: #e74c3c;
    font-weight: 700;
    font-size: 16px;
}

.price {
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

/* Order Button */
.order-btn {
    background-color: #28a745;
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.order-btn:hover {
    background-color: #218838;
    color: #fff;
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .product-card {
    height: 400px;
    }
    .product-img-wrapper {
    height: 200px;
    }
}


.category-section-unique .category-card-unique {
    background: #daffd8;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #daffd8;
}
.category-section-unique .category-card-unique:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.category-section-unique .category-name-unique {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}
.category-section-unique .category-icon-unique {
    font-size: 2.5rem;
}
@media (min-width: 992px) {
    .category-section-unique .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (max-width: 767px) {
    .category-section-unique .col-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}