/**
 * Probo Configurator CSS — Printworx huisstijl
 *
 * Kleuren: #b3c731 (primair), #666666 (tekst), #8f9f22 (hover)
 * Fonts:   Space Grotesk (titels), Atkinson Hyperlegible (body)
 */

/* ── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Atkinson+Hyperlegible:wght@400;700&display=swap');

/* ── Configurator wrapper ──────────────────────────────────────────────────── */
#pwx-step-configurator,
.pwx-step-configurator {
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
    color: #666666;
    margin: 24px auto;             /* gecentreerd binnen de (volle-breedte) rij */
    width: 80%;                    /* lijnt uit met Divi's content-rij (titel/gallery) */
    max-width: 1200px;             /* zelfde cap als Divi 'Website Content Width' */
    container-type: inline-size;   /* layout reageert op beschikbare breedte, niet op viewport */
}

/* ── 2-koloms layout: opties links, sticky samenvatting + specs rechts ─────── */
.pwx-step-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
}
.pwx-step-main { min-width: 0; }
.pwx-step-side { position: sticky; top: 20px; align-self: start; }
.pwx-step-side-inner { display: flex; flex-direction: column; gap: 14px; }
/* Opmaakspecificaties-kaart: in de hoofdkolom onder de stappen (17-09-2026) */
.pwx-step-main #pwx-step-specs-embed { margin-top: 28px; }
.pwx-step-main #pwx-step-specs-embed .pwx-specs-module { margin: 0; }

/* ── Blikvanger-kaart: samenstelling + prijs + winkelwagen in één geheel ──── */
.pwx-step-hero {
    background: #fff;
    border: 1px solid #c2cf8a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(58,74,0,0.08);
}
.pwx-step-hero-header {
    background: #3a4a00;
    color: #fff;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 18px;
}
.pwx-step-hero-body { padding: 14px 18px; }

/* Blokken IN de hero: geen eigen kaart-rand (de hero is de kaart) */
.pwx-step-hero .pwx-step-summary { background: transparent; border: 0; border-radius: 0; padding: 0; }
.pwx-step-hero .pwx-step-price-section {
    background: transparent; border: 0; border-radius: 0;
    margin: 12px 0 0; padding: 12px 0 0;
    border-top: 1px solid #e6ead2;
    display: block;
}
.pwx-step-hero .pwx-step-price-display {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}

/* Sticky paneel past ALTIJD op het scherm (17-09-2026): de samenstelling
   toont alles en krijgt een schuifbalk als ze te lang wordt; prijs en
   winkelwagenknop blijven onderaan zichtbaar. */
