
/* =========================================================
   1ST BOOKING — SHARED HEADER
   Clean replacement stylesheet
   ========================================================= */

.site-common-header,
.fb-luxury-header {
    position: relative;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
    width: 100%;
    min-height: 94px;

    padding: 18px clamp(16px, 4vw, 64px);
    box-sizing: border-box;

    background: rgba(5, 12, 40, 0.96);
    border-bottom: 1px solid rgba(198, 161, 91, 0.25);
    box-shadow: 0 8px 35px rgba(16, 29, 53, 0.15);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    overflow: visible;
}

/* Brand */

.site-common-header .header-brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    flex: 0 0 auto;
    min-width: 0;
}

.site-common-header .first-booking-brand {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;
    width: 260px;
    max-width: 100%;

    color: #fffdf8;
    text-decoration: none;
    white-space: nowrap;
}

.site-common-header .header-logo-image {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
}

.site-common-header .brand-number {
    display: inline-grid;
    place-items: center;

    min-width: 42px;
    height: 42px;
    padding: 0 8px;

    color: #f4e8c9;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,.16),
        rgba(255,255,255,.035)
    );

    border: 1px solid rgba(217,185,120,.62);
    border-radius: 12px;

    font-size: 18px;
    font-weight: 900;
}

.site-common-header .brand-name {
    color: #fffdf8;
    font-weight: 850;
}

.site-common-header .header-tagline {
    display: block;
    margin-top: 4px;

    color: #c6a15b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.3;
    white-space: nowrap;
}

/* =========================================================
   NAVIGATION SHELL
   Expected structure:
   nav.fb-nav-scroll-shell
       button.fb-nav-scroll-arrow.fb-nav-scroll-left
       nav/ div.fb-service-navigation
       button.fb-nav-scroll-arrow.fb-nav-scroll-right
   ========================================================= */

.site-common-header .fb-nav-scroll-shell {
    display: flex;
    align-items: center;

    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;

    gap: 6px;
    overflow: visible;
}

/* Scrollable navigation track */

.site-common-header .fb-service-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex: 1 1 0%;
    min-width: 0;
    width: 0;
    max-width: 100%;

    gap: 5px;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;
    scrollbar-width: none;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.site-common-header .fb-service-navigation::-webkit-scrollbar {
    display: none;
}

/* Navigation links */

.site-common-header .fb-header-service {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: max-content;

    gap: 8px;
    padding: 12px 11px;

    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
    overflow: visible;
    text-overflow: clip;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.005em;
    line-height: 1.3;

    border: 1px solid transparent;
    border-radius: 12px;

    transition:
        color .22s ease,
        background .22s ease,
        border-color .22s ease;
}

/* Service icons */

.site-common-header .fb-header-service i {
    display: inline-block;
    flex: 0 0 auto;

    width: 20px;
    text-align: center;

    color: #e6d3a1;
    font-size: 16px;
    line-height: 1;
}

/* Navigation hover */

.site-common-header .fb-header-service:hover {
    color: #e6d3a1;
    background: rgba(255,255,255,.07);
    border-color: rgba(198,161,91,.25);
}

.site-common-header .fb-header-service:hover i {
    color: #ffffff;
}

/* Active service */

.site-common-header .fb-header-service.is-active {
    color: #e6d3a1;

    background: rgba(198,161,91,.12);
    border-color: rgba(198,161,91,.32);
}

.site-common-header .fb-header-service.is-active i {
    color: #e6d3a1;
}

/* Active underline */

.site-common-header .fb-header-service.is-active::after {
    content: "";

    position: absolute;
    left: 20%;
    right: 20%;
    bottom: -1px;

    height: 3px;
    border-radius: 5px;

    background: linear-gradient(
        90deg,
        #a71935,
        #e6d3a1,
        #a71935
    );
}

/* Coming soon label */

.site-common-header .coming-soon-link {
    position: relative;
}

