/* === Page: marketplace — extracted from inline <style> blocks === */

/* --- block 1 --- */
:root {
            --royal-blue: #1E5BFF;
            --deep-blue: #081B3A;
            --soft-blue: #F2F6FF;
            --champagne-gold: #D6B25E;
            --gold-light: #E7D6A3;
            --gold-pale: #F4EDD8;
            --cream: #FAF7F0;
            --white: #FFFFFF;
            --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;
            --gray-900: #0F172A;
            --shadow-soft: 0 4px 24px rgba(13, 27, 46, 0.10);
            --shadow-card: 0 8px 40px rgba(13, 27, 46, 0.14);
            --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
            --shadow-hover: 0 12px 48px rgba(30, 91, 255, 0.20);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-2xl: 32px;
            --radius-full: 9999px;
            --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Inter', sans-serif;
        
    /* V3 COLOR OVERRIDE */
    --royal-blue: #091C3B;--royal-blue-dark: #101E30;--royal-blue-light: #677495;
    --deep-blue: #091C3B;--champagne-gold: #C9A84C;--gold-light: #E8D5A3;
    --gold-dark: #9A7A2E;--cream: #FDFAF4;--text-dark: #1C1917;--text-gray: #6B6459;
}
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--font-body); color: var(--gray-800); background: var(--gray-50); line-height: 1.6; overflow-x: hidden; }
        
        /* NAVIGATION */
        .nav{
    position:fixed;top:0;left:0;right:0;z-index:1000;
    background:rgba(13,27,46,0.92);
    backdrop-filter:saturate(180%) blur(24px);
    -webkit-backdrop-filter:saturate(180%) blur(24px);
    border-bottom:1px solid rgba(201,168,76,0.2);
    padding:0 40px;height:72px;
    display:flex;align-items:center;justify-content:space-between;
    transition:all 0.3s;
  }
  .nav-logo{display:flex;align-items:center;gap:12px}
  .nav-logo-img{height:44px;width:auto;object-fit:contain}
  .nav-links{display:flex;align-items:center;gap:32px;list-style:none;padding:0;margin:0;}
  .nav-links a{
    color:rgba(255,255,255,0.8);font-size:14px;font-weight:500;
    letter-spacing:0.04em;text-transform:uppercase;
    transition:color 0.2s;position:relative;text-decoration:none;
  }
  .nav-links a::after{
    content:'';position:absolute;bottom:-4px;left:0;right:0;
    height:1px;background:#C9A84C;transform:scaleX(0);transition:transform 0.2s;
  }
  .nav-links a:hover{color:#D6B25E}
  .nav-links a:hover::after{transform:scaleX(1)}
  .nav-links a.active{color:#C9A84C}
  .nav-actions{display:flex;align-items:center;gap:20px}
  .nav-btn-outline{
    padding:9px 22px;border:1.5px solid rgba(201,168,76,0.6);
    border-radius:50px;color:rgba(201,168,76,0.9);
    font-size:13px;font-weight:600;letter-spacing:0.04em;
    transition:all 0.2s;cursor:pointer;text-decoration:none;
  }
  .nav-btn-outline:hover{border-color:#D6B25E;color:#fff;background:rgba(214,178,94,0.12)}
  .nav-btn-fill{
    padding:10px 24px;
    background:linear-gradient(135deg,#C9A84C,#D6B25E);
    border-radius:50px;color:#0D1B2E;
    font-size:13px;font-weight:700;letter-spacing:0.04em;
    transition:all 0.2s;cursor:pointer;text-decoration:none;
    box-shadow:0 4px 20px rgba(214,178,94,0.30);
  }
  .nav-btn-fill:hover{transform:translateY(-1px);box-shadow:0 8px 28px rgba(214,178,94,0.45)}
  @media(max-width:900px){.nav{padding:0 16px}.nav-links{display:none}.nav-actions{gap:10px}}
        .hero { position: relative; min-height: 50vh; background: linear-gradient(135deg, var(--deep-blue) 0%, #0D1F3C 50%, var(--deep-blue) 100%); display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
        .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 30%, rgba(30, 91, 255, 0.15), transparent 40%), radial-gradient(circle at 80% 70%, rgba(214, 178, 94, 0.08), transparent 40%); }
        .hero-container { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem; position: relative; z-index: 2; width: 100%; }
        .hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
        .hero-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; color: var(--white); margin-bottom: 1rem; line-height: 1.2; }
        .hero-title .gold-text { background: linear-gradient(135deg, var(--champagne-gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-subtitle { font-size: 1.15rem; color: var(--gray-300); margin-bottom: 2.5rem; }
        
        /* Recherche avancée */
        .search-advanced { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-xl); padding: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
        .search-field { display: flex; flex-direction: column; gap: 0.5rem; }
        .search-label { color: var(--gray-300); font-size: 0.85rem; font-weight: 600; }
        .search-input, .search-select { padding: 0.875rem 1rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-md); color: var(--white); font-size: 0.95rem; font-family: var(--font-body); transition: var(--transition-base); }
        .search-input::placeholder { color: var(--gray-400); }
        .search-input:focus, .search-select:focus { outline: none; background: rgba(255, 255, 255, 0.12); border-color: var(--champagne-gold); box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.15); }
        .search-select option { background: var(--deep-blue); color: var(--white); }
        .search-btn { grid-column: 1 / -1; padding: 1rem 2rem; background: linear-gradient(135deg, var(--champagne-gold), var(--gold-light)); color: var(--deep-blue); border: none; border-radius: var(--radius-md); font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition-base); box-shadow: var(--shadow-gold); }
        .search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35); }
        
        /* MAIN CONTENT */
        .main-content { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem; display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
        
        /* SIDEBAR FILTRES */
        .sidebar { position: sticky; top: 100px; background: var(--white); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-card); }
        .sidebar-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--deep-blue); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
        .filter-reset { font-size: 0.85rem; color: var(--royal-blue); cursor: pointer; font-weight: 600; }
        .filter-reset:hover { text-decoration: underline; }
        .filter-group { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
        .filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
        .filter-group-title { font-weight: 700; color: var(--gray-800); margin-bottom: 1rem; font-size: 0.95rem; }
        .filter-options { display: flex; flex-direction: column; gap: 0.75rem; }
        .filter-option { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
        .filter-checkbox { width: 18px; height: 18px; border: 2px solid var(--gray-300); border-radius: 4px; cursor: pointer; transition: var(--transition-base); }
        .filter-checkbox.checked { background: var(--royal-blue); border-color: var(--royal-blue); position: relative; }
        .filter-checkbox.checked::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--white); font-size: 12px; font-weight: bold; }
        .filter-label { font-size: 0.9rem; color: var(--gray-700); flex: 1; }
        .filter-count { font-size: 0.85rem; color: var(--gray-500); }
        
        /* SECTION RÉSULTATS */
        .results-section { min-height: 800px; }
        .results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
        .results-count { font-size: 1.25rem; font-weight: 600; color: var(--gray-800); }
        .results-count .gold { color: var(--champagne-gold); }
        .results-sort { display: flex; align-items: center; gap: 1rem; }
        .sort-label { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }
        .sort-select { padding: 0.65rem 2.5rem 0.65rem 1rem; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-md); color: var(--gray-800); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: var(--transition-base); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 9L1 4h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
        .sort-select:focus { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 4px rgba(30, 91, 255, 0.1); }
        
        /* Grille packs */
        .packs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 2rem; }
        
        /* Card pack style prestataire */
        .pack-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition-base); cursor: pointer; position: relative; }
        .pack-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
        .pack-image { position: relative; width: 100%; height: 240px; overflow: hidden; }
        .pack-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-base); }
        .pack-card:hover .pack-image img { transform: scale(1.05); }
        
        /* Badge réduction */
        .discount-badge { position: absolute; top: 1rem; left: 1rem; padding: 0.5rem 1rem; background: linear-gradient(135deg, var(--champagne-gold), var(--gold-light)); border-radius: var(--radius-full); color: var(--deep-blue); font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-gold); z-index: 2; }
        
        /* Badge vérifié */
        .verified-badge { position: absolute; top: 1rem; right: 1rem; padding: 0.35rem 0.75rem; background: rgba(30, 91, 255, 0.95); backdrop-filter: blur(10px); border-radius: var(--radius-full); color: var(--white); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.35rem; z-index: 2; }
        
        /* Prix */
        .price-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(8, 27, 58, 0.95), transparent); display: flex; justify-content: space-between; align-items: flex-end; }
        .price-info { }
        .original-price { text-decoration: line-through; color: var(--gray-400); font-size: 0.9rem; margin-bottom: 0.25rem; }
        .pack-price { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--white); }
        .price-label { color: var(--gray-300); font-size: 0.85rem; }
        
        /* Contenu card */
        .pack-content { padding: 1.5rem; }
        .pack-header { margin-bottom: 1rem; }
        .pack-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--deep-blue); margin-bottom: 0.5rem; line-height: 1.3; }
        .pack-category { color: var(--gray-600); font-size: 0.9rem; font-weight: 500; }
        
        .pack-location { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1rem; }
        
        /* Prestataires du pack */
        .pack-providers { margin-bottom: 1rem; }
        .pack-providers-title { font-weight: 700; font-size: 0.85rem; color: var(--gray-700); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
        .provider-avatar-group { display: flex; margin-bottom: 0.75rem; }
        .provider-avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--white); margin-left: -8px; background: var(--soft-blue); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--royal-blue); font-size: 0.85rem; }
        .provider-avatar:first-child { margin-left: 0; }
        .provider-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
        .provider-names { color: var(--gray-600); font-size: 0.85rem; line-height: 1.5; }
        
        .pack-stats { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gray-200); margin-bottom: 1rem; }
        .pack-stat { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-600); font-size: 0.85rem; }
        .pack-stat i { color: var(--royal-blue); }
        
        .pack-rating { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; background: var(--soft-blue); border-radius: var(--radius-md); font-weight: 700; color: var(--deep-blue); font-size: 0.9rem; }
        .pack-rating .star { color: var(--champagne-gold); }
        
        /* FOOTER */
        .footer { background: #0D1B2E; color: var(--white); padding: 4rem 0 2rem; }
        .footer-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
        .footer-col h4 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--gold-light); }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
        .footer-link { color: var(--gray-300); text-decoration: none; transition: var(--transition-base); }
        .footer-link:hover { color: var(--champagne-gold); transform: translateX(4px); }
        .social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
        .social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition-base); text-decoration: none; }
        .social-link:hover { background: var(--champagne-gold); color: var(--deep-blue); transform: translateY(-4px); }
        .footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: var(--gray-400); font-size: 0.9rem; }
        
        /* RESPONSIVE */
        @media (max-width: 1024px) { .main-content { grid-template-columns: 1fr; } .sidebar { position: static; } }
        @media (max-width: 968px) { .nav-menu, .nav-cta { display: none; } .mobile-menu-toggle { display: block; } .search-advanced { grid-template-columns: 1fr; } .packs-grid { grid-template-columns: 1fr; } .results-header { flex-direction: column; align-items: stretch; } }
        @media (max-width: 640px) { .hero-title { font-size: 2rem; } }
        
        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in { animation: fadeIn 0.6s ease-out forwards; }
    
  
  /* ========== MARKETPLACE SECTION ========== */
  .marketplace-section {
    padding: 80px 24px 100px;
    background: #F8FAFC;
    min-height: 60vh;
  }
  .marketplace-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .marketplace-section-header {
    text-align: center;
    margin-bottom: 48px;
  }
  .marketplace-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #081B3A;
    margin-bottom: 12px;
  }
  .marketplace-section-header h2 .gold { color: #C9A84C; }
  .marketplace-section-header p {
    color: #64748B;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .marketplace-search-bar {
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
  }
  .marketplace-search-bar input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 1.5px solid #E2E8F0;
    border-radius: 50px;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s;
    color: #1E293B;
  }
  .marketplace-search-bar input:focus {
    outline: none;
    border-color: #C9A84C;
    box-shadow: 0 0 0 4px rgba(201,168,76,0.12);
  }
  .marketplace-search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #C9A84C;
    font-size: 16px;
  }
  .marketplace-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
  .marketplace-filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }
  .marketplace-filter-btn:hover, .marketplace-filter-btn.active {
    border-color: #C9A84C;
    color: #C9A84C;
    background: rgba(201,168,76,0.06);
  }
  .marketplace-sort {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
  }
  .marketplace-sort select {
    padding: 8px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    background: #fff;
    cursor: pointer;
  }
  .marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
  }
  @media(max-width: 360px) {
    .marketplace-grid { grid-template-columns: 1fr; }
  }
  .offer-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(13,27,46,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }
  .offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13,27,46,0.14);
  }
  .offer-card-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #081B3A 0%, #1E5BFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .offer-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .offer-card-cover .cover-icon {
    font-size: 48px;
    color: rgba(255,255,255,0.3);
  }
  .offer-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .offer-card-badge.service { background: #1E5BFF; color: #fff; }
  .offer-card-badge.product { background: #C9A84C; color: #0D1B2E; }
  .offer-card-badge.pack { background: #10B981; color: #fff; }
  .offer-card-promoted {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(201,168,76,0.9);
    color: #0D1B2E;
  }
  .offer-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .offer-card-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1E5BFF;
    margin-bottom: 6px;
  }
  .offer-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #081B3A;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  .offer-card-desc {
    color: #64748B;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .offer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
  }
  .offer-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #C9A84C;
  }
  .offer-card-price .price-type {
    font-size: 12px;
    font-weight: 400;
    color: #94A3B8;
  }
  .offer-card-provider {
    font-size: 12px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .offer-card-cta {
    padding: 8px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #C9A84C, #D6B25E);
    color: #0D1B2E;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
  }
  .offer-card-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,0.3); }
  .marketplace-empty {
    text-align: center;
    padding: 80px 20px;
    color: #64748B;
  }
  .marketplace-empty i {
    font-size: 48px;
    color: #C9A84C;
    margin-bottom: 20px;
    display: block;
  }
  .marketplace-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #081B3A;
    margin-bottom: 12px;
  }
  .marketplace-load-more {
    display: block;
    margin: 0 auto;
    padding: 12px 32px;
    border: 1.5px solid #C9A84C;
    border-radius: 50px;
    background: transparent;
    color: #C9A84C;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  .marketplace-load-more:hover { background: rgba(201,168,76,0.1); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1010;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-mobile-overlay.open { display: block; opacity: 1; }

.nav-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100dvh;
  background: #0D1B2E;
  z-index: 1000;
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  border-left: 1px solid rgba(201,168,76,0.15);
}
.nav-mobile-menu.open { right: 0; }

