.inner-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* center image */
    background: #f8f8f8;
    overflow: hidden;
}

/* Image */
.sp-product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile Fix */
@media (max-width: 576px) {

    /* Card spacing */
    .sp-pro-box-2 {
        padding: 5px;

    }

    /* Image height thodi kam */
    .inner-img {
        height: 300px;
        padding: 10px;
    }

    /* Title */
    .sp-pro-title a {
        font-size: 19px;
    }

    /* Price */
    .new-price {
        font-size: 16px;
    }

    .old-price {
        font-size: 13px;
    }

    /* Buttons stack properly */
    .d-flex.align-items-center.justify-content-between {
        flex-direction: row;
        gap: 8px;
    }

    /* Wishlist */
    .wishlist-btn {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    /* Cart button */
    .cart-btn {
        height: 36px;
        font-size: 13px;
        padding: 6px 10px;
    }
}

/* Extra safety (agar parent se aa raha ho) */
.sp-pro-img {
    border-radius: 0 !important;
}

.sp-price {
    width: 100%;
    text-align: center;
}

.inner-price {
    width: 100%;
    justify-content: center !important;
    text-align: center;
}

/* Card spacing */
.sp-pro-details {
    background: #fff;
}

/* Title */
.sp-pro-title a {
    font-size: 16px;
}

/* Wishlist Button */
.wishlist-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: #555;
}

.wishlist-btn:hover {
    background: #ff4d4d;
    color: #fff;
    border-color: #ff4d4d;
}

/* Add to Cart Button */
.cart-btn {
    height: 32px;
    border-radius: 25px;
    background: linear-gradient(135deg, #0d6efd, #2563eb);
    color: #fff;
    border: none;
    font-weight: 500;
    transition: 0.3s;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Mobile Fix */
@media (max-width: 576px) {
    .sp-pro-details {
        padding: 12px;
    }

    .cart-btn {
        font-size: 14px;
    }
}