/**
 * Shop Page Styles
 */

/* Page Header */
.page-header-shop {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(6, 182, 212, 0.8)),
        url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Shop Section */
.shop {
    background: var(--bg-primary);
}

.shop-empty {
    text-align: center;
    padding: 80px 20px;
}

.shop-empty i {
    font-size: 5rem;
    color: var(--primary-400);
    margin-bottom: 25px;
    opacity: 0.6;
}

.shop-empty h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.shop-empty p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.product-count {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.out-of-stock {
    background: var(--error);
    color: white;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-400);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-400);
}

.product-footer .btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image {
        height: 160px;
    }

    .product-content {
        padding: 15px;
    }

    .product-content h3 {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.125rem;
    }

    .product-footer {
        flex-direction: column;
        gap: 10px;
    }

    .product-footer .btn-sm {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 200px;
    }
}