:root {
  /* Colours pulled directly from signguy.co.uk's live CSS */
  --pink: #EC1A62; --yellow: #FFDA0D; --green: #00D563; --magenta: #FF0DA5;
  --ink: #23161F; --panel: #2f2029; --border: #453a41;
  --text: #f4eef2; --muted: #b3a6ae; --bg: var(--ink); --card: #2f2029;
  --radius: 16px;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Source Sans Pro", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font-body);
  background: var(--bg); color: var(--text);
}
.site-header {
  background: var(--ink); padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.site-header__inner { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.logo-img { height: 34px; width: auto; display: block; }
.tagline { color: var(--muted); font-size: 14px; font-family: var(--font-body); }

.wizard { max-width: 760px; margin: 0 auto; padding: 28px 18px 60px; min-height: 60vh; }

.site-footer { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 18px; }

html.is-embedded .site-header { display: none; }

h1.step-title { font-family: var(--font-heading); font-weight: 700; font-size: 26px; margin: 0 0 6px; color: var(--text); }
p.step-sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }

.progress { display: flex; gap: 6px; margin-bottom: 24px; }
.progress__dot { height: 5px; flex: 1; background: var(--border); border-radius: 3px; }
.progress__dot.done { background: var(--pink); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tile {
  background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 20px; text-align: left; cursor: pointer; transition: border-color .15s, transform .1s;
  font: inherit; color: inherit;
}
.tile:hover { border-color: var(--pink); transform: translateY(-2px); }
.tile.selected { border-color: var(--pink); background: #3a2430; }
.tile__icon { font-size: 34px; margin-bottom: 8px; display: block; }
.tile__label { font-family: var(--font-heading); font-weight: 700; font-size: 16px; display: block; color: var(--text); }
.tile__desc { color: var(--muted); font-size: 13px; margin-top: 4px; display: block; }
.tile__price { color: var(--yellow); font-weight: 700; margin-top: 8px; display: block; }

.field-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.field { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--text); }
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field input[type="tel"], .field textarea {
  padding: 12px 14px; border-radius: 10px; border: 2px solid var(--border);
  font-size: 16px; font-family: inherit; background: #1a1017; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field textarea { resize: vertical; min-height: 100px; }

.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 2px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px;
}
.toggle-row__label { font-weight: 600; color: var(--text); }
.toggle-row__desc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; background: #5a4c54; border-radius: 26px; cursor: pointer; transition: .15s;
}
.switch .slider::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
  background: white; border-radius: 50%; transition: .15s;
}
.switch input:checked + .slider { background: var(--pink); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border);
  background: #1a1017; color: var(--text); font-size: 18px; cursor: pointer;
}
.stepper span { min-width: 30px; text-align: center; font-weight: 700; }

.btn {
  display: inline-block; background: var(--pink); color: white; border: none;
  font-family: var(--font-heading);
  padding: 14px 28px; border-radius: 30px; font-size: 16px; font-weight: 700;
  cursor: pointer; margin-top: 10px;
}
.btn:disabled { background: #5a4c54; color: #a89aa1; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--muted); box-shadow: none; padding: 14px 10px; }
.btn-row { display: flex; align-items: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.diagram-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 10px; }
.diagram-wrap { position: relative; max-width: 100%; }
.diagram-wrap img { display: block; width: 100%; height: auto; }
.diagram-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram-section { fill: transparent; stroke: none; cursor: pointer; transition: fill .1s; }
.diagram-section:hover { fill: rgba(255, 218, 13, 0.28); }
.diagram-section.selected { fill: rgba(236, 26, 98, 0.55); stroke: white; stroke-width: 2; }
.diagram-hint { font-size: 13px; color: var(--muted); margin-top: 8px; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
  display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 1000;
}
.modal-card {
  background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 20px; width: 100%; max-width: 360px;
}
.modal-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 14px; }
.modal-choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.modal-choice {
  background: #1a1017; border: 2px solid var(--border); border-radius: 12px;
  padding: 14px 16px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font: inherit; color: inherit; text-align: left; width: 100%;
}
.modal-choice:hover { border-color: var(--pink); }
.modal-choice__label { font-weight: 600; }
.modal-choice__price { color: var(--yellow); font-weight: 700; }
.modal-cancel { width: 100%; text-align: center; margin-top: 0; }

.running-total {
  position: sticky; bottom: 12px; margin-top: 20px; background: #150d12; color: white;
  border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center;
}
.running-total__label { font-size: 13px; color: var(--muted); }
.running-total__value { font-size: 22px; font-weight: 800; font-family: var(--font-heading); color: var(--yellow); }

.breakdown-list { list-style: none; padding: 0; margin: 0 0 20px; }
.breakdown-list li {
  display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px;
}
.breakdown-list li.discount { color: var(--green); }

.summary-card { background: var(--card); border: 2px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px solid var(--border); }
.summary-total__value { font-size: 30px; font-weight: 800; font-family: var(--font-heading); color: var(--yellow); }

.reveal { text-align: center; }
.reveal__price { font-family: var(--font-heading); font-size: 46px; font-weight: 900; color: var(--yellow); margin: 6px 0 2px; }
.reveal__note { color: var(--muted); margin-bottom: 24px; }
.reveal__check { font-size: 44px; margin-bottom: 10px; }

.error-banner { background: #4a1a2a; color: #ffb3c6; border: 1px solid #7a2a45; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }

@media (max-width: 480px) {
  .reveal__price { font-size: 36px; }
  .tile { padding: 16px; }
}
