/* Shared header: desktop navigation, sticky state and mobile drawer. */
.header-search-slot { display: flow-root; }
.header-search-back { display: none; }
@media (max-width: 760px) {
    .site-header-shell.has-header-search .site-header > :not(.compact-stay-search):not(.header-search-back) { display: none; }
    .site-header-shell.has-header-search .site-header {
        display: flex;
        gap: 8px;
        width: calc(100% - 20px);
        min-height: 66px;
        padding-block: 8px;
    }
    .site-header-shell.has-header-search .header-search-back {
        display: grid;
        place-items: center;
        width: 40px;
        height: 44px;
        flex-shrink: 0;
        padding: 8px;
        border: 1px solid #e5e2da;
        border-radius: 12px;
        background: #f7f3eb;
        color: #17344d;
    }
    .header-search-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .site-header-shell.has-header-search .compact-stay-search {
        flex: 1;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 5px;
        gap: 5px;
        border-radius: 14px;
        box-shadow: none;
    }
    .site-header-shell.has-header-search .compact-stay-caption { display: none; }
    .site-header-shell.has-header-search .compact-stay-query { padding-inline: 3px; }
    .site-header-shell.has-header-search .compact-stay-query input { font-size: 12px; }
    .site-header-shell.has-header-search .compact-stay-search button { height: 40px; border-radius: 10px; }
    .site-header-shell.has-header-search .compact-stay-filter { width: 38px; }
    .site-header-shell.has-header-search .compact-stay-submit { padding-inline: 10px; font-size: 12px; }
}
@media (min-width: 761px) {
    .site-header-shell.has-header-search .service-tabs { display: none; }
    .site-header-shell.has-header-search .compact-stay-search {
        flex: 1;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 6px;
        gap: 8px;
        border-radius: 16px;
        box-shadow: none;
    }
    .site-header-shell.has-header-search .compact-stay-caption { display: none; }
    .site-header-shell.has-header-search .compact-stay-query { gap: 8px; padding-inline: 6px; }
    .site-header-shell.has-header-search .compact-stay-query input { font-size: 13px; }
    .site-header-shell.has-header-search .compact-stay-search button { height: 42px; border-radius: 11px; }
    .site-header-shell.has-header-search .compact-stay-filter { width: 42px; }
    .site-header-shell.has-header-search .compact-stay-submit { padding-inline: 16px; font-size: 13px; }
}
@media (min-width: 761px) and (max-width: 1200px) {
    .site-header-shell.has-header-search .compact-stay-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}

/* Extracted from home.css; original cascade order retained. */

.site-header-shell .site-header {
    gap: 20px;
}

.site-header .service-tabs {
    flex: 1;
    min-width: 0;
    height: 58px;
    margin: 0;
    padding: 5px;
    gap: 2px;
}

.site-header .service-tab {
    flex: 1;
    height: 46px;
    padding: 0 10px;
    gap: 7px;
    font-size: 13px;
}

.site-header .service-tab svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.site-header .new-badge {
    top: -17px;
    font-size: 10px;
    line-height: 20px;
}

.site-header-shell .header-links {
    gap: 14px;
    font-size: 13px;
}

.site-header .kuwait-flag {
    margin-inline-end: 0;
}

.site-header .nav-divider {
    margin-inline: 0;
}

.site-header .login-link {
    margin-inline-start: 0;
    padding-inline: 12px;
}

.is-sticky .service-tabs {
    background: #edf5fa;
    border-color: #d6e5ee;
    color: #123e61;
}

@media (max-width: 1200px) {
.site-header-shell .site-header {
        display: grid;
        grid-template-columns: 1fr auto;
        height: auto;
        gap: 16px;
        padding-block: 12px;
    }

.site-header .service-tabs {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

.site-header .header-links {
        grid-column: 2;
        grid-row: 1;
    }

}

@media (max-width: 760px) {
.site-header-shell .site-header {
        gap: 12px;
    }

.site-header .service-tab {
        padding-inline: 5px;
        gap: 4px;
        font-size: 11px;
    }

.site-header .service-tab svg {
        width: 18px;
        height: 18px;
    }

}

@media (max-width: 380px) {
.site-header .service-tab {
        flex-direction: column;
        gap: 1px;
        font-size: 10px;
    }

}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #fff;
}

