/* Shop Page Specific Styles */
.logo a {
    text-decoration: none;
    color: #D97706;
}

.shop-hero {
    background: linear-gradient(135deg, #F3EDE4 0%, #E5D5C8 100%);
    padding: 4rem 0;
    text-align: center;
}

.shop-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.shop-hero p {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.shop-content {
    padding: 3rem 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Filters Sidebar */
.filters-sidebar {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D97706;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-item:hover {
    color: #D97706;
}

.filter-item input {
    margin-right: 0.75rem;
    accent-color: #D97706;
}

.filter-item span {
    font-size: 0.95rem;
    color: #374151;
}

.price-filter {
    margin-bottom: 2rem;
}

#priceRange {
    width: 100%;
    margin-bottom: 0.75rem;
    accent-color: #D97706;
}

.price-display {
    font-weight: 500;
    color: #111827;
    text-align: center;
}

.sort-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background-color: white;
    color: #111827;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #D97706;
}

/* Products Main */
.products-main {
    flex: 1;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.shop-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #111827;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #E5E7EB;
    background: white;
    color: #6B7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.view-btn.active,
.view-btn:hover {
    border-color: #D97706;
    color: #D97706;
    background-color: #FEF3E2;
}

/* Products Grid */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.shop-products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.shop-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.shop-product-card.list-view {
    display: flex;
    align-items: center;
}

.shop-product-card.list-view .product-image {
    width: 200px;
    flex-shrink: 0;
}

.shop-product-card.list-view .shop-product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
}

.shop-product-card.list-view .product-details {
    flex-grow: 1;
}

.product-image {
    position: relative;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #047857;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-badge.sale {
    background-color: #DC2626;
}

.shop-product-info {
    padding: 1.5rem;
}

.product-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-category {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D97706;
    margin-bottom: 1rem;
}

.original-price {
    font-size: 1rem;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #F59E0B;
}

.rating-count {
    font-size: 0.9rem;
    color: #6B7280;
}

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

.shop-quick-view-btn,
.shop-add-cart-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.shop-quick-view-btn {
    background-color: transparent;
    color: #047857;
    border: 2px solid #047857;
}

.shop-quick-view-btn:hover {
    background-color: #047857;
    color: white;
}

.shop-add-cart-btn {
    background-color: #D97706;
    color: white;
}

.shop-add-cart-btn:hover {
    background-color: #B45309;
}

/* Modal Styles for Shop */
.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D97706;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid #D97706;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design for Shop */
@media (max-width: 968px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filters-sidebar {
        position: static;
        order: 2;
    }
    
    .products-main {
        order: 1;
    }
    
    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .shop-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 668px) {
    .shop-hero h1 {
        font-size: 2.2rem;
    }
    
    .shop-hero p {
        font-size: 1rem;
    }
    
    .shop-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .filters-sidebar {
        padding: 1.5rem;
    }
    
    .shop-product-card.list-view {
        flex-direction: column;
    }
    
    .shop-product-card.list-view .product-image {
        width: 100%;
    }
    
    .shop-product-card.list-view .shop-product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .shop-content {
        padding: 2rem 0;
    }
    
    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .view-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .view-btn {
        flex: 1;
    }
}