.order-modal { width: min(1020px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.order-modal::backdrop { background: rgba(15, 23, 42, .55); }
.order-modal .order-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 20px 28px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.order-modal .order-header h2 { margin: 0 0 4px; font-size: 26px; }
.order-modal .order-header p { max-width: 68ch; margin: 0; font-size: 14px; color: var(--ink-2); }
.order-modal .order-close { flex: none; padding: 8px 12px; }
.order-modal .order-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); }
.order-modal .order-fields { padding: 22px 28px; }
.order-modal .order-fields h3, .order-modal .order-summary h3 { margin: 0 0 14px; font-family: var(--display); font-size: 20px; }
.order-modal .order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.order-modal .order-field { display: grid; gap: 5px; font-size: 13.5px; font-weight: 500; }
.order-modal .order-wide { grid-column: 1 / -1; }
.order-modal input:not([type=checkbox]), .order-modal select { width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 7px; color: var(--ink); background: var(--surface); font: 400 15px/1.35 var(--sans); }
.order-modal input:focus-visible, .order-modal select:focus-visible { outline: 3px solid #c7d2fe; outline-offset: 1px; border-color: var(--indigo); }
.order-modal .order-check { display: flex; align-items: start; gap: 10px; font-size: 14px; line-height: 1.45; }
.order-modal input[type=checkbox] { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--indigo); }
.order-modal .order-help { margin: 6px 0 0 28px; font-size: 12.5px; color: var(--mute); }
.order-modal .order-company { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.order-modal .order-summary { padding: 22px 26px; background: var(--bg); border-left: 1px solid var(--line); }
.order-modal .order-includes { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 13.5px; }
.order-modal .order-includes li + li { margin-top: 7px; }
.order-modal .order-totals { margin: 18px 0 10px; }
.order-modal .order-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.order-modal .order-totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.order-modal .order-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; font-size: 18px; }
.order-modal .order-quote-note { margin: 10px 0 0; padding: 9px 12px; border: 1px solid rgba(79, 70, 229, .18); border-radius: 8px; background: rgba(79, 70, 229, .06); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.order-modal .order-quote-note:empty { display: none; }
.order-modal .order-summary .btn { width: 100%; margin-top: 12px; }
.order-modal .order-summary .order-check { margin-top: 16px; }
.order-modal .order-summary .order-legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: 13px; }
.order-modal .order-summary .order-no-card { font-size: 12.5px; color: var(--mute); margin: 8px 0 0; }
.order-modal .order-error { margin: 0; padding: 0 28px 20px; color: #991b1b; }
.order-modal .order-error:empty { display: none; }
.order-modal .order-result { margin: 0; padding: 28px; line-height: 1.8; }
.order-modal [hidden] { display: none !important; }
.order-modal button:disabled { opacity: .65; cursor: progress; }
.price .price-vat { font-size: .4em; white-space: nowrap; font-weight: 500; }
@media (max-width: 700px) {
  .order-modal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .order-modal .order-header { padding: 18px 18px 14px; gap: 12px; }
  .order-modal .order-header h2 { font-size: 22px; }
  .order-modal .order-header p { font-size: 13.5px; }
  .order-modal .order-columns, .order-modal .order-grid, .order-modal .order-company { grid-template-columns: 1fr; }
  .order-modal .order-fields { padding: 18px; }
  .order-modal .order-summary { padding: 18px; border-left: 0; border-top: 1px solid var(--line); }
  .order-modal .order-result, .order-modal .order-error { padding: 18px; }
}
.order-modal .order-installment-section { padding: 16px 0; border-top: 1px solid var(--line); }
.order-modal .order-due-now { display: flex; justify-content: space-between; gap: 12px; margin-top: 0; font-size: 18px; }
.order-modal .order-installment-section h4 { margin: 20px 0 10px; font-size: 15px; }
.order-modal #order-installments p { margin: 10px 0; font-size: 13px; line-height: 1.5; }

.partner-program { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #dce1e8; }
.partner-program p { margin: .75rem 0 1.25rem; }
