/* Shop-specific styles */

.shop-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f5f1 0%, #e8ddd4 100%);
    text-align: center;
}

.shop-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.shop-content {
    padding: 60px 0;
}

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

/* Shop Filters */
.shop-filters {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    position: sticky;
    top: 100px;
}

.shop-filters h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group h4 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #d4834f;
}

.clear-filters {
    width: 100%;
    margin-top: 1rem;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.results-count {
    font-weight: 600;
    color: #2c3e50;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    background: white;
    color: #333;
    font-size: 0.9rem;
}

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

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

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

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

.shop-product-card .product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d4834f;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: #27ae60;
}

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

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1rem 0;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d4834f;
    font-family: 'Playfair Display', serif;
}

.price-per-unit {
    font-size: 0.9rem;
    color: #666;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: #d4834f;
    color: #d4834f;
}

.qty-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
    border-color: #d4834f;
}

.add-to-cart {
    width: 100%;
    margin-top: 1rem;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    color: #d4834f;
}

.cart-icon i {
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #d4834f;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

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

.cart-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #d4834f;
}

.cart-items {
    flex: 1;
    padding: 1rem 2rem;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #666;
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #d4834f;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-item-quantity .qty-btn {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
}

.cart-item-quantity .qty-input {
    width: 40px;
    height: 25px;
    font-size: 0.8rem;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #c0392b;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.cart-total {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #2c3e50;
}

.checkout-btn {
    width: 100%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Coming Soon Notice */
.coming-soon-notice {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.notice-content i {
    font-size: 1.5rem;
    color: #ecf0f1;
}

.notice-content h3 {
    margin: 0;
    font-size: 1.1rem;
}

.notice-content p {
    margin: 0;
    font-size: 0.9rem;
}

.notice-content a {
    color: #ecf0f1;
    text-decoration: underline;
}

.notice-content a:hover {
    color: white;
}

/* Responsive Design for Shop */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .shop-filters {
        position: static;
        margin-bottom: 2rem;
    }
    
    .cart-sidebar {
        width: 350px;
        right: -350px;
    }
}

@media (max-width: 768px) {
    .shop-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .shop-products .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .shop-filters {
        padding: 1.5rem;
    }
    
    .filter-group {
        margin-bottom: 1.5rem;
    }
    
    .coming-soon-notice {
        position: static;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .cart-icon {
        order: -1;
        margin-left: 0;
        margin-right: 1rem;
    }
}

@media (max-width: 480px) {
    .shop-header {
        padding: 100px 0 40px;
    }
    
    .shop-header h1 {
        font-size: 2rem;
    }
    
    .shop-content {
        padding: 40px 0;
    }
    
    .cart-sidebar .cart-header,
    .cart-sidebar .cart-items,
    .cart-sidebar .cart-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
