/* Site-wide header = the home page header (owner 28 Nov 2026). Replaces the old navbar.html bar on every page;
   the old bar stays in the DOM only for its mobile drawer (#mobile-menu), opened by the header's menu button. */
:root:has(.sh-top) #navbar { display: none !important; }

.sh-top { position: fixed; left: 0; right: 0; top: 0; z-index: 1020; height: 64px; font-family: Poppins, system-ui, sans-serif;
    background: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 42%)), url("../images/home-v2/hero-bg.564a83a0acc5.webp") center 18% / cover no-repeat, #0c2d6b; }
@media (min-width: 1024px) { .sh-top { position: absolute; height: 80px; } }
.sh-in { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 18px; }
@media (min-width: 1024px) { .sh-in { padding: 0 24px; gap: 14px; } }
.sh-logo img { width: 108px; height: auto; display: block; }
@media (min-width: 1024px) { .sh-logo img { width: 124px; } }

/* menus: Cruises (mega), Events, Private Jet, Visa */
.sh-menus { display: none; }
@media (min-width: 1024px) { .sh-menus { display: flex; align-items: center; gap: 2px; margin-left: 10px; } }
.sh-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px; color: #fff !important;
    font: 600 14.5px/1 Poppins, sans-serif; text-decoration: none; white-space: nowrap; }
