/* =========================================================
   Woodstep Calculator Plugin — wsc-style.css  v2
   Design exactly matches woodstep.nl
   ========================================================= */

/* ── Reset ── */
img{
    max-width: 100%;
    height: auto;
}
.wsc-widget *,
.wsc-personalise * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Defensive resets — some themes/page-builders inject global rules for
   headings, lists and form elements that otherwise leak into the wizard
   (e.g. the Overview step rendering with no card box / spacing). */
.wsc-personalise h2,
.wsc-personalise h3,
.wsc-personalise h4 { font-family: inherit; line-height: 1.3; }
.wsc-personalise ul { list-style: none; }
.wsc-personalise textarea,
.wsc-personalise input,
.wsc-personalise select,
.wsc-personalise button { font-family: inherit; box-sizing: border-box; }
.wsc-personalise a { text-decoration: none; }

/* Every clickable control gets its own deliberate focus style elsewhere
   in this sheet (border-color change, box-shadow ring, etc). Without this
   reset, browsers fall back to a default focus/tap-highlight rectangle —
   drawn as the element's full bounding box. That's what showed up as a
   stray empty box and an unexpected colour flash on buttons after a tap. */
.wsc-personalise button,
.wsc-personalise [role="button"],
.wsc-skirting-item,
.wsc-wood-item,
.wsc-color-item {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.wsc-personalise button:focus-visible {
    outline: 2px solid var(--wsc-primary, #2ecc71);
    outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════
   CALCULATOR CARD
══════════════════════════════════════════════════════════ */
.wsc-widget {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--wsc-text, #1a1a1a);
}

.wsc-card {
    position: relative;
/*     background: var(--wsc-bg-card, #fff);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    border-radius: 4px;
    padding: 25px 30px;
	box-shadow: 0 4px 20px rgba(0,0,0,.1); */
    /*max-width: 420px;*/
    width: 100%;
    
}

.wsc-widget .wsc-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--wsc-text, #1a1a1a);
    margin: 0;
    line-height: 1.3;
}

/* ── Form ── */
.wsc-form {
    display: flex;
    flex-direction: column;
}

.wsc-field-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.wsc-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--wsc-text, #1a1a1a);
    min-width: 106px;
    flex-shrink: 0;font-family: "Quicksand", sans-serif;
}

/* Calculator card form (m², treatment, total) — CSS Grid matching the
   reference design (120px label column, 15px row-gap, no column-gap).
   `display: contents` on the row wrappers lets their label/input children
   fall directly into the grid as items, so no markup changes are needed —
   this stays scoped to #wsc-calc-form only and doesn't touch .wsc-form/
   .wsc-field-row used elsewhere (e.g. the admin settings screen). */
#wsc-calc-form {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 10px 0;
}
#wsc-calc-form .wsc-field-row,
#wsc-calc-form #wsc-price-result,
#wsc-calc-form #wsc-price-result-inner,
#wsc-calc-form .wsc-total-line {
    display: contents;
}
#wsc-calc-form .wsc-label {
    font-size: 16px;
    font-weight: 600;
    min-width: 0;
}
/* Breakdown block (discount badge + m² lines) spans the full row width,
   sitting below the total price-box. */
#wsc-calc-form .wsc-widget-breakdown {
    grid-column: 1 / -1;
}

.wsc-modal-row > .wsc-label {
    padding-top: 9px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;font-family: "Quicksand", sans-serif;
}

.wsc-modal-row > .wsc-label + * ~ * {
    grid-column: 1 / -1;
}

