/* =========================================================
   ORDER PAGE – GreenOwl
   ========================================================= */

.order-section-bg {
  background: #334d66;
  padding: 60px 0 80px 0;
}

.order-wrap h2,
.order-wrap h4 {
  color: #ffffff;
}

.order-wrap hr {
  border-color: rgba(255,255,255,0.6);
}

.order-viewer {
  width: 100%;
  height: 420px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-bottom: 25px;
}

.order-panel {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}

.order-panel input,
.order-panel select {
  width: 100% !important;
  max-width: 100% !important;
}

/* SLIDER */
#fillSlider {
  width: 100% !important;
  max-width: 100% !important;
  height: 10px;
  margin: 12px 0 6px 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  border: none;
  outline: none;
  -webkit-appearance: none;
}
#fillSlider::-webkit-slider-runnable-track {
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
}
#fillSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e09224;
  border: 3px solid #ffffff;
  margin-top: -6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
#fillSlider::-moz-range-track {
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
}
#fillSlider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e09224;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.order-fill-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

/* OPTIONS */
.order-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.order-options .option {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 14px;
  color: #ffffff;
  cursor: pointer;
  transition: all .15s ease;
}
.order-options .option:hover {
  border-color: #e09224;
  transform: translateY(-2px);
}
.order-options .option.selected {
  background: rgba(224,146,36,0.18);
  border-color: #e09224;
  box-shadow: 0 0 0 2px rgba(224,146,36,0.25),
              0 10px 24px rgba(0,0,0,0.25);
}
.option-title { font-weight: 800; margin-bottom: 4px; }
.option-desc { font-size: 13px; opacity: 0.85; }
.option-price { margin-top: 6px; font-weight: 800; }

/* STEPS */
.order-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.order-steps .step {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.order-steps .step.active {
  background: #e09224;
  border-color: #e09224;
  color: #334d66;
  font-weight: 800;
}

/* SUMMARY */
.order-summary {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px;
  color: #ffffff;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.summary-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid rgba(255,255,255,0.4);
  font-size: 18px;
  font-weight: 800;
}
.order-wrap .order-summary .summary-item,
.order-wrap .order-summary .summary-total{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:12px;
}
.order-wrap .order-summary strong{
  margin-left:auto !important;
  text-align:right !important;
  white-space:nowrap;
}

/* BUTTONS */
.order-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.order-actions .btn,
.order-btn-primary {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
}
.order-actions .btn:hover,
.order-btn-primary:hover {
  background: #e09224 !important;
  border-color: #e09224 !important;
  color: #334d66 !important;
}

/* STEP CONTENT VISIBILITY */
.order-wrap .step-content { display: none !important; }
.order-wrap .step-content.active { display: block !important; }

/* WARNINGS – ✅ világosabb, kontrasztosabb */
.order-wrap .warnings { margin-top: 14px; }
.order-wrap .warnings .warning{
  display:none !important;
}
.order-wrap .warnings .warning.show{
  display:block !important;
  background: rgba(255,255,255,0.92);
  color: #1f2a38;
  border-left: 6px solid #e09224;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.order-wrap .warnings .warning i { color: #bf5a24; }

/* MODAL */
#orderModal.modal-overlay{
  display:none !important;
  position:fixed !important;
  inset:0 !important;
  background:rgba(0,0,0,0.55) !important;
  align-items:center !important;
  justify-content:center !important;
  z-index:99999 !important;
  padding:20px !important;
}
#orderModal.modal-overlay[style*="display: flex"]{ display:flex !important; }
#orderModal .modal{
  width:min(520px, 94vw) !important;
  background:#fff !important;
  border-radius:12px !important;
  padding:24px !important;
  box-shadow:0 10px 40px rgba(0,0,0,0.35) !important;
  position:relative !important;
}
#orderModal .modal h2{ margin:0 0 14px 0 !important; text-align:center !important; }
#orderModal .modal .modal-buttons{
  display:flex !important;
  gap:12px !important;
  justify-content:space-between !important;
}
#orderModal .modal .modal-buttons .btn{ flex:1 1 auto !important; }

#orderModal #modalContent{ display:block; }
#orderModal #loadingIndicator{ display:none; }
#orderModal #successMessage{ display:none; }
