/* CT540 mobile directory header: keep identity, destination and actions in separate cells. */
@media (max-width: 620px) {
  .store-directory .directory-topbar {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 10px;
    align-items: center;
    padding: 9px 14px;
  }
  .store-directory .directory-brand-lockup {
    position: static;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    width: 96px;
    min-width: 0;
    max-width: 96px;
    transform: none;
  }
  .store-directory .directory-brand-lockup .directory-logo {
    display: block;
    width: 96px;
    min-width: 0;
    padding: 0;
    transform: none;
  }
  .store-directory .directory-logo.jata-brand-mark img {
    width: 96px;
    max-width: 100%;
    height: auto;
  }
  .store-directory .directory-logo-slogan { display: none; }
  .store-directory .directory-location {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 5px;
    transform: none;
  }
  .store-directory .directory-location > span { min-width: 0; }
  .store-directory .directory-location span > strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .store-directory .directory-location > svg { flex: 0 0 14px; width: 14px; }
  .store-directory .directory-mobile-actions {
    position: static;
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 2px;
    align-items: center;
  }
  .store-directory .directory-mobile-actions > a,
  .store-directory .directory-mobile-actions > button {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 34px;
    min-height: 34px;
    padding: 0;
  }
  .store-directory .directory-mobile-actions svg { width: 20px; height: 20px; }
  .store-directory .directory-top-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
  }
  .store-directory .directory-business-link,
  .store-directory .directory-profile-wrap { display: none; }
  .store-directory .directory-mobile-hero {
    grid-column: 1 / -1;
    grid-row: 3;
    width: calc(100% + 28px);
    min-height: 184px;
    margin: 0 -14px;
    padding: 0 14px;
    overflow: hidden;
    background: linear-gradient(115deg, #512fad, #703cd9);
  }
  .store-directory .directory-mobile-hero-copy {
    width: 58%;
    padding-top: 20px;
    padding-bottom: 22px;
  }
  .store-directory .directory-mobile-hero > img.is-country-photo {
    right: 0;
    bottom: 20px;
    width: 44%;
  }
}
