/* KS-Eichinger v1.0.15 – Größenwahl als Buttons auf variablen Produkten */
.single-product .variations .kse-size-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.single-product .variations tr.kse-size-row th.label {
    vertical-align: top !important;
    padding-top: 10px !important;
}

.single-product .variations tr.kse-size-row th.label label {
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.single-product .kse-size-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 2px 0 6px !important;
}

.single-product .kse-size-button {
    appearance: none !important;
    min-width: 48px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 1px solid #cfd5dc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1d2329 !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease !important;
}

.single-product .kse-size-button:hover:not(:disabled),
.single-product .kse-size-button:focus-visible:not(:disabled) {
    border-color: #d5121d !important;
    color: #d5121d !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

.single-product .kse-size-button.is-selected,
.single-product .kse-size-button[aria-pressed="true"] {
    border-color: #d5121d !important;
    background: #d5121d !important;
    color: #fff !important;
}

.single-product .kse-size-button:disabled,
.single-product .kse-size-button.is-disabled {
    opacity: .35 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    transform: none !important;
}

.single-product .variations tr.kse-size-row .reset_variations {
    display: inline-block !important;
    margin-top: 5px !important;
    font-size: 12px !important;
}

@media (max-width: 600px) {
    .single-product .variations tr.kse-size-row th.label,
    .single-product .variations tr.kse-size-row td.value {
        display: block !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .single-product .variations tr.kse-size-row th.label {
        padding-bottom: 5px !important;
    }

    .single-product .kse-size-buttons {
        gap: 7px !important;
    }

    .single-product .kse-size-button {
        min-width: 52px !important;
        min-height: 44px !important;
        padding: 9px 12px !important;
        font-size: 14px !important;
    }
}
