/* =====================================================================
   Shred2u — Homepage Quick Order Widget
   All classes namespaced with `qo-` to avoid collision with styles.css.
   ===================================================================== */

.qo-hero {
  --qo-blue: #00A7E2;
  --qo-blue-600: #008FC4;
  --qo-blue-700: #00A7E2;
  --qo-blue-50: #E8F7FC;
  --qo-yellow: #FFD000;
  --qo-yellow-hover: #F5C600;
  --qo-ink-0: #01101F;
  --qo-ink-1: #0E1E2D;
  --qo-ink-2: #1C2A38;
  --qo-ink-3: #3A4753;
  --qo-ink-4: #5A6770;
  --qo-ink-5: #8B98A1;
  --qo-ink-6: #C3CCD3;
  --qo-ink-7: #E4E9EC;
  --qo-ink-8: #F2F5F6;
  --qo-ink-9: #FAFBFB;
  --qo-paper: #FFFFFF;
  --qo-accent-green: #3EC383;
  --qo-accent-red: #E5484D;
  --qo-shadow-sm: 0 1px 2px rgba(1,16,31,.05), 0 1px 1px rgba(1,16,31,.03);
  --qo-shadow-md: 0 4px 12px rgba(1,16,31,.06), 0 1px 3px rgba(1,16,31,.04);
  --qo-font-display: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --qo-font-body: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --qo-font-mono: 'Roboto Mono', ui-monospace, monospace;
  --qo-max: 1280px;
  --qo-pad: clamp(20px, 4vw, 56px);

  position: relative;
  /* Clear the fixed top bar (~36px) + navbar (85px) so the hero content and
     order card don't slide under the menu. */
  padding: 150px 0 88px;
  background:
    radial-gradient(1200px 420px at 85% 0%, rgba(0,167,226,.1), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFBFB 100%);
  overflow: hidden;
  font-family: var(--qo-font-body);
  color: var(--qo-ink-1);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.qo-hero *,
.qo-hero *::before,
.qo-hero *::after { box-sizing: border-box; }
.qo-hero h1,
.qo-hero h2,
.qo-hero h3,
.qo-hero h4 { font-family: var(--qo-font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.qo-hero p { margin: 0; }
.qo-hero button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.qo-hero a { color: inherit; text-decoration: none; }
.qo-hero a.qo-btn-yellow, .qo-hero a.qo-btn-primary { color: #fff; }

.qo-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(1,16,31,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(1,16,31,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), rgba(0,0,0,0) 75%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), rgba(0,0,0,0) 75%);
  pointer-events: none;
}

.qo-container { max-width: var(--qo-max); margin: 0 auto; padding: 0 var(--qo-pad); }
.qo-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .qo-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Eyebrow + heading */
.qo-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--qo-ink-7); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: 13px; color: var(--qo-ink-3); font-weight: 600;
  box-shadow: var(--qo-shadow-sm);
}
.qo-eyebrow .qo-tag {
  background: var(--qo-blue-50); color: var(--qo-blue-700);
  font-weight: 700; padding: 5px 11px; border-radius: 999px;
  font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
}
.qo-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
  color: var(--qo-ink-0);
  line-height: 1.05;
}
.qo-hero h1 em {
  font-style: normal; color: var(--qo-blue);
  background: linear-gradient(180deg, transparent 62%, #E8F7FC 62%);
  padding: 0 4px;
}
.qo-hero-sub { font-size: 18px; color: var(--qo-ink-3); max-width: 560px; line-height: 1.6; }
.qo-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.qo-hero-hint { font-size: 13px; color: var(--qo-ink-4); display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.qo-hero-hint svg { width: 14px; height: 14px; color: var(--qo-blue); }
.qo-hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.qo-hero-stat strong { display: block; font-family: var(--qo-font-display); font-size: 30px; font-weight: 800; color: var(--qo-ink-0); letter-spacing: -0.02em; }
.qo-hero-stat span { font-size: 13px; color: var(--qo-ink-4); font-weight: 500; }

/* Buttons */
.qo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap; font-family: inherit; cursor: pointer;
}
.qo-btn-primary { background: var(--qo-blue); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.12) inset, 0 6px 16px -6px rgba(0,167,226,.55); }
.qo-btn-primary:hover { background: var(--qo-blue-600); color: #fff; transform: translateY(-1px); }
.qo-btn-primary[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.qo-btn-yellow { background: var(--qo-blue); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.12) inset, 0 8px 22px -8px rgba(0,167,226,.7); }
.qo-btn-yellow:hover { background: var(--qo-blue-600); transform: translateY(-1px); }
.qo-btn-ghost { background: transparent; color: var(--qo-ink-1); border: 1.5px solid var(--qo-ink-6); }
.qo-btn-ghost:hover { border-color: var(--qo-ink-3); background: var(--qo-ink-9); }
.qo-btn-lg { padding: 16px 28px; font-size: 16px; }

/* Order Card */
.qo-order-card {
  position: relative;
  background: var(--qo-paper);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--qo-ink-7);
  box-shadow:
    0 32px 60px -18px rgba(1,16,31,.18),
    0 8px 20px rgba(1,16,31,.06),
    0 0 0 1px rgba(0,167,226,.04);
  display: flex; flex-direction: column;
  isolation: isolate;
}
.qo-order-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 200px at 50% -10%, rgba(0,167,226,.08), transparent 60%);
  pointer-events: none; z-index: 0;
}
.qo-order-header {
  position: relative; z-index: 1;
  padding: 22px 24px 18px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  border-bottom: 1px solid var(--qo-ink-7);
  background: linear-gradient(180deg, rgba(232,247,252,.55) 0%, rgba(255,255,255,0) 100%);
}
.qo-order-title { font-family: var(--qo-font-display); font-size: 22px; font-weight: 800; color: var(--qo-ink-0); letter-spacing: -0.02em; line-height: 1.1; }
.qo-order-sub { font-size: 13px; color: var(--qo-ink-4); margin-top: 3px; font-weight: 500; }
.qo-order-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: white; border: 1px solid var(--qo-ink-7); border-radius: 999px;
  padding: 6px 12px; font-size: 11px; font-weight: 700; color: var(--qo-ink-2);
  letter-spacing: .04em; text-transform: uppercase; flex: none;
  box-shadow: var(--qo-shadow-sm);
}
.qo-order-badge .qo-ldot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--qo-accent-green);
  box-shadow: 0 0 0 3px rgba(62,195,131,.28);
  animation: qo-pulse 2s infinite;
}
@keyframes qo-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(62,195,131,.28); }
  50%     { box-shadow: 0 0 0 7px rgba(62,195,131,0); }
}

