.menu-section__head {
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.menu-section__head > div {
  width: 100%;
}

.featured-product-grid .menu-product-card {
  height: 100%;
}

@media (max-width: 980px) {
  .nav-shell {
    position: relative;
  }

  .primary-nav {
    left: auto !important;
    right: 0 !important;
    top: calc(100% - 6px) !important;
    width: max-content;
    min-width: 132px;
    max-width: calc(100vw - 28px);
    padding: 6px !important;
    gap: 2px;
    border-radius: 8px;
    border-color: rgba(159, 31, 34, .18);
    box-shadow: 0 18px 38px rgba(23, 21, 20, .16);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 26px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(159, 31, 34, .18);
    border-top: 1px solid rgba(159, 31, 34, .18);
    transform: rotate(45deg);
  }

  .nav-link {
    padding: 8px 9px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.2;
  }
}

@media (max-width: 700px) {
  .menu-category-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
  }

  .menu-quick-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
    padding-top: 8px;
  }

  .menu-quick-actions .btn {
    min-height: 34px !important;
    padding: 6px 5px !important;
    border-radius: 8px;
    font-size: 12px !important;
    line-height: 1.15;
    gap: 4px;
  }

  .menu-quick-actions .btn svg {
    width: 16px;
    height: 16px;
  }

  .menu-product-card {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 10px !important;
  }

  .menu-product-card img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 78px !important;
    height: 60px !important;
    object-fit: cover;
  }

  .menu-product-card > div {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
  }

  .menu-product-card h3 {
    margin: 0 0 4px !important;
    font-size: 16px !important;
    line-height: 1.18;
  }

  .menu-product-card p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 380px) {
  .menu-quick-actions .btn {
    font-size: 11px !important;
  }

  .menu-product-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .menu-product-card img {
    width: 72px !important;
    height: 56px !important;
  }
}
