
.wb-qty-cards {
    display: grid;
    gap: 10px;
    margin: 30px 0 18px;
    width: 100%;
    max-width: 100%;
}

.wb-qty-card {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 1px solid rgba(91,111,31,.18);
    background: rgba(255,255,255,.78);
    border-radius: 12px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    color: inherit;
    font: inherit;
}

.wb-qty-card:hover {
    border-color: #789124;
    box-shadow: 0 8px 22px rgba(91,111,31,.10);
}

.wb-qty-card.is-active {
    border: 2px solid #169b4b;
    background: #f4fbf6;
    box-shadow: 0 10px 24px rgba(22,155,75,.10);
}

.wb-card-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #9aa0a6;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-weight: 800;
    font-size: 13px;
}

.wb-qty-card.is-active .wb-card-check {
    border-color: #169b4b;
    background: #169b4b;
    color: #fff;
}

.wb-card-main {
    display: grid;
    gap: 3px;
    width: 100%;
}

.wb-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wb-card-title {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #202833;
}

.wb-card-price {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    color: #5b6f1f;
}

.wb-card-price small {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.wb-card-sub {
    font-size: 13px;
    line-height: 1.25;
    color: #5d646b;
}

.wb-card-save {
    display: inline-flex;
    width: fit-content;
    background: #e9f8ea;
    color: #07913e;
    font-weight: 900;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 13px;
    line-height: 1.25;
    margin-top: 2px;
}

.wb-card-note {
    font-size: 13px;
    line-height: 1.25;
    color: #4d5359;
}

.wb-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #f5a623;
    color: #fff;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
}

.woocommerce-product-gallery .wb-qty-cards {
    margin-top: 30px;
    clear: both;
}

.summary .wb-move-under-gallery {
    opacity: 0;
}

.summary .wb-move-under-gallery.wb-ready,
.woocommerce-product-gallery .wb-move-under-gallery {
    opacity: 1;
}

.wb-loop-discount {
    margin: 8px auto 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf8ed;
    color: #078939;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    max-width: 260px;
}

@media (max-width: 768px) {
    .wb-qty-cards {
        margin-top: 16px;
    }

    .wb-qty-card {
        padding: 12px 13px;
    }

    .wb-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .wb-card-price {
        font-size: 19px;
    }
}


/* Mengenpreis im Warenkorb und an der Kasse */
.wb-cart-regular del {
    opacity: .55;
    font-size: 12px;
}

.wb-cart-tier-price {
    color: #5b6f1f;
    font-weight: 800;
}

.wb-cart-tier-note {
    display: inline-block;
    margin-left: 3px;
    color: #4d5359;
    font-size: 11px;
}


/* Interne Couponzeile ausblenden – der Rabatt ist bereits an Artikel und
   Waren-Zwischensumme sichtbar. */
tr.coupon-wildstauden-mengenrabatt,
.cart-discount.coupon-wildstauden-mengenrabatt {
    display: none !important;
}

.wb-discounted-cart-subtotal {
    color: inherit;
    font-weight: 700;
}
