/* static/css/shop.css */

/* Shop Page Styles */
.shop-container {
    background: linear-gradient(135deg, #87CEEB 0%, #E0F6FF 50%, #FFFFFF 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.shop-title-box {
    background: linear-gradient(135deg, #4682B4, #87CEEB);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.shop-title-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shop-title-box h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.notification-card {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    margin: 20px 0;
}

.filter-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(135, 206, 235, 0.2);
}

.custom-select {
    border: 2px solid #87CEEB;
    border-radius: 10px;
    padding: 10px;
    background: white;
    color: #4682B4;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-select:focus {
    outline: none;
    border-color: #4682B4;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(135, 206, 235, 0.2);
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(135, 206, 235, 0.4);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.label-new {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.label-sale {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
}

.label-sold-out {
    background: linear-gradient(135deg, #757575, #9E9E9E);
    color: white;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.9), rgba(70, 130, 180, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.cart-button {
    background: linear-gradient(135deg, #4682B4, #87CEEB);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(70, 130, 180, 0.3);
}

.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(70, 130, 180, 0.5);
    color: white;
}

.cart-button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4682B4;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 5px;
}

.product-stock {
    font-size: 0.9rem;
    color: #666;
    background: rgba(135, 206, 235, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    display: inline-block;
}

.view-cart-section {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    padding: 40px 0;
    margin-top: 40px;
    border-radius: 20px 20px 0 0;
}

.view-cart-btn {
    background: white;
    color: #4682B4;
    border: 3px solid white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.view-cart-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-title-box h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image-container {
        height: 200px;
    }
}
