/* SwankageTCG Launch 22 — TEST candidate: mobile SwankageTCG wordmark, no cart.
   Keeps 58px header height; cart hidden in mobile markup only; desktop unchanged. */
@media screen and (max-width: 991px) {
  #header .nav-mobile-header-container .flex-item-mid {
    min-width: 0;
  }
  #header .nav-mobile-header-container .mobile-logo {
    width: min(186px, 100%) !important;
    height: 58px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #header .nav-mobile-header-container .mobile-logo a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0;
  }
  /* Preserve the three-column header so the logo stays truly centered. */
  #header .nav-mobile-header-container .flex-item-left,
  #header .nav-mobile-header-container .flex-item-right {
    width: 100px;
    flex: 0 0 100px;
  }
  #header .nav-mobile-header-container .flex-item-right .a-search-icon {
    width: 48px;
    height: 48px;
    padding: 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  #header .nav-mobile-header-container .mobile-logo a img.sw-mobile-chrome-gold-logo {
    display: block !important;
    width: 100% !important;
    max-width: 186px !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
  }
}

@media screen and (max-width: 360px) {
  /* Give the wordmark enough center width on smaller phones. */
  #header .nav-mobile-header-container .flex-item-left,
  #header .nav-mobile-header-container .flex-item-right {
    width: 66px;
    flex-basis: 66px;
  }
  #header .nav-mobile-header-container .flex-item-mid {
    width: calc(100% - 132px);
    flex: 1 1 auto;
  }
}
