/* Visual refinements are scoped to the product configurator. */
.cpb-front{--cpb-line:#e2e6eb;--cpb-muted:#637080;padding:28px;border-color:var(--cpb-line);border-radius:16px;line-height:1.5}
.cpb-front .cpb-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-bottom:28px}
.cpb-front .cpb-header h3{font-size:1.5em;line-height:1.3;margin:0}
.cpb-front .cpb-clear-all{flex-shrink:0;min-height:40px;margin:0;padding:9px 17px;border:1px solid #e8cf92;border-radius:999px;background:#fff8e8;color:#77520b;font-size:.875em;font-weight:600;line-height:1.4;box-shadow:none;transition:background .15s,border-color .15s}
.cpb-front .cpb-clear-all:hover{background:#ffedbc;border-color:var(--cpb-gold-edge)}
.cpb-front .cpb-clear-all:active{background:var(--cpb-gold)}
.cpb-front .cpb-clear-status{display:block;color:var(--cpb-muted);font-size:.85em}
.cpb-front .cpb-clear-status:not(:empty){margin:-12px 0 20px}
.cpb-front .cpb-questions{gap:26px 18px}
.cpb-front .cpb-question legend{float:none;width:100%;font-size:.95em;line-height:1.5;margin:0 0 12px}
.cpb-front .cpb-help{margin:-4px 0 12px;color:var(--cpb-muted);font-size:.85em;opacity:1}
.cpb-front .cpb-choice-list{gap:10px}
.cpb-front .cpb-choice{min-height:48px;min-width:0;gap:10px;padding:12px 16px;border-color:#dce1e7;border-radius:12px;font-size:.9em;line-height:1.45;transition:background .15s,border-color .15s}
.cpb-front .cpb-choice:hover{background:#fafbfc;border-color:#b8c2ce}
.cpb-front .cpb-choice:has(input:checked){background:#fff8e8;border-color:var(--cpb-gold-edge);box-shadow:inset 0 0 0 1px var(--cpb-gold-edge)}
.cpb-front .cpb-choice:has(input:disabled){color:#89929d;background:#f7f8fa;cursor:not-allowed}
.cpb-front .cpb-choice input{width:17px;height:17px;accent-color:#b37a00}
.cpb-front .cpb-choice-text{overflow-wrap:anywhere}
.cpb-front .cpb-colour-dot{width:22px;height:22px}
.cpb-front .cpb-choice-image{width:56px;height:56px;border-radius:6px}
.cpb-front .cpb-question input[type=text],.cpb-front .cpb-question input[type=number],.cpb-front .cpb-question select{display:block;min-width:0;min-height:48px;margin:0;padding:12px 14px;border-color:#d6dce4;border-radius:10px;font-size:.9em;line-height:1.45}
.cpb-front .cpb-question select{padding-right:30px}
.cpb-front .cpb-question input:hover,.cpb-front .cpb-question select:hover{border-color:#b8c2ce}
.cpb-front :is(button,input,select):focus-visible{outline:2px solid #bd8619;outline-offset:3px}
.cpb-front .cpb-option-quantity-row{gap:14px}
.cpb-front .cpb-option-quantity-row:has(.cpb-option-quantity:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(90px,.45fr)}
.cpb-front .cpb-option-quantity{display:grid;gap:6px;margin:0;padding:0;color:var(--cpb-muted);font-size:.85em;font-weight:400}
.cpb-front .cpb-option-quantity>span{font-weight:500}
.cpb-front .cpb-option-quantity small{font-size:.85em;line-height:1.4}
.cpb-front .cpb-option-quantity input[type=number]{color:var(--cpb-ink);font-size:1.05em}
.cpb-front .cpb-totals{margin:28px 0 12px;padding:20px;border-color:var(--cpb-line);border-radius:12px;background:#f8f9fb}
.cpb-front .cpb-totals h4{margin:0 0 14px;font-size:1em;line-height:1.4}
.cpb-front .cpb-cost-row{gap:20px;padding:10px 0;font-size:.9em;line-height:1.5}
.cpb-front .cpb-cost-row>div{min-width:0}
.cpb-front .cpb-cost-row strong{flex-shrink:0;font-variant-numeric:tabular-nums}
.cpb-front .cpb-cost-row small{margin-top:4px;color:var(--cpb-muted);opacity:1}
.cpb-front .cpb-subtotal{margin-top:10px;padding-top:16px;border-color:var(--cpb-line)}
.cpb-front .cpb-grand-total{margin:12px -8px -8px;padding:16px 8px 8px;border-color:#dce1e7}
.cpb-front .cpb-price-note{margin:0;color:var(--cpb-muted);line-height:1.6;opacity:1}
.cpb-front .cpb-preview{margin-bottom:26px;border-radius:12px;background:#fafbfc}
@media(max-width:480px){.cpb-front{padding:20px 16px;border-radius:12px}.cpb-front .cpb-header{gap:12px;margin-bottom:24px}.cpb-front .cpb-header h3{font-size:1.3em}.cpb-front .cpb-questions{gap:24px 12px}.cpb-front .cpb-choice{padding:11px 12px;gap:8px}.cpb-front .cpb-question select{padding-left:10px}.cpb-front .cpb-question input[type=number]{padding-left:10px;padding-right:8px}.cpb-front .cpb-option-quantity-row{gap:10px}.cpb-front .cpb-totals{padding:16px}.cpb-front .cpb-cost-row{gap:12px}}
@media(prefers-reduced-motion:reduce){.cpb-front .cpb-choice,.cpb-front .cpb-clear-all{transition:none}}
