/* ===== GuestSmart member recognition (prelive only; loaded by Partials/GuestSmart/_MemberSlot) ===== */

/* SDK requirement (guide s2), scoped to our own elements instead of a global rule */
.gs-slot [hidden], .gs-menu-cta [hidden], .gs-rw[hidden], .gs-hide { display: none !important; }

/* Header slot: fixed size so guest -> member swap does not move the header (guide s7) */
.gs-slot { display: flex !important; align-items: center; justify-content: flex-end; min-width: 200px; margin-right: 36px; position: relative; }
.gs-slot .gs-guest { display: inline-flex; align-items: center; }
.gs-slot a.header__language-selected { text-decoration: none; }
.gs-slot .gs-sep { display: inline-block; width: 1px; height: 14px; background: currentColor; opacity: .7; margin: 0 18px; }
.gs-slot .gs-member .dropdown-toggle { text-transform: uppercase; }
.gs-slot .gs-member .dropdown-menu { min-width: 180px; }

/* Scrolled header: the language selector hides, our slot stays, in dark ink */
.header__sticky .gs-slot { margin-right: 48px; }
.header__sticky .gs-slot .header__language-selected,
.header__sticky .gs-slot .dropdown-menu a,
.header__sticky .gs-slot { color: #211E2B; }
.header__sticky .gs-slot .dropdown-toggle:after { filter: brightness(0); }
.header__sticky .gs-slot .dropdown-menu { background: #E3DACB; padding: 6px 12px 10px; margin-left: -12px; }

/* Menu buttons */
.offcanvas__button:not(.gs-menu-cta) a[href*="member.sunsiyam.com"] { display: none !important; }
.gs-menu-cta { margin-top: auto; }
.offcanvas__button + .gs-menu-cta { margin-top: 12px; }
.gs-menu-cta .gs-group .btn { display: block; }
.gs-menu-cta .gs-group .btn + .btn { margin-top: 12px; }
.gs-menu-hi { font-family: Dahlia, serif; font-weight: 500; font-size: 30px; line-height: 34px; color: inherit; }
.gs-menu-sub { font-family: "Good Sans", sans-serif; font-weight: 300; font-size: 14px; color: inherit; margin: 2px 0 16px; }

/* Rewards module */
.gs-rw-line { font-family: "Good Sans", sans-serif; font-weight: 300; font-size: 16px; line-height: 24px; color: #2B2E34; margin: 6px 0 10px; }
.gs-rw-line bdi { font-weight: 500; }

/* Mobile header */
@media (max-width: 991px) {
    .header__nav { position: relative; }
    .gs-slot { position: absolute; right: 64px; top: 3px; margin: 0; min-width: 0; }
    .gs-slot .dropdown-menu { display: none !important; }   /* on mobile, Hi [name] opens the menu instead (gs-sso.js) */
    .gs-slot .gs-sep, .gs-slot .gs-signup { display: none; }
    .header__sticky .gs-slot { right: auto; left: -10px; top: 0; margin: 0; }
    .gs-rw-line { text-align: center; margin-bottom: 14px; }
}
