 :root {
            --primary: #1e40af;
            --primary-light: #3b82f6;
            --secondary: #fbbf24;
            --secondary-light: #fcd34d;
            --success: #10b981;
            --error: #ef4444;
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-400: #94a3b8;
            --gray-500: #64748b;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-800: #1e293b;
            --white: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #f8fafc;
            color: var(--gray-700);
            line-height: 1.6;
            padding-top: 56px;
        }

        /* Mobile first - reduced header height */
        @media (min-width: 641px) {
            body {
                padding-top: 112px;
            }
        }

        /* ===== HEADER ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--white);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .header-primary {
            max-width: 100%;
            padding: 12px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            border-bottom: 1px solid var(--gray-200);
            height: 56px;
        }

        .header-start {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .menu-toggle {
            background: none;
            border: none;
            font-size: 1.25rem;
            cursor: pointer;
            color: var(--gray-700);
            padding: 8px;
            margin-left: -8px;
            display: flex;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            color: var(--primary);
            font-weight: 700;
            font-size: 1rem;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .logo img {
            height: 28px;
            width: 28px;
        }

        .logo span {
            display: none;
        }

        @media (min-width: 641px) {
            .logo span {
                display: inline;
            }
        }

        /* Search box - collapsed on mobile, expands on tablet+ */
        .search-box {
            flex: 1;
            max-width: 100%;
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .search-input {
            flex: 1;
            padding: 8px 12px;
            border: 2px solid var(--gray-200);
            border-radius: 8px;
            font-size: 0.85rem;
            transition: all 0.2s;
            background: var(--white);
            min-width: 0;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
        }

        .search-btn {
            padding: 8px 12px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
            white-space: nowrap;
            font-size: 0.85rem;
            display: none;
        }

        @media (min-width: 641px) {
            .search-btn {
                display: inline-block;
            }
        }

        .search-btn:hover {
            background: var(--primary-light);
        }

        /* Mobile-first header actions layout */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .icon-btn {
            width: 36px;
            height: 36px;
            border: none;
            background: var(--gray-100);
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            transition: all 0.2s;
            position: relative;
            color: #FFD700;
            flex-shrink: 0;
        }

        .icon-btn:hover {
            background: var(--gray-200);
        }

        .icon-btn .badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--error);
            color: var(--white);
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 700;
        }

        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            cursor: pointer;
            overflow: hidden;
            flex-shrink: 0;
            font-size: 0.85rem;
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Secondary Navigation */
        .header-secondary {
            max-width: 100%;
            padding: 0;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            border-bottom: 1px solid var(--gray-200);
            height: 56px;
            display: block; /* Changed from none to block for mobile compatibility */
        }

        @media (min-width: 641px) {
            .header-secondary {
                display: block;
            }
        }

        .nav-items {
            display: flex;
            align-items: center;
            gap: 0;
            height: 56px;
            padding: 0 12px;
            white-space: nowrap;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 12px 12px;
            text-decoration: none;
            color: var(--gray-600);
            font-weight: 500;
            font-size: 0.85rem;
            transition: all 0.2s;
            white-space: nowrap;
            flex-shrink: 0;
            border-radius: 6px;
        }

        .nav-link:hover {
            background: var(--gray-100);
            color: var(--primary);
        }

        .nav-link i {
            font-size: 0.95rem;
        }

        /* Secondary Nav Mobile Styling */
        .nav-separator {
            width: 2px;
            height: 30px;
            background: var(--gray-200);
            margin: 0 8px;
        }
    
        .mobile-profile, .mobile-login {
            display: none;
        }
    
        .profile-mini {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            overflow: hidden;
            flex-shrink: 0;
        }
    
        .profile-mini img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        /* Mobile nav profile/login only show on mobile */
        @media (max-width: 640px) {
            .mobile-profile, .mobile-login {
                display: flex;
                align-items: center;
                gap: 8px;
            }
        }

        /* Search Offcanvas (right side for history) */
        .search-offcanvas {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 320px;
            height: 100vh;
            background: var(--white);
            z-index: 999;
            transition: right 0.3s ease;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding-top: 60px;
        }

        .search-offcanvas.active {
            right: 0;
        }

        .search-offcanvas-header {
            padding: 16px;
            border-bottom: 1px solid var(--gray-200);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .search-offcanvas-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--gray-800);
        }

        .search-offcanvas-close {
            background: none;
            border: none;
            font-size: 1.25rem;
            cursor: pointer;
            color: var(--gray-600);
            padding: 0;
        }

        .search-offcanvas-body {
            padding: 16px;
        }

        .search-history-item {
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            color: var(--gray-600);
            font-size: 0.9rem;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .search-history-item:hover {
            background: var(--gray-100);
            color: var(--primary);
        }

        .search-history-item i {
            font-size: 0.8rem;
            color: var(--gray-400);
        }

        .clear-search-history {
            padding: 12px 16px;
            border-top: 1px solid var(--gray-200);
            margin-top: 16px;
            background: var(--gray-50);
            border-radius: 8px;
            cursor: pointer;
            color: var(--gray-600);
            font-size: 0.9rem;
            text-align: center;
            transition: all 0.2s;
        }

        .clear-search-history:hover {
            background: var(--gray-200);
            color: var(--gray-800);
        }

        /* Filters Offcanvas */
        .offcanvas {
            position: fixed;
            top: 0;
            left: -100%;
            width: 100%;
            max-width: 340px;
            height: 100vh;
            background: var(--white);
            z-index: 999;
            transition: left 0.3s ease;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding-top: 60px;
        }

        .offcanvas.active {
            left: 0;
        }

        .offcanvas-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .offcanvas-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .offcanvas-header {
            padding: 16px;
            border-bottom: 1px solid var(--gray-200);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .offcanvas-title {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--gray-800);
        }

        .offcanvas-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray-600);
        }

        .offcanvas-body {
            padding: 16px;
        }

        .filter-section {
            margin-bottom: 24px;
        }

        .filter-title {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--gray-800);
            margin-bottom: 12px;
            display: block;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .filter-select, .filter-input {
            width: 100%;
            padding: 10px 12px;
            border: 2px solid var(--gray-200);
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.2s;
            background: var(--white);
            font-family: inherit;
        }

        .filter-select:focus, .filter-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
        }

        .filter-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            cursor: pointer;
        }

        .filter-checkbox input {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .filter-checkbox label {
            cursor: pointer;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .filter-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 16px;
            border-top: 1px solid var(--gray-200);
            position: sticky;
            bottom: 0;
            background: var(--white);
        }

        .btn-apply, .btn-clear {
            width: 100%;
            padding: 12px 16px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.95rem;
        }

        .btn-apply {
            background: var(--primary);
            color: var(--white);
        }

        .btn-apply:hover {
            background: var(--primary-light);
        }

        .btn-clear {
            background: var(--gray-200);
            color: var(--gray-700);
        }

        .btn-clear:hover {
            background: var(--gray-300);
        }

        /* Login Modal */
        .login-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-modal.active {
            display: flex;
        }

        .login-modal-content {
            background: var(--white);
            border-radius: 16px;
            padding: 32px 24px;
            max-width: 420px;
            width: 100%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .login-modal-icon {
            font-size: 3rem;
            color: var(--secondary);
            margin-bottom: 16px;
        }

        .login-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gray-800);
            margin-bottom: 12px;
        }

        .login-modal-desc {
            font-size: 0.95rem;
            color: var(--gray-600);
            margin-bottom: 28px;
            line-height: 1.5;
        }

        .login-modal-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .btn-login-modal, .btn-no-thanks {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.2s;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-login-modal {
            background: var(--primary);
            color: var(--white);
        }

        .btn-login-modal:hover {
            background: var(--primary-light);
        }

        .btn-no-thanks {
            background: var(--gray-100);
            color: var(--gray-700);
        }

        .btn-no-thanks:hover {
            background: var(--gray-200);
        }

        /* Hero Section - New */
        .hero-section {
            position: relative;
            width: 100%;
            height: 100px;
            margin-top: 0;
            overflow: hidden;
        }

        .hero-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .category-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: min(130px, 100vw);
            max-height: 130px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            padding: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(8px);
            overflow-y: auto;
        }

        .category-scroll {
            display: flex;
            flex-direction: column;
            gap: 6px;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .category-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            background: var(--white);
            color: var(--primary);
            font-size: 0.95rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .category-btn:hover {
            background: var(--primary);
            color: var(--white);
            transform: scale(1.1);
        }

        .category-divider {
            width: 24px;
            height: 1px;
            background: var(--gray-300);
            margin: 4px 0;
        }

        /* Desktop styles - wider layout */
        @media (min-width: 768px) {
            .hero-section {
                height: 200px;
            }

            .category-container {
                width: 600px;
                max-height: none;
                padding: 16px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            .category-scroll {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 12px;
                justify-content: center;
            }

            .category-btn {
                width: 50px;
                height: 50px;
                font-size: 1.1rem;
            }

            .category-divider {
                width: 100%;
                height: 1px;
                margin: 8px 0;
            }
        }

        @media (max-width: 767px) {
            .container {
                padding: 0 12px;
            }
        }

        @media (min-width: 768px) {
            .container {
                max-width: 1000px;
                margin: 0 auto;
            }
        }

        /* Certified Shops Section - new styling with subscriber count */
        .certified-section {
            margin: 24px 0;
        }

        .section-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--gray-800);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        @media (min-width: 641px) {
            .section-title {
                font-size: 1.3rem;
            }
        }

        .shops-carousel {
            display: grid;
            grid-auto-flow: column;
            gap: 12px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 8px 0;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }

        .shops-carousel::-webkit-scrollbar {
            height: 6px;
        }

        .shops-carousel::-webkit-scrollbar-track {
            background: var(--gray-100);
            border-radius: 3px;
        }

        .shops-carousel::-webkit-scrollbar-thumb {
            background: var(--gray-300);
            border-radius: 3px;
        }

       /* Certified Shops Section - NOUVEAU STYLE COMPACT ET RECTANGULAIRE */

/* Section Principale */
.certified-section {
    /* Marge réduite et padding pour mobile */
    margin: 20px 0;
    padding: 0 10px; 
}

/* Titre de la section */
.section-title {
    font-size: 1.1rem; /* Taille réduite */
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px; /* Marge réduite */
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 641px) {
    .section-title {
        font-size: 1.2rem;
    }
}

/* Conteneur de Carrousel (inchangé, gère le défilement horizontal) */
.shops-carousel {
    display: flex; /* Utiliser flex pour plus de flexibilité dans le layout carrousel */
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Cache les scrollbars sur certains navigateurs si souhaité, mais elles sont stylées plus bas */
}

.shops-carousel::-webkit-scrollbar {
    height: 6px;
}
.shops-carousel::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}
.shops-carousel::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

