/* Gallery Layout */
        .gallery-wrapper {
            display: flex;
            flex-wrap: wrap;
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            padding-top: 10rem; /* extra space at the top */
        }

        
        .gallery-filters {
            flex: 0 0 300px;
            padding-right: 2rem;
        }
        
        .filter-section {
            margin-bottom: 2rem;
            padding-top: 0.5rem; /* extra space at the top */

        }
        
        .gallery-content {
            flex: 1;
            min-width: 0;
        }
        
        /* Filter Styles */
        .filter-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #4E0008;
            border-bottom: 1px solid #ddd;
            padding-bottom: 0.5rem;
        }
        
        .filter-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .filter-item {
            margin-bottom: 0.3rem;
        }
        
        .filter-link {
            display: block;
            padding: 0.5rem;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.2s;
        }
        
        .filter-link:hover, .filter-link.active {
            background-color: #f0f0f0;
            color: #4E0008;
        }
        
        .filter-link.active {
            font-weight: 600;
        }
        
        .view-all {
            margin-top: 1rem;
            font-weight: 600;
        }
        
        .subcategory-list {
            display: block !important; /* force all subcategory lists open */
            padding-left: 1rem;
            margin-top: 0.5rem;
        }
        
        .subcategory-item {
            margin-bottom: 0.2rem;
        }
        
        /* Gallery Grid Styles */
        .gallery-title {
            text-align: center;
            margin-bottom: 2rem;
            color: #4E0008;
            font-size: 2.5rem;
            font-weight: 600;
        }
        
        .current-filter {
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            color: #666;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .product-image-container {
            height: 300px;
            overflow: hidden;
            position: relative;
        }
        
        .product-image {
            width: 100%;
            height: 100%;
            object-fit: scale-down;
            transition: transform 0.5s ease;
        }
        
        .product-card:hover .product-image {
            transform: scale(1.05);
        }
        
        .product-details {
            padding: 1.5rem;
        }
        
        .product-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #333;
        }
        
        .product-artist {
            color: #666;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .product-meta {
            color: #888;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
        }
        
        .view-details-btn {
            display: inline-block;
            margin-top: 1rem;
            padding: 0.5rem 1rem;
            background-color: #5a3921;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }
        
        .view-details-btn:hover {
            background-color: #7a5a3a;
            color: white;
        }
        
        /* Modal Styles */
        .modal-image {
            max-height: 70vh;
            width: auto;
            max-width: 100%;
            margin: 0 auto;
            display: block;
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 25px;
            }
        }
        
        @media (max-width: 768px) {
            .gallery-wrapper {
                flex-direction: column;
            }
            
            .gallery-filters {
                flex: 0 0 auto;
                padding-right: 0;
                margin-bottom: 2rem;
            }
            
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 20px;
            }
            
            .product-image-container {
                height: 250px;
            }
        }
        
       