/* Zoekhulp als wizard. Kleuren, hoeken en lettertype komen uit het ontwerp (--pc-*). */
.pc-helper.wizard { max-width: 860px; margin: 0 auto; }
.pc-helper.wizard > h2 { margin: 6px 0 4px; font-size: 1.5rem; text-align: center; }
.pc-helper.wizard > p { margin: 0 0 22px; text-align: center; }

/* Voortgang */
.wizard-balk { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.wizard-balk button { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0 2px 10px; border: 0; border-bottom: 4px solid var(--pc-border); background: none; color: var(--pc-muted); font: inherit; font-size: .84rem; cursor: pointer; }
.wizard-balk b { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--pc-border); border-radius: 50%; font-size: .86rem; }
.wizard-balk span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wizard-balk .nu button { border-bottom-color: var(--pc-primary); color: var(--pc-text); font-weight: 700; }
.wizard-balk .nu b { border-color: var(--pc-primary); background: var(--pc-primary); color: var(--pc-bg); }
.wizard-balk .klaar button { border-bottom-color: var(--pc-primary); }
.wizard-balk .klaar b { border-color: var(--pc-primary); color: transparent; position: relative; }
.wizard-balk .klaar b::after { content: "✓"; position: absolute; color: var(--pc-primary); font-size: 1rem; }

/* Een vraag per scherm */
.pc-helper.wizard .pc-helper-step { min-height: 270px; margin: 0; padding: 24px; border: 1px solid var(--pc-border); animation: wizard-in .22s ease-out; }
@keyframes wizard-in { from { opacity: 0; transform: translateX(14px); } }
.pc-helper.wizard .pc-helper-step h3 { margin: 0 0 18px; font-size: 1.2rem; outline: 0; }

/* Grote keuzeknoppen */
.pc-helper.wizard .pc-helper-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pc-helper.wizard .pc-option { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px; border: 2px solid var(--pc-border); border-radius: var(--pc-radius); background: var(--pc-card); color: var(--pc-text); font-size: .95rem; font-weight: 500; line-height: 1.3; transition: border-color .12s, transform .12s; }
.pc-helper.wizard .pc-option:hover { border-color: var(--pc-primary); transform: translateY(-2px); }
.pc-helper.wizard .pc-option.active { border-color: var(--pc-primary); background: color-mix(in srgb, var(--pc-primary) 12%, var(--pc-card)); color: var(--pc-text); font-weight: 700; }
.pc-helper.wizard .pc-option.active::after { content: "✓"; position: absolute; top: 6px; right: 9px; color: var(--pc-primary); font-size: .9rem; font-weight: 800; }
.pc-helper.wizard .pc-option[data-icoon] { flex-direction: column; gap: 6px; min-height: 104px; text-align: center; font-size: .86rem; }
.pc-helper.wizard .pc-option[data-icoon]::before { content: attr(data-icoon); font-size: 1.9rem; line-height: 1; }

/* Invulvelden */
.pc-helper.wizard .pc-input { padding: 13px 16px; border: 2px solid var(--pc-border); background: var(--pc-card); font-size: 1rem; }
.pc-helper.wizard .pc-input:focus { border-color: var(--pc-primary); outline: 0; }
.pc-helper.wizard .pc-helper-step > .pc-input { margin-top: 18px; }
.pc-helper.wizard .pc-helper-row { margin-top: 16px; gap: 10px; }
.pc-helper.wizard .pc-helper-row > .pc-helper-options { width: 100%; }
.pc-helper.wizard .pc-qty { width: 180px; }

/* Duurzaam als schakelaar, kleuren als chips */
.pc-helper.wizard .pc-check { justify-content: space-between; margin: 0 0 20px; padding: 14px 16px; border: 2px solid var(--pc-border); border-radius: var(--pc-radius); flex-direction: row-reverse; font-weight: 600; }
.pc-helper.wizard .pc-check input { appearance: none; flex: none; position: relative; width: 44px; height: 25px; margin: 0; border-radius: 999px; background: var(--pc-border); cursor: pointer; }
.pc-helper.wizard .pc-check input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: translate .15s; }
.pc-helper.wizard .pc-check input:checked { background: var(--pc-primary); }
.pc-helper.wizard .pc-check input:checked::after { translate: 19px 0; }
.pc-helper.wizard .pc-colour-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.pc-helper.wizard .pc-colour { justify-content: flex-start; gap: 10px; padding: 9px 12px; border: 2px solid var(--pc-border); font-size: .88rem; }
.pc-helper.wizard .pc-colour .pc-swatch { width: 20px; height: 20px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.pc-helper.wizard .pc-colour.active { border-color: var(--pc-primary); background: color-mix(in srgb, var(--pc-primary) 12%, var(--pc-card)); box-shadow: none; font-weight: 700; }

/* Knoppenbalk: vorige, resultaten, volgende */
.pc-helper.wizard .pc-helper-footer { position: static; display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; margin-top: 14px; padding: 0; background: none; }
.pc-helper.wizard .wizard-vorige:disabled { visibility: hidden; }
.pc-helper.wizard .pc-helper-go { grid-column: 3; grid-row: 1; padding: 12px 20px; background: transparent; border: 2px solid var(--pc-primary); color: var(--pc-primary); font-size: .95rem; }
.pc-helper.wizard .wizard-volgende { grid-column: 4; grid-row: 1; }
.pc-helper.wizard.laatste .pc-helper-go { grid-column: 3 / 5; background: var(--pc-primary); color: var(--pc-bg); font-size: 1.05rem; }
.pc-helper.wizard .pc-helper-footer a { grid-column: 1 / -1; grid-row: 2; justify-self: center; border: 0; background: none; color: var(--pc-muted); font-size: .84rem; font-weight: 500; text-decoration: underline; }

@media (max-width: 600px) {
    .pc-helper.wizard .pc-helper-step { min-height: 0; padding: 16px; }
    .pc-helper.wizard .pc-helper-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-helper.wizard .pc-colour-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wizard-balk span { font-size: .72rem; }
    .pc-helper.wizard .pc-helper-footer { grid-template-columns: 1fr 1fr; }
    .pc-helper.wizard .pc-helper-go, .pc-helper.wizard.laatste .pc-helper-go { grid-column: 1 / -1; grid-row: 1; }
    .pc-helper.wizard .wizard-vorige { grid-column: 1; grid-row: 2; }
    .pc-helper.wizard .wizard-volgende { grid-column: 2; grid-row: 2; }
    .pc-helper.wizard.laatste .wizard-vorige { grid-column: 1 / -1; }
    .pc-helper.wizard .pc-helper-footer a { grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) { .pc-helper.wizard * { animation: none !important; transition: none !important; } }