.site-logo img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: start;
    white-space: nowrap;
}

.site-logo-name {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.4;
    font-family: "Cairo", sans-serif;
}

.site-logo-tagline {
    color: #ffe3a1;
    font-size: 12px;
    line-height: 1.6;
}

.is-sticky .site-logo-name {
    color: #123e61;
}

.is-sticky .site-logo-tagline {
    color: #806019;
}

@media (max-width: 760px) {
.site-logo {
        gap: 7px;
    }

.site-logo img {
        width: 48px;
        height: 48px;
    }

.site-logo-name {
        font-size: 18px;
    }

.site-logo-tagline {
        font-size: 10px;
    }

.site-header-shell.is-sticky .sticky-service-links {
        display: none;
    }

}

@media (max-width: 360px) {
.site-logo {
        gap: 5px;
    }

.site-logo img {
        width: 40px;
        height: 40px;
    }

.site-logo-name {
        font-size: 16px;
    }

}

body .header-links,
body .sticky-service-links,
body .service-tab {
    font-weight: 400;
}

.site-header-shell {
    position: absolute;
    inset: 0 0 auto;
    z-index: 100;
    padding-top: 32px;
}

.site-header-shell.is-sticky {
    position: fixed;
    padding-top: 8px;
    background: #fff;
    box-shadow: 0 2px 6px #102d500d;
}

.sticky-service-links {
    display: none;
}

.is-sticky .site-header {
    height: 88px;
    color: #242424;
    gap: 48px;
}

.is-sticky .wego-logo {
    background-position: 0 0;
}

.is-sticky .sticky-service-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.is-sticky .header-links {
    margin-inline-start: auto;
}

.is-sticky .header-setting {
    color: #242424;
}

.is-sticky .login-link {
    border-color: #242424;
}

.is-sticky .nav-divider {
    border-color: #555;
}

@media (min-width: 761px) {
.is-sticky .site-header {
        gap: 24px;
    }

.is-sticky .sticky-service-links {
        gap: 20px;
        font-size: 15px;
    }

.is-sticky .header-links {
        gap: 22px;
        font-size: 16px;
    }

}

@media (max-width: 1100px) {
.is-sticky .sticky-service-links a:nth-last-child(-n + 2) {
        display: none;
    }

}

@media (max-width: 760px) {
.site-header-shell {
        padding-top: 24px;
    }

.is-sticky .site-header {
        height: 78px;
        gap: 12px;
    }

.is-sticky .sticky-service-links {
        gap: 12px;
        font-size: 12px;
    }

.is-sticky .header-links {
        gap: 0;
    }

.is-sticky .login-link {
        font-size: 12px;
        padding-inline: 10px;
    }

}

@media (max-width: 420px) {
.is-sticky .sticky-service-links {
        display: none;
    }

}

.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.wego-logo {
    display: block;
    width: 126px;
    height: 51px;
    background: url("../images/travel/logo-sprite.png") no-repeat 0 -51px;
    background-size: 126px auto;
    flex-shrink: 0;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 17px;
    font-weight: 700;
}

.header-links > a:hover {
    opacity: 0.85;
}

.kuwait-flag {
    width: 24px;
    height: 15px;
    background: linear-gradient(
        #007a3d 0 33.333%,
        #fff 33.333% 66.667%,
        #ce1126 66.667%
    );
    position: relative;
    margin-inline-end: -20px;
}

.kuwait-flag:after {
    content: " ";
    position: absolute;
    inset: 0 auto 0 0;
    width: 25%;
    background: #000;
    clip-path: polygon(0 0, 100% 33.333%, 100% 66.667%, 0 100%);
}

.header-setting {
    border: 0;
    background: none;
    color: white;
    padding: 0;
    font: 600 17px Arial;
}

.nav-divider {
    height: 25px;
    border-left: 2px solid #ffffffb3;
    margin-inline: -20px;
}

