/* Mobile header only. The existing desktop header and shared stylesheet are untouched. */
.aw-mobile-header { display: none; }
@media (max-width: 960px) {
  body > header.aw-site-header {
    position: sticky;
    top: 0;
    height: 68px;
    min-height: 68px !important;
    max-height: 68px !important;
    z-index: 1100;
    overflow: visible;
    isolation: isolate;
  }
  body > header.aw-site-header > .navbar { display: none !important; }
  .aw-site-header .aw-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 68px;
    padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    background: #1e293b;
    color: #fff;
  }
  .aw-mobile-brand { display: flex; align-items: center; flex: 0 1 140px; min-width: 0; height: 56px; }
  .aw-mobile-brand img { display: block; width: 140px; max-width: 100%; height: 52px; object-fit: contain; }
  .aw-mobile-book { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; margin-left: auto; border-radius: 6px; background: #d4af37; color: #1e293b; font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; }
  .aw-mobile-book:hover { color: #1e293b; background: #e6c24b; }
  .aw-menu-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: transparent; color: #fff; border: 1px solid #d4af37; border-radius: 6px; cursor: pointer; }
  .aw-menu-toggle svg { display: block; width: 24px; height: 24px; stroke: currentColor; pointer-events: none; }
  .aw-menu-toggle .aw-close-icon, .aw-menu-toggle[aria-expanded="true"] .aw-open-icon { display: none; }
  .aw-menu-toggle[aria-expanded="true"] .aw-close-icon { display: block; }
  .aw-mobile-nav[hidden] { display: none !important; }
  .aw-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: #1e293b;
    border-top: 1px solid #d4af37;
    box-shadow: 0 12px 24px #0003;
  }
  .aw-mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 12px; color: #fff; font: 500 15px/1.4 'Inter', sans-serif; white-space: normal; overflow-wrap: anywhere; border-bottom: 1px solid #ffffff26; }
  .aw-mobile-nav a:hover { background: #ffffff0d; color: #e6c24b; }
  .aw-mobile-nav .aw-nav-book { margin-top: 8px; background: #d4af37; color: #1e293b; font-weight: 700; border-radius: 6px; }
  .aw-mobile-header :focus-visible { outline: 3px solid #e6c24b; outline-offset: 2px; }
}
@media (max-width: 389px) { .aw-mobile-book { display: none; } }
