.primaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  background: var(--accent);
  color: var(--ink-on-accent);
  border: none;
  border-radius: 10px;
  padding: 14px 27px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 205, 70, 0.33);
  transition: .2s;
}
.primaryButton:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 28px rgba(255, 205, 70, 0.5);
  transform: translateY(-2px);
}
.primaryButtonWide { width: 100%; }

.ghostLink {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
  padding: 10px 0;
}
.ghostLink:hover { color: var(--accent); }

.orderFab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  border-radius: 999px;
  padding: 14px 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.orderFab svg { width: 20px; height: 20px; }
body:has(.orderFab) .siteFooter { padding-bottom: 120px; }

.orderModal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 10, 28, 0.78);
}
.orderModal:target,
.orderModal.isOpen { display: flex; }
.modalPanel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 16px;
  padding: 36px 32px 32px;
  background: var(--bg-secondary);
  border: 2px solid var(--accent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.modalClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}
.modalTitle { margin-bottom: 8px; padding-right: 44px; }
.modalSummary { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; }
.modalSummary strong { color: var(--accent); white-space: nowrap; }

.formGroup { margin-bottom: 18px; }
.formLabel {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.formInput {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #5a74b0;
  background: #0a1a3f;
  color: var(--text-primary);
  font-size: 17px;
}
.formInput::placeholder { color: #8e9fc4; }
.formInput:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.formCheck {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.formCheck input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; accent-color: #ffcd46; }
.formCheck a { color: var(--accent); }
.formError {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #3a1420;
  color: #ffd4dc;
  border: 1px solid #c2455f;
  font-size: 15px;
}
.formHint { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.formTrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .orderFab { right: 16px; bottom: 16px; left: 16px; }
  body:has(.orderFab) .siteFooter { padding-bottom: 112px; }
  .modalPanel { padding: 32px 20px 24px; }
}
