
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Premium Color Palette */
            --primary-color: #2C3E50;        /* Deep Navy - Sophisticated & Trustworthy */
            --primary-light: #34495E;        /* Lighter Navy */
            --accent-color: #D4AF37;         /* Gold - Premium & Luxury */
            --accent-hover: #C19B2E;         /* Darker Gold */
            --secondary-color: #1A1A1A;      /* Rich Black */
            --text-primary: #2C3E50;         /* Dark Navy for headings */
            --text-secondary: #5A6C7D;       /* Muted Blue-Gray for body */
            --text-light: #8B9DAD;           /* Light Gray-Blue for subtle text */
            --background-light: #F8F9FA;     /* Off-White */
            --background-cream: #FFF9F0;     /* Warm Cream */
            --border-color: #E8ECEF;         /* Soft Gray */
            --border-dark: #D1D8DD;          /* Darker Gray */
            --success-color: #27AE60;        /* Professional Green */
            --error-color: #E74C3C;          /* Refined Red */
            --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.06);
            --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.08);
            --shadow-lg: 0 8px 32px rgba(44, 62, 80, 0.12);
            --shadow-xl: 0 16px 48px rgba(44, 62, 80, 0.15);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Font fallback definitions to prevent layout shift */
        @font-face {
            font-family: 'Poppins Fallback';
            src: local('Arial');
            size-adjust: 105%;
            ascent-override: 105%;
            descent-override: 35%;
            line-gap-override: 10%;
        }

        @font-face {
            font-family: 'Cormorant Fallback';
            src: local('Georgia');
            size-adjust: 100%;
            ascent-override: 95%;
            descent-override: 30%;
            line-gap-override: 0%;
        }

        body {
            font-family: 'Poppins', 'Poppins Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 16px;
            font-weight: 400;
            background: #FFFFFF;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
            color: var(--text-primary);
            font-weight: 600;
            line-height: 1.3;
            letter-spacing: -0.02em;
        }

        /* Offer Banner */
        .offer-banner {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
            color: white;
            text-align: center;
            padding: 14px 20px;
            font-weight: 500;
            font-size: 15px;
            letter-spacing: 0.3px;
            box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
        }

        /* Main Header */
        .main-header {
            padding: 18px 20px;
            border-bottom: 1px solid var(--border-color);
            background: white;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .mobile-menu-toggle {
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            display: none;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            transition: var(--transition-smooth);
            border-radius: 8px;
        }

        .mobile-menu-toggle:hover {
            background: var(--background-light);
            color: var(--accent-color);
        }

        .mobile-menu-toggle svg {
            width: 24px;
            height: 24px;
        }

        /* Show hamburger on mobile only */
        @media (max-width: 768px) {
            .mobile-menu-toggle {
                display: flex;
            }

            .header-container {
                display: grid;
                grid-template-columns: auto 1fr auto;
            }

            .logo {
                justify-self: center;
            }
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: var(--transition-smooth);
            position: relative;
        }

        .logo-img {
            height: 100px;
            width: auto;
            display: block;
            transition: var(--transition-smooth);
        }

        .logo:hover .logo-img {
            transform: scale(1.05);
            filter: brightness(1.1);
        }

        /* Responsive logo sizes */
        @media (max-width: 768px) {
            .logo-img {
                height: 84px;
            }
        }

        .search-bar {
            display: none;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* Sidebar Menu */
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-smooth);
        }

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

        .sidebar-menu {
            position: fixed;
            top: 0;
            left: -320px;
            width: 320px;
            height: 100%;
            background: white;
            z-index: 999;
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-xl);
            overflow-y: auto;
        }

        .sidebar-menu.active {
            left: 0;
        }

        .sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px;
            border-bottom: 1px solid var(--border-color);
            background: linear-gradient(135deg, var(--background-cream) 0%, var(--background-light) 100%);
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .sidebar-logo-img {
            height: 90px;
            width: auto;
            display: block;
        }

        .sidebar-close {
            background: none;
            border: none;
            font-size: 32px;
            color: var(--text-secondary);
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition-smooth);
        }

        .sidebar-close:hover {
            background: var(--background-light);
            color: var(--accent-color);
        }

        .sidebar-content {
            padding: 20px 0;
        }

        .sidebar-content a {
            display: block;
            padding: 16px 24px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            transition: var(--transition-smooth);
            position: relative;
        }

        .sidebar-content a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background: var(--accent-color);
            transform: scaleY(0);
            transition: var(--transition-smooth);
        }

        .sidebar-content a:hover {
            background: var(--background-cream);
            color: var(--text-primary);
            padding-left: 28px;
        }

        .sidebar-content a:hover::before {
            transform: scaleY(1);
        }

        /* Desktop Navigation Menu */
        .desktop-nav {
            display: block;
            background: white;
            border-bottom: 1px solid var(--border-color);
            padding: 0;
        }

        .desktop-nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            padding: 16px 20px;
        }

        .desktop-nav-container a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            letter-spacing: 0.3px;
            transition: var(--transition-smooth);
            position: relative;
            padding: 8px 0;
        }

        .desktop-nav-container a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            transition: width 0.3s ease;
        }

        .desktop-nav-container a:hover {
            color: var(--text-primary);
        }

        .desktop-nav-container a:hover::after {
            width: 100%;
        }

        /* Hide desktop nav on mobile */
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
        }

        .country-selector, .cart-icon, .account-icon {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }

        .cart-icon {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
        }

        /* Navigation Categories */
        .categories-nav {
            background: white;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .categories-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 35px;
            flex-wrap: wrap;
        }

        .categories-container a {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 15px;
            letter-spacing: 0.01em;
            transition: var(--transition-smooth);
            position: relative;
            padding: 4px 0;
        }

        .categories-container a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            transition: width 0.3s ease;
        }

        .categories-container a:hover,
        .categories-container a.active {
            color: var(--text-primary);
        }

        .categories-container a:hover::before,
        .categories-container a.active::before {
            width: 100%;
        }

        /* Offer Banner */
        .offer-banner {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
            color: white;
            text-align: center;
            padding: 14px 20px;
            font-weight: 500;
            font-size: 15px;
            letter-spacing: 0.3px;
            box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
        }

        /* Language Switcher Dropdown */
        .lang-dropdown {
            position: relative;
            display: inline-block;
        }

        .lang-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 8px;
            margin-top: 5px;
        }

        .lang-content a {
            color: var(--text-color);
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .lang-content a:hover {
            background-color: var(--light-gray);
        }

        .lang-dropdown:hover .lang-content {
            display: block;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }

        /* Breadcrumb */
        .breadcrumb {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            font-size: 14px;
        }

        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .breadcrumb span {
            color: #999;
            margin: 0 8px;
        }

        /* Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Page Header */
        .page-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .page-header h1 {
            font-size: 42px;
            margin-bottom: 15px;
            color: var(--secondary-color);
        }

        .page-header p {
            font-size: 18px;
            color: #666;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Collection Header */
        .collection-header {
            margin-bottom: 30px;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        }

        .collection-header-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            align-items: center;
            padding: 30px;
        }

        .collection-text {
            text-align: left;
            max-width: 600px;
        }

        .collection-badge {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 12px;
            letter-spacing: 0.3px;
        }

        .collection-header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--secondary-color);
            line-height: 1.2;
        }

        .collection-header-description {
            font-size: 15px;
            line-height: 1.75;
            color: #666;
            margin-bottom: 10px;
            word-wrap: break-word;
            overflow-wrap: break-word;
            transition: max-height 0.3s ease;
            max-width: 640px;
        }

        .collection-header-description.collapsed {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .collection-header-description.expanded {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .see-more-btn {
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            margin-bottom: 10px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: opacity 0.3s;
        }

        .see-more-btn:hover {
            opacity: 0.7;
            text-decoration: underline;
        }

        .see-more-btn.hidden {
            display: none;
        }

        .collection-stats {
            display: flex;
            gap: 20px;
            align-items: center;
            margin-top: 15px;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--primary-color);
            font-weight: 600;
        }

        .stat-icon {
            font-size: 20px;
        }

        .collection-image-wrapper {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }

        .collection-header-image {
            width: 100%;
            height: 280px;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .collection-image-wrapper:hover .collection-header-image {
            transform: scale(1.05);
        }

        .collection-image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
            padding: 15px;
            color: white;
            font-size: 13px;
            font-weight: 500;
        }

        /* Search & Filter Bar */
        .filter-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            gap: 20px;
            flex-wrap: wrap;
        }

        .search-container {
            flex: 1;
            max-width: 400px;
            position: relative;
            display: flex;
            align-items: center;
        }

        .search-container .search-icon {
            position: absolute;
            left: 12px;
            pointer-events: none;
            color: #999;
            font-size: 1.1rem;
            z-index: 1;
        }

        .filter-bar input {
            width: 100%;
            padding: 10px 40px 10px 40px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .filter-bar input:focus {
            outline: none;
            border-color: #ff6b6b;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
        }

        .clear-search {
            position: absolute;
            right: 8px;
            width: 28px;
            height: 28px;
            border: none;
            background: #f5f5f5;
            color: #666;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.5rem;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            padding: 0;
            z-index: 1;
        }

        .clear-search:hover {
            background: #ff6b6b;
            color: white;
        }

        .filter-bar select {
            padding: 10px 15px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: border-color 0.2s ease;
        }

        .filter-bar select:focus {
            outline: none;
            border-color: #ff6b6b;
        }

        .results-count {
            color: #666;
            font-size: 14px;
        }

        /* Autocomplete dropdown (Atlas Search-powered) */
        .search-suggestions {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            right: 0;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: var(--shadow-md);
            max-height: 360px;
            overflow-y: auto;
            z-index: 50;
            list-style: none;
            margin: 0;
            padding: 6px 0;
            display: none;
        }
        .search-suggestions.is-open {
            display: block;
        }
        .search-suggestion {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 14px;
            cursor: pointer;
            transition: background 0.15s ease;
        }
        .search-suggestion:hover,
        .search-suggestion.is-active {
            background: var(--background-light);
        }
        .search-suggestion img {
            width: 38px;
            height: 38px;
            border-radius: 6px;
            object-fit: cover;
            flex: 0 0 38px;
            background: var(--background-light);
        }
        .search-suggestion .ss-text {
            display: flex;
            flex-direction: column;
            min-width: 0;
            flex: 1;
        }
        .search-suggestion .ss-title {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-primary);
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .search-suggestion .ss-price {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 2px;
        }

        /* Active format filter chip */
        .format-filter-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #FFF8E1;
            border: 1px solid #D4AF37;
            color: #2C3E50;
            padding: 8px 8px 8px 14px;
            border-radius: 999px;
            font-size: 14px;
            margin: 0 0 16px 0;
        }
        .format-filter-chip strong { font-weight: 700; }
        .format-filter-chip .fmt-chip-clear {
            background: #2C3E50;
            color: #fff;
            border: 0;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            font-size: 16px;
            line-height: 1;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* Collections Grid */
        .collections-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .collection-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition-smooth);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
            border: 1px solid var(--border-color);
        }

        .collection-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
            border-color: var(--accent-color);
        }

        .collection-image {
            width: 100%;
            height: auto;
            display: block;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
            transition: var(--transition-smooth);
        }

        .collection-card:hover .collection-image {
            transform: scale(1.05);
        }

        .collection-info {
            padding: 20px 24px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: linear-gradient(135deg, white 0%, var(--background-light) 100%);
        }

        .collection-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
            letter-spacing: -0.01em;
        }

        .collection-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-light);
            font-weight: 500;
        }

        .collection-type {
            padding: 6px 14px;
            background: var(--background-cream);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Products Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
            min-height: 800px; /* Reserve space to prevent CLS */
        }

        .product-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition-smooth);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border-color);
        }
        
        /* Skeleton Loader for Products */
        .product-skeleton {
            background: linear-gradient(
                90deg,
                #f0f0f0 25%,
                #e0e0e0 50%,
                #f0f0f0 75%
            );
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 16px;
            min-height: 400px;
            aspect-ratio: 443 / 600;
        }
        
        @keyframes skeleton-loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
            border-color: var(--accent-color);
        }

        .product-image {
            width: 100%;
            height: auto;
            display: block;
            background: var(--background-light);
            transition: var(--transition-smooth);
        }

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

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

        .product-format-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(6px);
            color: #2C3E50;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            padding: 5px 10px;
            border-radius: 999px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
            line-height: 1;
        }

        .product-discount-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #D4AF37;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.04em;
            padding: 5px 10px;
            border-radius: 999px;
            line-height: 1;
        }

        .product-price-row {
            display: flex;
            align-items: baseline;
            gap: 6px;
            flex-wrap: wrap;
        }
        .product-price-from {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .product-info {
            padding: 22px;
            background: linear-gradient(135deg, white 0%, var(--background-light) 100%);
        }

        .product-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
            letter-spacing: -0.01em;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.3;
        }

        .product-price {
            font-size: 26px;
            font-weight: 700;
            color: var(--accent-color);
            margin-bottom: 8px;
            font-family: 'Poppins', sans-serif;
        }

        .product-price-compare {
            font-size: 16px;
            color: var(--text-light);
            text-decoration: line-through;
            margin-left: 10px;
            font-weight: 500;
        }

        .product-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .product-tag {
            padding: 4px 10px;
            background: var(--light-gray);
            border-radius: 12px;
            font-size: 12px;
            color: #666;
        }

        /* Back Button */
        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: white;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: all 0.3s;
            margin-bottom: 30px;
        }

        .back-button:hover {
            background: var(--light-gray);
            border-color: var(--primary-color);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;
        }

        .pagination button {
            padding: 10px 18px;
            border: 1px solid var(--border-color);
            background: white;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }

        .pagination button:hover:not(:disabled) {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .pagination button.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 60px 20px;
            font-size: 18px;
            color: #999;
        }

        .spinner {
            border: 4px solid var(--light-gray);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

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

        /* Search fallback banner */
        .search-fallback-banner {
            display: none;
            background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
            border: 1px solid #ffe082;
            border-radius: 12px;
            padding: 14px 20px;
            margin-bottom: 20px;
            font-size: 0.95rem;
            color: #6d4c00;
            line-height: 1.5;
        }
        .search-fallback-banner strong {
            color: #4a3200;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            color: #999;
        }

        .empty-state h3 {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--text-color);
        }

        .empty-state p {
            font-size: 16px;
        }

        .empty-state-icon {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

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

        .collection-header {
            animation: fadeIn 0.5s ease-out;
        }

        .product-card,
        .collection-card {
            animation: fadeIn 0.5s ease-out;
        }

        /* Footer */
        .footer {
            background: var(--light-gray);
            padding: 60px 20px 20px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h4 {
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section ul li a {
            text-decoration: none;
            color: var(--text-color);
            transition: color 0.3s;
        }

        .footer-section ul li a:hover {
            color: var(--primary-color);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            color: #666;
            font-size: 14px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--secondary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: background 0.3s;
        }

        .social-icon:hover {
            background: var(--primary-color);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 32px;
            }

            .collection-header h1 {
                font-size: 26px;
            }

            .collection-header-description {
                font-size: 14px;
                line-height: 1.5;
            }

            .see-more-btn {
                font-size: 12px;
            }

            .collection-header-content {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 20px;
            }

            .collection-text {
                text-align: center;
                max-width: 100%;
            }

            .see-more-btn {
                margin: 0 auto;
            }

            .collection-stats {
                justify-content: center;
                gap: 15px;
                margin-top: 12px;
            }

            .collection-header-image {
                height: 220px;
            }

            .collection-badge {
                font-size: 11px;
                padding: 4px 12px;
                margin-bottom: 10px;
            }

            .stat-item {
                font-size: 13px;
            }

            .stat-icon {
                font-size: 18px;
            }

            .collections-grid,
            .products-grid {
                grid-template-columns: 1fr;
            }

            .header-container {
                flex-direction: column;
                align-items: stretch;
            }

            .logo {
                font-size: 24px;
            }

            .search-bar {
                max-width: 100%;
            }

            .categories-container {
                gap: 15px;
                font-size: 14px;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .categories-nav {
                display: none;
            }

            .categories-nav.active {
                display: block;
            }

            .filter-bar {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-bar input {
                max-width: 100%;
            }

            .top-header {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .logo-img {
                height: 70px;
            }

            /* Container Improvements */
            .container {
                padding: 15px;
            }

            /* Page Header */
            .page-header h1 {
                font-size: 26px;
                line-height: 1.3;
                padding: 0 10px;
            }

            .page-header p {
                font-size: 14px;
                padding: 0 10px;
            }

            /* Collection Header */
            .collection-header {
                margin-bottom: 20px;
                border-radius: 12px;
                overflow: hidden;
            }

            .collection-header h1 {
                font-size: 22px;
                margin-bottom: 10px;
                line-height: 1.3;
            }

            .collection-header-description {
                font-size: 13px;
                line-height: 1.6;
                margin-bottom: 10px;
            }

            .see-more-btn {
                font-size: 11px;
                padding: 6px 14px;
                min-height: 32px;
            }

            .collection-header-content {
                padding: 20px 15px;
                gap: 15px;
            }

            .collection-stats {
                flex-direction: column;
                gap: 10px;
                margin-top: 10px;
                align-items: flex-start;
            }

            .collection-badge {
                font-size: 10px;
                padding: 5px 12px;
                margin-bottom: 8px;
            }

            .stat-item {
                font-size: 13px;
                padding: 8px 0;
            }

            .stat-icon {
                font-size: 18px;
                margin-right: 6px;
            }

            .collection-header-image {
                height: 200px;
                object-fit: cover;
            }

            .collection-image-overlay {
                padding: 15px;
                font-size: 13px;
            }

            /* Collections Grid - Mobile Optimized */
            .collections-grid {
                gap: 20px;
                padding: 0 5px;
            }

            .collection-card {
                border-radius: 12px;
            }

            .collection-info {
                padding: 16px 15px;
            }

            .collection-title {
                font-size: 20px;
                margin-bottom: 6px;
            }

            .collection-meta {
                font-size: 12px;
            }

            /* Products Grid - Mobile Optimized */
            .products-grid {
                gap: 20px;
                padding: 0 5px;
                min-height: 600px;
            }

            .product-card {
                border-radius: 12px;
            }

            .product-info {
                padding: 18px 15px;
            }

            .product-title {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .product-price {
                font-size: 22px;
            }

            /* Filter Bar - Mobile Friendly */
            .filter-bar {
                gap: 12px;
                padding: 15px;
                flex-wrap: wrap;
            }

            .filter-bar input,
            .filter-bar select {
                font-size: 14px;
                padding: 10px 15px;
                min-height: 44px;
            }

            /* Search Bar */
            .search-bar {
                padding: 10px 15px;
                font-size: 14px;
                min-height: 44px;
            }

            /* Loading States */
            .loading {
                padding: 40px 20px;
                font-size: 14px;
            }

            .spinner {
                width: 40px;
                height: 40px;
                border-width: 4px;
            }

            /* Empty States */
            .empty-state {
                padding: 40px 20px;
            }

            .empty-state-icon {
                font-size: 60px;
                margin-bottom: 15px;
            }

            .empty-state h3 {
                font-size: 20px;
                margin-bottom: 10px;
            }

            .empty-state p {
                font-size: 14px;
            }

            /* Footer */
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
                padding: 30px 15px;
            }

            .footer-section h4 {
                font-size: 16px;
                margin-bottom: 15px;
            }

            .footer-section a,
            .footer-section p {
                font-size: 14px;
                padding: 8px 0;
            }

            /* Touch-Friendly Elements */
            button, a.button, .clickable {
                min-height: 44px;
                min-width: 44px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            /* Prevent Horizontal Overflow */
            body, html {
                overflow-x: hidden;
            }

            .container, .page-content {
                overflow-x: hidden;
                max-width: 100%;
            }
        }

        /* Extra Small Mobile (iPhone SE, etc.) */
        @media (max-width: 375px) {
            .container {
                padding: 10px;
            }

            .page-header h1 {
                font-size: 24px;
            }

            .collection-header h1 {
                font-size: 20px;
            }

            .collections-grid,
            .products-grid {
                gap: 15px;
            }

            .collection-title {
                font-size: 18px;
            }

            .product-title {
                font-size: 15px;
            }

            .filter-bar {
                padding: 12px;
            }
        }

        .hidden {
            display: none;
        }

        /* Collapsible SEO intro on collections page */
        .seo-collapsible {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }
        .seo-collapsible > .seo-collapsible-inner {
            overflow: hidden;
            min-height: 0;
        }
        .seo-collapsible.expanded {
            grid-template-rows: 1fr;
        }
        /* Fade-out gradient at the bottom while collapsed */
        .seo-collapsible:not(.expanded)::after {
            content: '';
            position: absolute;
            left: 0; right: 0; bottom: 0;
            height: 0;
            pointer-events: none;
        }
        .seo-collapsible-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 6px;
            padding: 8px 14px;
            background: transparent;
            color: #2C3E50;
            border: 1px solid #E8ECEF;
            border-radius: 999px;
            font: 600 13px 'Poppins', sans-serif;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .seo-collapsible-toggle:hover {
            background: #F8F9FA;
            border-color: #D4AF37;
            color: #D4AF37;
        }
        .seo-collapsible-toggle .seo-toggle-less { display: none; }
        .seo-collapsible-toggle[aria-expanded="true"] .seo-toggle-more { display: none; }
        .seo-collapsible-toggle[aria-expanded="true"] .seo-toggle-less { display: inline; }
        .seo-collapsible-toggle[aria-expanded="true"] .seo-toggle-chevron { transform: rotate(180deg); }
        .seo-toggle-chevron { transition: transform 0.25s ease; }

        /* Artwork Library Floating Button (FAB) — hidden by default; revealed only when
           the user actually has >1 artwork in their gallery. */
        .artwork-library-fab {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-color) 0%, #B8860B 100%);
            border: none;
            box-shadow: 0 4px 20px rgba(184, 134, 11, 0.4);
            cursor: pointer;
            z-index: 999;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: white;
        }
        .artwork-library-fab.is-visible { display: flex; }

        .artwork-library-fab svg {
            width: 28px;
            height: 28px;
        }

        .artwork-library-fab:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 6px 25px rgba(184, 134, 11, 0.5);
        }

        .artwork-library-fab:active {
            transform: translateY(-1px) scale(1.02);
        }

        .fab-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #e53e3e;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            border: 2px solid white;
            font-family: 'Poppins', sans-serif;
        }

        .fab-badge:empty {
            display: none;
        }

        .artwork-library-fab-label {
            position: fixed;
            bottom: 44px;
            right: 104px;
            background: white;
            color: var(--text-primary, #2C3E50);
            font-size: 13px;
            font-weight: 600;
            padding: 8px 14px;
            border-radius: 20px;
            box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
            border: 1px solid var(--border-color, #E8ECEF);
            z-index: 998;
            white-space: nowrap;
            pointer-events: none;
            display: none;
            animation: fabLabelPulse 2s ease-in-out infinite;
        }

        .artwork-library-fab-label::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -6px;
            transform: translateY(-50%) rotate(45deg);
            width: 10px;
            height: 10px;
            background: white;
            border-right: 1px solid var(--border-color, #E8ECEF);
            border-top: 1px solid var(--border-color, #E8ECEF);
        }

        @keyframes fabLabelPulse {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        @media (max-width: 768px) {
            .artwork-library-fab {
                width: 56px;
                height: 56px;
                bottom: 20px;
                right: 20px;
            }

            .artwork-library-fab svg {
                width: 24px;
                height: 24px;
            }

            .artwork-library-fab-label {
                display: none !important;
            }

            .fab-badge {
                width: 22px;
                height: 22px;
                font-size: 11px;
            }
        }
    