        :root {
            --deep-forest: #1F3D2D;
            --cream: #F7F4EF;
            --warm-taupe: #8C7261;
            --gold-accent: #C9A24A;
            --charcoal: #111111;
            --soft-shadow: rgba(17,17,17,0.08);
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--charcoal);
            line-height: 1.6;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            letter-spacing: 0.02em;
        }
        
        .glass-panel {
            background: rgba(247, 244, 239, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            box-shadow: 0 10px 30px var(--soft-shadow);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #C9A24A 0%, #D4B563 100%);
            border-radius: 9999px;
            box-shadow: inset 0 2px 4px rgba(255, 215, 0, 0.3);
            transition: var(--transition);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: inset  0 2px 4px rgba(255, 215, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            border: 1px solid var(--gold-accent);
            border-radius: 9999px;
            background: transparent;
            transition: var(--transition);
        }
        
        .btn-secondary:hover {
            background: var(--cream);
        }
        
        .card-hover {
            transition: var(--transition);
        }
        
        .card-hover:hover {
            transform: translateY(-5px) rotate(1deg); /* add rotate(1deg) */
            box-shadow: 0 15px 35px var(--soft-shadow);
        }
        
        .sticky-header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        padding-top: 1rem !important; /* Force initial padding */
        padding-bottom: 1rem !important; /* Force initial padding */
        box-sizing: border-box !important; /* THIS IS THE KEY - makes padding part of height calculation */
        /* TRANSITION IS NOW HANDLED BY THE FIX BELOW */
        }

        /* --- Smooth Header Shrink Fix --- */
        .sticky-header {
            transition: all 0.3s ease !important; /* Force transition on all properties */
        }

        .sticky-header .logo img {
            transition: all 0.3s ease; /* Smooth transition for the logo */
            height: 3rem; /* Default height */
        }

        .sticky-header .flex.items-center.space-x-4 svg {
            transition: all 0.3s ease; /* Smooth transition for the icons */
            height: 1.25rem; /* h-5 equivalent */
            width: 1.25rem;
        }

        /* Styles for the SHRUNK state */
        header.sticky-header.header-is-shrunk {
            padding: 0.5rem 0 !important;
            background: rgba(247, 244, 239, 0.95) !important;
            backdrop-filter: blur(10px) !important;
            box-shadow: 0 2px 10px var(--soft-shadow) !important;
            /* ADD THIS LINE TO FIX THE VERTICAL ALIGNMENT */
            align-items: center !important;
        }

        /* Shrink the logo and icons when header is shrunk */
        header.sticky-header.header-is-shrunk .logo img {
            height: 2.5rem; /* Slightly smaller logo */
        }

        header.sticky-header.header-is-shrunk .flex.items-center.space-x-4 svg {
            height: 1.1rem; /* Slightly smaller icons */
            width: 1.1rem;
        }
        
        .sticky-filters {
            position: sticky;
            top: 100px;
            align-self: flex-start;
        }
        
        /* Ripple effect */
        .ripple {
            position: relative;
            overflow: hidden;
            transform: translate3d(0, 0, 0); /* fixed typo */
        }
        
        .ripple:after {
            content: "";
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
            background-repeat: no-repeat;
            background-position: 50%;
            transform: scale(10, 10);
            opacity: 0;
            transition: transform .5s, opacity 1s;
        }
        
        .ripple:active:after {
            transform: scale(0, 0);
            opacity: .3;
            transition: 0s;
        }
        
        /* Toast notification */
        .toast-notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--deep-forest);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 10000;
        }
        
        .toast-show {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* Custom checkbox */
        .custom-checkbox {
            position: absolute;
            opacity: 0;
        }
        
        .custom-checkbox + label {
            position: relative;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
        }
        
        .custom-checkbox + label:before {
            content: '';
            margin-right: 10px;
            display: inline-block;
            vertical-align: text-top;
            width: 18px;
            height: 18px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 3px;
        }
        
        .custom-checkbox:checked + label:before {
            background: var(--gold-accent);
            border-color: var(--gold-accent);
        }
        
        .custom-checkbox:checked + label:after {
            content: '';
            position: absolute;
            left: 5px;
            top: 9px;
            background: white;
            width: 2px;
            height: 2px;
            box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
            transform: rotate(45deg);
        }
        
        /* Range slider */
        .range-slider {
            -webkit-appearance: none;
            appearance: none;  
            width: 100%;
            height: 5px;
            border-radius: 5px;
            background: #d3d3d3;
            outline: none;
        }
        
        .range-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;  
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--gold-accent);
            cursor: pointer;
        }
        
        .range-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--gold-accent);
            cursor: pointer;
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }
        
        .pagination-item {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            margin: 0 4px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .pagination-item:hover {
            background: var(--cream);
        }
        
        .pagination-item.active {
            background: var(--gold-accent);
            color: white;
        }

        .wishlist-btn,
            .wishlist-icon {
                display: none !important;
            }

            /* List View Styles */
            .list-view {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
            }

            .list-view .glass-panel {
                display: flex;
                flex-direction: row;
                align-items: center;
                padding: 1.5rem;
            }

            .list-view .glass-panel > div:first-child {
                flex: 0 0 200px;
                margin-right: 1.5rem;
                margin-bottom: 0;
            }

            .list-view .glass-panel img {
                height: 120px;
                width: 200px;
                object-fit: cover;
            }

            /* Active state for view buttons */
            #grid-view-btn.active,
            #list-view-btn.active {
                color: #C9A24A; /* gold-accent color */
            }

            /* Simple clamp helpers for Tailwind CDN */
            .line-clamp-2,
            .line-clamp-3 {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            }
            .line-clamp-2 { 
                -webkit-line-clamp: 2; 
                line-clamp: 2;
            }
            .line-clamp-3 { 
                -webkit-line-clamp: 3;
                line-clamp: 3;
            }
            
            @keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
