/* Modern Product Card Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(200, 16, 46, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.3);
}

.featured-badge i {
    font-size: 0.75rem;
}

/* Quick actions removed as requested */

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.product-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #f0f4f8;
    color: #456;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s ease;
    height: 2rem;
    margin-bottom: 0.5rem;
}

.product-category i {
    font-size: 0.75rem;
    color: #678;
}

.product-card:hover .product-category {
    background-color: #e6eef5;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #222;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #C8102E;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.product-stock {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 1.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 0.5rem;
}

.product-stock i {
    font-size: 0.9rem;
}

.in-stock {
    color: #2e7d32;
}

.low-stock {
    color: #ff9800;
}

.out-of-stock {
    color: #d32f2f;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #C8102E;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    text-align: center;
    position: relative;
}

.product-price span {
    display: inline-block;
    vertical-align: middle !important;
}

.currency {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4rem;
    margin-right: 2px;
}

.original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}

.btn-animated {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-animated:hover::before {
    left: 100%;
}

.btn-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    
    .product-price {
        font-size: 1.2rem;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100%;
    }
    
    .product-price span {
        vertical-align: middle !important;
    }
    
    .currency {
        font-size: 1rem;
        margin-right: 2px;
    }
    
    .product-category {
        max-width: 100%;
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Quick actions styles removed as requested */
    
    .featured-badge {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}