/* Repair IT Pro — order wizard and confirmation page (loaded only on those pages) */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.wizard__progress { display: flex; flex-wrap: wrap; gap: 8px 6px; margin: 0 0 8px; padding: 0 0 22px; border-bottom: 1px solid var(--line); counter-reset: wizard; }
.wizard__progress li { counter-increment: wizard; display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--muted); padding-right: 14px; }
.wizard__progress li::before { content: counter(wizard); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #e9eef8; color: var(--muted); font-size: .8rem; }
.wizard__progress li.is-current { color: var(--ink); }
.wizard__progress li.is-current::before { background: var(--grad); color: #fff; }
.wizard__progress li.is-done { color: var(--blue); }
.wizard__progress li.is-done::before { content: "\2713"; background: #dff5ea; color: #17633a; }
.wizard__step { display: grid; gap: 18px; }
.wizard__step h2 { font-size: 1.5rem; margin: 6px 0 0; }
.wizard__step h2:focus { outline: none; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard__nav .btn:only-of-type, .wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.hint { display: block; font-size: .86rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
p.hint { margin: 0; }

.plan-pick { border: 0; padding: 0; margin: 0; }
.plan-pick legend, .form__group legend { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); padding: 0; margin-bottom: 10px; }
.plan-pick__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form .plan-option { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 16px 16px 44px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; transition: border-color .15s ease, background-color .15s ease; }
.plan-option:hover { border-color: #b9c8ee; }
.plan-option input { position: absolute; left: 15px; top: 18px; width: 18px; height: 18px; accent-color: var(--blue); }
.plan-option:has(input:checked) { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 0 0 1px var(--blue); }
.plan-option__name { font-weight: 800; color: var(--ink); font-size: 1rem; }
.plan-option__tag { color: var(--muted); font-size: .86rem; }
.plan-option__price { color: var(--blue); font-weight: 700; font-size: .9rem; margin-top: 4px; }

.form__group { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.form__group legend { padding: 0 8px; margin-bottom: 0; }
.form__group legend .optional { text-transform: none; letter-spacing: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.form .check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; color: var(--body); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }

.ai-help { display: grid; gap: 10px; justify-items: start; margin-top: 12px; }
.ai-help__result { width: 100%; background: #f2f6ff; border: 1px solid #c7d6f7; border-radius: 14px; padding: 18px 20px; }
.ai-help__result .eyebrow { margin-bottom: 8px; }
.ai-help__text { white-space: pre-line; color: var(--ink); margin: 0; }
.ai-help__result .btn-row { margin-top: 14px; }

.logo-upload { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.logo-upload > div:last-child { display: grid; gap: 12px; flex: 1 1 260px; }
.logo-upload__preview { width: 140px; height: 110px; border: 1px solid var(--line); border-radius: 12px; background: repeating-conic-gradient(#f1f4f9 0 25%, #fff 0 50%) 0 0 / 16px 16px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.logo-upload__preview img { max-width: 100%; max-height: 100%; }
.form input[type="file"] { display: block; margin-top: 7px; font: inherit; font-size: .92rem; max-width: 100%; }

.palettes { display: flex; flex-wrap: wrap; gap: 10px; }
.palette { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .88rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.palette:hover { border-color: #b9c8ee; }
.palette.is-selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.palette i, .review__chips i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); display: inline-block; }
.palette i + i { margin-left: -10px; }
.palette span { margin-left: 4px; }
.colour-row { max-width: 420px; }
.form input[type="color"] { display: block; width: 100%; height: 46px; margin-top: 7px; padding: 4px; border: 1px solid #c9d2e3; border-radius: 10px; background: #fff; cursor: pointer; }
.form input[type="color"]:disabled { opacity: .4; cursor: not-allowed; }

.review { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review dt, .review dd { margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.review dt { font-weight: 700; color: var(--ink); background: var(--tint); }
.review dd { white-space: pre-line; }
.review dt:last-of-type, .review dd:last-of-type { border-bottom: 0; }
.review__chips { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.review__pay { margin: 0; font-weight: 600; color: var(--ink); }
.review--center { max-width: 520px; margin: 0 auto 28px; text-align: left; }

/* What to order */
.kind { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind legend { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); padding: 0; margin-bottom: 10px; }
.form .kind__option { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 800; color: var(--ink); }
.kind__option input { position: absolute; opacity: 0; }
.kind__option .icon { width: 26px; height: 26px; color: var(--blue); }
.kind__option small { display: block; font-size: .84rem; font-weight: 500; color: var(--muted); }
.kind__option:has(input:checked) { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 0 0 1px var(--blue); }
.kind__option:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.wizard__progress { margin-top: 6px; }

/* Domain search */
.domain-search { display: flex; gap: 12px; align-items: end; }
.domain-search label { flex: 1; }
.domain-search .btn { height: 48px; justify-self: auto; }
.domain-results { display: grid; gap: 10px; }
.form .domain-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400; }
.domain-option input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.domain-option__name { font-weight: 800; color: var(--ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.domain-option__state { margin-left: auto; font-size: .86rem; font-weight: 700; color: #17633a; text-align: right; }
.domain-option:has(input:checked) { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 0 0 1px var(--blue); }
.domain-option.is-taken { background: var(--tint); cursor: not-allowed; }
.domain-option.is-taken .domain-option__name { color: var(--muted); text-decoration: line-through; }
.domain-option.is-taken .domain-option__state { color: #a12525; }

/* Package options list */
.plan-option__list { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: .84rem; color: var(--body); }
.plan-option__list li::before { content: "\2713\00a0"; color: var(--blue); font-weight: 800; }

/* Design choices with small drawings that follow the chosen colours */
.wizard { --pick-primary: #2a4bb3; --pick-secondary: #46a6e8; }
.visuals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.visuals--2 { grid-template-columns: repeat(2, 1fr); }
.visuals--4 { grid-template-columns: repeat(4, 1fr); }
.form .visual { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; }
.visual input { position: absolute; opacity: 0; }
.visual:has(input:checked) { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 0 0 1px var(--blue); }
.visual:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.visual:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.visual__name { font-weight: 800; color: var(--ink); margin-top: 6px; }
.visual__text { font-size: .84rem; color: var(--muted); }
.thumb { width: 100%; height: auto; border-radius: 8px; display: block; }
.thumb .p { fill: var(--pick-primary); }
.thumb .s { fill: var(--pick-secondary); }
.thumb .t { fill: #eef2f9; }
.thumb .w { fill: #fff; }
.thumb .o { opacity: .5; }
.thumb .g { fill: #cfd6e4; }
.thumb .d { fill: #111827; }
.thumb .arrow, .thumb .chev { fill: none; stroke: #8b96ab; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.thumb .chev { stroke: #fff; }
.thumb .serif { font-family: Georgia, serif; font-weight: 700; }

@media (max-width: 680px) {
  .kind { grid-template-columns: 1fr; }
  .domain-search { flex-direction: column; align-items: stretch; }
  .domain-option { flex-wrap: wrap; }
  .domain-option__state { margin-left: 30px; text-align: left; width: 100%; }
  .visuals, .visuals--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .wizard { padding: 22px 18px; }
  .plan-pick__options { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .review { grid-template-columns: 1fr; }
  .review dt { border-bottom: 0; padding-bottom: 2px; }
  .wizard__progress li { padding-right: 6px; }
  .wizard__progress li:not(.is-current) { font-size: 0; gap: 0; }
}
