/* WSK Patch & Zubehör Konfigurator – Frontend
   Farben lassen sich im Theme überschreiben, z. B.:
   .wsk-pc { --wsk-pc-accent: #c8102e; }                                  */

.wsk-pc {
    --wsk-pc-accent: #1f2937;
    --wsk-pc-accent-contrast: #fff;
    --wsk-pc-highlight: #16a34a;
    --wsk-pc-text: #1f2328;
    --wsk-pc-muted: #5f6b76;
    --wsk-pc-border: #e3e6ea;
    --wsk-pc-bg: #fff;
    --wsk-pc-soft: #f5f6f8;
    --wsk-pc-warn: #b45309;
    --wsk-pc-error: #b91c1c;
    --wsk-pc-radius: 14px;
    color: var(--wsk-pc-text);
    font-size: 16px;
    line-height: 1.45;
    box-sizing: border-box;
}

.wsk-pc *,
.wsk-pc *::before,
.wsk-pc *::after { box-sizing: inherit; }

.wsk-pc h2, .wsk-pc h3, .wsk-pc h4 { margin: 0; line-height: 1.25; }
.wsk-pc button { font: inherit; color: inherit; }

/* ---------- Übersicht ---------- */

.wsk-pc-overview__intro { margin-bottom: 20px; }
.wsk-pc-overview__intro h2 { font-size: 1.6em; margin-bottom: 6px; }
.wsk-pc-overview__intro p { margin: 0; color: var(--wsk-pc-muted); }

.wsk-pc-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.wsk-pc-card {
    display: flex;
    flex-direction: column;
    background: var(--wsk-pc-bg);
    border: 1px solid var(--wsk-pc-border);
    border-radius: var(--wsk-pc-radius);
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.wsk-pc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.08); border-color: #cfd4da; }
.wsk-pc-card__media { aspect-ratio: 4 / 3; background: var(--wsk-pc-soft); display: flex; align-items: center; justify-content: center; color: #aab2bb; }
.wsk-pc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsk-pc-card__media svg { width: 45%; }
.wsk-pc-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.wsk-pc-card__body strong { font-size: 1.15em; }
.wsk-pc-card__body > span { color: var(--wsk-pc-muted); font-size: .95em; }
.wsk-pc-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wsk-pc-card__chips em { font-style: normal; font-size: .78em; padding: 3px 9px; border-radius: 99px; background: var(--wsk-pc-soft); color: var(--wsk-pc-text); }
.wsk-pc-card__price { color: var(--wsk-pc-text) !important; font-weight: 600; }
.wsk-pc-card__price small { font-weight: 400; color: var(--wsk-pc-muted); }
.wsk-pc-card__cta { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--wsk-pc-accent) !important; }

/* ---------- Layout Konfigurator ---------- */

.wsk-pc-configurator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.wsk-pc__intro { margin-bottom: 18px; }
.wsk-pc__intro h2 { font-size: 1.6em; margin-bottom: 6px; }
.wsk-pc__intro p { margin: 0; color: var(--wsk-pc-muted); }

.wsk-pc__main { min-width: 0; }
.wsk-pc__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }

/* ---------- Schritte ---------- */

