/* Public css */

/* WooCommerce Blocks - hide quantity controls for free BOGO items */
.discountify-free-item .wc-block-cart-item__wrap .wc-block-cart-item__quantity,
.wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:disabled
{
    display: none !important;
}

/* ── BOGO Product Page Promo Banner ── */
.dfy-promo {
    border-radius: 9px;
    padding: 10px 13px;
    margin: 13px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.dfy-promo-g {
    background: #DCFCE7;
    color: #166534;
}
.dfy-promo-b {
    background: #DBEAFE;
    color: #1D4ED8;
}
.dfy-promo-a {
    background: #FEF3C7;
    color: #92400E;
}

/* ── BOGO Cart Tag (pill badge next to product name) ── */
.dfy-cart-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    margin-left: 6px;
    background: #DCFCE7;
    color: #166534;
    vertical-align: middle;
    white-space: nowrap;
}

/* ── Cart Free Price Styling ── */
.dfy-price-free {
    font-weight: 700;
    color: #166534;
}
.dfy-price-strike {
    display: block;
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
    margin-top: 2px;
}

/* ── Cart Discount Summary Row ── */
.dfy-cart-discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    background: #DCFCE7;
    color: #166534;
    border-radius: 6px;
    margin: 4px 0;
}

/* ── Cart Savings ── */
.dfy-cart-savings {
    font-size: 12px;
    font-weight: 600;
    color: #166534;
    text-align: right;
    margin-top: 2px;
}

/* ── WooCommerce Blocks Cart Overrides ── */
.wc-block-cart-items .dfy-cart-tag {
    font-size: 10px;
    padding: 1px 6px;
}

/* ── Discount Description Wrapper on Product Page ── */
.discounts_desc_wrapper {
    margin: 10px 0;
}
.discounts_desc_wrapper .single_desc {
    background: #f8f8f8;
    border-left: 3px solid #166534;
    padding: 8px 12px;
    margin: 6px 0;
    font-size: 13px;
    border-radius: 0 6px 6px 0;
}

/* ── Discount Tag on Shop/Archive Pages ── */
.discount-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #DCFCE7;
    color: #166534;
    margin-left: 4px;
    vertical-align: middle;
}
