.wc-bundle-discount {
    margin: 16px 0 20px;
    font-size: 14px;
}

.wc-bundle-discount__header {
    margin-bottom: 14px;
}

.wc-bundle-discount__base-price {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #e91e8c;
}
.wc-bundle-discount__base-price .woocommerce-Price-amount,
.wc-bundle-discount__base-price .woocommerce-Price-currencySymbol {
    color: #e91e8c;
}
.wc-bundle-discount__base-price del {
    text-decoration: line-through;
    opacity: 1;
    margin-right: 6px;
}
.wc-bundle-discount__base-price del .woocommerce-Price-amount {
    color: #e91e8c;
}
.wc-bundle-discount__base-price ins {
    text-decoration: underline;
    font-weight: 700;
}
.wc-bundle-discount__base-price ins .woocommerce-Price-amount {
    color: #e91e8c;
}

.wc-bundle-discount__tagline {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #374151;
    line-height: 1.4;
}

.wc-bundle-discount__tiers {
    list-style: none;
    margin: 0 !important;
    padding: 12px 0 0 !important;
    display: grid;
    gap: 16px;
}

/* Bundle tier card */
.wc-bundle-discount__tier {
    position: relative;
    overflow: visible;
    border-radius: 8px;
    background: #f3e8ff;
    border: 1px solid #7c3aed;
    cursor: pointer;
    padding: 18px 16px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
}
.wc-bundle-discount__tier:hover {
    border-color: #6d28d9;
    background: #ede9fe;
    box-shadow: 0 4px 12px rgba(124, 58, 237, .12);
}
.wc-bundle-discount__tier:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .22);
}
.wc-bundle-discount__tier.is-active {
    border-color: #6d28d9;
    background: #ede9fe;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, .16);
}
.wc-bundle-discount__tier.is-flash {
    background: #ddd6fe;
}

/* Pink "Save X%" badge overlapping top edge */
.wc-bundle-discount__ribbon {
    position: absolute;
    top: -11px;
    left: 14px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #e91e8c;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(233, 30, 140, .35);
    letter-spacing: .1px;
    white-space: nowrap;
}

/* Headline + pricing grid like reference screenshot */
.wc-bundle-discount__headline {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}
.wc-bundle-discount__headline strong {
    font-weight: 700;
    color: #111827;
}

.wc-bundle-discount__pricing {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    gap: 6px;
    min-width: 120px;
    text-align: right;
}

.wc-bundle-discount__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    color: #4b5563;
    font-size: 14px;
}
.wc-bundle-discount__row-label {
    color: #6b7280;
    text-align: left;
    white-space: nowrap;
}
.wc-bundle-discount__row-value {
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

.wc-bundle-discount__row--strike {
    justify-content: flex-end;
    min-height: 18px;
    font-weight: 500;
    color: #9ca3af;
}
.wc-bundle-discount__row--strike del { text-decoration: line-through; }
.wc-bundle-discount__row--strike .woocommerce-Price-amount { color: #9ca3af; }

.wc-bundle-discount__row--total .wc-bundle-discount__row-label {
    color: #1f2937;
    font-weight: 500;
}
.wc-bundle-discount__row--total .wc-bundle-discount__row-value {
    font-size: 16px;
    color: #111827;
}

/* Live total line injected by JS */
.wc-bundle-discount__total-line {
    margin: 8px 0 14px;
    padding: 10px 14px;
    background: #f3e8ff;
    border: 1px solid #c4b5fd;
    border-radius: 6px;
    font-size: 15px;
    color: #4c1d95;
    line-height: 1.5;
}
.wc-bundle-discount__total-label { font-weight: 500; }
.wc-bundle-discount__total-value { font-weight: 700; font-size: 18px; }
.wc-bundle-discount__total-saved {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: #e91e8c;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .wc-bundle-discount__tier {
        grid-template-columns: 1fr;
        padding: 20px 14px 14px;
    }
    .wc-bundle-discount__headline {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 4px;
    }
    .wc-bundle-discount__pricing {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
    }
    .wc-bundle-discount__ribbon { left: 12px; }
    .wc-bundle-discount__total-saved { display: block; margin: 4px 0 0; }
}