.site-common-header .coming-soon-link::after {
    content: "SOON";

    position: absolute;
    top: -5px;
    right: -3px;

    padding: 2px 5px;
    border-radius: 5px;

    background: #c6a15b;
    color: #101d35;

    font-size: 8px;
    font-weight: 800;
}

/* =========================================================
   SCROLL ARROWS
   Important: arrows must remain OUTSIDE the scroll track
   ========================================================= */

.site-common-header .fb-nav-scroll-arrow {
    position: relative;
    top: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 32px;
    width: 32px;
    height: 40px;
    min-height: 40px;

    margin: 0;
    padding: 0;
    box-sizing: border-box;

    border: 1px solid rgba(198,161,91,.42);
    border-radius: 10px;

    background: linear-gradient(
        145deg,
        #173b49,
        #0b2530
    );

    color: #e6d3a1;

    font-size: 20px;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;
    overflow: visible;

    box-shadow:
        0 4px 12px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.08);

    transition:
        background .2s ease,
        color .2s ease,
        opacity .2s ease;
}

.site-common-header .fb-nav-scroll-arrow svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-common-header .fb-nav-scroll-arrow:hover {
    background: #c6a15b;
    color: #102d3a;
}

.site-common-header .fb-nav-scroll-arrow:disabled {
    opacity: .3;
    cursor: default;
}

/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.site-common-header .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex: 0 0 auto;
    min-width: 0;

    gap: 14px;
    white-space: nowrap;
}