.wsk-pc-step {
    background: var(--wsk-pc-bg);
    border: 1px solid var(--wsk-pc-border);
    border-radius: var(--wsk-pc-radius);
    margin: 0 !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.wsk-pc-step.is-open { border-color: #c9ced5; box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.wsk-pc-step.is-locked { opacity: .55; }

.wsk-pc-step__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left;
    cursor: pointer;
    min-height: 64px;
}
.wsk-pc-step__head:disabled { cursor: not-allowed; }
.wsk-pc-step__num {
    flex: 0 0 32px;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9em;
    background: var(--wsk-pc-soft);
    color: var(--wsk-pc-muted);
}
.wsk-pc-step.is-open .wsk-pc-step__num { background: var(--wsk-pc-accent); color: var(--wsk-pc-accent-contrast); }
.wsk-pc-step.is-done:not(.is-open) .wsk-pc-step__num { background: var(--wsk-pc-highlight); color: #fff; }
.wsk-pc-step__title { font-weight: 700; font-size: 1.05em; white-space: nowrap; }
.wsk-pc-step__sum { flex: 1; min-width: 0; color: var(--wsk-pc-muted); font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsk-pc-step__edit { font-size: .85em; font-weight: 600; color: var(--wsk-pc-accent); text-decoration: underline; text-underline-offset: 3px; }

.wsk-pc-step__body { padding: 0 18px 20px 64px; }

/* ---------- Gruppen & Optionskarten ---------- */

.wsk-pc-group + .wsk-pc-group { margin-top: 22px; }
.wsk-pc-group__head { margin-bottom: 10px; }
.wsk-pc-group__head h4 { font-size: .98em; font-weight: 700; }
.wsk-pc-group__head h4 small { font-weight: 400; color: var(--wsk-pc-muted); font-size: .85em; margin-left: 4px; }
.wsk-pc-group__head p { margin: 2px 0 0; color: var(--wsk-pc-muted); font-size: .9em; }

.wsk-pc-opts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}
.wsk-pc-opts--methods { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.wsk-pc-opt {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding: 0 !important;
    background: var(--wsk-pc-bg) !important;
    border: 1.5px solid var(--wsk-pc-border) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
    min-height: 56px;
    line-height: 1.35;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 400 !important;
    color: var(--wsk-pc-text) !important;
}
.wsk-pc-opt:hover { border-color: #b8bec6 !important; }
.wsk-pc-opt:focus-visible { outline: 3px solid color-mix(in srgb, var(--wsk-pc-accent) 35%, transparent); outline-offset: 2px; }
.wsk-pc-opt.is-active { border-color: var(--wsk-pc-accent) !important; box-shadow: 0 0 0 1px var(--wsk-pc-accent) !important; }

.wsk-pc-opt__media { display: block; aspect-ratio: 4 / 3; background: var(--wsk-pc-soft); }
.wsk-pc-opt__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsk-pc-opt__text { display: flex; flex-direction: column; gap: 3px; padding: 12px 38px 12px 14px; }
.wsk-pc-opt__name { font-weight: 650; overflow-wrap: anywhere; hyphens: auto; }
.wsk-pc-opt__desc { font-size: .84em; color: var(--wsk-pc-muted); }
.wsk-pc-opt__price { font-size: .85em; font-weight: 600; color: var(--wsk-pc-text); }
.wsk-pc-opt__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.wsk-pc-opt__min { font-size: .8em; color: var(--wsk-pc-muted); }

.wsk-pc-opt__check {
    position: absolute;
    top: 12px; right: 12px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid #c3c9d0;
    background: #fff;
}
.wsk-pc-opt.is-multi .wsk-pc-opt__check { border-radius: 5px; }
.wsk-pc-opt.has-media .wsk-pc-opt__check { box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.wsk-pc-opt.is-active .wsk-pc-opt__check { background: var(--wsk-pc-accent); border-color: var(--wsk-pc-accent); }
.wsk-pc-opt.is-active .wsk-pc-opt__check::after {
    content: '';
    position: absolute;
    left: 6px; top: 2.5px;
    width: 5px; height: 10px;
    border: solid var(--wsk-pc-accent-contrast);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wsk-pc-badge {
    display: inline-block;
    font-size: .75em;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    background: #fef3c7;
    color: #92400e;
}
.wsk-pc-tiers .wsk-pc-badge { background: #dcfce7; color: #166534; }

/* ---------- Felder ---------- */

.wsk-pc-size { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.wsk-pc-size__x { padding-bottom: 12px; color: var(--wsk-pc-muted); }

.wsk-pc-field { display: flex; flex-direction: column; gap: 5px; font-size: .9em; font-weight: 600; margin: 0; }
.wsk-pc-field small { font-weight: 400; color: var(--wsk-pc-muted); }
.wsk-pc-field__input {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--wsk-pc-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.wsk-pc-field__input:focus-within { border-color: var(--wsk-pc-accent); }
.wsk-pc-field__input input {
    width: 92px;
    border: 0 !important;
    box-shadow: none !important;
    padding: 10px 12px !important;
    font-size: 1.05em;
    font-weight: 600;
    background: transparent !important;
    margin: 0 !important;
    min-height: 0;
    -moz-appearance: textfield;
}
.wsk-pc-field__input input::-webkit-outer-spin-button,
.wsk-pc-field__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wsk-pc-field__input em { font-style: normal; color: var(--wsk-pc-muted); padding-right: 12px; font-weight: 400; }
.wsk-pc-field--qty input { width: 110px; text-align: center; }
button.wsk-pc-stepper {
    border: 0 !important;
    background: var(--wsk-pc-soft) !important;
    width: 44px;
    align-self: stretch;
    font-size: 1.3em !important;
    cursor: pointer;
    padding: 0 !important;
    border-radius: 0 !important;
    color: var(--wsk-pc-text) !important;
    box-shadow: none !important;
}
button.wsk-pc-stepper:hover { background: #e8eaee !important; }

.wsk-pc-field input:not([type="checkbox"]),
.wsk-pc-field textarea {
    font: inherit;
    font-weight: 400;
}
.wsk-pc-field > input,
.wsk-pc-field > textarea {
    width: 100%;
    border: 1.5px solid var(--wsk-pc-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    margin: 0;
}
.wsk-pc-field > input:focus,
.wsk-pc-field > textarea:focus { border-color: var(--wsk-pc-accent); outline: none; }
.wsk-pc-field--notes { margin-top: 16px; }

.wsk-pc-qty { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.wsk-pc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wsk-pc-chip {
    border: 1.5px solid var(--wsk-pc-border) !important;
    background: #fff !important;
    border-radius: 99px !important;
    padding: 7px 14px !important;
    font-size: .9em !important;
    font-weight: 600 !important;
    cursor: pointer;
    color: var(--wsk-pc-text) !important;
    box-shadow: none !important;
    line-height: 1.2;
    text-transform: none !important;
}
.wsk-pc-chip:hover { border-color: #b8bec6 !important; }
.wsk-pc-chip.is-active { background: var(--wsk-pc-accent) !important; border-color: var(--wsk-pc-accent) !important; color: var(--wsk-pc-accent-contrast) !important; }

.wsk-pc-hint { margin: 8px 0 0; font-size: .85em; color: var(--wsk-pc-muted); }
.wsk-pc-error { margin: 6px 0 0; font-size: .88em; color: var(--wsk-pc-error); font-weight: 600; }
.wsk-pc-error:empty { display: none; }
.wsk-pc-note { margin: 14px 0 0; font-size: .9em; color: var(--wsk-pc-highlight); font-weight: 600; }

.wsk-pc-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .92em; cursor: pointer; }
.wsk-pc-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--wsk-pc-accent); }

.wsk-pc-next { margin-top: 20px; }

/* ---------- Staffeltabelle ---------- */

.wsk-pc-tiers:empty { display: none; }
.wsk-pc-tiers { margin-top: 20px; }
.wsk-pc-tiers h4 { font-size: .95em; margin-bottom: 8px; }
.wsk-pc-tiers table { width: 100%; border-collapse: collapse; font-size: .92em; margin: 0; border: 0; }
.wsk-pc-tiers th, .wsk-pc-tiers td { padding: 8px 10px; text-align: left; border: 0; border-bottom: 1px solid var(--wsk-pc-border); background: none; }
.wsk-pc-tiers th { font-weight: 600; color: var(--wsk-pc-muted); font-size: .85em; }
.wsk-pc-tiers tr.is-active td { background: #f0fdf4; font-weight: 700; }
.wsk-pc-tiers td:last-child { text-align: right; }

/* ---------- Upload ---------- */

.wsk-pc-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 26px 18px;
    border: 2px dashed #c9ced5;
    border-radius: 12px;
    background: var(--wsk-pc-soft);
    text-align: center;
    cursor: pointer;
    transition: border-color .12s ease, background .12s ease;
}
.wsk-pc-drop:hover, .wsk-pc-drop.is-drag { border-color: var(--wsk-pc-accent); background: #eef0f3; }
.wsk-pc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wsk-pc-drop__icon { color: var(--wsk-pc-accent); }
.wsk-pc-drop span { font-size: .85em; color: var(--wsk-pc-muted); }

.wsk-pc-files { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.wsk-pc-file { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--wsk-pc-border); border-radius: 10px; margin: 0; }
.wsk-pc-file__thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; background: var(--wsk-pc-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: .72em; font-weight: 700; color: var(--wsk-pc-muted); }
.wsk-pc-file__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wsk-pc-file__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: .9em; }
.wsk-pc-file__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsk-pc-file__bar { display: block; height: 5px; background: var(--wsk-pc-soft); border-radius: 9px; overflow: hidden; }
.wsk-pc-file__bar i { display: block; height: 100%; background: var(--wsk-pc-accent); transition: width .2s ease; }
.wsk-pc-file__ok { color: var(--wsk-pc-highlight); font-size: .9em; }
.wsk-pc-file__err { color: var(--wsk-pc-error); font-size: .9em; }
.wsk-pc-file__remove { border: 0 !important; background: none !important; font-size: 1.4em !important; cursor: pointer; padding: 4px 10px !important; color: var(--wsk-pc-muted) !important; box-shadow: none !important; }

/* ---------- Buttons ---------- */

.wsk-pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 1em !important;
    cursor: pointer;
    border: 1.5px solid transparent !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    transition: filter .12s ease, background .12s ease;
}
.wsk-pc-btn--primary { background: var(--wsk-pc-accent) !important; color: var(--wsk-pc-accent-contrast) !important; width: 100%; }
.wsk-pc-btn--primary:hover:not(:disabled) { filter: brightness(1.12); }
.wsk-pc-btn--ghost { background: #fff !important; border-color: var(--wsk-pc-accent) !important; color: var(--wsk-pc-accent) !important; }
.wsk-pc-btn--ghost:hover { background: var(--wsk-pc-soft) !important; }
.wsk-pc-btn:disabled { opacity: .45; cursor: not-allowed; }
.wsk-pc-link {
    background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important;
    color: var(--wsk-pc-accent) !important; text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer; font-size: .9em !important; font-weight: 600 !important; text-transform: none !important;
}

/* ---------- Zusammenfassung ---------- */

.wsk-pc__summary { position: sticky; top: 24px; }
.admin-bar .wsk-pc__summary { top: 56px; }
.wsk-pc-sum {
    background: var(--wsk-pc-bg);
    border: 1px solid var(--wsk-pc-border);
    border-radius: var(--wsk-pc-radius);
    padding: 20px;
    box-shadow: 0 6px 22px rgba(0,0,0,.05);
}
.wsk-pc-sum h3 { font-size: 1.1em; margin-bottom: 12px; }
.wsk-pc-sum__empty { color: var(--wsk-pc-muted); margin: 0; }
.wsk-pc-sum__lines { margin: 0 0 14px; display: grid; gap: 6px; font-size: .9em; }
.wsk-pc-sum__lines div,
.wsk-pc-sum__breakdown dl div { display: flex; justify-content: space-between; gap: 12px; }
.wsk-pc-sum__lines dt, .wsk-pc-sum__breakdown dt { color: var(--wsk-pc-muted); margin: 0; font-weight: 400; }
.wsk-pc-sum__lines dd, .wsk-pc-sum__breakdown dd { margin: 0; text-align: right; font-weight: 600; }

.wsk-pc-sum__price { border-top: 1px solid var(--wsk-pc-border); padding-top: 14px; transition: opacity .15s ease; }
.wsk-pc-sum__price.is-loading { opacity: .5; }
.wsk-pc-sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wsk-pc-sum__total span { font-weight: 600; }
.wsk-pc-sum__total strong { font-size: 1.75em; letter-spacing: -.01em; }
.wsk-pc-sum__total strong.is-text { font-size: 1.2em; }
.wsk-pc-sum__sub { text-align: right; font-size: .85em; color: var(--wsk-pc-muted); }
.wsk-pc-sum__unit { margin-top: 8px; font-size: .92em; font-weight: 600; color: var(--wsk-pc-highlight); text-align: right; }
.wsk-pc-sum__unit small { font-weight: 400; color: var(--wsk-pc-muted); }

.wsk-pc-sum__breakdown { margin-top: 12px; font-size: .86em; }
.wsk-pc-sum__breakdown summary { cursor: pointer; color: var(--wsk-pc-muted); font-weight: 600; }
.wsk-pc-sum__breakdown dl { margin: 8px 0 0; display: grid; gap: 4px; }

.wsk-pc-sum__todo { margin: 14px 0 0; padding: 10px 12px 10px 28px; background: var(--wsk-pc-soft); border-radius: 10px; font-size: .88em; color: var(--wsk-pc-muted); }
.wsk-pc-sum__info { margin-top: 14px; padding: 10px 12px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; font-size: .88em; color: #78350f; }
.wsk-pc-sum__legal { margin: 10px 0 0; font-size: .8em; color: var(--wsk-pc-muted); text-align: right; }
.wsk-pc-sum__legal a { color: inherit; }
.wsk-pc-sum__lead { margin: 4px 0 0; font-size: .85em; color: var(--wsk-pc-muted); text-align: right; }
.wsk-pc-sum__actions { margin-top: 16px; display: grid; gap: 10px; justify-items: center; }
.wsk-pc-sum__msg { margin: 10px 0 0; color: var(--wsk-pc-error); font-weight: 600; font-size: .9em; text-align: center; }
.wsk-pc-sum__trust { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--wsk-pc-border); font-size: .85em; color: var(--wsk-pc-muted); }

.wsk-pc__mobilebar { display: none; }

/* ---------- Modal ---------- */

.wsk-pc-modal-open { overflow: hidden; }
.wsk-pc-modal, .wsk-pc-modal *, .wsk-pc-modal *::before, .wsk-pc-modal *::after { box-sizing: border-box; }
.wsk-pc-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.wsk-pc-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.wsk-pc-modal__dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    color: #1f2328;
    font-size: 16px;
}
.wsk-pc-modal__dialog h3 { margin: 0 0 4px; font-size: 1.3em; }
.wsk-pc-modal__close { position: absolute; top: 10px; right: 12px; border: 0 !important; background: none !important; font-size: 1.8em !important; cursor: pointer; color: #5f6b76 !important; padding: 4px 8px !important; box-shadow: none !important; }
.wsk-pc-modal__summary { font-size: .85em; background: #f5f6f8; border-radius: 10px; padding: 10px 12px; color: #5f6b76; margin: 12px 0 0; }
.wsk-pc-modal .wsk-pc-hint { margin-top: 4px; font-size: .88em; color: #5f6b76; }
.wsk-pc-form { display: grid; gap: 12px; margin-top: 16px; }
.wsk-pc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wsk-pc-modal .wsk-pc-field { display: flex; flex-direction: column; gap: 5px; font-size: .9em; font-weight: 600; }
.wsk-pc-modal .wsk-pc-field > input,
.wsk-pc-modal .wsk-pc-field > textarea { width: 100%; border: 1.5px solid #e3e6ea; border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; margin: 0; background: #fff; }
.wsk-pc-modal .wsk-pc-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88em; }
.wsk-pc-modal .wsk-pc-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; }
.wsk-pc-modal .wsk-pc-error { color: #b91c1c; font-weight: 600; font-size: .9em; margin: 0; }
.wsk-pc-modal .wsk-pc-error:empty { display: none; }
.wsk-pc-modal .wsk-pc-btn--primary { background: #1f2937 !important; color: #fff !important; width: 100%; }
.wsk-pc-modal .wsk-pc-btn { display: inline-flex; justify-content: center; padding: 13px 22px !important; border-radius: 10px !important; font-weight: 700 !important; cursor: pointer; border: 1.5px solid transparent !important; }
.wsk-pc-modal .wsk-pc-btn--ghost { background: #fff !important; border-color: #1f2937 !important; color: #1f2937 !important; }
.wsk-pc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wsk-pc-success { text-align: center; padding: 18px 0 4px; display: grid; gap: 12px; justify-items: center; }
.wsk-pc-success__icon { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 1.8em; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.wsk-pc-success p { margin: 0; }

/* ---------- Warenkorb ---------- */

.wsk-patch-cart-fixed-qty { display: inline-block; min-width: 2em; text-align: center; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .wsk-pc-configurator { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 84px; }
    .wsk-pc__summary { position: static; }
    .wsk-pc__mobilebar.is-visible {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 9990;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--wsk-pc-border);
        box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    }
    .wsk-pc__mobilebar div { display: flex; flex-direction: column; line-height: 1.2; }
    .wsk-pc__mobilebar small { color: var(--wsk-pc-muted); font-size: .8em; }
    .wsk-pc__mobilebar strong { font-size: 1.2em; }
    .wsk-pc__mobilebar .wsk-pc-btn { width: auto; padding: 12px 18px !important; }
}

@media (max-width: 600px) {
    .wsk-pc-step__head { padding: 14px; gap: 10px; }
    .wsk-pc-step__body { padding: 0 14px 18px; }
    .wsk-pc-step__sum { display: none; }
    .wsk-pc-step:not(.is-open) .wsk-pc-step__sum { display: block; }
    .wsk-pc-opts { grid-template-columns: 1fr 1fr; }
    .wsk-pc-opts--methods { grid-template-columns: 1fr; }
    .wsk-pc-opt__text { padding: 10px 34px 10px 12px; }
    .wsk-pc-form__row { grid-template-columns: 1fr; }
    .wsk-pc-modal__dialog { padding: 20px; }
}
