.ol-delivery-badge {
    display: inline-block;
    width: auto;
    box-sizing: border-box;
    margin: 8px 0 10px;
    padding: var(--ol-db-py) var(--ol-db-px);
    background: var(--ol-db-bg);
    color: var(--ol-db-text);
    border-radius: var(--ol-db-radius);
    font-size: var(--ol-db-size);
    font-weight: var(--ol-db-weight);
    line-height: 1.25;
    letter-spacing: .01em;
    text-transform: uppercase;
}

/* Keep the badge visually compact inside common WooCommerce product cards. */
.woocommerce ul.products li.product .ol-delivery-badge,
ul.products .product .ol-delivery-badge {
    margin-top: 5px;
    margin-bottom: 7px;
}

.single-product .ol-delivery-badge {
    margin-top: 8px;
    margin-bottom: 12px;
}

/* When shown below the WooCommerce price, keep it visually attached to the price. */
.single-product .summary > .ol-delivery-badge {
    display: inline-block;
    clear: both;
}
