@media (max-width: 920px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.menu-open,
  body.modal-open,
  body.page-scroll-locked,
  html.scroll-locked,
  html.menu-scroll-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: none;
  }

  .site-header,
  .site-header.is-solid,
  .site-header.delivery-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 250 !important;
    width: 100% !important;
    color: var(--ink) !important;
    background: rgba(251, 250, 246, 0.98) !important;
    border-bottom: 1px solid rgba(23, 23, 19, 0.08) !important;
    box-shadow: 0 12px 34px rgba(16, 18, 13, 0.1) !important;
    backdrop-filter: blur(18px);
  }

  body.menu-open .site-header,
  body.menu-open .site-header.is-solid,
  body.menu-open .site-header.delivery-header {
    height: 100dvh !important;
    min-height: 100dvh !important;
    background: #fbfaf6 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    overflow: hidden !important;
    z-index: 400 !important;
  }

  .nav {
    width: calc(100% - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 66px !important;
  }

  body.menu-open .nav {
    min-height: 70px !important;
    position: static !important;
    overflow: visible !important;
  }

  .brand,
  .icon-btn {
    position: relative !important;
    z-index: 405 !important;
  }

  .brand-logo {
    width: clamp(98px, 32vw, 128px) !important;
    max-height: 56px !important;
    object-fit: contain !important;
  }

  .icon-btn,
  .site-header.delivery-header .icon-btn {
    display: grid !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    color: var(--ink) !important;
    border-color: rgba(23, 23, 19, 0.64) !important;
    background: #fffefa !important;
  }

  .nav-links,
  body.menu-open .nav-links {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: calc(76px + env(safe-area-inset-top)) !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    min-width: 0 !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    justify-content: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    color: var(--ink) !important;
    background: #fbfaf6 !important;
    border: 1px solid rgba(23, 23, 19, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 70px rgba(16, 18, 13, 0.18) !important;
    box-sizing: border-box !important;
    z-index: 404 !important;
  }

  .nav-links {
    transform: translateY(-10px) scale(0.98) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.menu-open .nav-links {
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.menu-open .nav-links a,
  body.menu-open .nav-mobile-action {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 14px !important;
    border-radius: 14px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .nav-links a::after {
    display: none !important;
  }

  .modal {
    padding: 0 !important;
    align-items: stretch !important;
    overflow: hidden !important;
    touch-action: none;
  }

  .modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
  }

  .modal-dialog,
  .modal-dialog.wide,
  .modal-dialog.compact,
  .booking-dialog,
  .product-modal-dialog,
  .delivery-modal-content,
  .account-modal-content {
    width: min(100vw, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    margin: auto !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    border-radius: 16px !important;
  }

  .modal-close,
  .booking-dialog .modal-close,
  .product-modal-dialog .modal-close,
  .cart-drawer .modal-close {
    position: sticky !important;
    top: 0 !important;
    margin-left: auto !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    display: grid !important;
    place-items: center !important;
    color: var(--ink) !important;
    background: #fffefa !important;
    border: 1px solid rgba(23, 23, 19, 0.16) !important;
    box-shadow: 0 10px 26px rgba(16, 18, 13, 0.16) !important;
    z-index: 12 !important;
  }

  .booking-dialog > .modal-close,
  .product-modal-dialog > .modal-close,
  .modal-dialog > .modal-close {
    position: sticky !important;
    float: right;
  }

  .cart-modal {
    z-index: 520 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    overflow: hidden !important;
    touch-action: auto;
  }

  .cart-modal.is-open .cart-drawer {
    transform: translateY(0) !important;
  }

  .cart-items {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .cart-summary {
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .hero-inner {
    width: min(100% - 24px, var(--max)) !important;
    padding: calc(98px + env(safe-area-inset-top)) 0 48px !important;
    min-height: min(760px, 100dvh) !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  h1 {
    max-width: 100% !important;
    font-size: clamp(42px, 15vw, 62px) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    margin-top: 18px !important;
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.42 !important;
  }

  .hero-actions,
  .section-actions,
  .checkout-submit-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-actions .btn,
  .section-actions .btn,
  .checkout-submit-row .btn,
  .checkout-summary-submit {
    width: 100% !important;
    min-height: 48px !important;
    white-space: normal !important;
  }

  .btn:disabled,
  .btn.is-disabled,
  button:disabled {
    cursor: not-allowed !important;
    opacity: 0.58 !important;
    transform: none !important;
  }

  .delivery-store {
    padding-top: 96px !important;
  }

  .delivery-category-grid,
  .delivery-product-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .delivery-category-card {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    align-items: center !important;
    border-radius: 12px !important;
  }

  .delivery-category-card figure {
    height: 112px !important;
    aspect-ratio: auto !important;
  }

  .delivery-category-card-body {
    padding: 14px !important;
  }

  .delivery-category-card h2 {
    font-size: 24px !important;
    line-height: 1.05 !important;
  }

  .delivery-products-top {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .delivery-products-title h2 {
    font-size: 36px !important;
    line-height: 1 !important;
  }

  .delivery-product-card figure {
    aspect-ratio: 1.45 / 1 !important;
  }

  .delivery-product-body {
    min-height: 0 !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .delivery-product-card h3 {
    min-height: 0 !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .delivery-product-foot {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .delivery-product-add,
  .product-card-qty,
  .product-modal-dialog [data-product-modal-add] {
    width: 100% !important;
    min-height: 46px !important;
  }

  .product-modal-dialog {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
  }

  .product-modal-media {
    max-height: 38dvh !important;
  }

  .product-modal-body {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .product-modal-actions {
    position: sticky !important;
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    background: #fffefa !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }

  .checkout-reference-layout,
  .checkout-field-grid,
  .checkout-option-grid,
  .checkout-option-grid.three {
    grid-template-columns: 1fr !important;
  }

  .checkout-page-section {
    padding-top: 96px !important;
  }

  .checkout-heading h2,
  #checkout-title {
    font-size: 40px !important;
    line-height: 1 !important;
  }

  .checkout-step {
    padding: 18px !important;
  }

  .checkout-summary-card,
  .checkout-reference-summary {
    position: static !important;
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .checkout-summary-product {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .checkout-summary-product > strong {
    grid-column: 2 !important;
    justify-self: start !important;
    font-size: 18px !important;
  }

  .checkout-summary-product img {
    width: 58px !important;
    height: 58px !important;
  }

  .checkout-reference-summary .checkout-summary-total strong {
    font-size: 28px !important;
  }

  .checkout-empty-cart {
    display: grid;
    gap: 10px;
    padding: 16px 0 20px;
  }

  .checkout-empty-cart p {
    color: rgba(23, 23, 19, 0.62) !important;
  }
}

@media (max-width: 380px), (max-height: 760px) and (max-width: 760px) {
  .nav {
    min-height: 62px !important;
  }

  .brand-logo {
    width: 102px !important;
  }

  .icon-btn {
    flex-basis: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }

  .nav-links,
  body.menu-open .nav-links {
    left: 8px !important;
    right: 8px !important;
    top: calc(68px + env(safe-area-inset-top)) !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    gap: 6px !important;
    padding: 8px !important;
  }

  body.menu-open .nav-links a,
  body.menu-open .nav-mobile-action {
    min-height: 42px !important;
    padding: 9px 12px !important;
    font-size: 10.5px !important;
  }

  .hero-inner {
    padding-top: calc(84px + env(safe-area-inset-top)) !important;
    min-height: min(680px, 100dvh) !important;
  }

  h1 {
    font-size: clamp(38px, 14vw, 52px) !important;
  }
}
