/* === Gallery Section (kept) === */
#primary .gallerybox { cursor: pointer; }
#primary .gallerybox:hover { --overlay-opacity: 0.7; }
#primary .gallerytext { opacity: 0; transition: 1s ease all; }
#primary .gallerybox:hover .gallerytext { opacity: 1; }

/* === Quote Calculator === */
.rqc-hide { display: none; }

/* Stepper Dots */
.rqc-stepper {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin: 24px 0 12px;
}
.rqc-stepper .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e5e7eb; transition: background .3s ease;
}
.rqc-stepper .dot.active { background: var(--ast-global-color-0); }

/* Container */
.rqc-mount {
  background: var(--e-global-color-astglobalcolor4);
  padding: 40px 30px; width: 100%; margin-bottom: 24px;
  border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.rqc-mount h3 { font-size: 1.2rem; margin-bottom: 1rem; }

/* Layout */
.rqc-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; margin-bottom: 12px;
}
.rqc-row label {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: .95rem; color: var(--ast-global-color-3);
}

/* Inputs */
.rqc-mount input,
.rqc-mount select {
  width: 100%; padding: 8px 10px; font-size: .95rem;
  color: var(--ast-form-input-text, #475569);
  border: 1px solid var(--ast-border-color);
  border-radius: 2px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.rqc-mount input:focus,
.rqc-mount select:focus {
  border-color: var(--ast-global-color-0);
  box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
  outline: none;
}

/* Buttons */
.rqc-btn {
  padding: 8px 14px; background: var(--ast-global-color-0);
  color: #111; font-weight: 600; border: none; border-radius: 2px;
  cursor: pointer; transition: background .3s ease, transform .1s ease;
}
.rqc-btn:hover {
  background: color-mix(in srgb, var(--ast-global-color-0) 90%, black 10%);
  transform: translateY(-1px);
}
.rqc-btnbar { display: flex; justify-content: space-between; margin-top: 16px; }

/* Checkbox/Radio — gold + larger */
.rqc-mount input[type="checkbox"],
.rqc-mount input[type="radio"] {
  width: 20px; height: 20px; accent-color: var(--ast-global-color-0);
  cursor: pointer; border-radius: 2px; transform: scale(1.05);
}

/* Address cards */
.rqc-address-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 14px;
}
.rqc-address-card {
  background: #fff; border: 1px solid var(--ast-border-color);
  border-radius: 2px; padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.rqc-address-card label {
  display: block; font-size: .9rem; color: var(--ast-global-color-3);
  margin-bottom: 6px;
}
.rqc-address-card input[type="text"] {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--ast-border-color); border-radius: 2px;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.rqc-address-card .rqc-status {
  font-size: .85rem; min-height: 18px; margin-top: 6px; color: #667085;
}
.rqc-status.ok { color: #1a7f37; }
.rqc-status.error { color: #b42318; }
.rqc-status.wait { color: #6941c6; }
.rqc-address-card .rqc-btn { width: 100%; margin-top: 10px; }

/* Checkbox rows should not stretch items */
.rqc-choices { 
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rqc-choices label {
  flex: 0 0 auto;          /* don't stretch */
  align-items: center;
  margin: 0;               /* tidy */
}

.rqc-choices input[type="checkbox"] {
  margin-right: 6px;
}

/* Quote summary box */
#rqc-quote-range {
  background: #fff9e6; border: 1px solid var(--ast-global-color-0);
  padding: 14px 18px; border-radius: 2px; text-align: center;
  font-weight: 600; color: #111;
}

/* Number input sizing + alignment */
.rqc-num {
  width: 100px !important;       /* wider and consistent */
  min-width: 80px;
  text-align: center;
  font-size: 1rem;
  padding: 6px 8px;
}

/* optional: if you want them to expand to fill label space */
.rqc-row label:has(.rqc-num) {
  width: 100% !important;
}

.rqc-mount {
	margin-bottom: 20px;
}