.nav-mobile-menu .mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.nav-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.nav-mobile-menu ul li a:hover,
.nav-mobile-menu ul li a.active { color: #D6B25E; }
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.nav-mobile-actions a {
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-mobile-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}
.nav-mobile-btn-outline:hover { border-color: #D6B25E; color: #D6B25E; }
.nav-mobile-btn-fill {
  background: linear-gradient(135deg, #D6B25E, #c9a24a);
  color: #0D1B2E !important;
}
.nav-mobile-btn-fill:hover { opacity: 0.9; }

@media (max-width: 900px) {
  .nav-hamburger { display: flex !important; }
  .nav-actions { display: none !important; }
  .nav-links { display: none !important; }
}


  /* ===================== FOOTER ===================== */
  .footer {
    background: #0D1B2E; color: #fff;
    border-top: 1px solid rgba(201,168,76,0.15);
  }
  .footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  .footer-top {
    padding: 64px 0 48px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .footer-brand-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  }
  .footer-brand-desc {
    font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7;
    max-width: 280px; margin-bottom: 24px;
  }
  .footer-socials { display: flex; gap: 12px; }
  .footer-social {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 16px;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none;
  }
  .footer-social:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .footer-col-title {
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
  .footer-links a {
    font-size: 13px; color: rgba(255,255,255,0.5);
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold-light); }
  .footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy {
    font-size: 12px; color: rgba(255,255,255,0.35);
  }
  .footer-bottom-links {
    display: flex; gap: 24px;
  }
  .footer-bottom-links a {
    font-size: 12px; color: rgba(255,255,255,0.35);
    transition: color 0.2s;
  }
  .footer-bottom-links a:hover { color: var(--gold); }
  @media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  }


  body { padding-top: 72px; }

    .nav { background:rgba(253,250,244,.96)!important; backdrop-filter:blur(20px)!important; border-bottom:1px solid rgba(9,28,59,.08)!important; }
    .hide-on-mobile { display:flex; }
    @media(max-width:1023px) { .hide-on-mobile { display:none!important; } }
    body { padding-top:64px; }

/* --- block 2 --- */
@media(max-width:1023px){.mpg{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:639px){.mpg{grid-template-columns:1fr!important}#mp-results input,#mp-results select{width:100%!important;min-width:0!important}}



/* === Appended from page-marketplace.css === */
/* ================================================================
 * page-marketplace.css
 * Marketplace hero v4 — product collage + integrated search
 * ================================================================ */

/* --- HERO (animated product collage) — uses .page-head layout from layout.css --- */
.mp-hero {
  position: relative;
  overflow: hidden;
  background: #091C3B;
  color: #FDFAF4;
}
body.theme-no-image { background-color: #091C3B !important; background-image: none !important; }
.mp-hero .crumb { color: rgba(253,250,244,.7); opacity: 1; }
.mp-hero .crumb a { color: rgba(253,250,244,.85); }
.mp-hero .crumb a:hover { color: #C9A84C; }
.mp-hero .page-title { color: #FDFAF4; }
.mp-hero .page-title em { color: #C9A84C; }
.mp-hero .page-lede { color: rgba(253,250,244,.78); }

.mp-hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  opacity: 0.32;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .mp-hero-collage {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}
@media (max-width: 639px) {
  .mp-hero-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}
.mp-img {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: mp-collage-pulse 18s ease-in-out infinite alternate;
}
.mp-img:nth-child(1)  { background-image: linear-gradient(135deg,#2A3D5C,#4A6382); animation-delay: 0s; }
.mp-img:nth-child(2)  { background-image: linear-gradient(135deg,#3A2A1A,#6B4A2D); animation-delay: -2s; }
.mp-img:nth-child(3)  { background-image: linear-gradient(135deg,#1A3A2A,#2D5A4A); animation-delay: -4s; }
.mp-img:nth-child(4)  { background-image: linear-gradient(135deg,#2A1A3A,#4A2D6B); animation-delay: -6s; }
.mp-img:nth-child(5)  { background-image: linear-gradient(135deg,#3A1A2A,#6B2D4A); animation-delay: -8s; }
.mp-img:nth-child(6)  { background-image: linear-gradient(135deg,#1A2A3A,#2D4A6B); animation-delay: -10s; }
.mp-img:nth-child(n+7){ background-image: linear-gradient(135deg,#2A3D5C,#1A2A3A); animation-delay: -12s; }
@keyframes mp-collage-pulse {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.1); }
}

.mp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(9, 28, 59, 0.42) 0%,
    rgba(9, 28, 59, 0.55) 50%,
    rgba(9, 28, 59, 0.72) 100%);
}
.mp-hero-accent {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 90% 100%, rgba(201, 168, 76, 0.14) 0%, transparent 65%);
}

.mp-hero .container {
  position: relative;
  z-index: 2;
}

.mp-hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(253, 250, 244, 0.78);
  max-width: 640px;
  margin: 0 0 30px 0;
  font-family: 'Inter', system-ui, sans-serif;
}

/* --- INTEGRATED SEARCH --- */
.mp-hero-search {
  display: flex;
  gap: 8px;
  align-items: stretch;
  max-width: 820px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 6px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s;
}
.mp-hero-search:focus-within { border-color: rgba(201, 168, 76, 0.55); }

.mp-search-field {
  flex: 1 1 auto;
  min-width: 180px;
  position: relative;
  display: flex;
  align-items: center;
}
.mp-search-field svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: rgba(253, 250, 244, 0.55);
  pointer-events: none;
}
.mp-search-field input,
.mp-hero-search select {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: #FDFAF4;
  font-size: 14px;
  padding: 14px 16px;
  font-family: inherit;
  min-width: 0;
}
.mp-search-field input { padding-left: 38px; }
.mp-search-field input::placeholder,
.mp-hero-search select { color: rgba(253, 250, 244, 0.55); }
.mp-hero-search select { min-width: 150px; cursor: pointer; }
.mp-hero-search select option {
  background: #091C3B;
  color: #FDFAF4;
}
.mp-hero-search .mp-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.15);
  margin: 6px 2px;
}

.mp-hero-search .mp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold, #C9A84C);
  color: #081B3A;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  font-family: inherit;
}
.mp-hero-search .mp-btn:hover { background: #E3C26A; transform: translateY(-1px); }
.mp-hero-search .mp-btn svg { width: 14px; height: 14px; }

/* --- VALUE PROPS --- */
.mp-hero-vprops {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mp-vprop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 18px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: rgba(253, 250, 244, 0.88);
  max-width: 300px;
}
.mp-vprop-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E3C26A;
}
.mp-vprop-icon svg { width: 18px; height: 18px; }
.mp-vprop-text { line-height: 1.35; }
.mp-vprop-text strong {
  display: block;
  color: #FDFAF4;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 1px;
  font-family: 'Inter', system-ui, sans-serif;
}
.mp-vprop-text span {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(253, 250, 244, 0.58);
}

/* --- Nav overrides when marketplace dark hero is behind the fixed nav --- */
body.page-marketplace .nav-wrap .nav-logo img {
  filter: brightness(0) invert(1);
}
body.page-marketplace .nav-wrap .nav-right > .nav-link {
  color: #FDFAF4 !important;
  opacity: 0.92 !important;
}
body.page-marketplace .nav-wrap .nav-right > .nav-link:hover {
  opacity: 1 !important;
  color: #FDFAF4 !important;
}
body.page-marketplace .nav-wrap .nav-burger {
  color: #FDFAF4 !important;
}

/* === v4 HERO HARMONIZATION === */
.mp-hero .crumb,
.mp-hero .crumb a { color: rgba(253, 250, 244, 0.7); }
.mp-hero .crumb a:hover { color: var(--accent-bright); opacity: 1; }
.mp-hero .crumb .sep { color: rgba(253, 250, 244, 0.35); }
.mp-hero .eyebrow { color: var(--accent-bright); }
.mp-hero .page-title { color: #FDFAF4; }
.mp-hero .page-title em { color: #C9A84C; }
/* ============================= */
