@media (max-width: 768px) {
  :root {
    --inpesa-header-height: 68px;
    --inpesa-layout-gutter: 14px;
  }

  .site-header__logo-image {
    height: 40px;
    max-width: 160px;
  }

  .menu-sections {
    width: min(92vw, 340px);
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 576px) {
  :root {
    --inpesa-header-height: 64px;
  }

  .site-header__logo-image {
    height: 36px;
    max-width: 150px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__col--brand {
    grid-column: auto;
  }

  .site-footer__phones,
  .site-footer__mail,
  .site-footer__links a {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .prod-page__catalog-grid--three,
  .prod-detail-page__cards-grid--three,
  .prod-detail-page__cards-grid--four,
  .prod-detail-page__gallery-row {
    grid-template-columns: 1fr;
  }

  .prod-page__catalog-item {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .home__section-14-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .home__section-14-card {
    width: min(366px, 100%);
  }

  .home__section-14-media-box {
    width: min(300px, 100%);
  }

  .home__section-14-media {
    width: min(366px, 100%);
    height: auto;
    aspect-ratio: 366 / 275;
  }

  .home__section-14-image {
    width: 100%;
    height: 100%;
  }
}
