/* Shop Page Specific Styles */

/* Shop Hero */
.shop-hero {
    padding: 8rem 0 3rem;
    background: var(--bg-light);
    text-align: center;
}

.shop-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.shop-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Filter Bar */
.filter-bar {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 60px;
    background: white;
    z-index: 100;
}

.filter-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-family: inherit;
}

/* Shop Main */
.shop-main {
    padding: 3rem 0 5rem;
    min-height: 60vh;
}

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

/* Enhanced Product Card */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-info {
    padding: 1.5rem;
    background: white;
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.product-colors {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    border-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: var(--bg-light);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    background: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Loading State */
.products-loading {
    text-align: center;
    padding: 3rem;
}

.products-loading .loading {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

/* Empty State */
.products-empty {
    text-align: center;
    padding: 3rem;
}

.products-empty h3 {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-hero {
        padding: 6rem 0 2rem;
    }
    
    .shop-hero h1 {
        font-size: 2rem;
    }
    
    .filter-bar .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}