/* Nouvelle Carte de Boutique (shop-card) - RECTANGULAIRE, COMPACTE, LOGO A GAUCHE */
.shop-card {
    /* La carte elle-même est maintenant un conteneur FLEX en LIGNE */
    display: flex;
    align-items: center; /* Aligne le logo et les infos au centre verticalement */
    gap: 10px; /* Espace entre le logo et les informations */
    
    padding: 8px 12px; /* Padding réduit pour compacité */
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px; /* Rayon un peu plus prononcé */
    
    cursor: pointer;
    transition: all 0.2s;
    
    min-width: 200px; /* Taille minimale suffisante pour les infos */
    max-width: 280px; /* Taille maximale pour rester compact */
    height: auto; /* Hauteur ajustée automatiquement */
    
    text-align: left;
    scroll-snap-align: start;
    flex-shrink: 0;
    text-decoration: none; /* Enlève le soulignement du lien */
}

.shop-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Structure de l'entête (non utilisé pour le logo/info, mais peut contenir le nom/badge) */
.shop-card-header {
    /* Cette classe n'est plus nécessaire dans cette structure LOGO-GAUCHE/INFO-DROITE,
       car la carte parent (.shop-card) gère le flex.
       Nous allons l'utiliser pour regrouper le nom et le badge à droite. */
    display: flex;
    flex-direction: column; /* Nom au-dessus du badge (ou sur la même ligne si pas assez d'espace) */
    align-items: flex-start;
    flex-grow: 1; /* Prend l'espace restant après le logo */
}

