/* MDI mobile regression v1 — targeted safe-area and touch-control fixes only. */

@media (max-width: 980px) {
  .menu-button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 9px;
    cursor: pointer;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 760px) {
  .find-v2-compare-bar {
    bottom: max(9px, env(safe-area-inset-bottom));
  }

  .mdi-quick-view {
    min-height: 100dvh;
  }

  .mdi-quick-view-panel {
    height: 100dvh;
  }

  .mdi-quick-view-tools .mdi-quick-view-close,
  .compare-v2-picker__close {
    min-width: 44px;
    min-height: 44px;
  }

  .mdi-quick-view-footer {
    padding-bottom: max(15px, env(safe-area-inset-bottom));
  }

  .source-toggle,
  .ask-mdi__suggestions button {
    min-height: 40px;
  }
}
