.wbd-wrapper {
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
}

.wbd-wrapper * {
    box-sizing: border-box;
}

.wbd-form {
    width: 100%;
}

.wbd-field {
    margin-bottom: 22px;
}

.wbd-field label {
    display: block;
    margin-bottom: 8px;
    color: #666666 !important;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px;
    line-height: 1.35;
}

.wbd-field label span {
    color: #888888 !important;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
}

.wbd-field input,
.wbd-field select {
    display: block;
    width: calc(100% - 30px) !important;
    max-width: none !important;
    min-height: 34px;
    margin-left: 30px !important;
    border: 1px solid #888888;
    background: #ffffff;
    padding: 6px 8px;
    font-size: 15px;
    line-height: 1.3;
}

.wbd-field input:focus,
.wbd-field select:focus {
    outline: 2px solid rgba(96, 165, 48, 0.25);
    outline-offset: 1px;
}

.wbd-field small {
    display: block;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin: 6px 0 0 40px !important;
    color: #777777;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

.wbd-message {
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.wbd-message:empty,
.wbd-message[hidden] {
    display: none;
}

.wbd-message-success {
    border: 1px solid #6eb56e;
    background: #eef8ee;
    color: #1f5a1f;
}

.wbd-message-error {
    border: 1px solid #cc6666;
    background: #fff0f0;
    color: #8a1111;
}

.wbd-actions,
.wbd-partial-intro {
    width: 100%;
    margin: 30px 0;
}

.wbd-actions-full {
    margin-top: 30px;
}

.wbd-partial-intro p {
    width: 100%;
    max-width: none;
    margin: 0 0 14px;
    color: #777777;
    font-size: 13px;
    line-height: 1.35;
}

.wbd-btn,
.wbd-link-button {
    display: inline-block;
    border: 0;
    border-radius: 7px;
    padding: 13px 28px;
    font-size: 16px;
    line-height: 1.25;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
}

.wbd-btn {
    width: 100%;
    min-width: 0;
}

.wbd-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.wbd-btn-red {
    background: #C00000;
}

.wbd-btn-red:hover,
.wbd-btn-red:focus {
    background: #a80000;
}

.wbd-btn-green {
    background: #60A530;
}

.wbd-btn-green:hover,
.wbd-btn-green:focus {
    background: #55952b;
}

.wbd-link-button {
    background: #C00000;
    min-width: 250px;
}

.wbd-product-list {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin: 10px 0 0 30px !important;
}

.wbd-product-row {
    border: 1px solid #bdbdbd;
    background: #ffffff;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.wbd-product-row-selected {
    border-color: #60A530;
    box-shadow: 0 0 0 1px rgba(96, 165, 48, 0.18);
}

.wbd-product-row-disabled {
    background: #f3f3f3;
    color: #888888;
    opacity: 0.82;
}

.wbd-product-row-main {
    display: flex !important;
    gap: 8px;
    align-items: flex-start;
    margin: 0 !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.wbd-product-row-disabled .wbd-product-row-main {
    cursor: not-allowed;
}

.wbd-product-row-main input[type="checkbox"] {
    display: inline-block !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    border: initial !important;
    background: initial !important;
}

.wbd-product-title {
    display: inline-block;
    line-height: 1.3;
}

.wbd-product-meta {
    margin: 6px 0 0 24px;
    color: #777777;
    font-size: 12px;
    line-height: 1.35;
}

.wbd-product-quantity-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 10px 0 0 24px;
    font-size: 13px;
    color: #333333;
}

.wbd-product-qty {
    width: 80px !important;
    min-height: 30px !important;
    margin-left: 0 !important;
    padding: 4px 6px !important;
    font-size: 14px !important;
}

@media (max-width: 600px) {
    .wbd-field input,
    .wbd-field select,
    .wbd-product-list {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .wbd-field small {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .wbd-btn,
    .wbd-link-button {
        width: 100%;
        min-width: 0;
    }
}

/* Wieslein-Footerbutton: gruen, kompakt und ohne Divi-Pfeil/Icon. */
.et-l--footer .wbd-link-button,
footer .wbd-link-button,
.wbd-link-button.wbd-wieslein-footer-button,
.et_pb_button.wbd-wieslein-footer-button,
button.wbd-wieslein-footer-button,
a.wbd-wieslein-footer-button {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    background: #60A530 !important;
    background-color: #60A530 !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 0.3em 1em !important;
    margin: 0 !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.7em !important;
    letter-spacing: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease !important;
}

.et-l--footer .wbd-link-button:hover,
footer .wbd-link-button:hover,
.wbd-link-button.wbd-wieslein-footer-button:hover,
.et_pb_button.wbd-wieslein-footer-button:hover,
button.wbd-wieslein-footer-button:hover,
a.wbd-wieslein-footer-button:hover,
.et-l--footer .wbd-link-button:focus,
footer .wbd-link-button:focus,
.wbd-link-button.wbd-wieslein-footer-button:focus,
.et_pb_button.wbd-wieslein-footer-button:focus,
button.wbd-wieslein-footer-button:focus,
a.wbd-wieslein-footer-button:focus {
    background: #55952b !important;
    background-color: #55952b !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0.3em 1em !important;
    text-decoration: none !important;
}

.et-l--footer .wbd-link-button::after,
footer .wbd-link-button::after,
.wbd-link-button.wbd-wieslein-footer-button::after,
.et_pb_button.wbd-wieslein-footer-button::after,
button.wbd-wieslein-footer-button::after,
a.wbd-wieslein-footer-button::after,
.et-l--footer .wbd-link-button::before,
footer .wbd-link-button::before,
.wbd-link-button.wbd-wieslein-footer-button::before,
.et_pb_button.wbd-wieslein-footer-button::before,
button.wbd-wieslein-footer-button::before,
a.wbd-wieslein-footer-button::before,
html body .et-l--footer .wbd-link-button::after,
html body footer .wbd-link-button::after,
html body .wbd-link-button.wbd-wieslein-footer-button::after,
html body .et_pb_button.wbd-wieslein-footer-button::after,
html body button.wbd-wieslein-footer-button::after,
html body a.wbd-wieslein-footer-button::after,
html body .et-l--footer .wbd-link-button::before,
html body footer .wbd-link-button::before,
html body .wbd-link-button.wbd-wieslein-footer-button::before,
html body .et_pb_button.wbd-wieslein-footer-button::before,
html body button.wbd-wieslein-footer-button::before,
html body a.wbd-wieslein-footer-button::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.et_pb_button.wbd-wieslein-footer-button,
.et_pb_button.wbd-wieslein-footer-button:hover,
.et_pb_button.wbd-wieslein-footer-button:focus,
.et-l--footer .et_pb_button.wbd-link-button,
.et-l--footer .et_pb_button.wbd-link-button:hover,
.et-l--footer .et_pb_button.wbd-link-button:focus {
    padding: 0.3em 1em !important;
}

@media (max-width: 480px) {
    .et-l--footer .wbd-link-button,
    footer .wbd-link-button,
    .wbd-link-button.wbd-wieslein-footer-button,
    .et_pb_button.wbd-wieslein-footer-button,
    button.wbd-wieslein-footer-button,
    a.wbd-wieslein-footer-button {
        max-width: 100% !important;
        white-space: normal !important;
    }
}
