:root {
  --brand: #7b2cbf;
  --brand-ink: #fff;
  --bg: #f5f5f7;
  --card: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --ok: #1a7f37;
  --warn: #b54708;
  --err: #c0262d;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.embedded { background: transparent; }
a { color: var(--brand); }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.brandbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.brandbar img { max-height: 44px; }
.brandbar h1 { font-size: 22px; margin: 0; }
.test-banner { background: #fff4e5; color: #8a4b00; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin-bottom: 14px; }

.steps { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.steps li { flex: 1; height: 5px; border-radius: 4px; background: var(--line); }
.steps li.done, .steps li.on { background: var(--brand); }
.step-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }

.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 16px; }
.card h2 { margin: 0 0 6px; font-size: 21px; }
.card p.lead { margin: 0 0 16px; color: var(--muted); }

label.f { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfcfd6; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
textarea { min-height: 80px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 12px; padding: 14px 22px; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid #cfcfd6; }
.btn.block { width: 100%; }
.navrow { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.linkbtn { background: none; border: 0; color: var(--brand); font: inherit; cursor: pointer; padding: 6px 0; text-decoration: underline; }

/* car search */
.search-results { margin-top: 10px; display: grid; gap: 8px; }
.result { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; text-align: left; font: inherit; width: 100%; }
.result:hover, .result.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.result .mk { color: var(--muted); font-size: 13px; }
.result .md { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { border: 1px solid #cfcfd6; border-radius: 999px; padding: 9px 14px; background: #fff; cursor: pointer; font: inherit; font-size: 15px; color: var(--ink); }
.chip.sel { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.shape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.shape { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; text-align: center; font: inherit; }
.shape svg { width: 100%; height: 60px; color: var(--ink); margin-bottom: 4px; }
.shape.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.shape .t { font-weight: 600; font-size: 14px; }
.shape .d { font-size: 12px; color: var(--muted); }

/* services */
.cat { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.svc { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.svc.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.svc input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.svc .nm { font-weight: 650; }
.svc .ds { color: var(--muted); font-size: 14px; }
.svc .pr { margin-left: auto; text-align: right; white-space: nowrap; font-weight: 700; }
.svc .pr small { display: block; font-weight: 400; color: var(--muted); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #efe5fb; color: var(--brand); margin-left: 6px; vertical-align: 2px; }

.summary { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 18px -22px -22px; padding: 14px 22px; border-radius: 0 0 var(--radius) var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head button { background: none; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; font-size: 18px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal button { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: #fff; font: inherit; cursor: pointer; }
.cal button.avail { border-color: var(--line); font-weight: 650; }
.cal button.avail:hover { border-color: var(--brand); }
.cal button:disabled { color: #c3c3c8; cursor: default; background: transparent; }
.cal button.sel { background: var(--brand); color: var(--brand-ink); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 12px; }
.times button { padding: 12px; border-radius: 10px; border: 1px solid #cfcfd6; background: #fff; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.times button.sel { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f0f3; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.pay-opt { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 8px; cursor: pointer; }
.pay-opt.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pay-opt input { accent-color: var(--brand); width: 20px; height: 20px; flex: none; }
.pay-opt .amt { margin-left: auto; font-weight: 700; }
.lines { width: 100%; border-collapse: collapse; margin: 6px 0; }
.lines td { padding: 6px 0; border-bottom: 1px solid #f0f0f3; }
.lines td:last-child { text-align: right; white-space: nowrap; }
.lines tr.total td { font-weight: 800; border: 0; padding-top: 10px; font-size: 18px; }
.err { background: #fdecec; color: var(--err); border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 15px; }
.ok { background: #e9f7ee; color: var(--ok); border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 15px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.welcome { background: #f4ecfd; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* gift cards */
.amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.amounts button { padding: 18px 10px; font-family: inherit; font-size: 20px; font-weight: 800; border-radius: 12px; border: 1px solid #cfcfd6; background: #fff; cursor: pointer; }
.amounts button.sel { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.gift-preview { border-radius: 18px; padding: 22px; color: #fff; background: linear-gradient(135deg, #111 0%, #2b2b33 55%, var(--brand) 140%); aspect-ratio: 1.7; display: flex; flex-direction: column; justify-content: space-between; max-width: 380px; margin: 0 auto 6px; }
.gift-preview .v { font-size: 38px; font-weight: 800; }

.addon-box { margin: -2px 0 12px 22px; padding: 12px 12px 4px; border-left: 3px solid var(--brand); background: #faf7fe; border-radius: 0 12px 12px 0; }
.addon-h { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.svc.addon { padding: 10px 12px; }
@media (max-width: 560px) { .addon-box { margin-left: 8px; } }

.or-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px; color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subcat { margin: 14px 0 6px; font-weight: 700; font-size: 14px; color: var(--ink); padding-left: 10px; border-left: 3px solid var(--brand); }
.shape .shape-img { display: block; width: 100%; height: 72px; object-fit: contain; margin: 0 auto 6px; }
.shape { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }

/* Which vehicle the prices are for – big and clear, in case the search found the wrong one */
.vehicle-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; border: 2px solid var(--brand); border-radius: 14px; padding: 14px 16px; margin: 4px 0 14px; }
.vehicle-box .vb-main { min-width: 0; }
.vehicle-box .vb-k, .found .found-k { font-size: 13px; color: var(--muted); }
.vehicle-box .vb-v, .found .found-v { font-size: 22px; font-weight: 800; line-height: 1.2; }
.vehicle-box .vb-s { font-size: 15px; font-weight: 600; color: var(--muted); }
.vb-reg { margin-top: 6px; font-size: 14px; color: var(--muted); }
.vb-reg .plate { display: inline-block; background: #f7d117; color: #111; font-weight: 800; letter-spacing: .06em; border-radius: 4px; padding: 1px 7px; margin-right: 4px; }
.vehicle-box .disclaimer { flex-basis: 100%; margin: 6px 0 0; }
.disclaimer { font-size: 13px; color: var(--muted); line-height: 1.45; }
.found { border: 2px solid var(--brand); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; }
.found .linkbtn { margin-top: 2px; font-size: 14px; }
