html, body {
margin: 0 0;
    overflow-x: visible !important;
    height: auto !important;
}




#page, .site, .site-content, #content {
    overflow: visible !important;
margin: 0 0;
}

/* Fix for WordPress Admin Bar (when logged in) */
.admin-bar .ovh-header-template { 
    top: 32px !important; 
}
@media screen and (max-width: 782px) {
    .admin-bar .ovh-header-template { 
        top: 46px !important; 
    }
}

/* =========================================
   2. GLOBAL VARIABLES
   ========================================= */
:root {
    --ovh-blue: #3BAAA7;
    --ovh-dark: #11284b;
    --ovh-menu-footer: #000e9c;
    --gray-border: #e6e8eb;
}

/* Icons */
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}
.icon-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--ovh-blue);
    stroke-width: 2;
    fill: none;
}
.header-icon-hidden {
    display: none !important;
}

/* =========================================
   3. STICKY HEADER (Mobile & Desktop)
   ========================================= */
.ovh-header-template {
    background: white;
    height: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 0px !important;
    /* STICKY CORE */
    position: sticky !important;
    position: -webkit-sticky !important; /* Safari support */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-left { justify-self: start; }
.site-logo   { justify-self: center; display: flex; align-items: center; }
.header-right{ justify-self: end; display: flex; gap: 15px; }

.site-logo svg, .site-logo img {
    height: 38px;
    width: auto;
}

.desktop-nav { display: none; }

/* =========================================
   4. MODALS & DRAWER (Must be FIXED)
   ========================================= */
/* Mobile Drawer */
.mobile-menu-drawer {
    position: fixed; 
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100vh - 40px);
    background: white;
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu-drawer.is-open { display: flex; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { border-bottom: 1px solid var(--gray-border); }
.menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--ovh-dark);
    font-weight: 700;
    font-size: 14px;
    font-family: Arial, sans-serif;
}
.menu-footer-section { background-color: white; flex-grow: 1; padding-bottom: 40px; }

/* Search Bar */
.search-dropdown-bar {
    position: fixed;
    top: 40px; 
    left: 0; 
    width: 100%;
    background: #f1f3f5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 0;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    z-index: 9997;
}
.search-dropdown-bar.is-active { opacity: 1; visibility: visible; transform: translateY(0); }

.search-form-flex { width: 100%; margin: 0; }
.search-input-wrapper {
    display: flex; align-items: center; width: 100%;
    height: 40px; 
    border: none; background: transparent; border-radius: 0;
}
.search-input-field {
    flex-grow: 1; height: 100%; border: none; background: transparent;
    padding: 0; font-size: 16px; color: #11284b; outline: none;
}
.search-submit-btn, .search-close-btn {
    background: none; border: none; cursor: pointer;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.search-submit-btn svg { stroke: #0cae89; }
.search-close-btn svg { stroke: #3BAAA7; }

/* User Modal */
.user-dropdown-modal {
    position: fixed;
    top: 40px; 
    left: 0; 
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9996;
}
.user-dropdown-modal.is-active { opacity: 1; visibility: visible; transform: translateY(0); }

.user-card-inner {
    background: white; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid #e6e8eb;
    overflow: hidden; display: flex; flex-direction: column;
}
.user-card-body { padding: 30px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.user-modal-icon {
    width: 50px; height: 50px; border-radius: 50%; background: #f0f6ff;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.user-modal-icon svg { stroke: #0050d7; }
.user-modal-title { margin: 0 0 8px 0; font-size: 18px; color: #11284b; font-weight: 700; }
.user-modal-text { margin: 0 0 24px 0; font-size: 14px; color: #556b8d; line-height: 1.5; max-width: 260px; }
.user-btn-primary {
    display: inline-block; background-color: #0cae89; color: white;
    text-decoration: none; padding: 12px 24px; border-radius: 4px;
    font-weight: 700; font-size: 15px; min-width: 180px; transition: background 0.2s;
}
.user-btn-primary:hover { background-color: #099c7a; }

.user-card-footer { border-top: 1px solid #e6e8eb; background: #fff; width: 100%; }
.user-btn-secondary {
    display: flex; justify-content: center; align-items: center;
    width: 100%; padding: 16px 0; margin: 0;
    text-align: center; color: #0050d7; font-weight: 600; font-size: 15px;
    text-decoration: none; background: transparent; transition: background 0.2s;
}
.user-btn-secondary:hover { background-color: #f9f9f9; color: #003cba; }

/* =========================================
   5. DESKTOP LAYOUT (Tablets & PC > 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .ovh-header-template {
        height: 60px;
        padding: 0 40px;
        display: flex; 
        justify-content: space-between;
    }

    .header-left, .site-logo, .header-right { justify-self: auto; }
    .site-logo { margin-right: auto; }
    .site-logo svg, .site-logo img { height: 40px; }
    .header-left.mobile-only-hamburger { display: none !important; }
    
    .desktop-nav {
        display: block;
        flex-grow: 1;
        text-align: center;
    }
    .desktop-menu-list {
        display: inline-flex;
        gap: 30px;
        list-style: none;
        margin: 0; padding: 0;
    }
    .desktop-menu-list li a {
        text-decoration: none;
        color: var(--ovh-dark);
        font-weight: 600;
        font-size: 15px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        transition: color 0.2s;
    }
    .desktop-menu-list li a:hover { color: var(--ovh-blue); }

    /* Update offsets for 60px Desktop Header */
    .mobile-menu-drawer,
    .search-dropdown-bar,
    .user-dropdown-modal {
        top: 60px;
    }
    
    .user-dropdown-modal {
        width: 350px;
        left: auto; right: 0;
        border-radius: 8px;
    }
}