/* Step indicator */
.qo-order-steps {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0;
  padding: 14px 24px;
  border-bottom: 1px solid var(--qo-ink-7);
  background: var(--qo-ink-9);
}
.qo-ostep {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--qo-ink-5);
  position: relative;
}
.qo-ostep:not(:last-child)::after {
  content: ""; position: absolute; left: calc(100% - 8px); top: 50%;
  width: calc(100% - 30px); height: 1px; background: var(--qo-ink-7);
  transform: translateY(-50%);
}
.qo-ostep .qo-onum {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--qo-ink-7); color: var(--qo-ink-4);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; flex: none;
  font-family: var(--qo-font-mono);
}
.qo-ostep.qo-active .qo-onum { background: var(--qo-blue); color: white; box-shadow: 0 0 0 4px rgba(0,167,226,.18); }
.qo-ostep.qo-active { color: var(--qo-ink-0); }
.qo-ostep .qo-olbl { white-space: nowrap; }
@media (max-width: 460px) {
  .qo-ostep .qo-olbl { display: none; }
  .qo-ostep.qo-active .qo-olbl { display: inline; }
}

/* Step panels */
.qo-step-panel { display: none; position: relative; z-index: 1; }
.qo-step-panel.qo-active { display: block; }

/* Step 1: service list */
.qo-order-services {
  padding: 18px 18px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.qo-order-services-title {
  font-size: 11px; font-weight: 700; color: var(--qo-ink-4);
  letter-spacing: .12em; text-transform: uppercase;
  margin: 0 6px 4px;
}
.qo-svc {
  background: white;
  border: 1.5px solid var(--qo-ink-7);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.qo-svc:hover { border-color: var(--qo-ink-5); }
.qo-svc.qo-selected {
  border-color: var(--qo-blue);
  box-shadow: 0 0 0 4px rgba(0,167,226,.14), 0 6px 18px -8px rgba(0,167,226,.4);
}
.qo-svc-head { display: flex; align-items: center; gap: 14px; }
.qo-svc-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--qo-blue-50);
  display: grid; place-items: center;
  color: var(--qo-blue-700); flex: none;
}
.qo-svc-icon svg { width: 24px; height: 24px; }
.qo-svc-meta { flex: 1; min-width: 0; }
.qo-svc-meta h4 {
  font-family: var(--qo-font-display); font-size: 16px; font-weight: 800;
  color: var(--qo-ink-0); letter-spacing: -0.01em; line-height: 1.2;
  margin-bottom: 3px;
}
.qo-svc-price {
  font-size: 14px; font-weight: 800; color: var(--qo-blue);
  font-family: var(--qo-font-display); letter-spacing: -0.01em;
}
.qo-svc-price small { font-size: 12px; color: var(--qo-ink-4); font-weight: 500; margin-left: 2px; }
.qo-svc-pick {
  flex: none; padding: 8px 16px; border-radius: 999px;
  background: white; border: 1.5px solid var(--qo-ink-7); color: var(--qo-ink-3);
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: all .15s; font-family: inherit;
}
.qo-svc:hover .qo-svc-pick { border-color: var(--qo-ink-3); color: var(--qo-ink-0); }
.qo-svc.qo-selected .qo-svc-pick {
  background: var(--qo-blue); border-color: var(--qo-blue); color: white;
  display: inline-flex; align-items: center; gap: 6px;
}
.qo-svc.qo-selected .qo-svc-pick::before {
  content: ""; display: inline-block; width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5 9-9' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

.qo-svc-body {
  display: none;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--qo-ink-7);
}
.qo-svc.qo-selected .qo-svc-body { display: block; animation: qo-expandIn .25s ease; }
@keyframes qo-expandIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.qo-svc-feats {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
}
.qo-svc-feats li {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--qo-ink-2); font-weight: 500;
}
.qo-svc-feats li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5 9-9' stroke='%2300A7E2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