/* LOGO (Image à gauche) */
.shop-logo {
    width: 40px; /* Taille légèrement augmentée pour être plus visible */
    height: 40px;
    border-radius: 8px; /* Reste rectangulaire avec un léger rayon (ne pas mettre 50% pour un style rectangulaire) */
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0; /* Assure qu'il ne se contracte pas */
}

.shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteneur pour le nom et le badge (À droite du logo) */
.shop-info-top {
    /* Devient le conteneur principal à droite du logo */
    flex: 1; 
    min-width: 0; 
    /* Nous allons y intégrer les stats pour une structure plus simple */
}

.shop-name {
    font-weight: 700;
    font-size: 0.85rem; /* Taille légèrement augmentée pour la lisibilité */
    color: var(--gray-800);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 2px;
}

.certification-badge {
    /* Le badge reste petit et compact */
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 4px;
    background: var(--secondary-light);
    color: var(--primary-dark);
    border-radius: 4px;
    font-size: 0.6rem; 
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.3;
}

/* Statistiques (Abonnés et Note) - Placé SOUS le nom/badge */
.shop-stats {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Espace réduit */
    margin-top: 4px; /* Marge au-dessus des stats */
    padding-top: 0; /* Supprime la bordure supérieure pour un look plus épuré */
    border-top: none; 
}

