/* Product Grid Styles - Modern & Cool Edition */

.product-item-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* Removed border to be cleaner, using deep shadow */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-item-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.product-img-area {
    height: 280px;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
    /* Subtle radial gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.product-img-area::after {
    /* Glass shine effect */
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg);
    transition: 0.5s;
    opacity: 0;
}

.product-item-card:hover .product-img-area::after {
    left: 120%;
    opacity: 1;
    transition: 0.7s;
}

.product-img-area img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.product-item-card:hover .product-img-area img {
    transform: scale(1.15) translateY(-5px);
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    z-index: 2;
}

.product-item-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.product-item-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.product-btn {
    margin-top: auto;
    background: #f8fafc;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-btn i {
    margin-left: 8px;
    transition: 0.3s;
}

.product-item-card:hover .product-btn {
    background: var(--secondary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(11, 17, 33, 0.3);
}

.product-item-card:hover .product-btn i {
    transform: translateX(5px);
}

/* Badge styling */
.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    /* Moved to left for better balance with right-aligned actions usually */
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(214, 0, 110, 0.4);
    z-index: 5;
    letter-spacing: 1px;
}