.portal-shell-header-actions{display:flex;align-items:center;gap:8px;min-width:max-content}
.portal-shell-auth{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.32);border-radius:999px;color:inherit;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.portal-shell-auth:hover{border-color:#d4e768;color:#d4e768}
.portal-shell-logout{min-height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:transparent;color:inherit;font-size:12px;font-weight:700;cursor:pointer}
.portal-shell-menu{position:relative}
.portal-shell-menu>summary{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.32);border-radius:50%;list-style:none;cursor:pointer}
.portal-shell-menu>summary::-webkit-details-marker{display:none}
.portal-shell-menu-panel{position:absolute;right:0;top:48px;width:min(320px,calc(100vw - 24px));padding:10px;border:1px solid #dfe3d9;border-radius:14px;background:#fff;color:#20352e;box-shadow:0 16px 40px rgba(22,48,37,.18);z-index:40}
.portal-shell-menu-panel a,.portal-shell-menu-panel button{display:flex;width:100%;min-height:42px;align-items:center;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:inherit;text-decoration:none;font-size:13px;font-weight:600;text-align:left;cursor:pointer}
.portal-shell-menu-panel a:hover,.portal-shell-menu-panel button:hover{background:#edf3e9}
.portal-shell-menu-panel [hidden]{display:none!important}
.portal-shell-cart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}
.portal-shell-cart-toolbar .market-category-tabs{margin:0}
.portal-shell-cart{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:#d4e768;color:#193f32;font-weight:800;cursor:pointer}
@media(max-width:760px){
  .portal-shell-header-actions{gap:5px}
  .portal-shell-auth,.portal-shell-logout{min-height:34px;padding:0 8px;font-size:11px}
  .portal-shell-menu>summary{width:36px;height:36px}
  .portal-shell-cart-toolbar{align-items:flex-start;flex-direction:column}
  .portal-shell-cart{align-self:flex-end}
}

/* HotelsAfriq masthead refinement: readable desktop actions and balanced navigation. */
@media (min-width: 901px) {
  body.market-stays .site-header,
  body.market-restaurants .site-header {
    min-height: 76px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(14px, 2vw, 30px);
    padding-inline: clamp(24px, 3.8vw, 72px);
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e6ebe4;
    box-shadow: 0 2px 14px rgba(24, 55, 42, .08);
  }

  body.market-stays .site-header > .brand,
  body.market-restaurants .site-header > .brand {
    color: #194735;
    font-size: clamp(19px, 1.35vw, 23px);
    letter-spacing: -.8px;
  }

  body.market-stays .site-header .main-nav,
  body.market-restaurants .site-header .main-nav {
    justify-content: center;
    gap: clamp(2px, .45vw, 8px);
    min-width: 0;
  }

  body.market-stays .site-header .main-nav a,
  body.market-restaurants .site-header .main-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(10px, 1vw, 16px);
    border-radius: 999px;
    color: #344a40;
    font-size: clamp(12px, .88vw, 14px);
    font-weight: 650;
    transition: color .18s ease, background-color .18s ease;
  }

  body.market-stays .site-header .main-nav a:hover,
  body.market-stays .site-header .main-nav a.is-selected,
  body.market-restaurants .site-header .main-nav a:hover,
  body.market-restaurants .site-header .main-nav a.is-selected {
    background: #edf3e9;
    color: #194735;
  }

  body.market-stays .portal-shell-header-actions,
  body.market-restaurants .portal-shell-header-actions {
    gap: 8px;
  }

  body.market-stays .portal-shell-auth,
  body.market-restaurants .portal-shell-auth {
    min-height: 42px;
    padding-inline: 16px;
    border: 1px solid #1f604b;
    color: #1f604b;
    font-size: 13px;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }

  body.market-stays .portal-shell-auth:first-child,
  body.market-restaurants .portal-shell-auth:first-child {
    background: #1f604b;
    color: #fff;
  }

  body.market-stays .portal-shell-auth:first-child:hover,
  body.market-restaurants .portal-shell-auth:first-child:hover {
    background: #174735;
    border-color: #174735;
    box-shadow: 0 3px 9px rgba(23, 71, 53, .18);
  }

  body.market-stays .portal-shell-auth:not(:first-child):hover,
  body.market-restaurants .portal-shell-auth:not(:first-child):hover {
    background: #edf3e9;
  }

  body.market-stays .site-header .language-toggle,
  body.market-restaurants .site-header .language-toggle {
    min-width: 44px;
    min-height: 42px;
    justify-content: center;
    border-radius: 999px;
    color: #2c4037;
    font-size: 13px;
    font-weight: 700;
  }

  body.market-stays .site-header .language-toggle:hover,
  body.market-restaurants .site-header .language-toggle:hover {
    background: #edf3e9;
  }

  body.market-stays .portal-shell-menu > summary,
  body.market-restaurants .portal-shell-menu > summary {
    width: 42px;
    height: 42px;
    border-color: #dce5dc;
    color: #194735;
    transition: background-color .18s ease, border-color .18s ease;
  }

  body.market-stays .portal-shell-menu > summary:hover,
  body.market-restaurants .portal-shell-menu > summary:hover {
    border-color: #b9cbbd;
    background: #f3f6f0;
  }
}

@media (max-width: 900px) {
  body.market-stays .portal-shell-auth,
  body.market-restaurants .portal-shell-auth {
    border-color: #1f604b;
    color: #1f604b;
  }
}

body.market-stays .portal-shell-logout,body.market-restaurants .portal-shell-logout{color:#1f604b!important;border-color:#bbd1c5;background:#fff}body.market-stays .portal-shell-logout:hover,body.market-restaurants .portal-shell-logout:hover{color:#fff!important;border-color:#174735;background:#174735}