.shop-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem; /* Très petit pour la compacité */
    color: var(--gray-600);
    line-height: 1.3;
}

.shop-stat i {
    font-size: 0.6rem; 
    color: var(--primary); /* Couleur d'icône plus visible */
}
        /* Products Grid */
        .products-section {
            margin: 24px 0;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 12px;
            margin: 20px 0;
        }

        @media (min-width: 480px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
                gap: 12px;
            }
        }

        @media (min-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
                gap: 14px;
            }
        }

        @media (min-width: 1024px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 16px;
            }
        }

        .product-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
        }

        .product-card:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            transform: translateY(-4px);
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1;
            background: var(--gray-100);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-info {
            padding: 10px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-header {
            display: flex;
            align-items: flex-start;
            gap: 6px;
            margin-bottom: 8px;
        }

        .shop-mini {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--gray-100);
            overflow: hidden;
            flex-shrink: 0;
        }

        .shop-mini img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-shop-info {
            flex: 1;
            min-width: 0;
        }

        .shop-name-small {
            font-weight: 600;
            font-size: 0.8rem;
            color: var(--gray-700);
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

        .certification-small {
            display: inline-block;
            padding: 2px 4px;
            background: var(--secondary-light);
            color: #92400e;
            border-radius: 3px;
            font-size: 0.6rem;
            font-weight: 700;
            margin-top: 2px;
        }

        /* Product name truncation with ellipsis */
        .product-name {
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--gray-800);
            margin-bottom: 6px;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            word-break: break-word;
        }

        .product-price {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 6px;
        }

        .product-country {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            padding: 3px 6px;
            background: var(--gray-100);
            border-radius: 4px;
            font-size: 0.7rem;
            color: var(--gray-600);
        }

        .load-more-btn {
            display: block;
            margin: 32px auto;
            padding: 12px 28px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .load-more-btn:hover {
            background: var(--primary-light);
        }

        .load-more-btn:disabled {
            background: var(--gray-300);
            cursor: not-allowed;
        }

        .load-more-btn.loading {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .no-products {
            text-align: center;
            padding: 60px 20px;
            color: var(--gray-500);
        }

        /* New Modals */
        .modal-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex; /* Show when active */
        }

        .construction-modal {
            position: relative;
            background: var(--white);
            border-radius: 16px;
            padding: 0;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }
    
        .modal-header {
            height: 80px;
            background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .modal-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 10;
            transition: all 0.2s;
        }
    
        .modal-close:hover {
            background: var(--white);
        }
    
        .modal-body {
            padding: 32px 24px;
            text-align: center;
        }
    
        .construction-icon {
            font-size: 3.5rem;
            color: #f59e0b;
            margin-bottom: 16px;
        }
    
        .modal-body h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 12px;
        }
    
        .modal-body p {
            color: var(--gray-600);
            line-height: 1.5;
            margin-bottom: 24px;
            font-size: 0.95rem;
        }
    
        .modal-btn-close {
            padding: 12px 24px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
    
        .modal-btn-close:hover {
            background: var(--primary-light);
        }
