.flusi-product-fields {
    margin: 1.5rem 0;
}

.flusi-floating-field {
    position: relative;
    margin-bottom: 1rem;
}

.flusi-product-fields .flusi-floating-field input,
.flusi-product-fields .flusi-floating-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: .85rem .75rem;
    border: 1px solid #ccc;
    border-radius: .375rem;
    background: #fff;
    font: inherit;
    line-height: 1.4;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.flusi-floating-field textarea {
    min-height: 7rem;
    resize: vertical;
}

/* Label im leeren Feld */
.flusi-floating-field label {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    background: transparent;
    color: #777;
    font-size: 1em;
    line-height: 1;
    pointer-events: none;
    transition:
        top .15s ease,
        transform .15s ease,
        font-size .15s ease,
        padding .15s ease,
        background-color .15s ease;
}

/* Beim Textarea sitzt das Label oben im Eingabebereich */
.flusi-floating-field textarea + label {
    top: .95rem;
    transform: none;
}

/*
 * Bei Fokus oder vorhandenem Inhalt:
 * Label auf den oberen Rahmen schieben.
 */
.flusi-floating-field input:focus + label,
.flusi-floating-field input:not(:placeholder-shown) + label,
.flusi-floating-field textarea:focus + label,
.flusi-floating-field textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    padding: 0 .3rem;
    background: #fff;
    font-size: .75rem;
}

/*
 * Date-Inputs haben browserseitig meist bereits eine eigene Anzeige.
 * Deshalb das Label dort grundsätzlich oben darstellen.
 */
.flusi-floating-field input[type="date"] + label {
    top: 0;
    transform: translateY(-50%);
    padding: 0 .3rem;
    background: #fff;
    font-size: .75rem;
}

/* Fokus */
.flusi-floating-field input:focus,
.flusi-floating-field textarea:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 1px #666;
}

/* Pflichtfeld-Markierung */
.flusi-floating-field label .required {
    color: #b32d2e;
}

/* Optional: ungültige Felder */
.flusi-floating-field input:invalid:not(:placeholder-shown),
.flusi-floating-field textarea:invalid:not(:placeholder-shown) {
    border-color: #b32d2e;
}

/* Etwas mehr Luft zwischen Feldern und Add-to-cart-Bereich */
.flusi-product-fields + .quantity,
.flusi-product-fields + .single_add_to_cart_button {
    margin-top: .5rem;
}

.woovr-variation-info {
    display: flex;
    align-items: center;
    gap: 0.4em;
    flex-wrap: nowrap;
}

.woovr-variation-name,
.woovr-variation-price {
    white-space: nowrap;
}

.woosb-product {
    display: flex;
    flex-direction: column;
}

.woosb-product .woosb-price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.woosb-product .woosb-price {
    margin-top: auto;
    padding: 15px 10px 5px;
    border-top: 1px solid #ddd;
}

.woosb-product {
    display: flex;
    flex-direction: column;
}

.woosb-name {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;


    padding: 12px 15px;

    border-bottom: 1px solid #ddd;

    text-align: center;
    font-weight: 600;
}

.woosb-products[class*="woosb-products-layout-grid"] .woosb-product-optional {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title title"
        "quantity price";
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .woosb-title {
    grid-area: title;
    text-align: center;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .woosb-title .woosb-name {
    border: none;
    min-height: 0;
    text-align: center;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .woosb-description {
    margin-top: 4px;
    text-align: center;
    font-size: 0.9em;
    line-height: 1.3;
    opacity: 0.7;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .woosb-quantity {
    grid-area: quantity;
    width: auto !important;
    margin: 0;
    justify-self: end;
    text-align: right;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .woosb-price {
    grid-area: price;
    width: auto !important;
    margin: 0;
    white-space: nowrap;
    border: none;

    justify-self: start;
    text-align: left;
}
.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .quantity {
    display: flex;
    align-items: center;
    width: auto;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional .woosb-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional {
    cursor: pointer;
}
.
woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional.woosb-option-disabled {
    opacity: 0.4;
    cursor: default;
}

.woosb-products[class*="woosb-products-layout-grid"]
.woosb-product-optional.woosb-option-disabled:hover {
    border-color: inherit;
}

.ppcp-disabled {
    display: none !important;
}

.ppcp-messages:has(+ .ppc-button-wrapper .ppcp-disabled) {
    display: none !important;
}