:root {
  --public-breakpoint-sm: 600px;
  --public-breakpoint-md: 768px;
  --public-breakpoint-lg: 960px;
  --public-space-xs: 0.75rem;
  --public-space-sm: 1rem;
  --public-space-md: 1.5rem;
  --public-space-lg: 2rem;
}

html,
body {
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

section.main,
section.offerings,
section.menuNavigation,
.menusWrapper {
  width: min(100%, 1200px);
  margin-inline: auto;
}

section.main {
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 1.5rem);
}

section.offerings {
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 1.25rem);
}

section.offerings .offeringsText {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.button {
  padding: clamp(0.7rem, 1.7vw, 0.9rem) clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(0.95rem, 1.8vw, 1rem);
}

@media (max-width: 960px) {
  section.offerings {
    flex-direction: column;
  }

  section.offerings > div {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .menuButtons {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0.9rem;
  }

  .menuButtons .button {
    width: 100%;
    min-width: 0;
  }

  section.main {
    padding-inline: 1rem;
  }
}

@media (max-width: 600px) {
  section.main {
    padding-block: 1.75rem;
  }

  section.offerings {
    padding: 1rem;
  }

  section.offerings .offeringsText {
    padding: 1rem 0;
  }
}

/* Order buttons injected dynamically on public pages (index, etc.)
   - stacked vertically with consistent width
   - centered under the offering text
   - responsive: full width on very small screens */
#orderButtons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 1rem;
}

#orderButtons .button {
  width: min(320px, 100%);
  box-sizing: border-box;
  white-space: normal; /* allow wrapping but keep fixed width */
  text-align: center;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
}

@media (min-width: 960px) {
  #orderButtons .button {
    width: 320px; /* fixed nice width on larger screens */
  }
}