.login-link {
    border: 1px solid white;
    border-radius: 30px;
    padding: 6px 19px;
    line-height: 26px;
    margin-inline-start: 12px;
}

.service-tabs {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    height: 75px;
    margin: 0 auto 15px;
    padding: 7px;
    gap: 8px;
    border: 1px solid #ffffff55;
    border-radius: 50px;
    background: #ffffff61;
    color: white;
}

.service-tab {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 40px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
}

.service-tab svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.service-tab.active {
    background: white;
    color: #222;
}

.service-tab.active svg {
    color: #46c400;
}

.service-tab:hover {
    background: #ffffff30;
}

.service-tab.active:hover {
    background: #fff;
}

.new-badge {
    position: absolute;
    top: -20px;
    right: 54px;
    font-size: 12px;
    font-weight: 400;
    background: #ff8a00;
    color: white;
    line-height: 25px;
    border-radius: 6px 6px 0 6px;
    padding: 0 13px;
}

@media (min-width: 1600px) {
.header-links {
        gap: 38px;
    }

.hero-content .service-tabs {
        min-width: 625px;
    }

.service-tab {
        flex: 1;
    }

}

@media (max-width: 1150px) {
.header-links {
        gap: 22px;
        font-size: 16px;
    }

.nav-divider {
        margin-inline: -12px;
    }

.kuwait-flag {
        margin-inline-end: -12px;
    }

.login-link {
        margin: 0;
    }

}

@media (max-width: 760px) {
.site-header {
        height: 78px;
    }

.wego-logo {
        width: 104px;
        height: 43px;
        background-size: 104px auto;
        background-position: 0 -42px;
    }

.header-links {
        gap: 14px;
    }

.header-links .kuwait-flag,
    .header-links > a:not(.login-link),
    .nav-divider,
    .header-setting {
        display: none;
    }

.login-link {
        font-size: 14px;
        padding: 4px 14px;
    }

.service-tabs {
        width: 100%;
        height: 66px;
        gap: 0;
        padding: 5px;
        margin-bottom: 14px;
    }

.service-tab {
        height: 54px;
        flex: 1;
        gap: 6px;
        font-size: 12px;
        padding: 0 8px;
    }

.service-tab svg {
        width: 21px;
        height: 21px;
    }

.new-badge {
        font-size: 10px;
        top: -19px;
        right: 20px;
        line-height: 21px;
        padding: 0 8px;
    }

}

/* Extracted from hero.css; original cascade order retained. */

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

.mobile-navigation {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    width: min(360px, 90vw);
    height: 100dvh;
    max-height: 100dvh;
    max-width: 90vw;
    padding: 0;
    border: 0;
    border-radius: 24px 0 0 24px;
    background: #f8fafc;
    color: #183758;
    box-shadow: -16px 0 60px #102d5033;
}

.mobile-navigation[open] {
    display: flex;
    flex-direction: column;
}

.mobile-navigation::backdrop {
    background: #071c3899;
    backdrop-filter: blur(4px);
}

.mobile-navigation-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 26px 18px 22px;
    background: linear-gradient(135deg, #fff, #f7efdd);
    border-bottom: 1px solid #e9dfc9;
}

.mobile-navigation-head img {
    object-fit: contain;
}

.mobile-navigation-head strong {
    font-size: 18px;
}

.mobile-navigation-head p {
    margin: 5px 0 0;
    font-size: 10px;
    color: #836729;
}

.mobile-navigation-close {
    margin-inline-start: auto;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #e5dcc8;
    border-radius: 12px;
    background: #fff;
    color: #183758;
    font-size: 26px;
}

.mobile-navigation-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 18px;
    overscroll-behavior: contain;
}

.mobile-navigation-caption {
    margin: 0 0 12px;
    color: #8c712e;
    font-size: 12px;
}

.mobile-service-list {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.mobile-service-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px;
    border: 1px solid #e3e8ed;
    border-radius: 15px;
    background: #fff;
    font-size: 14px;
}

