﻿
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #6c757d;
}

.empty-icon {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 42px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}


.product-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    background: #ffffff;
    position: relative;
    border: 1px solid #f1f1f1;
    z-index: 1;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
        border-color: rgba(13,110,253,0.25);
    }

/* --------------------------
   Image Section
--------------------------- */

.product-img {
    height: 200px;
    background: linear-gradient(135deg, #f7f8fb, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .product-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

.product-card:hover .product-img img {
    transform: scale(1.08);
}

/* Safe overlay (won’t block click) */
.product-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,110,253,0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* IMPORTANT */
    z-index: 1;
}

.product-card:hover .product-img::after {
    opacity: 1;
}

/* --------------------------
   Product Text
--------------------------- */

.product-name {
    font-size: 15px;
    color: #222;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #0d6efd;
}

/* --------------------------
   Explore Button
--------------------------- */

.btn-shop {
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 5; /* IMPORTANT */
}

/* Hover Effect */
.product-card:hover .btn-shop {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 8px 25px rgba(13,110,253,0.25);
}

/* Ripple Click Effect */
.btn-shop:active {
    transform: scale(0.97);
}

/* --------------------------
   Responsive
--------------------------- */

@media (max-width: 576px) {
    .product-img {
        height: 170px;
    }
}
