/* Local surface only: the ordering guide stays clean, without photographic grain. */
.how-to-order {
  width: min(560px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: clamp(32px, 5vw, 56px);
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--ink, #242424);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--ink, #242424) var(--white, #fff);
  font-family: var(--sans, 'Neue Montreal', sans-serif);
}

.how-to-order::backdrop { background: rgb(0 0 0 / .58); }

.how-to-order__close {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: -12px -12px 24px auto;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: transform 140ms cubic-bezier(.23, 1, .32, 1);
}
.how-to-order__close svg { width: 16px; height: 16px; }
.how-to-order__close:active { transform: scale(.97); }

.how-to-order__title {
  font-family: var(--display, Agrandir, sans-serif);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.how-to-order__copy {
  max-width: 37ch;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.how-to-order__cta {
  width: 100%;
  min-width: 0;
  margin-top: 32px;
}
.how-to-order__note {
  max-width: 38ch;
  margin-top: 20px;
  color: var(--muted, #626262);
  font-size: 13px;
  line-height: 1.5;
}
.how-to-order :focus-visible {
  outline: 2px solid var(--ink, #242424);
  outline-offset: 5px;
}

@media (max-width: 600px) {
  .how-to-order {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 28px;
  }
  .how-to-order__close { margin-bottom: 20px; }
  .how-to-order__title { font-size: clamp(36px, 10.8vw, 48px); }
  .how-to-order__copy { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .how-to-order__close { transition: none; }
}

@media (forced-colors: active) {
  .how-to-order { border: 1px solid CanvasText; }
}
