.mobile-bottom-nav { display: none; }
.sticky-search-logo { display: none; }
@media (min-width: 900px) and (max-width: 1099px) {
  .header-section { height: 170px; }
  .header-nav > .container > ul > li { padding-left: 6px; padding-right: 6px; }
}
@media (min-width: 450px) and (max-width: 599px) {
  .header-nav { display: none; }
  .header-logo { width: 180px; }
  .header-search { width: calc(100% - 50px); }
  nav.mobile-nav a.nav-toggle { width: 40px; height: 40px; padding: 5px 0 0; text-align: center; }
  nav.mobile-nav a.nav-toggle i { float: none; margin: 0; }
  nav.mobile-nav a.nav-toggle span { display: none; }
}
@media (max-width: 599px) {
  body:has(.mobile-bottom-nav) { height: auto; min-height: 100%; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body:has(.mobile-bottom-nav) header { position: sticky; top: -60px; z-index: 1000; }
  body.mobile-header-stuck .sticky-search-logo { position: absolute; bottom: 0; left: 10px; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .sticky-search-logo img { display: block; width: 44px; height: 44px; object-fit: contain; }
  .sticky-search-logo:focus-visible { outline: 2px solid #0077ac; outline-offset: 1px; }
  .header-search input[type="text"] { font-size: 16px; }
  .mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001; display: flex; align-items: stretch; height: 64px; padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; border-top: 1px solid #dce5eb; box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; min-width: 0; min-height: 44px; padding: 2px; border: 0; background: transparent; color: #415365; font: inherit; font-size: 10px; text-decoration: none; cursor: pointer; }
  .mobile-bottom-nav i { font-size: 21px; line-height: 1; }
  .mobile-bottom-nav [aria-current="page"], .mobile-bottom-nav .is-section-active { color: #0077ac; font-weight: bold; }
  .mobile-bottom-nav :focus-visible { outline: 2px solid #0077ac; outline-offset: -3px; }
  .mobile-bottom-count { position: absolute; top: 3px; left: calc(50% + 8px); padding: 1px 4px; border-radius: 10px; background: #b95d00; color: #fff; font-size: 10px; }
  body.mobile-search-focused .mobile-bottom-nav { display: none; }
  body.hide-overflow .mobile-bottom-nav { visibility: hidden; }
  .scroll-top { right: 12px; width: 44px; height: 44px; line-height: 42px; box-sizing: border-box; border: 1px solid #d6e5ee; border-radius: 12px; background: #fff; color: #006b9b; font-size: 21px; opacity: 1; box-shadow: 0 3px 12px rgba(16, 45, 65, .16); }
  .scroll-top:hover { background: #f1f8fc; color: #00577e; }
  .scroll-top:focus-visible { outline: 3px solid #0077ac; outline-offset: 2px; }
  body.mobile-search-focused .scroll-top, body.hide-overflow .scroll-top { visibility: hidden !important; }
  body:has(.mobile-bottom-nav) .scroll-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