.pwx-step-hero { display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.pwx-step-hero-header { flex: 0 0 auto; }
.pwx-step-hero-body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.pwx-step-hero .pwx-step-summary { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.pwx-step-hero .pwx-step-summary::-webkit-scrollbar { width: 6px; }
.pwx-step-hero .pwx-step-summary::-webkit-scrollbar-thumb { background: #d0d8b0; border-radius: 3px; }
.pwx-step-hero .pwx-step-price-section,
.pwx-step-hero .pwx-step-add-section,
.pwx-step-hero .pwx-step-delivery-line,
.pwx-step-hero #pwx-step-config-error { flex: 0 0 auto; }

/* Gekozen levering in het paneel (klik scrolt naar de sectie Levering) */
.pwx-step-hero .pwx-step-delivery-line {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
    margin: 10px 0 0; padding: 8px 10px; border-radius: 8px;
    background: #f8faec; border: 1px solid #e3ead0;
    font-size: 12.5px; color: #3a4a00; text-decoration: none !important; cursor: pointer;
}
.pwx-step-hero .pwx-step-delivery-line:hover { background: #eef3d6; border-color: #c2cf8a; }
.pwx-step-hero .pwx-step-delivery-line .pwx-step-summary-k { color: #6f8019; }
.pwx-step-hero .pwx-step-delivery-line .pwx-step-summary-v { color: #3a4a00; }
.pwx-step-hero .pwx-step-delivery-line-via { font-weight: 400; color: #666; }

/* Sectie Levering in de hoofdkolom: service-niveau, bezorgmoment, vervoerder */
.pwx-step-section--levering { margin-top: 4px; }
.pwx-step-section--levering #pwx-step-service-levels { margin: 0 0 18px; }
.pwx-step-section--levering .pwx-date-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; }
.pwx-step-hero .pwx-step-price-hint { margin: 6px 0 0; }
.pwx-step-hero .pwx-step-add-section { margin: 14px 0 0; }
.pwx-step-hero .pwx-step-add-btn { display: block !important; width: 100% !important; text-align: center !important; }

/* Gekozen-opties-samenvatting */
.pwx-step-summary-empty { font-size: 12.5px; color: #8a8a8a; font-style: italic; margin: 2px 0 0; line-height: 1.5; }
.pwx-step-summary-title { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 14px; font-weight: 700; color: #3a4a00; margin: 0 0 8px; }
.pwx-step-summary-list { list-style: none; margin: 0; padding: 0; }
.pwx-step-summary-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 4px 0; border-bottom: 1px dashed #eee; }
.pwx-step-summary-list li:last-child { border-bottom: 0; }
.pwx-step-summary-k { color: #777; }
.pwx-step-summary-v { font-weight: 600; text-align: right; color: #333; }
/* Automatisch gekozen (voordeligste) druktechniek-regel */
.pwx-step-optmethod { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; font-size: 12.5px; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed #eee; }
.pwx-step-optmethod .pwx-step-summary-k { color: #777; }
.pwx-step-optmethod .pwx-step-summary-v { font-weight: 700; color: #3a4a00; }
.pwx-step-optmethod-auto { flex-basis: 100%; font-size: 11px; color: #6f8019; font-style: italic; }
/* ── Secties (Formaat & materiaal / Druk & veredeling / Aantal / Afwerking / Geavanceerd) ── */
.pwx-step-section { margin: 0 0 22px; }
.pwx-step-section > h3.pwx-step-section-title {
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 16px; font-weight: 700; color: #3a4a00;
    margin: 0 0 14px; padding-bottom: 6px; border-bottom: 2px solid #b3c731;
}
/* Optiegroepen in 2 kolommen naast elkaar → compacter in hoogte */
.pwx-step-section-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
    align-items: start;
}
.pwx-step-section-body > .pwx-step-option-group { margin: 0; min-width: 0; }
/* Brede groepen (afmeting-invoer, eigen-formaat-form, aantal-ladder, tegel-rasters) over de volle breedte */
.pwx-step-section-body > .pwx-step-option-group:has(.pwx-step-numeric-row),
.pwx-step-section-body > .pwx-step-option-group:has(.pwx-step-radio-cards--ladder),
.pwx-step-section-body > .pwx-step-option-group:has(.pwx-step-radio-cards--tiles),
.pwx-step-section-body > .pwx-step-option-group:has(.pwx-step-method-blocks) { grid-column: 1 / -1; }

/* ── Merk-lader: de Printworx-logo-klok (assets/img/printworx-loader.svg) ── */
#pwx-step-configurator .pwx-brand-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 42px 10px 34px;
}
#pwx-step-configurator .pwx-brand-loader {
    width: 84px;
    height: 66px;
    background: url("../img/printworx-loader.svg") center / contain no-repeat;
}
#pwx-step-configurator .pwx-brand-loading-txt {
    font-size: 13px;
    color: #6b6b64;
    transition: opacity 0.35s;
}
#pwx-step-configurator .pwx-brand-loading-txt--wissel { opacity: 0; }

/* ── Compacte tegels (opties met productafbeelding, Helloprint-stijl) ────── */
#pwx-step-configurator .pwx-step-radio-cards--tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 8px;
}
#pwx-step-configurator .pwx-step-radio-cards--tiles .pwx-step-radio-card {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 6px;
    padding: 10px 8px 8px;
}
#pwx-step-configurator .pwx-step-radio-cards--tiles .pwx-step-radio-card-img {
    width: 42px;
    height: 42px;
}
#pwx-step-configurator .pwx-step-radio-cards--tiles .pwx-step-radio-card-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}
#pwx-step-configurator .pwx-step-radio-cards--tiles .pwx-step-radio-card.selected::after {
    position: absolute;
    top: 6px;
    right: 6px;
    margin-left: 0;
    width: 18px;
    height: 18px;
    font-size: 11px;
}
#pwx-step-configurator .pwx-step-radio-cards--tiles .pwx-step-card-price {
    font-size: 11px;
    padding-left: 0;
    margin-left: 0;
}
#pwx-step-configurator .pwx-step-radio-cards--tiles .pwx-step-card-reason {
    margin-left: 0;
    white-space: normal;
}
/* Het "Eigen maat"-formulier (Breedte×Hoogte) wrapt en past in één kolom →
   NIET volle breedte forceren, anders breekt de 2-koloms Formaat|Materiaal layout. */
.pwx-step-section-adv {
    border: 1px solid #e3ead0; border-radius: 10px; background: #fafbf4; margin-bottom: 22px;
}
.pwx-step-section-adv > summary {
    cursor: pointer; list-style: none;
    font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; font-size: 15px; color: #3a4a00;
    padding: 13px 16px;
}
.pwx-step-section-adv > summary::-webkit-details-marker { display: none; }
.pwx-step-section-adv > summary::before { content: "\25B8"; color: #7a9a00; margin-right: 7px; font-size: 12px; }
.pwx-step-section-adv[open] > summary::before { content: "\25BE"; }
.pwx-step-section-adv > .pwx-step-section-body { padding: 2px 16px 10px; }
/* Gekozen optie gemarkeerd (alles blijft zichtbaar i.p.v. verdwijnen) */
#pwx-step-configurator .pwx-step-radio-card.selected {
    border-color: #b3c731;
    background: #f4f7e6;
    box-shadow: inset 0 0 0 1px #b3c731;
}
#pwx-step-configurator .pwx-step-radio-card.selected::after {
    content: "\2713"; margin-left: auto; flex: 0 0 auto;
    color: #fff; background: #b3c731; width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
/* Breadcrumb verbergen: de keuzes staan nu in-place gemarkeerd */
#pwx-step-configurator .pwx-step-breadcrumb { display: none; }
/* Niet-beschikbare opties: tonen maar uitgegrijsd + reden (i.p.v. verbergen) */
#pwx-step-configurator .pwx-step-radio-card--unavailable {
    opacity: .75; cursor: pointer; background: #fff7ef;
    border-style: dashed; border-width: 1.5px; border-color: #e8861e;
    /* Oranje rand zodat een onbeschikbare optie duidelijk opvalt. WEL klikbaar:
       een klik opent de Keuzehulp (toont welke gekozen optie botst + 'aanpassen'). */
}
#pwx-step-configurator .pwx-step-radio-card--unavailable:hover {
    border-color: #d9740c; background: #fff1e0; box-shadow: none;
}
#pwx-step-configurator .pwx-step-card-reason {
    margin-left: auto; flex: 0 0 auto; font-size: 11px; color: #b06a00;
    background: #fff3e0; padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}
/* Te smal (bv. nog in een halve Divi-kolom)? → stapelen i.p.v. persen. */
@container (max-width: 820px) {
    .pwx-step-layout { grid-template-columns: 1fr; }
    .pwx-step-side { position: static; }
    .pwx-step-section-body { grid-template-columns: 1fr; }
    .pwx-step-hero { max-height: none; }
    .pwx-step-hero .pwx-step-summary { overflow: visible; }
}
/* Fallback voor browsers zonder container-queries */
@supports not (container-type: inline-size) {
    @media (max-width: 980px) {
        .pwx-step-layout { grid-template-columns: 1fr; }
        .pwx-step-side { position: static; }
        .pwx-step-hero { max-height: none; }
        .pwx-step-hero .pwx-step-summary { overflow: visible; }
    }
}

/* ── Loading ──────────────────────────────────────────────────────────────── */
.pwx-step-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    color: #888;
    font-size: 14px;
}

.pwx-step-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(179, 199, 49, .25);
    border-top-color: #b3c731;
    border-radius: 50%;
    animation: pwx-step-spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes pwx-step-spin {
    to { transform: rotate(360deg); }
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.pwx-step-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #f8faec;
    border-radius: 8px;
    border: 1px solid #d0d8b0;
}

.pwx-step-chip {
    background: #b3c731;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background .15s;
    font-family: 'Space Grotesk', Arial, sans-serif;
}

.pwx-step-chip:hover {
    background: #8f9f22;
}

/* ── Option groups ────────────────────────────────────────────────────────── */
.pwx-step-option-group {
    margin-bottom: 20px;
}

.pwx-step-option-group-title,
.pwx-step-option-label {
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin: 0 0 10px;
}

/* ── Radio buttons ──────────────────────────────────────────────────────── */
.pwx-step-option-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.pwx-step-option-btn {
    padding: 8px 16px;
    border: 2px solid #d0d8b0;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
    color: #666;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.4;
}

.pwx-step-option-btn:hover {
    border-color: #b3c731;
    color: #3a4a00;
    background: #f8faec;
}

.pwx-step-option-btn.selected,
.pwx-step-option-btn:focus {
    border-color: #b3c731;
    background: #b3c731;
    color: #fff;
    outline: none;
}

.pwx-step-option-btn--disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* ── Numeriek input ────────────────────────────────────────────────────── */
.pwx-step-option-numeric {
    margin-bottom: 16px;
}

.pwx-step-numeric-input,
.pwx-step-text-input,
.pwx-step-select {
    width: 100%;
    max-width: 320px;
    padding: 9px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
    color: #444;
    transition: border-color .15s;
}

.pwx-step-numeric-input:focus,
.pwx-step-text-input:focus,
.pwx-step-select:focus {
    outline: none;
    border-color: #b3c731;
}

.pwx-step-option-hint {
    font-size: 12px;
    color: #999;
    margin: 4px 0 0;
}

/* ── Select (≥10 opties → dropdown i.p.v. radio-cards) ─────────────── */
.pwx-step-option-select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 7px;
    padding-right: 36px;
}
.pwx-step-option-select:hover  { border-color: #94a3b8; }
.pwx-step-option-select:focus  { outline: none; border-color: #b3c731; box-shadow: 0 0 0 3px rgba(179,199,49,.18); }

/* ── Veel-opties cap: cards voorbij PWX_CARD_LIMIT initieel verbergen ──
   #pwx-step-configurator-prefix om de hardgecodeerde display:flex regel uit
   printworx-configurator.css te overrulen (specificity 1,2,0 > 1,1,0).        */
#pwx-step-configurator .pwx-step-radio-card.pwx-step-radio-card-overflow { display: none !important; }

/* ── "Bekijk alle (X)"-knop onder een gecapte cards-groep ─────────────── */
.pwx-step-show-all-btn {
    display: block;
    margin: 8px auto 16px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid #b3c731;
    color: #5c7414;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.pwx-step-show-all-btn:hover  { background: #f0f7d4; }
.pwx-step-show-all-btn:focus  { outline: none; box-shadow: 0 0 0 3px rgba(179,199,49,.25); }

/* ── "Andere oplage…"-knop voor copies (scenario A en C) ─────────────── */
.pwx-step-custom-amount-btn {
    display: block;
    margin: 8px auto 16px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1.5px dashed #94a3b8;
    color: #475569;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.pwx-step-custom-amount-btn:hover  { background: #f8fafc; border-color: #b3c731; color: #5c7414; border-style: solid; }
.pwx-step-custom-amount-btn:focus  { outline: none; box-shadow: 0 0 0 3px rgba(179,199,49,.18); }

.pwx-step-custom-amount-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 16px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1.5px solid #b3c731;
    border-radius: 10px;
}
.pwx-step-custom-amount-input {
    flex: 1;
    min-width: 120px;
    padding: 10px 12px;
    font-size: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}
.pwx-step-custom-amount-input:focus { outline: none; border-color: #b3c731; box-shadow: 0 0 0 3px rgba(179,199,49,.18); }
.pwx-step-custom-amount-apply {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    background: #b3c731;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .15s;
}
.pwx-step-custom-amount-apply:hover { background: #9aaa28; }
.pwx-step-custom-amount-err {
    flex: 1 1 100%;
    color: #c0392b;
    font-size: 13px;
    font-weight: 500;
}
.pwx-step-custom-amount-hint {
    flex: 1 1 100%;
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

/* ── Custom-dimension form (print.com size=custom) ───────────────────── */
.pwx-step-radio-card-custom-dim { cursor: pointer; }
#pwx-step-configurator .pwx-step-radio-card-custom-dim.pwx-step-radio-card-active {
    border-color: #b3c731;
    box-shadow: 0 0 0 2px rgba(179,199,49,.2);
}
.pwx-step-custom-dim-form {
    margin: 8px 0 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1.5px solid #b3c731;
    border-radius: 10px;
}
.pwx-step-custom-dim-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pwx-step-custom-dim-row label {
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}
.pwx-step-custom-dim-input {
    flex: 1;
    min-width: 80px;
    max-width: 120px;
    padding: 8px 10px;
    font-size: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
}
.pwx-step-custom-dim-input:focus { outline: none; border-color: #b3c731; box-shadow: 0 0 0 3px rgba(179,199,49,.18); }
.pwx-step-custom-dim-unit { color: #64748b; font-size: 13px; }
.pwx-step-custom-dim-apply {
    margin-left: auto;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    background: #b3c731;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.pwx-step-custom-dim-apply:hover { background: #9aaa28; }
.pwx-step-custom-dim-err {
    display: block;
    margin-top: 8px;
    color: #c0392b;
    font-size: 13px;
    font-weight: 500;
}
.pwx-step-custom-dim-hint {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
}
.pwx-step-custom-dim-live {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    min-height: 1em;
}
.pwx-step-custom-dim-live-ok   { color: #15803d; }
.pwx-step-custom-dim-live-warn { color: #b45309; }

/* ── Config-error banner (no-price / weigering door print.com) ─────── */
.pwx-step-config-error {
    display: none;
    margin: 12px 0;
    padding: 14px 18px;
    background: #fef3c7;
    border: 1.5px solid #f59e0b;
    border-left-width: 5px;
    border-radius: 8px;
    color: #78350f;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pwx-step-config-error[role="alert"]:empty { display: none; }
.pwx-step-config-error-icon { font-size: 20px; flex-shrink: 0; }
.pwx-step-config-error-msg  { flex: 1; }

/* ── Prijs ────────────────────────────────────────────────────────────── */
.pwx-step-price-section {
    background: #f8faec;
    border: 2px solid #b3c731;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pwx-step-price-label {
    font-size: 13px;
    color: #666;
}

.pwx-step-price-value {
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #3a4a00;
}

.pwx-step-price-hint {
    font-size: 12px;
    color: #888;
    margin: 6px 0 0;
    flex-basis: 100%;
}

.pwx-step-price-placeholder {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* ── Bestandssectie: verwijderd 16-09-2026 - drukbestand wordt na het
   afrekenen aangeleverd (aanleverpagina). Hint + notice blijven bruikbaar. ── */

.pwx-step-hint {
    font-size: 12px;
    color: #888;
    margin: 4px 0 0;
}

.pwx-step-later-notice {
    background: #fff8e1;
    border-left: 4px solid #e6a817;
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #7a4f00;
}

/* ── Add to cart ─────────────────────────────────────────────────────── */
.pwx-step-add-section {
    margin: 16px 0;
}

.pwx-step-add-btn {
    background: #b3c731 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 7px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', Arial, sans-serif !important;
    cursor: pointer !important;
    transition: background .15s !important;
    display: inline-block !important;
}

.pwx-step-add-btn:hover:not(:disabled) {
    background: #8f9f22 !important;
}

.pwx-step-add-btn:disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
}

.pwx-step-feedback {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
}

/* ── Error ────────────────────────────────────────────────────────────── */
.pwx-step-error {
    background: #fff0f0;
    border: 1px solid #f5c0c0;
    border-radius: 6px;
    padding: 12px 16px;
    color: #c00;
    font-size: 14px;
}

.pwx-step-no-options {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* Service levels (Vertrouwd / Zorgeloos) */
#pwx-step-service-levels { margin: 16px 0; }
.pwx-step-sl-title {
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 14px; font-weight: 700; color: #444; margin: 0 0 8px;
}
.pwx-step-sl-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.pwx-step-sl-card {
    flex: 1 1 160px; text-align: left; cursor: pointer;
    border: 2px solid #d0d8b0; background: #fff; border-radius: 8px;
    padding: 10px 14px; transition: all .15s;
    display: flex; flex-direction: column; gap: 2px;
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
}
.pwx-step-sl-card:hover { border-color: #b3c731; background: #f8faec; }
.pwx-step-sl-card.selected { border-color: #b3c731; background: #f8faec; }
.pwx-step-sl-name { font-weight: 700; color: #3a4a00; font-size: 14px; }
.pwx-step-sl-features {
    list-style: none !important; margin: 4px 0 6px; padding: 0 !important;
    font-size: 12px; color: #666; line-height: 1.45;
}
.pwx-step-sl-features li {
    list-style: none !important; position: relative; padding-left: 16px; margin: 1px 0;
}
.pwx-step-sl-features li::marker { content: ''; } /* verberg thema-bullet */
.pwx-step-sl-features li::before {
    content: '✓'; position: absolute; left: 0; color: #b3c731; font-weight: 700;
}
.pwx-step-sl-price { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; color: #444; }
.pwx-step-sl-surplus { font-size: 12px; color: #6f8019; }

/* Meerprijs per optie (batch-prijzen) op de radio-kaart */
.pwx-step-card-price {
    margin-left: auto;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #6f8019;
    white-space: nowrap;
    padding-left: 10px;
}
/* Goedkoper dan je huidige keuze → negatieve meerprijs in groen */
.pwx-step-card-price-less { color: #2e7d32; }

/* ── Meerkeuze-groep met een paneel per keuze (bv. drukposities) ─────────── */
.pwx-step-section-body > .pwx-step-option-group.pwx-step-multi-group { grid-column: 1 / -1; }
#pwx-step-configurator .pwx-step-multi-hint { font-weight: 400; font-size: 12px; color: #777; margin-left: 8px; }
#pwx-step-configurator .pwx-step-multi-card { cursor: pointer; }
#pwx-step-configurator .pwx-step-multi-card:focus-visible { outline: 2px solid #b3c731; outline-offset: 2px; }
#pwx-step-configurator .pwx-step-multi-card--maxed { opacity: .45; cursor: not-allowed; }
#pwx-step-configurator .pwx-step-multi-card--maxed:hover { border-color: #e0e0e0; box-shadow: none; }
#pwx-step-configurator .pwx-step-multi-note { font-size: 12px; color: #777; margin: 8px 0 0; }
#pwx-step-configurator .pwx-step-multi-panels { display: grid; gap: 12px; margin-top: 14px; }
#pwx-step-configurator .pwx-step-multi-panel {
    border: 1.5px solid #d0d8b0; border-left: 4px solid #b3c731; border-radius: 10px;
    background: #fff; box-shadow: 0 4px 16px rgba(58,74,0,.08); overflow: hidden;
}
#pwx-step-configurator .pwx-step-multi-panel-head {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
    padding: 10px 14px; background: #f8faec; border-bottom: 1px solid #eef1e0;
}
#pwx-step-configurator .pwx-step-multi-panel-head img { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
#pwx-step-configurator .pwx-step-multi-panel-title { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 14px; font-weight: 700; color: #3a4a00; }
#pwx-step-configurator .pwx-step-multi-panel-label { font-size: 12px; color: #777; }
#pwx-step-configurator .pwx-step-multi-remove {
    margin-left: auto; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px;
    font: inherit; font-size: 12px; color: #777; padding: 4px 10px; cursor: pointer; line-height: 1.3;
}
#pwx-step-configurator .pwx-step-multi-remove:hover { border-color: #c0392b; color: #c0392b; background: #fff; }
#pwx-step-configurator .pwx-step-multi-panel-body {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px 22px; padding: 12px 14px 14px;
}
#pwx-step-configurator .pwx-step-multi-sub { min-width: 0; }
#pwx-step-configurator .pwx-step-multi-sub-title { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 12.5px; font-weight: 700; color: #444; margin: 0 0 7px; }
#pwx-step-configurator .pwx-step-multi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#pwx-step-configurator .pwx-step-multi-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
    border: 1.5px solid #e0e0e0; border-radius: 8px; background: #fff;
    font: inherit; font-size: 12.5px; color: #333; cursor: pointer; line-height: 1.2; text-align: left;
}
#pwx-step-configurator .pwx-step-multi-chip:hover { border-color: #b3c731; }
#pwx-step-configurator .pwx-step-multi-chip.selected { border-color: #b3c731; background: #f4f7e6; box-shadow: inset 0 0 0 1px #b3c731; }
#pwx-step-configurator .pwx-step-multi-chip.selected .pwx-step-multi-chip-name { font-weight: 700; }
#pwx-step-configurator .pwx-step-multi-chip--unavail { opacity: .5; cursor: not-allowed; border-style: dashed; }
#pwx-step-configurator .pwx-step-multi-chip--unavail:hover { border-color: #e0e0e0; }
#pwx-step-configurator .pwx-step-multi-chip img { width: 20px; height: 20px; object-fit: contain; }
#pwx-step-configurator .pwx-step-multi-chip-label { font-size: 11px; color: #777; }
#pwx-step-configurator .pwx-step-multi-input {
    width: 100%; max-width: 340px; padding: 7px 10px; border: 1.5px solid #e0e0e0; border-radius: 8px;
    font: inherit; font-size: 13px; color: #333; background: #fff;
}
#pwx-step-configurator .pwx-step-multi-input:focus { outline: none; border-color: #b3c731; box-shadow: 0 0 0 3px rgba(179,199,49,.2); }
#pwx-step-configurator .pwx-step-multi-sub-desc { font-size: 11.5px; color: #777; margin: 6px 0 0; line-height: 1.45; }
#pwx-step-configurator .pwx-step-multi-empty { font-size: 12px; color: #777; margin: 0; padding: 10px 14px; }
@container (max-width: 560px) {
    #pwx-step-configurator .pwx-step-multi-panel-body { grid-template-columns: 1fr; }
}
#pwx-step-configurator .pwx-step-multi-selectrow { display: flex; align-items: center; gap: 8px; }
#pwx-step-configurator .pwx-step-multi-selectdot { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; }
#pwx-step-configurator .pwx-step-multi-select {
    flex: 1 1 auto; max-width: 340px; padding: 7px 10px; border: 1.5px solid #e0e0e0; border-radius: 8px;
    font: inherit; font-size: 13px; color: #333; background: #fff;
}
#pwx-step-configurator .pwx-step-multi-select:focus { outline: none; border-color: #b3c731; box-shadow: 0 0 0 3px rgba(179,199,49,.2); }
#pwx-step-configurator .pwx-step-multi-note--empty { color: #8a6d00; }

/* ── Productfoto's in de rechterkolom, boven "Jouw samenstelling" ──────────
   Beslissing Roel 23-09-2026: de galerij stond links als aparte derde kolom,
   ver van de samenvatting. Op een breed scherm verhuist ze nu naar de
   zijkolom boven de samenstellingskaart; de stappen krijgen 2/3 van de
   breedte, foto + samenstelling samen 1/3. De klasse wordt door de
   step-configurator gezet zodra de galerij verplaatst is (alleen desktop,
   zie render_step()); op smallere schermen blijft alles zoals het was. */
.pwx-product-layout.pwx-product-layout--fotorechts {
    grid-template-columns: minmax(0, 1fr);
}
.pwx-product-layout--fotorechts .pwx-step-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
/* De kolom zelf scrollt mee; alleen de samenstellingskaart blijft plakken,
   zodat prijs en winkelwagenknop in beeld blijven na de foto's. */
.pwx-product-layout--fotorechts .pwx-step-side { position: static; }
.pwx-product-layout--fotorechts .pwx-step-hero { position: sticky; top: 20px; }
/* Galerij in een smallere kolom: lager beeld en kleinere miniaturen, zodat
   de samenstellingskaart niet onder de vouw zakt. */
.pwx-product-layout--fotorechts .pwx-step-side .pwx-col-photo {
    position: static;
    top: auto;
    margin-bottom: 2px;
}
.pwx-product-layout--fotorechts .pwx-step-side .pwx-photo-main {
    aspect-ratio: 4 / 3;
    margin-bottom: 8px;
}
.pwx-product-layout--fotorechts .pwx-step-side .pwx-thumb { width: 48px; height: 48px; }
.pwx-product-layout--fotorechts .pwx-step-side .pwx-photo-thumbs { margin-bottom: 10px; }
/* Titel en prijsregel staan in de configuratorkolom, die nu de volle breedte
   heeft. Ze op dezelfde 80%-band zetten als de configurator zelf, anders
   hangt de titel links buiten de kolommen. */
.pwx-product-layout--fotorechts .pwx-product-title-wrap {
    width: 80%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
