/* Shop Page Specific Styles */
.shop-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://shop.prabhenterprises.in/image/cache/catalog/demo/banners/Oct25Banner-1140x380.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 80px;
    margin-bottom: 30px;
}

.shop-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), #00ffaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.search-box {
    max-width: 600px;
    margin: 0 auto 3rem;
    display: flex;
    background: var(--gray);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-box .form-control {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--light);
}

.search-box .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 1.5rem;
    box-shadow: none;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.error-alert {
    background: rgba(255, 68, 68, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff4444;
    grid-column: 1 / -1;
}

.no-products {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #aaa;
    grid-column: 1 / -1;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-card {
    background: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2);
}

.product-img-container {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 15px;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.product-info p {
    color: #aaa;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-special {
    color: #ff4444;
    text-decoration: line-through;
    font-size: 0.9em;
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .shop-hero {
        height: 30vh;
        margin-top: 70px;
    }
    
    .shop-hero h1 {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .shop-hero h1 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-box .btn {
        border-radius: 0 0 10px 10px;
        width: 100%;
    }
}