@media (min-width: 768px) {
  header.premium-header {
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 20px !important;
    gap: 12px !important;
    overflow: visible !important;
    background: color-mix(in srgb, hsl(var(--background)) 88%, hsl(var(--card))) !important;
    border-color: hsl(var(--border) / .72) !important;
  }

  header.premium-header .mobile-header-actions {
    width: auto !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  header.premium-header .mobile-header-actions > :is(a, button),
  header.premium-header .mobile-header-actions > span > button {
    min-width: 36px !important;
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  header.premium-header .mobile-header-actions > button:nth-of-type(n+3):nth-of-type(-n+6),
  header.premium-header .mobile-header-actions > a[href="/bosta-print"] {
    width: auto !important;
    padding-inline: 12px !important;
  }

  header.premium-header .gm-header-active {
    border-color: hsl(var(--primary) / .48) !important;
    background: hsl(var(--primary) / .15) !important;
    color: hsl(var(--primary)) !important;
    box-shadow: inset 0 0 0 1px hsl(var(--primary) / .08) !important;
  }

  header.premium-header .mobile-header-meta {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 10px !important;
  }

  header.premium-header .mobile-search-host {
    max-width: 380px !important;
    min-width: 180px !important;
  }

  header.premium-header .mobile-account-locale {
    position: static !important;
    margin-inline-start: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
  }

  header.premium-header .gm-language-unified {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 42px !important;
    height: 36px !important;
    padding: 0 9px !important;
    border: 1px solid hsl(var(--border)) !important;
    border-radius: 10px !important;
    background: hsl(var(--background) / .8) !important;
    color: hsl(var(--muted-foreground)) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  header.premium-header .gm-language-unified:hover {
    border-color: hsl(var(--primary) / .4) !important;
    color: hsl(var(--primary)) !important;
  }
}

@media (max-width: 767px) {
  header.premium-header .gm-language-unified {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
  }
  header.premium-header .gm-language-unified .gm-language-label { display: none !important; }
}
