.order-button {
  padding: 11px 22px;
  border: 1px solid #f4f4f5;
  border-radius: 100px;
  background: #f4f4f5;
  color: #151619;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.order-button:hover { background: #fff; border-color: #fff; }
.order-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; text-decoration: none; }

.order-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f5f5f7;
  color: #1d1d1f;
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.order-dialog[open] { display: flex; flex-direction: column; animation: order-enter .3s cubic-bezier(.2,.8,.2,1) both; }
.order-dialog::backdrop { background: rgb(0 0 0 / .78); }
.order-dialog-header {
  position: absolute;
  z-index: 3;
  top: 0;
  right: max(32px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 64px;
  padding: 0;
  border: 0;
}
.order-dialog-header h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.order-close {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #52525a;
}
.order-close:hover { background: #e7e7eb; color: #1d1d1f; }
.order-close svg { width: 18px; height: 18px; stroke-width: 1.5; }
.order-close:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 1px; text-decoration: none; }
.order-content { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.order-frame { display: block; width: 100%; height: 100%; border: 0; background: #f5f5f7; opacity: 0; transition: opacity .2s ease; }
.order-dialog[data-configurator-ready="true"] .order-frame { opacity: 1; }
.order-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; font-size: 14px; color: #6e6e73; }
.order-loading p { margin: 0; }
.order-loading a { color: #1d1d1f; text-decoration: underline; text-underline-offset: 4px; }
html.order-open, body.order-open { overflow: hidden; }
@keyframes order-enter { from { opacity: 0; } to { opacity: 1; } }
@supports (height: 100dvh) { .order-dialog { height: 100dvh; } }
@media (max-width: 600px) { .order-button { padding: 9px 17px; font-size: 11px; } }
@media (max-width: 680px) {
  .order-dialog-header { right: 16px; height: calc(60px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
}
@media (max-width: 480px) {
  .header-actions { gap: 10px; }
  .order-button, .header-actions .sign-in-button { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) { .order-dialog[open] { animation: none; } .order-frame, .order-button { transition: none; } }
