/* ── Qurbana Offering Frontend Styles ──────────────────────────────────── */
:root {
  --qo-primary:   #1a3a54;
  --qo-primary-d: #122940;
  --qo-accent:    #e8f0f6;
  --qo-success:   #28a745;
  --qo-error:     #dc3545;
  --qo-border:    #c8d8e4;
  --qo-text:      #2c2c2c;
  --qo-muted:     #777;
  --qo-radius:    10px;
  --qo-shadow:    0 4px 20px rgba(26,58,84,.12);
}

.qo-wrap { max-width: 720px; margin: 0 auto; font-family: 'Segoe UI', Georgia, serif; color: var(--qo-text); }

/* Steps */
.qo-steps { display: flex; gap: 4px; margin-bottom: 28px; }
.qo-step  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
            font-size: 11px; color: var(--qo-muted); padding: 10px 4px;
            border-bottom: 3px solid #ddd; transition: .2s; }
.qo-step span { width: 26px; height: 26px; border-radius: 50%; background: #ddd;
                color: #999; display: flex; align-items: center; justify-content: center;
                font-weight: 700; font-size: 13px; }
.qo-step.active       { color: var(--qo-primary); border-color: var(--qo-primary); }
.qo-step.active span  { background: var(--qo-primary); color: #fff; }
.qo-step.done span    { background: var(--qo-success); color: #fff; }

/* Panel */
.qo-panel { background: #fff; border: 1px solid var(--qo-border); border-radius: var(--qo-radius);
            padding: 28px 32px; box-shadow: var(--qo-shadow); }
.qo-panel-title { margin: 0 0 4px; font-size: 20px; color: var(--qo-primary); }
.qo-panel-sub   { margin: 0 0 24px; color: var(--qo-muted); font-size: 14px; }

/* Fields */
.qo-field       { margin-bottom: 20px; }
.qo-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.qo-field small { color: var(--qo-muted); font-size: 12px; margin-top: 4px; display: block; }
.req { color: var(--qo-error); }

.qo-field input[type="text"],
.qo-field input[type="email"],
.qo-field input[type="tel"],
.qo-field input[type="date"],
.qo-field select,
.qo-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--qo-border);
  border-radius: 7px; font-size: 14px; color: var(--qo-text); outline: none;
  transition: border-color .2s; box-sizing: border-box; background: #fafafa;
}
.qo-field input:focus,
.qo-field select:focus,
.qo-field textarea:focus { border-color: var(--qo-primary); background: #fff; }
.qo-field textarea { resize: vertical; min-height: 90px; }

/* Service Cards */
.qo-service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qo-service-card  { cursor: pointer; }
.qo-service-card input { display: none; }
.qo-card-inner {
  border: 2px solid var(--qo-border); border-radius: var(--qo-radius); padding: 16px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; transition: .2s; background: #fafafa;
}
.qo-card-icon  { font-size: 26px; }
.qo-card-price { font-size: 15px; font-weight: 700; color: var(--qo-primary); }
.qo-service-card input:checked + .qo-card-inner {
  border-color: var(--qo-primary); background: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(26,58,84,.15);
}
.qo-service-card:hover .qo-card-inner { border-color: var(--qo-primary-d); }

/* Date rows */
.qo-date-row   { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.qo-date-row input { flex: 1; }
.qo-remove-date {
  background: none; border: 1.5px solid #ddd; border-radius: 6px; width: 34px; height: 38px;
  cursor: pointer; color: var(--qo-error); font-size: 14px; flex-shrink: 0;
  transition: .2s; display: flex; align-items: center; justify-content: center;
}
.qo-remove-date:hover { background: #ffeef0; border-color: var(--qo-error); }

/* Price summary */
.qo-price-summary {
  margin-top: 22px; background: var(--qo-accent); border: 1.5px solid var(--qo-border);
  border-radius: var(--qo-radius); padding: 16px 20px;
}
.qo-summary-row { display: flex; justify-content: space-between; padding: 7px 0;
                  border-bottom: 1px solid var(--qo-border); font-size: 14px; }
.qo-summary-total {
  display: flex; justify-content: space-between; padding-top: 14px;
  font-weight: 700; font-size: 17px; color: var(--qo-primary);
}

/* Payment options */
.qo-payment-options { display: flex; gap: 14px; flex-wrap: wrap; }
.qo-radio-card { cursor: pointer; }
.qo-radio-card input { display: none; }
.qo-radio-card span {
  display: block; padding: 11px 20px; border: 2px solid var(--qo-border);
  border-radius: 8px; font-size: 14px; transition: .2s; background: #fafafa;
}
.qo-radio-card input:checked + span {
  border-color: var(--qo-primary); background: var(--qo-accent); font-weight: 600;
}

/* Navigation buttons */
.qo-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.qo-btn {
  padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: .2s; display: inline-flex;
  align-items: center; gap: 6px;
}
.qo-btn-next, .qo-btn-submit {
  background: var(--qo-primary); color: #fff; margin-left: auto;
}
.qo-btn-next:hover, .qo-btn-submit:hover { background: var(--qo-primary-d); }
.qo-btn-back    { background: #f0f0f0; color: var(--qo-text); }
.qo-btn-back:hover { background: #e0e0e0; }
.qo-btn-outline {
  background: none; border: 1.5px dashed var(--qo-primary); color: var(--qo-primary);
  font-size: 13px; padding: 8px 16px; margin-top: 4px;
}
.qo-btn-outline:hover { background: var(--qo-accent); }
.qo-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Checkbox */
.qo-checkbox-field { margin-top: 20px; }
.qo-checkbox-field label { display: flex; gap: 10px; font-size: 13px; color: var(--qo-muted); cursor: pointer; align-items: flex-start; }
.qo-checkbox-field input { flex-shrink: 0; margin-top: 2px; accent-color: var(--qo-primary); width: 16px; height: 16px; }

/* Review box */
.qo-review-box { background: #fafafa; border: 1.5px solid var(--qo-border); border-radius: var(--qo-radius); overflow: hidden; margin-bottom: 4px; }
.qo-review-row { display: flex; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--qo-border); font-size: 14px; }
.qo-review-row:last-child { border-bottom: none; }
.qo-review-row .lbl { color: var(--qo-muted); }
.qo-review-row .val { font-weight: 600; text-align: right; max-width: 65%; }
.qo-review-total { background: var(--qo-accent); padding: 14px 16px; display: flex; justify-content: space-between; font-weight: 700; color: var(--qo-primary); font-size: 17px; }

/* Notice */
.qo-notice { padding: 12px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.qo-notice.error   { background: #ffeef0; border: 1px solid #f5c6cb; color: #721c24; }
.qo-notice.success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }

/* Success box */
.qo-success-box { text-align: center; padding: 48px 32px; background: #fff;
                  border: 1.5px solid var(--qo-border); border-radius: var(--qo-radius);
                  box-shadow: var(--qo-shadow); }
.qo-success-icon { font-size: 52px; margin-bottom: 16px; color: var(--qo-primary); }
.qo-success-box h2 { color: var(--qo-success); margin-bottom: 12px; }

/* Mobile */
@media (max-width: 600px) {
  .qo-panel { padding: 20px 16px; }
  .qo-service-cards { grid-template-columns: 1fr 1fr; }
  .qo-steps .qo-step { font-size: 10px; }
  .qo-nav { flex-direction: column-reverse; }
  .qo-btn-next, .qo-btn-submit, .qo-btn-back { width: 100%; justify-content: center; margin-left: 0; }
}

/* ── Cutoff banner ───────────────────────────────────────────────────────── */
.qo-cutoff-banner {
  background: #fff8e1;
  border: 1.5px solid #ffe082;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #5d4037;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Multi-service card styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* Checkbox-style service cards */
.qo-service-card input[type="checkbox"] { display: none; }
.qo-card-check-icon {
  display: none; position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; background: var(--qo-primary); color: #fff;
  border-radius: 50%; font-size: 13px; font-weight: 700;
  align-items: center; justify-content: center;
}
.qo-card-inner { position: relative; }
.qo-card-hint  { font-size: 11px; color: var(--qo-muted); }
.qo-service-card.selected .qo-card-inner {
  border-color: var(--qo-primary); background: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(26,58,84,.15);
}
.qo-service-card.selected .qo-card-check-icon { display: flex; }

/* Private intention toggle */
.qo-private-toggle {
  margin-top: 18px; border: 1.5px solid var(--qo-border); border-radius: 10px;
  background: #fafafa; overflow: hidden;
}
.qo-toggle-label {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  cursor: pointer; transition: background .2s;
}
.qo-toggle-label:hover { background: var(--qo-accent); }
.qo-toggle-icon { font-size: 22px; flex-shrink: 0; }
.qo-toggle-body { flex: 1; }
.qo-toggle-body strong { display: block; font-size: 14px; }
.qo-toggle-body span   { font-size: 12px; color: var(--qo-muted); }

/* Toggle switch */
.qo-toggle-switch { flex-shrink: 0; position: relative; }
.qo-toggle-switch input { display: none; }
.qo-switch-slider {
  display: block; width: 44px; height: 24px; background: #ccc; border-radius: 12px;
  transition: background .2s; cursor: pointer; position: relative;
}
.qo-switch-slider::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.qo-toggle-switch input:checked + .qo-switch-slider { background: var(--qo-primary); }
.qo-toggle-switch input:checked + .qo-switch-slider::after { transform: translateX(20px); }

/* Per-service date sections */
.qo-svc-date-section {
  background: #fafafa; border: 1.5px solid var(--qo-border); border-radius: 10px;
  padding: 16px 18px; margin-bottom: 16px;
}
.qo-svc-date-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap; gap: 8px;
}
.qo-svc-date-title { font-weight: 700; font-size: 14px; color: var(--qo-primary); }

/* Auto-toggle label */
.qo-auto-toggle {
  display: flex; align-items: center; gap: 7px; font-size: 13px;
  color: var(--qo-muted); cursor: pointer;
}
.qo-auto-toggle input { accent-color: var(--qo-primary); width: 15px; height: 15px; }
.qo-auto-label { }

/* Auto date rows (read-only, dimmed) */
.qo-date-auto-row .qo-date-readonly {
  background: #f0e8f5 !important; color: #888 !important; cursor: not-allowed;
}
.qo-auto-hint { font-size: 12px; color: var(--qo-muted); font-style: italic; margin: 6px 0; }

/* Review service rows */
.qo-review-service-row {
  display: grid; grid-template-columns: 1fr 2fr auto;
  padding: 10px 16px; border-bottom: 1px solid var(--qo-border); font-size: 13px;
  background: #fdf8ff; gap: 8px;
}
.qo-review-svc-name  { font-weight: 700; color: var(--qo-primary); }
.qo-review-svc-dates { color: #555; }
.qo-review-svc-total { font-weight: 700; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   Today's Intentions public board
   ═══════════════════════════════════════════════════════════════════════════ */

.qo-today-wrap {
  max-width: 720px; margin: 0 auto;
  font-family: 'Segoe UI', Georgia, serif; color: var(--qo-text);
}

.qo-today-header {
  text-align: center; padding: 28px 20px 20px;
  background: linear-gradient(135deg, #1a3a54 0%, #122940 100%);
  border-radius: 12px 12px 0 0; color: #fff; margin-bottom: 0;
}
.qo-today-cross  { font-size: 36px; margin-bottom: 6px; }
.qo-today-title  { margin: 0 0 4px; font-size: 22px; letter-spacing: .5px; }
.qo-today-date   { margin: 0; font-size: 14px; opacity: .85; }

.qo-today-empty {
  text-align: center; padding: 48px 20px; background: #fafafa;
  border: 1.5px solid var(--qo-border); border-top: none;
  border-radius: 0 0 12px 12px; color: var(--qo-muted);
}
.qo-today-empty-icon { font-size: 40px; display: block; margin-bottom: 12px; }

.qo-today-list {
  background: #fff; border: 1.5px solid var(--qo-border); border-top: none;
  border-radius: 0 0 12px 12px; overflow: hidden;
}

.qo-today-card {
  padding: 18px 22px; border-bottom: 1px solid var(--qo-border);
  transition: background .15s;
}
.qo-today-card:last-child { border-bottom: none; }
.qo-today-card:hover { background: #fdf8ff; }
.qo-today-card.qo-card-private { background: #f9f9f9; }

.qo-today-card-header {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px;
}
.qo-int-badge {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.qo-int-thanksgiving { background: #fff3cd; color: #856404; }
.qo-int-healing      { background: #d1ecf1; color: #0c5460; }
.qo-int-rip          { background: #e2e3e5; color: #383d41; }
.qo-int-special      { background: #d4edda; color: #155724; }

.qo-private-badge {
  font-size: 11px; color: #888; background: #f0f0f0;
  padding: 2px 9px; border-radius: 12px;
}

.qo-today-name { font-size: 15px; margin-bottom: 6px; }
.qo-anon { color: var(--qo-muted); font-style: italic; }

.qo-today-intention {
  font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 10px;
}
.qo-private-text { color: #aaa; font-style: italic; font-size: 13px; }

.qo-today-services { display: flex; gap: 8px; flex-wrap: wrap; }
.qo-svc-pill {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; border: 1.5px solid currentColor;
}
.qo-svc-ordinary_qurbana { color: #1a3a54; background: #e8f0f6; }
.qo-svc-solemn_qurbana   { color: #4a3fa3; background: #eef0fb; }
.qo-svc-cemetery_office  { color: #546e7a; background: #eceff1; }
.qo-svc-church_office    { color: #00796b; background: #e0f2f1; }

.qo-today-footer {
  text-align: center; font-size: 13px; color: var(--qo-muted);
  padding: 16px 0 4px; border-top: 1px solid var(--qo-border); margin-top: 8px;
}

@media (max-width: 600px) {
  .qo-review-service-row { grid-template-columns: 1fr 1fr; }
  .qo-review-svc-dates   { grid-column: 1 / -1; font-size: 12px; }
  .qo-today-card         { padding: 14px 16px; }
}

/* ── Quantity controls (Step 2) ──────────────────────────────────────── */
.qo-qty-wrap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--qo-border);
  width: 100%;
}
.qo-qty-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--qo-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  margin-bottom: 6px;
}
.qo-qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1.5px solid var(--qo-primary);
  border-radius: 8px;
  overflow: hidden;
}
.qo-qty-btn {
  background: var(--qo-primary);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
  flex-shrink: 0;
}
.qo-qty-btn:hover { background: var(--qo-primary-d); }
.qo-qty-input {
  width: 44px !important;
  text-align: center;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: 36px;
  font-size: 16px;
  font-weight: 700;
  color: var(--qo-primary);
  background: #fff;
  flex: 1;
  min-width: 0;
}
.qo-qty-input:focus { outline: none; }

/* Service card check box (replaces hidden checkbox) */
.qo-card-check-wrap { 
  position: absolute; 
  top: 10px; right: 10px;
  cursor: pointer;
}
.qo-card-check-box {
  display: block;
  width: 20px; height: 20px;
  border: 2px solid var(--qo-border);
  border-radius: 4px;
  background: #fff;
  transition: .15s;
  display: flex; align-items: center; justify-content: center;
}
.qo-card-check-wrap input { display: none; }
.qo-card-check-tick { font-size: 13px; color: #fff; display: none; }
.qo-service-card.selected .qo-card-check-box {
  background: var(--qo-success);
  border-color: var(--qo-success);
}
.qo-service-card.selected .qo-card-check-tick { display: block; }
.qo-service-card { position: relative; cursor: pointer; }
.qo-service-card .qo-card-inner { cursor: default; }

/* ── Date section (Step 3) ───────────────────────────────────────────── */
.qo-svc-date-section {
  margin-bottom: 24px;
  background: #fafafa;
  border: 1.5px solid var(--qo-border);
  border-radius: var(--qo-radius);
  overflow: hidden;
}
.qo-svc-date-header {
  background: var(--qo-accent);
  border-bottom: 1px solid var(--qo-border);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qo-svc-date-title { font-weight: 700; font-size: 14px; color: var(--qo-primary); }
.qo-svc-date-count {
  background: var(--qo-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.qo-date-rows { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.qo-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qo-date-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--qo-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qo-date-row .qo-date-input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--qo-border);
  border-radius: 7px;
  font-size: 14px;
  color: var(--qo-text);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.qo-date-row .qo-date-input:focus { border-color: var(--qo-primary); }

/* Review date chips */
.qo-review-service-block {
  border: 1px solid var(--qo-border);
  border-radius: 8px;
  overflow: hidden;
  margin: 6px 0;
}
.qo-review-svc-header {
  display: flex; justify-content: space-between;
  padding: 10px 14px;
  background: var(--qo-accent);
  font-weight: 700;
  font-size: 14px;
  color: var(--qo-primary);
}
.qo-review-svc-dates {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.qo-date-chip {
  background: #fff;
  border: 1px solid var(--qo-border);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--qo-text);
}

/* ── Payment Method Cards ────────────────────────────────────────────────── */
.qo-payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.qo-pm-card { cursor: pointer; display: block; }
.qo-pm-card input[type="radio"] { display: none; }
.qo-pm-card > .qo-pm-icon,
.qo-pm-card > .qo-pm-label,
.qo-pm-card > .qo-pm-desc { display: none; } /* handled by inner layout */

.qo-pm-card {
  border: 2px solid var(--qo-border);
  border-radius: var(--qo-radius);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  transition: border-color .2s, background .2s, box-shadow .2s;
  background: #fafafa;
  cursor: pointer;
}
.qo-pm-card .qo-pm-icon  { font-size: 26px; display: block; }
.qo-pm-card .qo-pm-label { font-weight: 700; font-size: 13px; display: block; color: var(--qo-text); }
.qo-pm-card .qo-pm-desc  { font-size: 11px; color: var(--qo-muted); display: block; line-height: 1.3; }
.qo-pm-card input:checked ~ .qo-pm-icon,
.qo-pm-card input:checked ~ .qo-pm-label,
.qo-pm-card input:checked ~ .qo-pm-desc { color: inherit; }

.qo-pm-card:has(input:checked) {
  border-color: var(--qo-primary);
  background: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(26,58,84,.13);
}
.qo-pm-card:hover { border-color: var(--qo-primary-d); }

/* Fallback for browsers without :has() */
.qo-pm-card.selected {
  border-color: var(--qo-primary);
  background: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(26,58,84,.13);
}

/* ── Payment Panels (UPI / Bank) ─────────────────────────────────────────── */
.qo-pay-panel {
  margin-top: 16px;
  border: 1.5px solid var(--qo-border);
  border-radius: var(--qo-radius);
  overflow: hidden;
}
.qo-pay-panel-inner { padding: 20px 22px; }
.qo-pay-panel-title {
  font-weight: 700; font-size: 15px; color: var(--qo-primary);
  margin: 0 0 16px; display: flex; align-items: center; gap: 6px;
}

/* ── UPI panel ───────────────────────────────────────────────────────────── */
.qo-upi-qr-img {
  display: block;
  width: 200px; height: 200px;
  object-fit: contain;
  border: 2px solid var(--qo-border);
  border-radius: 10px;
  margin: 0 auto 10px;
  background: #fff;
  padding: 8px;
}
.qo-upi-qr-placeholder {
  width: 200px; height: 200px;
  border: 2px dashed var(--qo-border);
  border-radius: 10px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--qo-muted); font-size: 13px; text-align: center;
  padding: 16px; box-sizing: border-box;
}
.qo-upi-id-display {
  text-align: center; font-size: 14px; color: var(--qo-muted);
  margin: 4px 0;
}
.qo-upi-name-display {
  text-align: center; font-size: 13px; color: var(--qo-muted); margin: 0;
}
.qo-upi-desktop { text-align: center; padding-bottom: 16px;
                  border-bottom: 1px solid var(--qo-border); margin-bottom: 16px; }
.qo-upi-mobile  { text-align: center; padding-bottom: 16px;
                  border-bottom: 1px solid var(--qo-border); margin-bottom: 16px; }

.qo-upi-pay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--qo-primary); color: #fff;
  padding: 13px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background .2s;
  margin-bottom: 12px;
}
.qo-upi-pay-btn:hover { background: var(--qo-primary-d); color: #fff; }

.qo-upi-app-icons {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 10px;
}
.qo-upi-app-icons span {
  background: #f0f0f0; color: #555;
  padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
}

/* ── Bank Transfer details ───────────────────────────────────────────────── */
.qo-bank-details-grid { display: grid; gap: 0; border: 1px solid var(--qo-border); border-radius: 8px; overflow: hidden; }
.qo-bank-row {
  display: flex; padding: 11px 14px;
  border-bottom: 1px solid var(--qo-border);
  font-size: 14px; gap: 12px;
}
.qo-bank-row:last-child { border-bottom: none; }
.qo-bank-label { color: var(--qo-muted); flex: 0 0 140px; font-size: 13px; }
.qo-bank-value { font-weight: 600; color: var(--qo-text); display: flex; align-items: center; gap: 8px; }
.qo-copy-btn {
  background: none; border: 1px solid var(--qo-border); border-radius: 4px;
  padding: 1px 7px; cursor: pointer; font-size: 13px; color: var(--qo-primary);
  transition: .15s; line-height: 1.5;
}
.qo-copy-btn:hover { background: var(--qo-accent); }
.qo-bank-amount-note {
  margin-top: 14px; padding: 12px 16px;
  background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px;
  font-size: 13px; color: #5d4037;
}

/* ── Proof upload area ───────────────────────────────────────────────────── */
.qo-proof-upload-wrap { margin-top: 16px; }
.qo-proof-label { font-weight: 600; font-size: 14px; margin: 0 0 8px; color: var(--qo-text); }
.qo-proof-fields { display: flex; flex-direction: column; gap: 10px; }
.qo-proof-ref-input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--qo-border); border-radius: 7px;
  font-size: 14px; background: #fafafa; box-sizing: border-box;
}
.qo-proof-ref-input:focus { border-color: var(--qo-primary); outline: none; background: #fff; }

.qo-file-upload-area {
  border: 2px dashed var(--qo-border); border-radius: var(--qo-radius);
  padding: 20px 16px; cursor: pointer; transition: border-color .2s, background .2s;
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  background: #fafafa; position: relative;
}
.qo-file-upload-area:hover,
.qo-file-upload-area.qo-drag-over {
  border-color: var(--qo-primary); background: var(--qo-accent);
}
.qo-file-hidden { position: absolute; opacity: 0; width: 100%; height: 100%; top: 0; left: 0; cursor: pointer; }
.qo-file-drop-label {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; pointer-events: none; color: var(--qo-muted); font-size: 13px;
}
.qo-file-icon { font-size: 28px; }
.qo-file-drop-label small { font-size: 11px; }

/* Preview */
.qo-file-preview { width: 100%; }
.qo-preview-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px;
}
.qo-preview-inner img { max-width: 180px; max-height: 150px; object-fit: contain;
                        border-radius: 6px; border: 1px solid var(--qo-border); }
.qo-preview-file { background: var(--qo-accent); border-radius: 8px; padding: 16px; }
.qo-file-type-icon { font-size: 36px; }
.qo-preview-name { font-size: 12px; color: var(--qo-muted); word-break: break-all; text-align: center; }
.qo-remove-proof {
  background: none; border: 1px solid var(--qo-error); color: var(--qo-error);
  border-radius: 5px; padding: 3px 10px; cursor: pointer; font-size: 12px;
  transition: .15s;
}
.qo-remove-proof:hover { background: #ffeef0; }

/* Mobile responsive tweaks */
@media (max-width: 600px) {
  .qo-payment-options { grid-template-columns: 1fr 1fr; }
  .qo-bank-label      { flex: 0 0 110px; }
  .qo-upi-qr-img,
  .qo-upi-qr-placeholder { width: 160px; height: 160px; }
}

/* ── Special Offerings (Novena / Feast / Special) ────────────────────────── */
.qo-special-tabs {
  display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.qo-special-tab {
  padding: 10px 18px; border-radius: 8px; border: 1.5px solid var(--qo-border);
  background: #fafafa; color: var(--qo-text); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .15s;
}
.qo-special-tab:hover { border-color: var(--qo-primary); }
.qo-special-tab.active {
  background: var(--qo-primary); color: #fff; border-color: var(--qo-primary);
}

.qo-special-category-group { margin-bottom: 24px; }
.qo-special-group-title {
  font-size: 15px; color: var(--qo-primary); margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--qo-border);
}

.qo-special-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.qo-special-card { cursor: pointer; display: block; }
.qo-special-card input { display: none; }
.qo-special-card .qo-card-inner {
  border: 2px solid var(--qo-border); border-radius: var(--qo-radius);
  padding: 16px; display: flex; flex-direction: column; gap: 6px;
  background: #fafafa; transition: .2s; height: 100%; box-sizing: border-box;
}
.qo-special-card .qo-card-inner strong { font-size: 15px; color: var(--qo-text); }
.qo-special-card-desc { font-size: 12px; color: var(--qo-muted); line-height: 1.4; }
.qo-special-card-date { font-size: 12px; color: var(--qo-primary); font-weight: 600; }
.qo-special-card .qo-card-price { margin-top: auto; padding-top: 6px; }
.qo-special-card.selected .qo-card-inner,
.qo-special-card input:checked + .qo-card-inner {
  border-color: var(--qo-primary); background: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(26,58,84,.13);
}
.qo-special-card:hover .qo-card-inner { border-color: var(--qo-primary-d); }

/* Quantity stepper (inline, reused style) */
.qo-qty-stepper-inline {
  display: flex; align-items: center; gap: 10px;
}
.qo-qty-stepper-inline .qo-qty-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--qo-primary); background: #fff; color: var(--qo-primary);
  font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.qo-qty-stepper-inline .qo-qty-btn:hover { background: var(--qo-primary); color: #fff; }
.qo-qty-stepper-inline input[type="number"] {
  width: 64px; text-align: center; font-size: 16px; font-weight: 700;
  border: 1.5px solid var(--qo-border); border-radius: 7px; padding: 8px 4px;
}
