/* ==========================================================================
   HOCHWALD — Responsive
   The design is authored mobile-first at the reference width (~405px).
   Larger screens scale the whole interface proportionally with `zoom`
   (keeps every ratio of the reference design) and add columns.
   ========================================================================== */

@media (max-width: 374px) {
  html {
    zoom: 0.92;
  }
}

@media (min-width: 440px) and (max-width: 599px) {
  html {
    zoom: 1.08;
  }
}

@media (min-width: 600px) {
  html {
    zoom: 1.3;
  }

  .dish-card__media {
    height: 84px;
  }

  .offer-card {
    flex-basis: 214px;
  }

  .home-hero__media {
    width: 54%;
    height: 290px;
  }

  .home-hero {
    min-height: 300px;
  }

  .home-hero__content {
    max-width: 260px;
  }
}

@media (min-width: 900px) {
  html {
    zoom: 1.45;
  }

  .app-shell {
    max-width: 1000px;
  }

  .site-header {
    padding-inline: 22px;
  }

  .home-hero {
    min-height: 330px;
  }

  .home-hero__content {
    padding-inline-start: 40px;
    max-width: 320px;
  }

  .home-hero__media {
    width: 52%;
    height: 320px;
  }

  .home-categories {
    margin-inline: 22px;
  }

  .category-rail {
    justify-content: space-between;
  }

  .category-chip {
    min-width: 54px;
  }

  .offer-slider {
    padding-inline: 22px;
  }

  .offer-card {
    flex-basis: calc((100% - 18px) / 3);
    height: 150px;
  }

  .offer-card__media {
    height: 104px;
  }

  .section-head {
    padding-inline: 26px 22px;
  }

  .dish-grid,
  .home-values,
  .home-info {
    padding-inline: 8px;
  }

  .dish-grid {
    gap: 12px;
  }

  .dish-card__media {
    height: 110px;
  }

  .menu-search {
    max-width: 560px;
    margin-inline: auto;
  }

  .category-tabs {
    justify-content: center;
  }

  .menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .extras-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .extras-row:nth-child(2) {
    border-top: 0;
  }

  .menu-section {
    padding-inline: 22px;
  }

  .offers-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 22px;
  }

  .offers-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .offers-values {
    margin-inline: 22px;
  }

  .contact-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 auto;
    gap: 8px;
  }

  .contact-actions,
  .contact-map,
  .contact-socials {
    grid-column: 1 / -1;
  }

  .contact-map {
    height: 180px;
  }

  .contact-hero {
    min-height: 220px;
  }

  .site-footer__landscape {
    height: 170px;
  }

  body {
    padding-bottom: 86px;
  }

  .app-shell {
    min-height: calc(100vh - 86px);
    min-height: calc(100dvh - 86px);
  }

  .bottom-nav {
    left: 50%;
    right: auto;
    bottom: 12px;
    width: 440px;
    transform: translateX(-50%);
    border-radius: 24px;
    box-shadow: var(--shadow-float);
  }

  .drawer__panel {
    width: 320px;
  }
}

@media (min-width: 1400px) {
  html {
    zoom: 1.6;
  }
}

@media (hover: none) {
  .dish-card:hover,
  a.contact-card:hover {
    transform: none;
  }
}
