:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

* { box-sizing: border-box; }
body { margin: 0; }

.page-shell {
  min-height: 100vh;
  padding: 2.5rem 1.25rem 4.5rem;
  background: linear-gradient(160deg, #a966b2 0%, #a966b2 42%, #7dd9df 100%);
}

.hero {
  max-width: 1080px;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.hero-copy {
  margin-top: 0.65rem;
  line-height: 1.5;
  max-width: 58ch;
}

.logo {
  width: 200px;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.4rem;
}

.hero h1 {
  margin: 0.75rem 0 0.35rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.wizard-card {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.wizard-meta {
  display: flex;
  justify-content: space-between;
  color: #7d3f85;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.wizard-meta p { margin: 0; }

.stepper {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.stepper-item {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.4rem;
  border-radius: 0.7rem;
  background: #f4edf8;
  color: #7d3f85;
  border: 1px solid #e7d9f0;
}

.stepper-item span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 700;
}

.stepper-item small {
  font-size: 0.8rem;
  font-weight: 700;
}

.stepper-item.active {
  background: #efe2f5;
  border-color: #a966b2;
}

.stepper-item.active span {
  background: #a966b2;
  color: #fff;
}

.progress-track {
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  background: #ece1ef;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #7dd9df, #a966b2);
  transition: width 0.22s ease;
}

.step {
  display: none;
}

.step.active {
  display: grid;
  gap: 1.9rem;
}

.step h2,
.step h3 {
  margin: 0;
}

.subheading {
  margin-bottom: 0.95rem !important;
  color: #6b2c73;
}

.option-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.image-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.tile {
  border: 2px solid #d8bddf;
  background: #fff;
  border-radius: 0.8rem;
  min-height: 78px;
  font-weight: 700;
  padding: 0.9rem;
  cursor: pointer;
  line-height: 1.35;
}

.visual-tile {
  display: grid;
  gap: 0.7rem;
  text-align: center;
}

.visual-tile img {
  width: 100%;
  height: clamp(148px, 22vw, 220px);
  object-fit: contain;
  object-position: center;
  border-radius: 0.75rem;
  border: 1px solid #e3dff0;
  background: #f4f4f4;
  padding: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.visual-tile span {
  font-size: 1rem;
  color: #6c3a84;
}

.tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tile.active {
  background: #f4ebf7;
  border-color: #a966b2;
}

label {
  display: grid;
  gap: 0.65rem;
  font-weight: 700;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid #d0d0d0;
  border-radius: 0.5rem;
  padding: 0.85rem 0.95rem;
}

textarea { line-height: 1.4; }

.summary-panel {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.summary-panel h3 { margin: 0 0 0.7rem; }

.summary-panel ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}


.step[data-step="3"] h2 {
  margin-top: 0.15rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.wizard-actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eee;
}

button {
  border-radius: 0.6rem;
  border: 1px solid #ccc;
  background: #fff;
  padding: 0.75rem 1.1rem;
  min-height: 44px;
}

button.cta {
  border: none;
  background: #7dd9df;
  color: #10252a;
  font-weight: 700;
}

.notice {
  margin: 0.25rem 0 0;
  font-weight: 600;
  line-height: 1.5;
}

.notice.success { color: #117d33; }
.notice.error { color: #9e1f1f; }

.price-panel {
  margin-top: 1.5rem;
  margin-bottom: 1.35rem;
  border: 1px solid #e4d8eb;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fbf8fd;
}

.price-panel summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #63306e;
  padding: 0.9rem 1rem;
  background: #f4edf8;
}

.price-panel summary::-webkit-details-marker {
  display: none;
}

.price-panel summary::after {
  content: "Show";
  float: right;
  font-weight: 600;
  font-size: 0.88rem;
  color: #7d3f85;
}

.price-panel[open] summary::after {
  content: "Hide";
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  min-width: 640px;
}

.price-table th,
.price-table td {
  border: 1px solid #e2d8e9;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.price-table th {
  background: #f4edf8;
  color: #63306e;
}

.admin-link {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.admin-card textarea {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 700px) {
  .page-shell { padding: 1.25rem 0.75rem 3rem; }
  .wizard-card { padding: 1rem; }
  .wizard-meta { flex-direction: column; gap: 0.35rem; }
  .stepper-item small { font-size: 0.72rem; }
  .wizard-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 0.75rem;
    margin: 1.25rem -1rem -1rem;
    border-top: 1px solid #ddd;
  }
  .wizard-actions button { flex: 1; }
}
