/* =========================================================
   Header Info Bar (žlutá lišta) – úprava pro mobily a tablety
   - lišta drží výšku 40 px, nepřekrývá logo / košík / menu
   - tlačítko "Více informací" se ukazuje i na mobilu a tabletu
   - na počítači (768 px a víc) se nic nemění
   ========================================================= */

/* mobily a menší tablety: text vlevo, tlačítko vpravo */
@media (max-width: 767px) {
  .header-info-bar .header-info-bar__content {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 8px !important;
    overflow: hidden;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .header-info-bar .header-info-bar__icon {
    display: none !important;
  }
  .header-info-bar .header-info-bar__left-panel {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
  .header-info-bar .header-info-bar__text {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 11px !important;
    line-height: 15px !important;
    text-align: center;
  }
  .header-info-bar .header-info-bar__right-panel {
    display: block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header-info-bar .header-info-bar__btn {
    font-size: 9px !important;
    line-height: 11px !important;
    padding: 5px 6px !important;
    white-space: nowrap;
    border-radius: 4px;
    letter-spacing: 0;
  }
}

/* menší tablety na výšku (iPad mini, Android tablety) – větší písmo a tlačítko */
@media (min-width: 576px) and (max-width: 767px) {
  .header-info-bar .header-info-bar__content {
    padding: 0 15px !important;
    gap: 12px;
  }
  .header-info-bar .header-info-bar__text {
    font-size: 13px !important;
    line-height: 17px !important;
  }
  .header-info-bar .header-info-bar__btn {
    font-size: 12px !important;
    line-height: 14px !important;
    padding: 5px 10px !important;
  }
}

/* velmi úzké telefony: na tlačítko není místo, celá lišta je i tak klikací */
@media (max-width: 359px) {
  .header-info-bar .header-info-bar__right-panel {
    display: none !important;
  }
}
