/* SPEEDACURE_MOBILE_LOGO_V1_8
   SPEEDACURE_MOBILE_LOGO_REPAIR_V1_9
   Balanced logo size; corrects V1.8's forced 245px minimum width and clipping.
   Keeps the V1.7 banner, WhatsApp, Rx, GPS and bottom navigation untouched.
*/
@media screen and (max-width: 820px) {
  html.scm-mobile-modern body.scm-modern-active .scm-home .scm-header-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-areas: "brand actions" "location location" !important;
    align-items: center !important;
    column-gap: 7px !important;
    row-gap: 8px !important;
  }
  html.scm-mobile-modern body.scm-modern-active .scm-home .scm-brand {
    grid-area: brand !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 53px !important;
    overflow: visible !important;
  }
  html.scm-mobile-modern body.scm-modern-active .scm-home .scm-brand img {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 211px !important;
    height: auto !important;
    max-height: 61px !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
    flex: 0 1 auto !important;
  }
  html.scm-mobile-modern body.scm-modern-active .scm-home .scm-header-actions {
    grid-area: actions !important;
    justify-self: end !important;
    position: relative !important;
    z-index: 2 !important;
  }
}
@media screen and (max-width: 360px) {
  html.scm-mobile-modern body.scm-modern-active .scm-home .scm-brand img {
    max-width: 185px !important;
  }
}
