/* Safe static-copy behavior and small resilience fixes. */
.preloader,
.popup_wrap,
.popup-overlay,
.header_basket_popup,
.cookie-notification,
.section_modalbox_close_pizza {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

img {
  max-width: 100%;
}

/* The original page positioned these cards with Isotope. The static copy
   uses native CSS Grid so the menu does not collapse into one column. */
.main_menu .menu_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 29px;
  width: 100%;
}

.main_menu .menu_item {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .main_menu .menu_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 545px) {
  .main_menu .menu_grid {
    grid-template-columns: 1fr;
  }
}

a[href="#"],
a[href="index.html#menu"] {
  cursor: default;
}

.static-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: #262626;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  font: 14px/1.35 Arial, sans-serif;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.static-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .static-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }
}
