/**
 * Request Service page UI tweaks (scoped to .gsts-request-service)
 * Orange: #ff6b00 (--gsts-primary from page)
 */

/* ===== Fix #1: Persian font on CTA when FA locale ===== */
/* inter-ui.css sets button{font-family:Inter} - override so CTA inherits body Vazirmatn */
html[lang^="fa"] .gsts-request-service .gsts-sr-cta,
html[lang^="fa"] .gsts-request-service .gsts-sr-cta * {
  font-family: inherit !important;
}

/* ===== Fix #2: Subtle orange outline on back button (بازگشت به منو) ===== */
/* Back btn is in header; scope by page (body contains .gsts-request-service in main) */
body:has(.gsts-request-service) .gsts-back-btn {
  border: 1px solid #ff6b00 !important;
  background: transparent !important;
}
body:has(.gsts-request-service) .gsts-back-btn:hover,
body:has(.gsts-request-service) .gsts-back-btn:active {
  background: rgba(255, 107, 0, 0.06) !important;
  box-shadow: 0 1px 3px rgba(255, 107, 0, 0.15);
}

/* ===== 1) Quantity controls: circular +/- buttons, light bg, mild shadow ===== */
.gsts-request-service .gsts-qty {
  border-radius: 999px;
  padding: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.gsts-request-service .gsts-qty-btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.gsts-request-service .gsts-qty-btn:active {
  transform: scale(0.98);
}

.gsts-request-service .gsts-qty-value {
  min-width: 44px;
  text-align: center;
  font-weight: 800;
  padding: 0 10px;
  color: #111;
}

/* ===== 2) Selected card state: orange border, subtle tint, mild shadow ===== */
.gsts-request-service .gsts-sr-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.gsts-request-service .gsts-sr-card.is-active {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* De-emphasize Selected badge when card is already visually selected */
.gsts-request-service .gsts-sr-card.is-active .gsts-sr-badge {
  opacity: 0.6;
  font-size: 11px;
}

/* ===== 3) Bottom CTA: full width, bigger text, larger radius, badge ===== */
.gsts-request-service .gsts-sr-cta {
  width: 100%;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.gsts-request-service .gsts-sr-cta [data-sr-total] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-left: 4px;
}
