/* =========================
   Custom Order Form - Modern & Inviting
   Clean SaaS style with subtle blue accents
   ========================= */

.pr-order {
  padding: 20px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: #0f172a;
}

.pr-order-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.pr-order-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .pr-order-head { grid-template-columns: 1fr; }
}

.pr-order-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0284c7;
  margin: 0 0 8px;
  font-weight: 700;
}

.pr-order-title {
  margin: 0 0 12px;
  font-size: 31px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.pr-order-subtitle {
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 15px;
  max-width: 75ch;
}

/* Summary Card - Soft Blue Accent */
.pr-order-summary {
  border-radius: 22px;
  background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.12);
  padding: 10px 20px;
}

.pr-order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  padding: 9px 0;
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

.pr-order-summary-row:last-child {
  border-bottom: none;
}

.pr-order-summary-row strong {
  color: #0f172a;
  font-weight: 700;
}

.pr-order-summary-total strong {
  font-weight: 900;
  color: #0f172a;
}

/* Shell */
.pr-order-shell {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* Stepper - Modern & Clean */
.pr-order-stepper {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: rgba(255,255,255,0.95);
  flex-wrap: wrap;
}

.pr-step {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: white;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pr-step.is-active {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.pr-step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #dbeafe;
  color: #1e40af;
  font-size: 13px;
}

.pr-step-label {
  font-weight: 700;
  color: #0f172a;
}

/* Form Panels */
.pr-order-form {
  padding: 32px 40px;
}

.pr-step-panel {
  display: none;
}

.pr-step-panel.is-active {
  display: block;
}

.pr-panel-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pr-panel-sub {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: #475569;
}

/* Fields - Modern Look */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .pr-grid { grid-template-columns: 1fr; }
}

.pr-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pr-field-full {
  grid-column: 1 / -1;
}

.pr-field label {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.pr-field input,
.pr-field select,
.pr-field textarea {
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  padding: 14px 16px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.pr-field input:focus,
.pr-field select:focus,
.pr-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  outline: none;
}

/* Actions */
.pr-panel-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pr-save-status {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}







/* =========================
   Scoped Modern Buttons - Only for the order form
   Does NOT affect header buttons
   ========================= */

/* Target buttons only inside the custom order form */
.pr-order .pr-btn {
    border-radius: 9999px !important;
    font-weight: 600 !important;
    padding: 12px 26px !important;
    transition: all 0.25s ease !important;
    font-size: 15px;
}

/* Primary blue buttons inside the form */
.pr-order .pr-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25) !important;
}

.pr-order .pr-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35) !important;
}

/* Outline buttons inside the form */
.pr-order .pr-btn-outline2 {
    background: transparent !important;
    color: #2563eb !important;
    border: 2px solid #bfdbfe !important;
}

.pr-order .pr-btn-outline2:hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
}







/* Upload */
.pr-upload {
  border-radius: 20px;
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  padding: 24px;
  text-align: center;
}

.pr-upload-hint {
  font-size: 13.5px;
  color: #64748b;
  margin-top: 12px;
}

/* Pay Section */
.pr-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .pr-pay-grid { grid-template-columns: 1fr; }
}

.pr-pay-card {
  border-radius: 20px;
  padding: 24px;
  background: #0f172a;
  color: white;
}

.pr-pay-card-light {
  background: white;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.pr-pay-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}