.wsc-required { color: var(--wsc-danger, #e74c3c); }

/* ── Inputs ── */
.wsc-input-wrap { flex: 1; }

.wsc-widget .wsc-input {
    width: 100%;
    height: 36px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--wsc-text, #1a1a1a);
    background: var(--wsc-bg-card, #fff);
    outline: none;
    transition: border-color .18s, background-color .18s;font-family: "Quicksand", sans-serif;
    font-family: inherit;
}

/* Naam / E-mail / Telefoon get a soft filled background in the reference
   design; Land, Postcode and Gewenste uitvoerdatum stay plain white. */
.wsc-widget .wsc-input.wsc-input-filled {
    /*background: var(--wsc-bg-input, #edf2f9);*/
    border-color: var(--wsc-border, #cbd5e1);
}

.wsc-widget .wsc-input::placeholder { font-size: 15px; font-weight: 500; color: #555555; }

.wsc-widget .wsc-input:focus { border-color: var(--wsc-primary, #24cb7f); }
.wsc-widget .wsc-input.wsc-input-error { border-color: var(--wsc-danger, #e74c3c); }
.wsc-widget .wsc-input.wsc-input-center { text-align: center; }

/* Calculator card inputs/selects — slightly different metrics than the
   modal's (37px height, 3px radius, #d2d2d2 border, 16px text), scoped so
   the request-quote modal's own input styling is untouched. */
#wsc-calc-form .wsc-input,
#wsc-calc-form .wsc-select {
    height: 37px;
    border-color: #d2d2d2;
    border-radius: 3px;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
}
#wsc-calc-form .wsc-select {
    padding: 0 40px 0 15px;
}
#wsc-calc-form .wsc-input:focus,
#wsc-calc-form .wsc-select:focus { border-color: var(--wsc-primary, #2ecc71); }
#wsc-calc-form .wsc-chevron { color: #d2d2d2; }

/* Native number-input spin buttons look dated/inconsistent across browsers
   (and don't appear in the reference design) — hide them everywhere. */
.wsc-input[type="number"]::-webkit-inner-spin-button,
.wsc-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.wsc-input[type="number"] { -moz-appearance: textfield; }

/* Custom numeric spinner (replaces the native one, consistent look everywhere).
   A single compact rounded control vertically centred inside the input
   (not a full-height split rectangle) — up/down chevrons stacked tightly,
   with a ring border all the way around, matching the requested reference
   look of a small circular/rounded stepper icon. */
.wsc-number-wrap { position: relative; }
.wsc-number-wrap .wsc-input { padding-right: 28px; }
.wsc-number-spin {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s;
}
.wsc-number-wrap:hover .wsc-number-spin,
.wsc-number-wrap:focus-within .wsc-number-spin {
    opacity: 1;
    visibility: visible;
}
.wsc-number-spin button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--wsc-text-muted, #888);
    cursor: pointer;
    padding: 0;
    line-height: 0;
    transition: background-color .15s, color .15s;
}
.wsc-number-spin button svg { width: 8px; height: 5px; }
.wsc-number-spin button:active { background: var(--wsc-primary-dark, #27ae60); }

/* Inline field validation (added v6) — applied to .wsc-input and .wsc-select
   alike when a field fails validateForm() in wsc-main.js */
.wsc-widget .wsc-input.wsc-field-error,
.wsc-widget .wsc-select.wsc-field-error {
    border-color: var(--wsc-danger, #e74c3c);
    background: #fef6f6;
}
.wsc-field-error-text {
    display: block;
    color: var(--wsc-danger, #e74c3c);
    font-size: 11.5px;
    margin-top: 4px;
    line-height: 1.4;
    display: none;
}

/* ── Select ── */
.wsc-select-wrap {
    position: relative;
    flex: 1;
}

.wsc-widget .wsc-select {
    width: 100%;
    height: 36px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 0 40px 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--wsc-text, #1a1a1a);
    background: var(--wsc-bg-card, #fff);
    cursor: pointer;
    outline: none;
    transition: border-color .18s, background-color .18s;
    font-family: inherit;
}
/* placeholder-style option (e.g. unselected "Gewenste uitvoerdatum") */
.wsc-widget .wsc-select option[value=""] { color: #555555; }
/* Some browsers (older Edge/IE, and Firefox in certain cases) still paint
   their own arrow even with appearance:none above, which doubled up with
   the custom .wsc-chevron SVG next to it. These two rules suppress those
   remaining native arrows without touching anything else about the select. */
.wsc-widget .wsc-select::-ms-expand { display: none; }
.wsc-widget select.wsc-select { background-image: none; }
.wsc-widget .wsc-select:focus { border-color: var(--wsc-primary, #24cb7f); }

.wsc-chevron {
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 16px;
    width: 16px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #707070;
}
.wsc-chevron svg {
    display: block;
    width: 12px;
    height: 12px;
}

/* ── Price result ── */
/*#wsc-price-result { padding: 2px 0; }*/

.wsc-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0px 0px 6px;
    border-top: 1px solid var(--wsc-border-light, #ebebeb);
    margin-top: 5px;font-family: "Quicksand", sans-serif;
}

.wsc-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--wsc-text, #1a1a1a);
}

.wsc-total-value {
    display: flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    background: var(--wsc-bg-card, #fff);
    font-size: 17px;
    font-weight: 700;
    color: #2c2c2c;
}
.wsc-total-value small {
    font-size: 11px;
    font-weight: 400;
    color: var(--wsc-text-light, #777);
    margin-left: 5px;
}

/* Calculator-card price breakdown — discount badge + m² line items,
   right-aligned, sits below the total price-box. */
.wsc-widget-breakdown {
    font-size: 14px;
    color: var(--wsc-text, #1a1a1a);
    text-align: right;
    width: 100%;
}
.wsc-promo-line {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 600;
}
.wsc-promo-label { margin-right: 8px; }
.wsc-promo-badge {
    background: var(--wsc-badge-bg, #a3e9cb);
    color: var(--wsc-badge-text, #0e6245);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.wsc-m2-line {
    font-size: 13px;
    color: #444444;
    line-height: 1.8;
    margin: 0;
}
.wsc-m2-line s {
    color: #981915;
    margin-right: 5px;
    text-decoration: line-through;
}
.wsc-highlight {
    color: var(--wsc-primary, #2ecc71);
    font-weight: 700;
}

/* Discount badge (e.g. "Actie korting : €408,00") — light mint background,
   dark green text, 4px-radius chip, right-aligned under the total. */
.wsc-promo-row strong.wsc-green,
.wsc-promo-row-label strong.wsc-green {
    background: var(--wsc-badge-bg, #a3e9cb);
    color: var(--wsc-badge-text, #0e6245);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 1.4;
}

/* ── Primary button ── */
/* Double-wrapper specificity (0,2,0) beats Elementor’s typical
   .elementor-widget button (0,1,1) and theme resets — no !important needed. */
.wsc-widget .wsc-btn-primary,
.wsc-personalise .wsc-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 15px;
    background: var(--wsc-primary, #24cb7f);
    color: var(--wsc-primary-text, #fff);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    cursor: pointer;
    text-align: center;
    transition: background .18s, opacity .18s;
    font-family: inherit;
    text-decoration: none;
    box-shadow: none;
    text-transform: none;
    line-height: normal;font-family: "Quicksand", sans-serif;
}
.wsc-widget .wsc-btn-primary:hover:not(:disabled),
.wsc-personalise .wsc-btn-primary:hover:not(:disabled) { background: var(--wsc-primary-dark, #1da868); color: var(--wsc-primary-text, #fff); }
.wsc-widget .wsc-btn-primary:disabled,
.wsc-personalise .wsc-btn-primary:disabled { opacity: .5; cursor: not-allowed; }

/* Calculator-card "Next step" button — taller, regular weight vs the
   modal's submit button (font inherits Montserrat from .wsc-card already,
   since the base rule above uses font-family:inherit). */
.wsc-card .wsc-btn-primary {
    height: 50px;
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: normal;
}

/* ── Back button + step action row ──
   Pairs a secondary "Back" button with the primary "Next step" button so
   the customer can always return to a previous step instead of being
   stuck moving forward only. */
.wsc-step-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.wsc-widget .wsc-step-actions .wsc-btn-primary,
.wsc-personalise .wsc-step-actions .wsc-btn-primary { flex: 1; margin-top: 0; }

.wsc-widget .wsc-btn-back,
.wsc-personalise .wsc-btn-back {
    flex: 0 0 auto;
    padding: 8px 8px;
    background: var(--wsc-bg-card, #fff);
    color: var(--wsc-text-muted, #555);
    border: 1px solid var(--wsc-border, #d2d2d2);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background-color .18s, border-color .18s, color .18s;
    font-family: inherit;
    text-decoration: none;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}
.wsc-widget .wsc-btn-back:hover,
.wsc-personalise .wsc-btn-back:hover { background: var(--wsc-bg-light, #f5f5f5); border-color: var(--wsc-border, #bbb); color: var(--wsc-text, #333); }

.wsc-disclaimer {
    font-size: 12px;
    color: #000;
    margin-top: 12px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;font-family: "Quicksand", sans-serif;
}
.wsc-disclaimer:hover,
.wsc-disclaimer:focus-visible { color: var(--wsc-text, #333);}

/* ══════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════ */
.wsc-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 39, 0.88);
    z-index: 100000;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

body.wsc-no-scroll { overflow: hidden; }

.wsc-widget .wsc-modal {
    background: var(--wsc-bg-card, #fff);
    width: 100%;
    max-width: 450px;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px 25px;
    position: relative;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* small modal variant */
.wsc-widget .wsc-modal-sm {
    min-height: auto;
    max-width: 360px;
    border-radius: 6px;
    margin: auto;
}

.wsc-widget .wsc-modal-terms {
    max-width: 1170px;
    max-height: 80vh;
}

.wsc-modal-terms-body {
    overflow-y: auto;
    font-size: 13px;font-family: "Quicksand", sans-serif;
    color: #001427;
}

.wsc-modal-terms-body p {
    margin: 0 0 10px;
    font-weight: 500;font-family: "Quicksand", sans-serif;
}

.wsc-modal-terms-body ol {
    margin: 0;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wsc-widget .wsc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;font-family: "Quicksand", sans-serif;
}

.wsc-widget .wsc-modal-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--wsc-text, #1a1a1a);
    line-height: 1.25;
    letter-spacing: -0.6px;
    margin-bottom: 4px;font-family: "Quicksand", sans-serif;
}
/* Reference design has no subtitle line or required-field asterisks visible
   in the request-quote form — hidden here rather than removed from markup,
   so validation (which still relies on the `required` attribute) is unaffected. */
.wsc-modal-subtitle { display: none; }
.wsc-modal-form .wsc-required { display: none; }
.wsc-widget .wsc-modal-subtitle { font-size: 12px; color: var(--wsc-text-muted, #666); }

.wsc-widget .wsc-modal-close {
    background: transparent;
    font-size: 43px;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    border: transparent;
    font-weight: 500;
}
/*.wsc-widget .wsc-modal-close:hover { color: var(--wsc-text, #333); }*/

/* modal form */
.wsc-modal-form {
    display: flex;
    flex-direction: column;
    /*gap: 13px;*/
    gap: 0;
    flex: 1;
}

/*.wsc-modal-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}*/

.wsc-modal-row:not(.wsc-email-wishes-row) {
    display: grid;
    grid-template-columns: 105px 1fr;
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
}

.wsc-modal-row {
    margin-bottom: 11px;
}
.wsc-modal-row.wsc-modal-row-tight {
    margin-bottom: 12px;
}

.wsc-modal-row:last-child { 
    margin-bottom: 0; 
}

.wsc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
/* Postcode / house-number pair uses an uneven 1.8:1 split in the reference
   design (postal code needs more room than the short house-number field). */
.wsc-two-col.wsc-two-col-postcode {
    grid-template-columns: 1.8fr 1fr;
}

.wsc-total-display {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: var(--wsc-bg-card, #fff);
}
.wsc-total-display span:first-child {
    font-size: 17px;
    font-weight: 800;
    color: #2c2c2c;
    letter-spacing: -0.4px;
    margin-right: 6px;
}
.wsc-total-display small {
    font-size: 13px;
    font-weight: 500;
    color: #444444;
    position: relative;
    top: 1px;
}

.wsc-address-hint {
    font-size: 12px;
    color: #2b3d51;
    font-weight: 500;
    letter-spacing: -0.1px;
    margin-left: 152px;
    margin-top: 6px;
    margin-bottom: 14px;
    padding-left: 2px;
    display: block;
}

.wsc-travel-hint {
    font-size: 11px;
    color: var(--wsc-text-muted, #555);
    font-weight: 600;
    display: block;
    margin-top: 2px;
    display: none;
}

.wsc-travel-error {
    font-size: 11.5px;
    color: var(--wsc-danger, #e74c3c);
    display: block;
    margin-top: 3px;
}

.wsc-field-error {
    font-size: 11px;
    color: var(--wsc-danger, #e74c3c);
}

.wsc-checkbox-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

/* custom checkbox */
.wsc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--wsc-text, #1a1a1a);
    cursor: pointer;
    flex: 1;
    line-height: 1.4;
}
.wsc-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.wsc-checkbox-label .wsc-check-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 2px solid var(--wsc-checkbox-accent, #52cb93);
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s, background .15s;
}
.wsc-checkbox-label input[type="checkbox"]:checked ~ .wsc-check-box {
    background: var(--wsc-checkbox-accent, #52cb93);
    border-color: var(--wsc-checkbox-accent, #52cb93);
}
.wsc-checkbox-label .wsc-check-box::after {
    content: '';
    display: none;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}
.wsc-checkbox-label input[type="checkbox"]:checked ~ .wsc-check-box::after {
    display: block;
}
.wsc-checkbox-label:hover .wsc-check-box {
    border-color: var(--wsc-checkbox-accent, #52cb93);
}


.wsc-info-text {
    font-size: 11.5px;
    color: var(--wsc-text-muted, #555);
    background: var(--wsc-bg-light, #f7f7f7);
    border-radius: 3px;
    padding: 8px 10px;
    line-height: 1.5;
}

/* email wishes */
.wsc-email-wishes-row {
    margin-top: -4px;
}
.wsc-email-wishes-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.wsc-email-wishes-heading .wsc-field-label {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--wsc-text, #1a1a1a);
}

/* tooltip */
.wsc-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.wsc-tooltip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--wsc-info, #2b80ff);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    line-height: 1;
    user-select: none;
}
.wsc-tooltip-box {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    min-width: 240px;
    max-width: 280px;
    background: #fff;
    border: 1px solid var(--wsc-border, #d2d2d2);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--wsc-text, #1a1a1a);
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    z-index: 9999;
    white-space: normal;
    pointer-events: none;color: #0000009c;
}
span.wsc-tooltip-box strong {
    display: block;
    font-size: 14px;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: #000;
}
.wsc-tooltip-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}
.wsc-tooltip-box::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--wsc-border, #d2d2d2);
    margin-top: 1px;
}
.wsc-tooltip-wrap:hover .wsc-tooltip-box,
.wsc-tooltip-icon:focus + .wsc-tooltip-box {
    display: block;
}

/* alerts */
.wsc-alert {
    font-size: 12.5px;
    padding: 9px 12px;
    border-radius: 3px;
    line-height: 1.4;
}
.wsc-alert-error   { background: #fdf0ef; color: #c0392b; border-left: 3px solid var(--wsc-danger, #e74c3c); }
.wsc-alert-success { background: #edfaf3; color: #1e8449;  border-left: 3px solid var(--wsc-primary, #2ecc71); }

.wsc-modal-note {
    font-size: 12.5px;
    color: #222222;
    font-weight: 500;
    letter-spacing: -0.1px;
    text-align: center;
    line-height: 1.5;
    margin-top: 5px;
}

.wsc-widget .wsc-adjust-link {
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.1px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    padding: 7px 0;
    font-family: inherit;
}
.wsc-widget .wsc-adjust-link:hover { color: var(--wsc-text, #333); }

.wsc-spinner { opacity: .7; }

/* fade transitions */
[x-cloak] { display: none !important; }
.wsc-fade-in  { animation: wscFadeIn  .17s ease; }
.wsc-fade-out { animation: wscFadeOut .13s ease; }
@keyframes wscFadeIn  { from { opacity:0 } to { opacity:1 } }
@keyframes wscFadeOut { from { opacity:1 } to { opacity:0 } }

/* ══════════════════════════════════════════════════════════
   PERSONALISATION WIZARD
══════════════════════════════════════════════════════════ */
.wsc-personalise {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--wsc-text, #1a1a1a);
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px 40px;
    position: relative;
}

/* ── Trustpilot rating badge (top-right of the wizard header) ── */
.wsc-trustpilot-badge {
    position: absolute;
    top: 12px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--wsc-border-light, #e4e4e4);
    border-radius: 4px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wsc-text, #1a1a1a);
    background: var(--wsc-bg-card, #fff);
    text-decoration: none;
    white-space: nowrap;font-family: "Quicksand", sans-serif;
}
.wsc-trustpilot-badge strong { color: var(--wsc-text, #1a1a1a); font-weight: 700; }
.wsc-tp-stars { display: inline-flex; gap: 1px; margin-left: 2px; }
.wsc-tp-star { color: #ffb400; font-size: 14px; line-height: 1; }
a.wsc-trustpilot-badge:hover { border-color: #ffb400; }
@media (max-width: 700px) {
    .wsc-trustpilot-badge { position: static; display: flex; justify-content: center; margin: 0 0 10px; }
}

/* ── Progress bar ── */
.wsc-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
    flex-wrap: nowrap;
}

.wsc-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.wsc-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--wsc-border, #ccc);
    background: var(--wsc-bg-card, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--wsc-text-light, #bbb);
    transition: all .22s;
}
.wsc-step-item.is-active .wsc-step-circle {
    border-color: #2ecc71;
    color: #ffffff;
    background: #2ecc71;
}
.wsc-step-item.is-done   .wsc-step-circle { border-color: #2ecc71; background: #2ecc71; color: #fff; }

.wsc-step-label {
    font-size: 10.5px;
    color: var(--wsc-text-light, #bbb);
    white-space: nowrap;
    transition: color .22s;
}
.wsc-step-item.is-active .wsc-step-label,
.wsc-step-item.is-done   .wsc-step-label { color: #2ecc71; font-weight: 600; }

.wsc-connector {
    flex: 1;
    height: 2px;
    background: var(--wsc-border-light, #ddd);
    margin: 0 3px;
    margin-bottom: 16px;
    max-width: 90px;
    min-width: 30px;
    transition: background .22s;
}
.wsc-connector.is-done { background: #2ecc71; }

.wsc-personalise .wsc-personalise-greeting {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--wsc-text, #1a1a1a);
  margin: 25px 0 6px;font-family: "Quicksand", sans-serif;
}

.wsc-wizard-intro {
    text-align: center;
    font-size: 16px;
    color: var(--wsc-text-muted, #666);
    margin: 8px 0 20px;font-family: "Quicksand", sans-serif; font-weight:500;
}

/* ── Panel ── */
.wsc-personalise .wsc-panel, .wsc-panel {
    background: var(--wsc-bg-card, #fff);
    border-radius: 4px;
    padding: 26px 28px;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    margin-bottom: 20px;
}

.wsc-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.wsc-panel-head h2 { font-size: 22px; font-weight: 700; color: var(--wsc-text, #1a1a1a); font-family: "Quicksand", sans-serif;}
.wsc-badge {
    font-size: 14px;
    background: #f2f2f2;
    margin-top: 4px;
    white-space: nowrap;
    color: #000000;
    padding: 6px 15px;
    border-radius: 3px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
}

.wsc-panel-desc {
    font-size: 16px;
    color: var(--wsc-text-muted, #555);
    line-height: 1.5;
    margin-bottom: 18px;
    width: 60%;font-family: "Quicksand", sans-serif; font-weight:500;
}

/* ── Step 1: Wood grid ── */
.wsc-wood-layout {
    display: grid;
    grid-template-columns: 1fr var(--wsc-sidebar-width-s1, 360px);
    gap: 24px;
    align-items: start;
}
.wsc-step2-layout {
    grid-template-columns: 1fr var(--wsc-sidebar-width-s2, 360px);
}
@media (max-width: 700px) { .wsc-wood-layout { grid-template-columns: 1fr; } }

.wsc-wood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 500px) { .wsc-wood-grid { grid-template-columns: repeat(2, 1fr); } }

.wsc-wood-item {
    cursor: pointer;
    border-radius: 4px;
/*     border: 2px solid transparent; */
    overflow: hidden;
    background: var(--wsc-bg-light, #f5f5f5);
    transition: border-color .18s;
}
.wsc-wood-item.is-selected { border-color: var(--wsc-primary, #2ecc71); }
.wsc-wood-item:hover:not(.is-selected) { border-color: #a0e9c0; }
/* .wsc-wood-item.is-selected .wsc-wood-label { color: var(--wsc-primary, #2ecc71); } */

.wsc-wood-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--wsc-bg-light, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wsc-wood-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wsc-wood-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wsc-bg-light, #e8e8e8);
    text-align: center;
    padding: 8px;
}

/* Selected-state overlay: a tinted wash across the whole thumbnail with a
   large checkmark centred on top, instead of a small corner badge.
   Wood-type deliberately excluded — it already shows selection via its
   green border + checked box below, so no image-level icon at all there. */
.wsc-color-item.is-selected .wsc-color-swatch::before,
.wsc-skirting-item.is-selected .wsc-skirting-img::before {
    content: "";
    position: absolute;
    inset: 0;
/*     background: rgba(13,46,38,.55); */
    z-index: 1;
}
.wsc-color-item.is-selected .wsc-color-swatch::before{
	background: transparent
}
 .wsc-skirting-item.is-selected .wsc-skirting-img::before { 
    background:rgba(39, 201, 122, 0.24); 
}



.wsc-color-item.is-selected .wsc-color-swatch::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: #2ecc7138;
    width: 100%;
    height: 100%;border-radius: 5px;
    border: 2px solid #2ecc7187;
}



.wsc-tick,
.wsc-skirting-badge {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 900;
    color: #0cb60c;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
    z-index: 2;
}

.wsc-wood-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--wsc-text, #333);
    transition: color .18s;font-family: "Quicksand", sans-serif;
}
.wsc-wood-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin: 0;
    border: 1.5px solid var(--wsc-border, #c9c9c9);
    border-radius: 3px;
    background: var(--wsc-bg-card, #fff);
    position: relative;
    pointer-events: none;
    transition: background .15s, border-color .15s;font-family: "Quicksand", sans-serif;
}
.wsc-wood-label input[type="checkbox"]:checked {
    background:#2ecc71;
    border-color:#2ecc71;
}
.wsc-wood-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left:8px;
    top:3px;
    width: 4px;
    height: 8px;
    border: solid var(--wsc-primary-text, #fff);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ── Colour swatch grid (NEW v5 — Stap 2: Kleur) ── */
.wsc-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 700px) { .wsc-color-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .wsc-color-grid { grid-template-columns: repeat(2, 1fr); } }

.wsc-color-item {
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    overflow: hidden;
    background: var(--wsc-bg-light, #f5f5f5);
    transition: border-color .18s, transform .12s;
}
.wsc-color-item.is-selected {
    border-color: transparent;
}
.wsc-color-item:hover:not(.is-selected) { border-color: #a0e9c0; }

.wsc-color-swatch {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--wsc-bg-light, #e8e8e8);
}
.wsc-color-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wsc-color-label {
    display: block;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--wsc-text, #333);
    font-family: "Quicksand", sans-serif;
    letter-spacing: -0.3px;
}

/* Info panel (right) */
.wsc-info-panel {
    border: 1px solid var(--wsc-border-light, #e4e4e4);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--wsc-bg-card, #fff);
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.wsc-info-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: var(--wsc-bg-light, #e8e8e8);
}
.wsc-info-title {
    font-size: 19px;
    font-weight: 700;
    padding: 18px 0px 6px;
    display: block;font-family: "Quicksand", sans-serif;
    line-height: 1.3;
}
.wsc-info-desc {
    font-size: 16px;
    color: var(--wsc-text-muted, #555);
    padding:0px;
    line-height: 1.6;
    flex: 1;margin: 0 !important;font-family: "Quicksand", sans-serif;
}
.wsc-widget .wsc-info-panel .wsc-btn-primary,
.wsc-personalise .wsc-info-panel .wsc-btn-primary { margin: 0 18px 18px; width: calc(100% - 36px); }

/* ── Step 2: Skirting ── */
.wsc-skirting-layout {
    display: grid;
    grid-template-columns: 1fr var(--wsc-sidebar-width-s3, 370px);
    gap: 24px;
    align-items: start;
    /* Prevent the fixed-width right column from overflowing the panel */
    overflow: hidden;
}
@media (max-width: 700px) { .wsc-skirting-layout { grid-template-columns: 1fr; overflow: visible; } }

.wsc-skirting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wsc-skirting-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.wsc-skirting-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border: 2px solid var(--wsc-border-light, #e0e0e0);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color .18s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wsc-skirting-item.is-selected .wsc-skirting-img { border-color:27c97a; }

.wsc-skirting-img svg,
.wsc-skirting-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}
.wsc-skirting-img { position: relative; }

.wsc-skirting-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--wsc-primary-text, #fff);
}
.wsc-skirting-placeholder.ok { background: var(--wsc-primary, #2ecc71); }
.wsc-skirting-placeholder.no { background: var(--wsc-danger, #e74c3c); }

.wsc-skirting-label {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    font-family: 'Quicksand';
}

.wsc-skirting-item:last-child .wsc-skirting-img::before { content: "X"; position: absolute; width: 100%; left: 0; top: 0; width: 100%; gap: 0; height: 100%; /* z-index: 9; */ font-size: 75px; font-weight: bold; font-family: 'Quicksand'; text-align: center; display: flex; align-items: center; justify-content: center; }



/* Selection panel */
.wsc-selection-panel {
    border-radius: 5px;
    padding: 16px;
    background: var(--wsc-bg-light, #fafafa);
    /* Must be explicitly constrained so the 280px grid column is respected */
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    /* Stick in view as the user scrolls through skirting options */
    position: sticky;
}
.wsc-selection-panel h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wsc-text, #1a1a1a);
    margin-bottom: 12px;
}

.wsc-selection-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--wsc-border-light, #eee);
}
.wsc-selection-row:last-of-type { border-bottom: none; padding-bottom: 6px; }
.wsc-selection-row + .wsc-selection-row { margin-top: 0; }
.wsc-skirting-thumb {
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    width: 60px;
    height: 60px;
}

.wsc-meter-wrap { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wsc-meter-label {
    font-size: 14px;font-family: 'Quicksand';
    font-weight: 700;
    color: var(--wsc-text, #1a1a1a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.wsc-meter-field {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.wsc-meter-field .wsc-input {
    flex: 1;
    min-width: 0;
    background: var(--wsc-bg-card, #fff);
    border: 1px solid var(--wsc-border-light, #ddd);
    border-radius: 5px;
    font-size: 13px;
    padding: 7px 10px;
}
.wsc-meter-field .wsc-input:focus { box-shadow: 0 0 0 3px rgba(46,204,113,.12); border-color: var(--wsc-primary, #2ecc71); }

.wsc-unit {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--wsc-text-light, #777);
    background: var(--wsc-border-light, #eaeaea);
    border-radius: 5px;
    padding: 0 14px;
    display: flex;
    align-items: center;
}

.wsc-summary-line {
    font-size: 13px;
    line-height: 1.6;margin: 0 !important;font-family: 'Quicksand';
}
/*.wsc-summary-line + .wsc-summary-line { margin-top: 14px; }*/

.wsc-summary-line + .wsc-summary-line {
    padding: 5px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wsc-summary-label { font-weight: 700; color: var(--wsc-text, #1a1a1a); }
.wsc-summary-value { color: var(--wsc-text-muted, #555); }

/* ── Step 3: Specs ── */
.wsc-specs-layout {
    display: grid;
    grid-template-columns: 1fr var(--wsc-sidebar-width-s4, 360px);
    gap: 24px;
    align-items: start;
}
@media (max-width: 700px) { .wsc-specs-layout { grid-template-columns: 1fr; } }

.wsc-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 560px) { .wsc-specs-grid { grid-template-columns: 1fr; } }

.wsc-spec-item { display: flex; flex-direction: column; gap: 7px; }
.wsc-spec-label { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size:15px; font-weight: 700; color: var(--wsc-text, #1a1a1a);font-family: 'Quicksand'; }

.wsc-yn { display: flex; gap: 8px; }

.wsc-specs-layout .wsc-yn-btn {
    flex: 1;
    padding: 15px 8px;
    border: none;
    border-radius: 3px;
    background: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--wsc-text-muted, #555);
    transition: background-color .15s, color .15s;
    font-family: inherit;
}

/*.wsc-specs-layout .wsc-yn-btn.is-active { background: var(--wsc-primary, #2ecc71); color: var(--wsc-primary-text, #fff); }
.wsc-specs-layout .wsc-yn-btn:hover:not(.is-active) { background: var(--wsc-primary-dark, #27ae60); color: var(--wsc-primary-text, #fff); }*/


.wsc-specs-layout .wsc-yn-btn.is-active { background: #2ecc71; color: var(--wsc-primary-text, #fff); }
.wsc-specs-layout .wsc-yn-btn:hover:not(.is-active) { background: #27ae60; color: var(--wsc-primary-text, #fff); }

/* "Are there V-grooves...?" etc. (Step 4) — Yes is always green, No is always grey,
   regardless of the site's configured theme/primary accent color. */
.wsc-yn-yes.is-active { background: #2ecc71; color: #fff; }
.wsc-yn-yes:hover:not(.is-active) { background: #27ae60; color: #fff; }
.wsc-yn-no.is-active { background: #8a8a8a; color: #fff; }
.wsc-yn-no:hover:not(.is-active) { background: #6f6f6f; color: #fff; }

.wsc-qty {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.wsc-qty .wsc-input { flex: 1; background: var(--wsc-bg-card, #fff); }

/* ── Step 4: Drop zone ── */
.wsc-dropzone {
    border: 2px dashed var(--wsc-border, #ccc);
    border-radius: 6px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    background: var(--wsc-bg-light, #fafafa);
    transition: border-color .18s, background .18s;
    margin-bottom: 16px;
}
.wsc-dropzone.is-dragging { border-color: var(--wsc-primary, #2ecc71); background: #f0faf5; }
.wsc-dropzone:hover { border-color: #a0e9c0; }
.wsc-dropzone-icon { font-size: 34px; display: block; margin-bottom: 8px; }
.wsc-dropzone p { font-size: 13px; color: var(--wsc-text-muted, #555); line-height: 1.5; }
.wsc-dropzone strong { color: var(--wsc-primary, #2ecc71); }
.wsc-dropzone-hint { font-size: 11px !important; color: var(--wsc-text-light, #aaa) !important; margin-top: 5px; }

.wsc-file-list { display: flex; flex-direction: column; gap: 8px; }
.wsc-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--wsc-bg-light, #f5f5f5);
    border-radius: 4px;
    padding: 7px 10px;
}
.wsc-file-thumb { width: 42px; height: 42px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.wsc-file-name { flex: 1; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsc-file-remove {
    background: none;
    border: none;
    color: var(--wsc-danger, #e74c3c);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .wsc-card  { padding: 18px 14px; }
    .wsc-modal { padding: 18px 14px; }
    .wsc-two-col,
    .wsc-two-col.wsc-two-col-postcode { grid-template-columns: 1fr; }
    .wsc-panel { padding: 18px 14px; }
    .wsc-modal-row:not(.wsc-email-wishes-row) {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }
    .wsc-modal-row > .wsc-label { padding-top: 0; margin-bottom: 2px; }
    .wsc-address-hint { margin-left: 0; margin-top: -4px; }
}

/* ── Thank-you panel ── */
.wsc-thankyou { text-align: center; padding: 60px 28px; }
.wsc-ty-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--wsc-primary, #2ecc71); color: var(--wsc-primary-text, #fff);
    font-size: 32px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.wsc-thankyou h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.wsc-thankyou p  { font-size: 14px; color: var(--wsc-text-muted, #666); }

/* ── Skirting thumb in selection panel ── */
.wsc-skirting-thumb {
    width: 60px; height: 60px; min-width: 60px; min-height: 60px;
    max-width: 60px; max-height: 60px;
    border-radius: 6px; overflow: hidden; flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.wsc-skirting-thumb svg,
.wsc-skirting-thumb img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ── Info panel image placeholder ── */
.wsc-info-img-placeholder {
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden; display: block;
    background: var(--wsc-bg-light, #e8e8e8);
}
.wsc-info-img-placeholder svg { width: 100%; height: 100%; display: block; }

/* ── Card subtitle ── */
.wsc-card-sub {
    font-size: 12px;
    color: var(--wsc-text, #1a1a1a);
    font-weight: 600;
    margin: 0 0 12px;
}

/* ── Price breakdown ── */
.wsc-promo-breakdown {
    margin-top: 5px;
    padding: 8px 0 2px;
}
.wsc-promo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--wsc-text-muted, #555);
    padding: 2px 0;
}
.wsc-promo-row s { color: #981915; }
.wsc-promo-row-label {
    justify-content: flex-end;
    gap: 8px;
}
.wsc-promo-row-label strong:first-child {
    font-weight: 800;
    color: #0b2238;
    font-size: 15px;
    letter-spacing: -0.2px;
}

/* Discount row ("Actie korting : €408,00") — sits below the total price-box,
   right-aligned, no border, matches .discount-container in the reference design. */
.wsc-promo-discount {
    border-top: none;
    margin-top: 0;
    padding: 0;
    margin-bottom: 22px;
}

/* Subtotal / travel-cost breakdown rows — appear above the total price-box. */
.wsc-promo-subtotal {
    border-top: none;
    margin-top: 18px;
    padding: 0 0 0 2px;
    margin-bottom: 6px;
}
.wsc-promo-subtotal .wsc-promo-row {
    font-size: 15px;
    color: #555555;
    font-weight: 500;
    margin-bottom: 8px;
    padding: 0;
}
.wsc-promo-subtotal .wsc-promo-row span:last-child { color: #222222; }

/* ── Address not found error ── */
.wsc-address-error {
    font-size: 11.5px;
    color: var(--wsc-danger, #e74c3c);
    display: block;
    margin-top: 3px;
}

/* ── Overview panel — card-based layout ── */
.wsc-personalise .wsc-overview-title, .wsc-overview-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--wsc-text, #1a1a1a); }

.wsc-personalise .wsc-overview-grid, .wsc-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wsc-border-light, #eee);
}
@media (max-width: 600px) { .wsc-overview-grid { grid-template-columns: 1fr; } }

.wsc-overview-row-pair { display: flex; gap: 16px; margin-bottom: 14px; }
.wsc-overview-row-pair .wsc-overview-row { flex: 1; margin-bottom: 0; }
.wsc-overview-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.wsc-ov-label { font-size: 11px; font-weight: 700; color: var(--wsc-text-muted, #777); text-transform: uppercase; letter-spacing: .4px; }
.wsc-ov-value { font-size: 14px; color: var(--wsc-text, #1a1a1a); font-weight: 600; }
.wsc-ov-remark .wsc-input { margin-top: 1px; resize: vertical; padding-top: 4px; padding-left: 7px; }

.wsc-overview-right h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.wsc-personalise .wsc-benefits, .wsc-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wsc-personalise .wsc-benefits li, .wsc-benefits li {
    font-size: 15px;
    color: var(--wsc-text, #1a1a1a);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Quicksand';
}
.wsc-benefits li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #2ecc71;
    color: #2ecc71;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.wsc-personalise .wsc-overview-details, .wsc-overview-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 600px) { .wsc-overview-details { grid-template-columns: 1fr; } }

.wsc-personalise .wsc-ov-section h4, .wsc-ov-section h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--wsc-text, #1a1a1a); border-bottom: none; padding-bottom: 0; }
.wsc-ov-item { display: flex; flex-direction: column; gap: 2px; padding:4px 0; border-bottom: 1px solid var(--wsc-bg-light, #f0f0f0); font-size:15px; color: var(--wsc-text-muted, #444); font-family: 'Quicksand'; font-weight: 400;}
.wsc-ov-item span:first-child { font-weight: 700; color: var(--wsc-text, #1a1a1a); flex-shrink: 0; }
.wsc-ov-item span:last-child { text-align: left; color: #3e3d3d; font-weight: 400; }
.wsc-ov-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wsc-text, #1a1a1a);
    border: 1px solid var(--wsc-border-light, #e2e2e2);
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    background: var(--wsc-bg-light, #f7f7f7);
    box-sizing: border-box;
    width: 100%;
}
.wsc-ov-link:hover {
    background: var(--wsc-primary-dark, #27ae60);
    border-color: var(--wsc-primary-dark, #27ae60);
    color: var(--wsc-primary-text, #fff);
    text-decoration: none;
}
.wsc-ov-section { display: flex; flex-direction: column; }
.wsc-ov-section > div { display: flex; flex-direction: column; flex: 1; }
.wsc-ov-section .wsc-ov-link {
    margin-top: auto;
    padding-top: 11px;
    align-self: stretch;
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 700;
}


.wsc-widget .wsc-btn-send,
.wsc-personalise .wsc-btn-send { font-size: 17px; padding: 10px; margin-top: 8px; }

/* ── Selection panel hint ── */
.wsc-selection-hint { font-size: 14px; color: var(--wsc-text-light, #888); line-height: 1.5; margin-bottom: 12px;    font-family: 'Quicksand';
    font-weight: 500; }

/* ── Drop zone upload icon ── */
.wsc-dropzone-icon { font-size: 40px; display: block; margin-bottom: 8px; }

/* ── Thank you ── */
.wsc-thankyou { text-align: center; padding: 60px 28px; }
.wsc-ty-icon { width:64px;height:64px;border-radius:50%;background:var(--wsc-primary, #2ecc71);color: var(--wsc-primary-text, #fff);font-size:32px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 20px; }
.wsc-thankyou h2 { font-size:22px;font-weight:700;margin-bottom:10px; }
.wsc-thankyou p  { font-size:14px;color:var(--wsc-text-muted, #666); }

/* ── Info panel body ── */
.wsc-info-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wsc-widget .wsc-info-body .wsc-btn-primary,
.wsc-personalise .wsc-info-body .wsc-btn-primary { margin: 6px 0 0; width: 100%; }
.wsc-widget .wsc-info-body .wsc-step-actions,
.wsc-personalise .wsc-info-body .wsc-step-actions { margin-top: 6px; }
.wsc-widget .wsc-info-body .wsc-step-actions .wsc-btn-primary,
.wsc-widget .wsc-info-panel .wsc-step-actions .wsc-btn-primary,
.wsc-personalise .wsc-info-body .wsc-step-actions .wsc-btn-primary,
.wsc-personalise .wsc-info-panel .wsc-step-actions .wsc-btn-primary {
    width: auto;
    flex: 1;
    margin: 0;
}

/* ── Error page ── */
.wsc-error-page {
    text-align: center;
    padding: 60px 24px;
    max-width: 480px;
    margin: 0 auto;
}
.wsc-error-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
    color: #e74c3c;
}
.wsc-error-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--wsc-text, #1a1a1a);
    margin-bottom: 12px;
}
.wsc-error-message {
    font-size: 15px;
    color: var(--wsc-text-muted, #666);
    line-height: 1.6;
    margin-bottom: 24px;
}
.wsc-error-admin-hint {
    font-size: 13px;
    color: var(--wsc-text-muted, #888);
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 8px;
}
.wsc-error-admin-link {
    color: var(--wsc-primary, #2563eb);
    font-weight: 600;
    text-decoration: none;
}
.wsc-error-admin-link:hover {
    text-decoration: underline;
}


.offer-base {
    width: 110px;
    text-align: center;
    background: #2F5F84;
    height: 110px;
    border-radius: 100px;
    display: flex;
    line-height: 1;
    align-items: center;
    padding: 10px;
    color: #fff;
    position: absolute;
    top: -60px;
    right: -100px;
    flex-direction: column;
    justify-content: center;
    text-transform: uppercase;
    font-size: 11px;
    border: 4px solid #F7F7F7;
    z-index: 9;
}

.offer-base h3 {
    margin: 0px;
    color: #fff;
}

ol.list_number li {
    display: flex;
    gap: 8px;
}
ol.list_number {
    list-style: none;
    padding: 0;
}



.wsc-ov-item span > span {
    display: block;
}

.wsc-trustpilot-badge {
    display: none;
}

.wsc-overview-right h4 {
    font-size: 20px;
    color: #a67c37;
}
.wsc-personalise .wsc-ov-section h4, .wsc-ov-section h4 {
    font-size: 20px;
    color: #a67c37;
}
.wsc-overview-title {
    font-size: 24px !important;
    color: #a67c37 !important;
}