.qo-svc-qty {
  display: flex; align-items: center; gap: 14px;
  background: var(--qo-ink-9);
  border: 1px solid var(--qo-ink-7);
  border-radius: 12px;
  padding: 10px 14px;
}
.qo-qty-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--qo-ink-4); font-weight: 700; flex: none; }
.qo-qty-controls { display: flex; align-items: center; gap: 10px; }
.qo-qty-btn {
  width: 30px; height: 30px; border-radius: 999px;
  border: 1.5px solid var(--qo-ink-6); background: white;
  display: grid; place-items: center;
  color: var(--qo-ink-2); font-size: 18px; font-weight: 700; line-height: 1;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.qo-qty-btn:hover { border-color: var(--qo-blue); color: var(--qo-blue); }
.qo-qty-btn:active { transform: scale(.95); }
.qo-qty-val {
  font-family: var(--qo-font-display); font-size: 18px; font-weight: 800;
  color: var(--qo-ink-0); min-width: 24px; text-align: center; letter-spacing: -0.01em;
}
.qo-qty-total {
  margin-left: auto;
  font-family: var(--qo-font-display); font-size: 18px; font-weight: 800;
  color: var(--qo-blue); letter-spacing: -0.01em;
}

/* Bin size toggle (120L / 240L) */
.qo-size-toggle {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.qo-size-toggle-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--qo-ink-4); font-weight: 700; flex: none;
}
.qo-size-toggle-group {
  display: inline-flex; padding: 3px;
  background: var(--qo-ink-9);
  border: 1px solid var(--qo-ink-7);
  border-radius: 999px;
}
.qo-size-btn {
  padding: 6px 16px; border-radius: 999px;
  background: transparent; border: 0; color: var(--qo-ink-3);
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .15s;
  min-width: 56px;
}
.qo-size-btn:hover { color: var(--qo-ink-0); }
.qo-size-btn.qo-active {
  background: var(--qo-blue); color: white;
  box-shadow: 0 4px 12px -4px rgba(0,167,226,.45);
}
.qo-size-btn.qo-active:hover { color: white; }