.sh-link:hover, .sh-cm:hover > .sh-link, .sh-dd:hover > .sh-link { background: rgba(255,255,255,.12); }
.sh-chev { font-size: 10px !important; opacity: .8; transition: transform .2s; color: #fff !important; }
.sh-cm:hover .sh-chev, .sh-dd:hover > .sh-link .sh-chev { transform: rotate(180deg); }

/* dropdowns */
.sh-dd { position: relative; }
.sh-dd-menu { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; margin-top: 6px; min-width: 220px; z-index: 1040;
    background: #fff; border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.18); padding: 6px; }
.sh-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* hover bridge */
.sh-dd--r .sh-dd-menu { left: auto; right: 0; transform: none; }
.sh-dd:hover .sh-dd-menu, .sh-dd.is-open .sh-dd-menu, .sh-dd:focus-within .sh-dd-menu { display: block; }
.sh-dd-menu a, .sh-dd-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; font: 500 13.5px Poppins, sans-serif; color: #1f2328;
    border-radius: 6px; background: none; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; }
.sh-dd-menu a:hover, .sh-dd-menu button:hover { background: #f4f4f4; }

/* cruise mega menu (components/cruise_menu.html) - same look as before, now under .sh-cm */
.sh-cm { position: static; }
.sh-cm > .sh-link { position: relative; }
.sh-cm > .sh-link::after { content: ""; position: absolute; left: -640px; right: -640px; top: 100%; height: 30px; display: none; }
.sh-cm:hover > .sh-link::after { display: block; }
.sh-cm .cm-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(1400px, calc(100vw - 32px)); display: none;
    grid-template-columns: 300px minmax(0, 1fr); background: #fff; border-radius: 0 0 16px 16px; overflow: hidden; z-index: 1030;
    box-shadow: 0 24px 48px rgba(11,50,114,.18); border-top: 1px solid #eef1f6; font-family: Poppins, system-ui, sans-serif; }
.sh-cm:hover .cm-panel, .sh-cm:focus-within .cm-panel { display: grid; }
.sh-cm .cm-brands { background: #f2f2f2; padding: 18px 0; }
.sh-cm .cm-brand { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 28px; border: 0; background: none;
    text-align: left; cursor: pointer; font-size: 16px; font-weight: 500; color: #222; }
.sh-cm .cm-brand i { font-size: 11px; opacity: 0; transition: opacity .15s; }
.sh-cm .cm-brand.is-active, .sh-cm .cm-brand:hover { background: #fff; color: #0B3272; font-weight: 700; }
.sh-cm .cm-brand.is-active i { opacity: .7; }
.sh-cm .cm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; padding: 28px 36px 30px; }
.sh-cm .cm-cols[hidden] { display: none; }
.sh-cm .cm-title { position: relative; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #e5e7eb; font-size: 17px; font-weight: 700; color: #111; }
.sh-cm .cm-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 52px; height: 2px; background: #0B3272; }
.sh-cm .cm-col ul { list-style: none; margin: 0; padding: 0; }
.sh-cm .cm-col li a { display: block; padding: 7px 0; font-size: 15px; font-weight: 400; color: #333; text-decoration: none; }
.sh-cm .cm-col li a:hover { color: #0B3272; text-decoration: underline; }

/* action buttons (home page style) */
.sh-actions { display: none; }
@media (min-width: 1024px) { .sh-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; } }
.sh-btn { height: 41px; padding: 0 16px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.75); border-radius: 6px;
    background: transparent; color: #fff !important; font: 500 14px/1 Poppins, sans-serif; cursor: pointer; white-space: nowrap; text-decoration: none; }
.sh-btn:hover { background: rgba(255,255,255,.1); }
.sh-btn > i:first-child, .sh-btn .sh-flag { font-size: 17px; }
.sh-btn--login { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
.sh-flag { display: inline-block; width: 22px; height: 15px; background: linear-gradient(#ff9933 33%, #fff 33% 66%, #138808 66%); border-radius: 2px; }
/* fit one row: labels collapse to icons on narrower desktops */
@media (min-width: 1024px) and (max-width: 1599px) { .sh-actions .sh-btn[title="List Your Property"] .sh-lbl, .sh-actions .sh-btn[title="Wishlist"] .sh-lbl { display: none; } }
@media (min-width: 1024px) and (max-width: 1365px) { .sh-actions .sh-lbl { display: none; } .sh-btn { padding: 0 12px; } .sh-link { padding: 0 9px; font-size: 14px; } }
@media (min-width: 1024px) and (max-width: 1150px) { .sh-btn--login { font-size: 0; gap: 0; } .sh-btn--login i { font-size: 17px; } }

/* mobile bar: Log in + menu (opens the drawer) */
.sh-mbar { display: flex; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .sh-mbar { display: none; } }
.sh-mbtn { height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 6px;
    color: #fff !important; background: rgba(255,255,255,.12); font: 500 13px Poppins, sans-serif; text-decoration: none; cursor: pointer; }
.sh-mbtn--sq { width: 36px; justify-content: center; padding: 0; font-size: 16px; }

/* sticky bar on scroll (desktop) - same as the home page */
.sh-sticky { display: none; }
@media (min-width: 1024px) {
    .sh-sticky { display: block; position: fixed; left: 0; right: 0; top: 0; z-index: 1030; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.1);
        transform: translateY(-110%); transition: transform .25s ease; font-family: Poppins, system-ui, sans-serif; }
    .sh-sticky.is-on { transform: translateY(0); }
    .sh-sticky-in { display: flex; align-items: center; gap: 10px; height: 64px; max-width: 1440px; margin: 0 auto; padding: 0 24px; }
    .sh-sticky-logo img { width: 96px; height: auto; display: block; }
    .sh-tabs { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; margin-left: 6px; }
    .sh-tabs::-webkit-scrollbar { display: none; }
    .sh-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 15px 0 6px; border: 1px solid #e8e8e8; border-radius: 24px;
        background: #fff; color: #333 !important; font: 500 14px/1 Poppins, sans-serif; white-space: nowrap; text-decoration: none; }
    .sh-tab img { width: 32px; height: 32px; border-radius: 50%; }
    .sh-tab:hover { border-color: #cfcfcf; }
    .sh-sbtn { height: 44px; width: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e8e8e8; border-radius: 8px; font-size: 20px; }
}
@media (min-width: 1024px) and (max-width: 1300px) { .sh-tab { padding-right: 11px; font-size: 13px; gap: 6px; } .sh-tab img { width: 28px; height: 28px; } }

/* home page header: same menus, placed after the logo; labels collapse like the site header */
.hv2-menus { display: none; }
@media (min-width: 1024px) {
    .hv2-menus { display: block; position: absolute; left: 150px; top: 15px; z-index: 40; }
    .hv2-menus .sh-menus { margin-left: 0; }
    .hv2-header .hv2-actions { z-index: 41; }
    .hv2-header .sh-cm .cm-panel { position: fixed; top: 70px; }
}
@media (min-width: 1024px) and (max-width: 1599px) { .hv2-actions .hv2-btn .sh-lbl { display: none; } .hv2-actions .hv2-btn--login .sh-lbl { display: inline; } }
@media (min-width: 1024px) and (max-width: 1365px) { .hv2-actions .hv2-btn { padding: 0 12px; } .hv2-menus .sh-link { padding: 0 9px; font-size: 14px; } }
