/* Mate Restaurant & Coffee Hoi An — coupon savings badge */
.woocommerce .mate-coupon-label,
.woocommerce-page .mate-coupon-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
    max-width: 100%;
    text-align: left;
}

.woocommerce .mate-coupon-label__name,
.woocommerce-page .mate-coupon-label__name {
    display: block;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: normal;
}

.woocommerce .mate-coupon-label__badge,
.woocommerce-page .mate-coupon-label__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid #bde8d3;
    border-radius: 999px;
    background: #e8f8ef;
    color: #16734a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .01em;
    white-space: normal;
    box-sizing: border-box;
}

.woocommerce .mate-coupon-label__check,
.woocommerce-page .mate-coupon-label__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1c915e;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

/* Prevent long codes from stretching the two-column mobile checkout table. */
.woocommerce-checkout-review-order-table tr.cart-discount th,
.woocommerce-cart .cart_totals tr.cart-discount th {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .woocommerce .mate-coupon-label__badge,
    .woocommerce-page .mate-coupon-label__badge {
        padding: 4px 7px;
        font-size: 10.5px;
    }
}
