.shop-content {
    margin-top: 80px;
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.page-title {
    text-align: center;
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.shop-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #374151;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: white;
    min-width: 150px;
}

.search-bar {
    flex: 1;
    max-width: 300px;
    margin: 0 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #fbbf24, #92400e);
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1e3a8a;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-badge.featured {
    background: #dc2626;
}

.product-badge.new {
    background: #059669;
}

.stock-indicator {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.stock-indicator.in-stock {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.stock-indicator.low-stock {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.stock-indicator.out-of-stock {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-game {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #1e3a8a;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price-range {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-quick-add {
    flex: 1;
    padding: 0.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}

.btn-quick-add:hover {
    background: #2563eb;
}

.btn-view {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #1e3a8a;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button:hover {
    background: #f3f4f6;
}

.pagination button.active {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.no-products h3 {
    margin-bottom: 1rem;
    color: #374151;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #1e3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Quick Add Modal */
.quick-add-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.quick-add-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.quick-add-product {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-add-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.quick-add-info h3 {
    margin-bottom: 0.5rem;
    color: #374151;
}

.quick-add-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.quick-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.size-options,
.painting-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.option-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.option-btn.active {
    border-color: #1e3a8a;
    background-color: #1e3a8a;
    color: white;
}

.quantity-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #f8fafc;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.quick-add-actions {
    display: flex;
    gap: 1rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.75rem;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cancel:hover {
    background: #4b5563;
}

.btn-add-to-cart {
    flex: 2;
    padding: 0.75rem;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-to-cart:hover {
    background: #1e40af;
}

@media (max-width: 768px) {
    .shop-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .search-bar {
        margin: 0;
        max-width: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .quick-add-product {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-add-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
}