/* Shared Slick site header — used by stores.html, policies.html (and their /ar/ copies).
   Mirrors the homepage header styles; keep in sync with index.html. */
:root {
    --primary-blue: #4783B5;
    --secondary-blue: #265B84;
    --light-gray: #f5f7fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
}

.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Open Sans', system-ui, sans-serif;
}

.site-header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    min-height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header .logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.site-header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-header .logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.site-header .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .nav-item {
    margin-left: 1.5rem;
}

.site-header .nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--primary-blue);
}

.site-header .mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.site-header .nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    order: 3;
}

.site-header .lang-toggle {
    text-decoration: none;
    display: inline-block;
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 4px;
    padding: 0.3rem 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.site-header .lang-toggle:hover {
    background-color: var(--primary-blue);
    color: white;
}

.site-header .btn-cta {
    background-color: var(--primary-blue);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-header .btn-cta:hover {
    background-color: var(--secondary-blue);
    color: white !important;
}

.site-header .header-cta {
    display: inline-block !important;
}

.site-header .nav-item-mobile {
    display: none !important;
}

/* RTL */
[dir="rtl"] .site-header .nav-item {
    margin-left: 0;
    margin-right: 1.5rem;
}

[dir="rtl"] .site-header .logo img {
    margin-right: 0;
    margin-left: 0.5rem;
}

@media screen and (max-width: 768px) {
    .site-header .header-cta {
        display: inline-block !important;
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .site-header .nav-item-mobile {
        display: none !important;
    }

    .site-header .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        background-color: white;
        flex-direction: column;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .site-header .nav-menu.active {
        right: 0;
    }

    [dir="rtl"] .site-header .nav-menu {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }

    [dir="rtl"] .site-header .nav-menu.active {
        left: 0;
    }

    .site-header .nav-item {
        margin: 1rem 0;
    }

    .site-header .mobile-nav-toggle {
        display: block;
    }
}