.mobile-service-list svg {
    width: 34px;
    height: 34px;
    padding: 6px;
    color: #b58a22;
    background: #faf3e2;
    border-radius: 10px;
}

.mobile-service-list a[aria-current] {
    border-color: #dac38b;
    background: #fffaf0;
}

.mobile-service-list .new-badge {
    position: static;
    margin-inline-start: auto;
    padding: 2px 7px;
    border-radius: 7px;
    font-size: 10px;
    line-height: 20px;
}

.mobile-account-list { display: grid; gap: 10px; margin-bottom: 8px; }
.mobile-account-list a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 12px; border: 1px solid #e3e8ed; border-radius: 15px; background: #fff; color: #17344d; font-size: 14px; }
.mobile-account-list a:hover { border-color: #dac38b; background: #fffaf0; }
.mobile-account-list svg { width: 28px; height: 28px; padding: 5px; color: #b58a22; background: #faf3e2; border-radius: 9px; }

.mobile-navigation-footer {
    padding: 18px 18px max(18px, env(safe-area-inset-bottom));
    border-top: 1px solid #e5eaf0;
    background: #fff;
}

.mobile-navigation-footer > a {
    display: block;
    padding: 13px;
    background: #b58a22;
    color: #fff;
    text-align: center;
    border-radius: 13px;
}

.mobile-navigation-footer p {
    margin: 12px 0 0;
    text-align: center;
    font-size: 11px;
    color: #788696;
}



@media (max-width: 760px) {
.site-header-shell .site-header {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
    }

.site-header .service-tabs {
        display: none;
    }

.site-header .header-links {
        display: none;
    }

.mobile-menu-toggle {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 1px solid #ffffff80;
        border-radius: 13px;
        background: #ffffffd9;
        color: #183758;
        flex-shrink: 0;
    }

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

}

@media (prefers-reduced-motion: no-preference) {
.mobile-navigation[open] {
        animation: mobile-navigation-enter 0.22s ease-out;
    }

    @keyframes mobile-navigation-enter {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }
}

.mobile-search-toggle {
    display: none;
}

@media (max-width: 760px) {
.mobile-search-toggle {
        display: grid;
        place-items: center;
        order: 1;
        margin-inline-start: auto;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        padding: 8px;
        border: 1px solid #ffffff80;
        border-radius: 13px;
        background: #ffffffd9;
        color: #183758;
    }

.mobile-search-toggle svg {
        width: 23px;
        height: 23px;
    }

}

@media (max-width: 760px) {
.site-header-shell {
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

.site-header-shell.is-sticky {
        background: #fff;
        border-bottom-color: #edf0f3;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

}

@media (max-width: 760px) {
.site-header-shell {
        padding-top: 8px;
    }

.site-header-shell.is-sticky {
        padding-top: 4px;
    }

.site-header-shell .site-header {
        height: auto;
        min-height: 58px;
        padding-block: 7px;
        gap: 8px;
    }

.site-header .site-logo {
        gap: 6px;
    }

.site-header .site-logo img {
        width: 40px;
        height: 40px;
    }

.site-header .site-logo-name {
        font-size: 16px;
    }

.site-header .site-logo-copy {
        gap: 1px;
    }

.site-header .site-logo-tagline {
        font-size: 9px;
    }

.mobile-menu-toggle,
    .mobile-search-toggle {
        width: 36px;
        height: 36px;
        padding: 7px;
        border-radius: 11px;
    }

.mobile-menu-toggle svg,
    .mobile-search-toggle svg {
        width: 21px;
        height: 21px;
    }

}

/* Extracted from home-identity.css; original cascade order retained. */

.sakan-home .site-header-shell.is-sticky {
    border-bottom: 1px solid var(--home-line);
    background: #fffefa;
}

.sakan-home .site-header-shell:not(.is-sticky) {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

/* The search hero extends behind the header, as on the home page. */
.sakan-home.demo-results-page .site-header-shell:not(.is-sticky) {
    position: absolute;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.site-header-shell.has-header-search .results-stay-search {
    border-color: #cdbb98;
    border-inline-start: 3px solid #a07832;
    background: #fffefa;
}