/* Summary band */
.qo-order-summary {
  position: relative; z-index: 1;
  margin: 18px; padding: 16px 20px; border-radius: 14px;
  background: linear-gradient(180deg, #01101F 0%, #0E1E2D 100%);
  color: white;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.qo-os-line strong { display: block; font-family: var(--qo-font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 2px; }
.qo-os-type { font-size: 11.5px; color: rgba(255,255,255,.55); letter-spacing: .04em; font-weight: 500; }
.qo-os-total { display: flex; align-items: baseline; gap: 6px; flex: none; }
.qo-os-total strong { font-family: var(--qo-font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.qo-os-gst { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.qo-order-actions {
  position: relative; z-index: 1;
  padding: 0 18px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.qo-order-secure {
  font-size: 11.5px; color: var(--qo-ink-4); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; flex: 1;
}
.qo-order-secure svg { width: 13px; height: 13px; color: var(--qo-blue); }
.qo-btn-back {
  background: transparent; color: var(--qo-ink-3); border: 1.5px solid var(--qo-ink-7);
  border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 13.5px;
  cursor: pointer; font-family: inherit;
}
.qo-btn-back:hover { background: var(--qo-ink-9); color: var(--qo-ink-0); }

/* Steps 2+: form fields */
.qo-form-body {
  position: relative; z-index: 1;
  padding: 18px 22px 4px;
  display: flex; flex-direction: column; gap: 14px;
}
.qo-form-title {
  font-size: 11px; font-weight: 700; color: var(--qo-ink-4);
  letter-spacing: .12em; text-transform: uppercase;
  margin: 4px 0 -4px;
}
.qo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qo-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 540px) {
  .qo-row, .qo-row-3 { grid-template-columns: 1fr; }
}
.qo-field { display: flex; flex-direction: column; gap: 5px; }
.qo-field label { font-size: 12px; font-weight: 600; color: var(--qo-ink-3); }
.qo-field input,
.qo-field select,
.qo-field textarea {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--qo-ink-7); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--qo-ink-1);
  background: #fff; box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.qo-field input:focus,
.qo-field select:focus,
.qo-field textarea:focus {
  outline: none;
  border-color: var(--qo-blue);
  box-shadow: 0 0 0 3px rgba(0,167,226,.15);
}
.qo-field textarea { min-height: 70px; resize: vertical; }
.qo-field.qo-error input,
.qo-field.qo-error select { border-color: var(--qo-accent-red); }
.qo-field-msg { font-size: 11.5px; color: var(--qo-accent-red); min-height: 14px; }
.qo-field-hint { font-size: 11.5px; color: var(--qo-ink-4); }
.qo-field-warn {
  font-size: 12px; color: var(--qo-accent-red); font-weight: 600;
  margin-top: 2px;
}
mapbox-address-autofill { display: block; width: 100%; }

/* Date chips — mirrored from order.css .quick-dates-container */
.qo-date-group {
  display: flex; flex-direction: column; gap: 12px;
  margin: 4px 0;
  padding: 18px 20px;
  background: rgba(0, 167, 226, 0.04);
  border: 1px solid rgba(0, 167, 226, 0.12);
  border-radius: 14px;
}
.qo-date-group-label {
  font-size: 13px; font-weight: 800; color: var(--qo-ink-0);
  letter-spacing: 0; text-transform: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.qo-date-group-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--qo-blue);
  box-shadow: 0 0 0 3px rgba(0,167,226,.18);
}
.qo-date-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.qo-chip {
  position: relative; overflow: hidden;
  border: 2px solid #eeeef2; background: #fff;
  border-radius: 12px;
  padding: 18px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.qo-chip::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--qo-blue); opacity: 0; transition: opacity .2s;
}
.qo-chip:hover {
  border-color: var(--qo-blue);
  background: rgba(0,167,226,.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,167,226,.12);
}
.qo-chip:hover::before { opacity: 1; }
.qo-chip.qo-selected {
  background: var(--qo-blue); color: #fff;
  border-color: var(--qo-blue);
  box-shadow: 0 4px 16px rgba(0,167,226,.25);
  transform: none;
}
.qo-chip.qo-selected::before { opacity: 0; }
.qo-chip-day {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  opacity: .6;
  margin-bottom: 4px;
  color: var(--qo-ink-3);
}
.qo-chip-date {
  display: block;
  font-size: 18px; font-weight: 700; line-height: 1.2;
  color: var(--qo-ink-0);
}
.qo-chip.qo-selected .qo-chip-day { color: rgba(255,255,255,.85); opacity: 1; }
.qo-chip.qo-selected .qo-chip-date { color: #fff; }
@media (max-width: 540px) {
  .qo-date-chips { grid-template-columns: repeat(3, 1fr); }
  .qo-chip { padding: 14px 4px; }
  .qo-chip-date { font-size: 16px; }
}

/* "Pick a specific date" — calendar-container look from order.css */
.qo-date-specific {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px;
  padding: 12px 14px;
  background: #fff;
  border: 1px dashed rgba(0,167,226,.35);
  border-radius: 10px;
  font-size: 13px; color: var(--qo-ink-2); font-weight: 600;
  cursor: pointer;
}
.qo-date-specific input[type="checkbox"] { accent-color: var(--qo-blue); width: 16px; height: 16px; }
.qo-date-picker-wrap input[type="date"] {
  width: 100%;
  border: 1.5px solid #dde2e8;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  color: var(--qo-ink-0);
  transition: border-color .2s, box-shadow .2s;
}
.qo-date-picker-wrap input[type="date"]:focus {
  outline: none;
  border-color: var(--qo-blue);
  box-shadow: 0 0 0 3px rgba(0,167,226,.15);
}
.qo-date-warn { font-size: 12px; color: var(--qo-accent-red); margin-top: 2px; min-height: 14px; }

/* Custom inline calendar (weekend + past dates rendered as disabled) */
.qo-cal {
  border: 1.5px solid #dde2e8;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  user-select: none;
}
.qo-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.qo-cal-title {
  font-size: 14px; font-weight: 700; color: var(--qo-ink-0);
}
.qo-cal-nav {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid #e5e7eb; background: #fff;
  font-size: 16px; line-height: 1; cursor: pointer;
  color: var(--qo-ink-1);
}
.qo-cal-nav:hover { background: #f8fafc; border-color: var(--qo-blue); color: var(--qo-blue); }
.qo-cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.qo-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.qo-cal-dow {
  text-align: center; font-size: 11px; font-weight: 700;
  color: #94a3b8; text-transform: uppercase; padding: 4px 0;
}
.qo-cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent; background: transparent;
  border-radius: 8px; font-size: 13px; font-weight: 600; font-family: inherit;
  color: var(--qo-ink-0); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.qo-cal-day:not(.qo-cal-day--sel):hover {
  background: rgba(0,167,226,.08); border-color: rgba(0,167,226,.35);
}
.qo-cal-day--blank { visibility: hidden; cursor: default; }
.qo-cal-day--off {
  color: #cbd5e1; cursor: not-allowed; background: #f8fafc;
}
.qo-cal-day--off:hover { background: #f8fafc; border-color: transparent; }
.qo-cal-day.qo-cal-day--sel,
.qo-cal-day.qo-cal-day--sel:hover,
.qo-cal-day.qo-cal-day--sel:focus {
  background: #00A7E2 !important;
  color: #fff !important;
  border-color: #00A7E2 !important;
  box-shadow: 0 0 0 2px rgba(0,167,226,.25);
}
.qo-cal-day--today { border-color: rgba(0,167,226,.4); }

/* Stripe card element + brand logos / security badge */
.qo-card-element {
  padding: 14px 14px;
  border: 1.5px solid var(--qo-ink-7); border-radius: 10px;
  background: #fff;
}
.qo-card-element.StripeElement--focus { border-color: var(--qo-blue); box-shadow: 0 0 0 3px rgba(0,167,226,.15); }
.qo-card-errors { color: var(--qo-accent-red); font-size: 12.5px; min-height: 16px; margin-top: 4px; }

.qo-card-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 10px;
}
.qo-card-brands {
  display: inline-flex; align-items: center; gap: 6px;
}
.qo-card-brand {
  height: 26px; width: 40px;
  border: 1px solid var(--qo-ink-7); border-radius: 6px;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px;
}
.qo-card-brand svg { max-height: 100%; max-width: 100%; display: block; }
.qo-card-secure {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  color: var(--qo-accent-green);
  background: rgba(62,195,131,.10);
  border: 1px solid rgba(62,195,131,.28);
  border-radius: 999px;
  padding: 6px 12px;
}
.qo-card-secure svg { width: 14px; height: 14px; }

/* Terms — bigger, in a callout box */
.qo-terms {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0;
  padding: 14px 16px;
  background: var(--qo-blue-50);
  border: 1px solid rgba(0,167,226,.18);
  border-radius: 12px;
  font-size: 14px; line-height: 1.5;
  color: var(--qo-ink-1); font-weight: 500;
  cursor: pointer;
}
.qo-terms input[type="checkbox"] {
  margin: 2px 0 0; width: 18px; height: 18px;
  accent-color: var(--qo-blue);
  flex: none;
}
.qo-terms a { color: var(--qo-blue-700); font-weight: 700; text-decoration: underline; }

/* Cart preview chip (in step 2/3) */
.qo-cart-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--qo-blue-50); color: var(--qo-blue-700);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}

/* Done screen */
.qo-done {
  padding: 32px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.qo-done-icon {
  width: 64px; height: 64px; border-radius: 999px;
  background: rgba(62,195,131,.14); color: var(--qo-accent-green);
  display: grid; place-items: center;
}
.qo-done-icon svg { width: 32px; height: 32px; }
.qo-done h3 { font-size: 22px; font-weight: 800; color: var(--qo-ink-0); }
.qo-done p { color: var(--qo-ink-3); font-size: 14px; max-width: 36ch; }
.qo-done-refs {
  width: 100%; margin-top: 8px; padding: 14px;
  border: 1px solid var(--qo-ink-7); border-radius: 12px;
  background: var(--qo-ink-9);
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
}
.qo-done-ref {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px;
}
.qo-done-ref strong { color: var(--qo-ink-0); }
.qo-done-ref code {
  font-family: var(--qo-font-mono); font-size: 12px;
  color: var(--qo-blue-700); word-break: break-all;
}
/* Loader overlay (scoped to card) */
.qo-overlay {
  position: absolute; inset: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  pointer-events: all;
}
.qo-overlay.qo-show { display: flex !important; }
.qo-spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid rgba(0, 167, 226, 0.18);
  border-top-color: var(--qo-blue);
  animation: qo-spin 0.8s linear infinite;
}
.qo-overlay-msg { font-size: 14px; color: var(--qo-ink-1); font-weight: 700; }
@keyframes qo-spin { to { transform: rotate(360deg); } }

/* Pay button inline spinner */
.qo-btn-loading { cursor: progress; }
.qo-btn-loading > svg { display: none; }
.qo-btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-right-color: #fff;
  animation: qo-spin 0.6s linear infinite;
  flex: none;
}

/* Postcode-not-serviceable modal */
.qo-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(1, 16, 31, 0.55);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  display: grid; place-items: center;
  padding: 20px;
  animation: qo-fadeIn .15s ease-out;
}
@keyframes qo-fadeIn { from { opacity: 0; } to { opacity: 1; } }
.qo-modal-dialog {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  box-shadow: 0 40px 80px -20px rgba(1,16,31,.45), 0 12px 28px rgba(1,16,31,.18);
  overflow: hidden;
  animation: qo-modalPop .22s cubic-bezier(.2,.9,.3,1.2);
  font-family: var(--qo-font-body, 'Nunito', system-ui, sans-serif);
  color: var(--qo-ink-1, #0E1E2D);
}
@keyframes qo-modalPop {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.qo-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--qo-ink-7, #E4E9EC);
  background: linear-gradient(180deg, rgba(232,247,252,.55) 0%, #fff 100%);
}
.qo-modal-header h3 {
  margin: 0;
  font-family: var(--qo-font-display, 'Nunito', sans-serif);
  font-size: 19px; font-weight: 800;
  color: var(--qo-ink-0, #01101F);
  letter-spacing: -0.01em;
}
.qo-modal-close {
  width: 32px; height: 32px; border-radius: 999px;
  border: 0; background: transparent;
  color: var(--qo-ink-4, #5A6770);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.qo-modal-close:hover { background: var(--qo-ink-9, #FAFBFB); color: var(--qo-ink-0, #01101F); }
.qo-modal-body { padding: 20px 22px 4px; font-size: 14.5px; line-height: 1.55; }
.qo-modal-body p { margin: 0 0 12px; color: var(--qo-ink-2, #1C2A38); }
.qo-modal-lead { font-size: 15px; }
.qo-modal-lead strong { color: var(--qo-ink-0, #01101F); }
.qo-modal-phone {
  margin: 14px 0;
  padding: 16px;
  background: var(--qo-blue-50, #E8F7FC);
  border-radius: 12px; text-align: center;
}
.qo-modal-phone a {
  font-family: var(--qo-font-display, 'Nunito', sans-serif);
  font-size: 22px; font-weight: 800;
  color: var(--qo-blue, #00A7E2);
  text-decoration: none; letter-spacing: -0.01em;
}
.qo-modal-phone a:hover { text-decoration: underline; }
.qo-modal-foot { font-size: 13px; color: var(--qo-ink-4, #5A6770); }
.qo-modal-footer {
  padding: 14px 22px 20px;
  display: flex; justify-content: flex-end; gap: 10px;
}

.qo-modal-dialog-image { max-width: 560px; }
.qo-modal-body-image { padding: 8px 16px 0; }
.qo-modal-body-image img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Tablet/mobile spacing tweaks for the inline form steps */
@media (max-width: 540px) {
  .qo-form-body { padding: 16px 16px 4px; }
  .qo-order-summary { margin: 14px; padding: 14px 16px; }
  .qo-order-actions { padding: 0 14px 14px; }
}
