/* ---------------------------------------------------------------------------
 * rakhi-bundle.css — the savings pill shown in the cart totals.
 *
 * Rendered by renderBundlePill() in checkout.html, fed by js/rakhi-bundle.js.
 * Hidden entirely when no rakhi discount applies, so a cart of ordinary
 * products looks exactly as it did before.
 *
 * Seasonal: safe to delete with the rest of the campaign.
 * ------------------------------------------------------------------------- */

.rakhi-savings {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 12px 0 4px;
}

.rakhi-savings[hidden] {
    display: none;
}

.rakhi-savings__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    white-space: nowrap;
    color: #230d12;
    background: linear-gradient(100deg, #E8C87A, #AE873E 55%, #E8C87A);
}

.rakhi-savings__pill i {
    font-size: 10px;
}

.rakhi-savings__amount {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #2e7d54;
    white-space: nowrap;
}

/* The upsell line sits on its own row so it never crowds the pill. */
.rakhi-savings__nudge {
    flex: 1 0 100%;
    font-size: 12px;
    letter-spacing: .2px;
    color: var(--main-8, #646464);
}

@media (max-width: 575px) {
    .rakhi-savings {
        gap: 6px;
    }

    .rakhi-savings__pill {
        font-size: 10px;
        letter-spacing: .9px;
        padding: 5px 10px;
    }
}

/* ------------------------------------------------- bundle offers in popup --
 * Shown above "Add to cart" in the Quick Add modal, for rakhi products only.
 * Clicking a card sets the quantity, so the offer is one tap away rather than
 * something the visitor has to work out.
 */

.rakhi-offers {
    margin: 0 0 18px;
    padding: 14px 14px 15px;
    border-radius: 12px;
    border: 1px solid rgba(174, 135, 62, .38);
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(174, 135, 62, .10), rgba(174, 135, 62, 0) 62%),
        #fffdf8;
}

.rakhi-offers[hidden] {
    display: none;
}

.rakhi-offers__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.rakhi-offers__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--primary, #AE873E);
}

.rakhi-offers__note {
    font-size: 11px;
    letter-spacing: .3px;
    color: var(--main-8, #646464);
}

.rakhi-offers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rakhi-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 13px 12px 12px;
    border-radius: 10px;
    border: 1px solid rgba(174, 135, 62, .32);
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.rakhi-offer:hover,
.rakhi-offer:focus-visible {
    border-color: var(--primary, #AE873E);
    box-shadow: 0 8px 20px rgba(174, 135, 62, .18);
    transform: translateY(-2px);
}

.rakhi-offer.is-selected {
    border-color: var(--primary, #AE873E);
    box-shadow: 0 0 0 2px rgba(174, 135, 62, .28);
}

/* the 4-pack gets a little more presence than the 2-pack */
.rakhi-offer.is-best {
    border-color: rgba(174, 135, 62, .6);
    background: linear-gradient(180deg, #fffaf0, #fff);
}

.rakhi-offer__tag {
    position: absolute;
    top: -9px;
    right: 10px;
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #230d12;
    background: linear-gradient(100deg, #E8C87A, #AE873E 55%, #E8C87A);
}

.rakhi-offer__qty {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--main-3, #484848);
}

.rakhi-offer__price {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--main, #1F1F1F);
}

.rakhi-offer__save {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #2e7d54;
}

@media (max-width: 480px) {
    .rakhi-offers__grid {
        gap: 8px;
    }

    .rakhi-offer {
        padding: 11px 10px;
    }

    .rakhi-offer__price {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rakhi-offer {
        transition: none;
    }
}
