/* Premium Product Cards - Consistent Style */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e8eaed;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(196, 30, 58, 0.2);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: #fafbfc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: #e8eaed;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-image::after {
    content: '📷';
    position: absolute;
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.product-image.no-image::before,
.product-image.no-image::after {
    opacity: 1;
}

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

.product-image img[src*="logo.png"],
.product-image img[src*="resimler/logo.png"] {
    opacity: 0;
}

.product-image:has(img[src*="logo.png"])::before,
.product-image:has(img[src*="logo.png"])::after,
.product-image:has(img[src*="resimler/logo.png"])::before,
.product-image:has(img[src*="resimler/logo.png"])::after {
    opacity: 1;
}

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

.product-content {
    padding: 24px;
}

.product-brand {
    font-size: 0.813rem;
    color: #C41E3A;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1.063rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f1f3f5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #C41E3A;
}

.product-stock {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-stock.in-stock {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.product-stock.out-of-stock {
    background: rgba(255, 56, 56, 0.1);
    color: #ff3838;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 260px;
    }
}