.site-common-header .new-signin {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #fffdf8;
    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.site-common-header .new-signin i {
    color: #c6a15b;
}

.site-common-header .new-partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 15px;

    border: 0;
    border-radius: 12px;

    background: #c6a15b;
    color: #101d35;

    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.site-common-header .new-partner-btn:hover {
    background: #e6d3a1;
}

/* Mobile menu button */

.site-common-header .mobile-menu {
    display: none;

    align-items: center;
    justify-content: center;

    border: 0;
    background: transparent;
    color: #fffdf8;

    cursor: pointer;
}

/* Keyboard accessibility */

.site-common-header .fb-header-service:focus-visible,
.site-common-header .fb-nav-scroll-arrow:focus-visible,
.site-common-header .new-signin:focus-visible,
.site-common-header .new-partner-btn:focus-visible {
    outline: 3px solid #c6a15b;
    outline-offset: 3px;
}

/* =========================================================
   LAPTOP / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1350px) {
    .site-common-header {
        gap: 10px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-common-header .first-booking-brand {
        width: 220px;
    }

    .site-common-header .fb-header-service {
        gap: 6px;
        padding: 11px 8px;
        font-size: 14px;
    }

    .site-common-header .fb-header-service i {
        width: 18px;
        font-size: 15px;
    }

    .site-common-header .header-actions {
        gap: 10px;
    }

    .site-common-header .new-partner-btn {
        padding: 11px 12px;
        font-size: 12px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .site-common-header {
        gap: 8px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-common-header .first-booking-brand {
        width: 190px;
    }

    .site-common-header .fb-nav-scroll-arrow {
        flex-basis: 28px;
        width: 28px;
        height: 38px;
        min-height: 38px;
    }

    .site-common-header .fb-header-service {
        padding: 10px 8px;
        font-size: 13px;
    }

    .site-common-header .fb-header-service i {
        width: 16px;
        font-size: 14px;
    }

    .site-common-header .new-signin {
        font-size: 12px;
    }

    .site-common-header .new-partner-btn {
        padding: 10px;
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE — NAVIGATION BELOW BRAND, HORIZONTAL SCROLL
   ========================================================= */

@media (max-width: 760px) {
    .site-common-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        min-height: 0;
        padding: 12px 16px 0;
        gap: 10px;

        overflow: visible;
    }

    .site-common-header .header-brand-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-common-header .first-booking-brand {
        width: 210px;
        max-width: 48vw;
    }

    .site-common-header .header-logo-image {
        max-width: 100%;
    }

    .site-common-header .header-tagline {
        font-size: 8px;
        letter-spacing: .8px;
    }

    .site-common-header .brand-number {
        min-width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .site-common-header .mobile-menu {
        display: none;
    }

    /* Actions stay on the top row */

    .site-common-header .header-actions {
        flex: 0 0 auto;
        margin-left: auto;
        gap: 8px;
    }

    .site-common-header .new-signin {
        font-size: 12px;
    }

    .site-common-header .new-partner-btn {
        padding: 9px 10px;
        font-size: 10px;
    }

    .site-common-header .new-partner-btn span:last-child {
        display: none;
    }

    /* Navigation shell occupies a separate full row */

    .site-common-header .fb-nav-scroll-shell {
        order: 10;

        display: flex;
        align-items: center;

        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;

        gap: 6px;
        margin: 0;
        padding: 10px 0 14px;

        overflow: visible;
    }

    /* Scroll track only; arrows are not inside this element */

    .site-common-header .fb-service-navigation {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;

        flex: 1 1 0%;
        width: 0;
        min-width: 0;
        max-width: 100%;

        gap: 6px;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;
        scrollbar-width: none;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .site-common-header .fb-service-navigation::-webkit-scrollbar {
        display: none;
    }

    .site-common-header .fb-header-service {
        display: inline-flex;
        flex: 0 0 auto;

        min-width: max-content;
        min-height: 36px;

        padding: 9px 12px;
        gap: 7px;

        font-size: 13px;
        font-weight: 800;
        line-height: 1.3;

        white-space: nowrap;
    }

    .site-common-header .fb-header-service i {
        width: 16px;
        font-size: 14px;
    }

    /* Arrows are vertically centered and never clipped */

    .site-common-header .fb-nav-scroll-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 30px;
        width: 30px;
        height: 38px;
        min-height: 38px;

        margin: 0;
        padding: 0;

        align-self: center;
        overflow: visible;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
    .site-common-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-common-header .first-booking-brand {
        width: 180px;
        max-width: 46vw;
    }

    .site-common-header .header-actions {
        gap: 6px;
    }

    .site-common-header .fb-nav-scroll-shell {
        gap: 5px;
    }

    .site-common-header .fb-nav-scroll-arrow {
        flex-basis: 27px;
        width: 27px;
        height: 36px;
        min-height: 36px;
    }

    .site-common-header .fb-header-service {
        min-height: 33px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .site-common-header .fb-header-service i {
        width: 15px;
        font-size: 13px;
    }
}
/* Fix clipped SOON badges in header navigation */
.site-common-header .fb-header-service.coming-soon-link {
    position: relative;
    overflow: visible !important;
}

.site-common-header .fb-header-service.coming-soon-link::after {
    top: 2px !important;
    right: 2px !important;

    z-index: 5;
    line-height: 1.2;
    white-space: nowrap;

    padding: 2px 5px;
    font-size: 8px;
    border-radius: 5px;

    transform: translateY(0);
}

/* Keep enough top space for the badge */
.site-common-header .fb-service-navigation {
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}
/* =========================================================
   1ST BOOKING.COM — VERTICAL BRAND LOCKUP (DEC 2026)
   Logo, brand name, tagline, and signature are stacked in order.
   ========================================================= */
.site-common-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-common-header .header-brand-wrap {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.site-common-header .first-booking-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 200px;
    max-width: 100%;
    color: #fff;
    text-decoration: none;
    white-space: normal;
}

.site-common-header .header-logo-image {
    display: block;
    flex: 0 0 auto;
    width: 112px;
    max-width: 100%;
    height: 78px;
    object-fit: contain;
}

.site-common-header .header-brand-copy {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 2px;
    text-align: center;
    line-height: 1.15;
}

.site-common-header .header-brand-name {
    display: block;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.2px;
    white-space: nowrap;
}

.site-common-header .header-tagline {
    display: block;
    margin: 0;
    color: #e6d3a1;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    line-height: 1.2;
    white-space: nowrap;
}

.site-common-header .header-brand-signature {
    display: block;
    margin: 1px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15px;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 1350px) {
    .site-common-header .first-booking-brand { width: 185px; }
    .site-common-header .header-logo-image { width: 100px; height: 69px; }
    .site-common-header .header-brand-name { font-size: 15px; }
    .site-common-header .header-tagline { font-size: 9px; }
    .site-common-header .header-brand-signature { font-size: 7.5px; }
}

@media (max-width: 1100px) {
    .site-common-header .first-booking-brand { width: 165px; }
    .site-common-header .header-logo-image { width: 90px; height: 62px; }
    .site-common-header .header-brand-name { font-size: 14px; }
    .site-common-header .header-tagline { font-size: 8.5px; letter-spacing: .35px; }
    .site-common-header .header-brand-signature { font-size: 7px; letter-spacing: 0; }
}

@media (max-width: 760px) {
    .site-common-header .header-brand-wrap { flex: 1 1 auto; min-width: 0; }
    .site-common-header .first-booking-brand { width: 180px; max-width: 100%; }
    .site-common-header .header-logo-image { width: 100px; height: 70px; }
    .site-common-header .header-brand-name { font-size: 14px; }
    .site-common-header .header-tagline { font-size: 8.5px; }
    .site-common-header .header-brand-signature { font-size: 7px; }
}

@media (max-width: 420px) {
    .site-common-header .first-booking-brand { width: 165px; gap: 1px; }
    .site-common-header .header-logo-image { width: 88px; height: 61px; }
    .site-common-header .header-brand-name { font-size: 13px; }
    .site-common-header .header-tagline { font-size: 8px; letter-spacing: .15px; }
    .site-common-header .header-brand-signature { font-size: 6.5px; }
}


/* 2026-12-02: display the user's newly supplied 1st B.com logo */
.site-common-header .header-brand-wrap {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
}

.site-common-header .first-booking-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 270px;
    max-width: 100%;
    white-space: normal;
}

.site-common-header .header-logo-image {
    display: block;
    flex: 0 0 78px;
    width: 78px;
    height: 68px;
    max-width: 78px;
    object-fit: contain;
}

.site-common-header .header-brand-copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    text-align: left;
    line-height: 1.12;
}

.site-common-header .header-brand-name {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.site-common-header .header-tagline {
    color: #d8bd7a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .45px;
    white-space: nowrap;
}

.site-common-header .header-brand-signature {
    color: #e7eaf0;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .05px;
    white-space: nowrap;
}

@media (max-width: 1350px) {
    .site-common-header .first-booking-brand { width: 235px; gap: 6px; }
    .site-common-header .header-logo-image { flex-basis: 66px; width: 66px; height: 58px; max-width: 66px; }
    .site-common-header .header-brand-name { font-size: 15px; }
    .site-common-header .header-tagline { font-size: 9px; }
    .site-common-header .header-brand-signature { font-size: 7px; }
}

@media (max-width: 760px) {
    .site-common-header .first-booking-brand { width: 195px; gap: 5px; }
    .site-common-header .header-logo-image { flex-basis: 55px; width: 55px; height: 50px; max-width: 55px; }
    .site-common-header .header-brand-name { font-size: 13px; }
    .site-common-header .header-tagline { font-size: 8px; letter-spacing: .2px; }
    .site-common-header .header-brand-signature { font-size: 6.5px; }
}

@media (max-width: 420px) {
    .site-common-header .first-booking-brand { width: 175px; }
    .site-common-header .header-logo-image { flex-basis: 48px; width: 48px; height: 44px; max-width: 48px; }
    .site-common-header .header-brand-name { font-size: 12px; }
}
