/* Bingoshakerz Bundle Deal – "ring counter" look. Theme tokens with fallbacks. */
.bsd-progress, .bsd-toast {
	--bsd-ink: var(--ink, #0f0f12);
	--bsd-accent: var(--accent, #c8f31c);
	--bsd-head: var(--font-head, system-ui, sans-serif);
}

/* ---------- ring ---------- */
.bsd-ring { --p: 0; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--bsd-accent) calc(var(--p) * 1%), rgba(255, 255, 255, .12) 0); }
.bsd-ring span { display: grid; place-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--bsd-ink); text-align: center; line-height: 1; }
.bsd-progress .bsd-ring b, .bsd-toast .bsd-ring b { font-family: var(--bsd-head); font-weight: 800; font-size: 1.02rem; color: #fff; letter-spacing: -.02em; }
.bsd-progress .bsd-ring small, .bsd-toast .bsd-ring small { margin-top: .16rem; font-family: var(--bsd-head); font-weight: 600; font-size: .48rem; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }

/* ---------- progress card (cart, mini cart, checkout) ---------- */
.bsd-progress { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--bsd-ink); color: #fff; }
.bsd-progress .bsd-progress__msg, .bsd-progress .bsd-progress__next { margin: 0; }
.bsd-progress .bsd-progress__msg { font-size: .88rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.bsd-progress .bsd-progress__msg b { color: #fff; font-weight: 700; }
.bsd-progress.is-on .bsd-progress__msg b { color: var(--bsd-accent); }
.bsd-progress .bsd-progress__next { margin-top: .15rem; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.bsd-progress .bsd-chips { list-style: none; margin: .55rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.bsd-progress .bsd-chips li { list-style: none; margin: 0; padding: .25rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); font-family: var(--bsd-head); font-weight: 600; font-size: .62rem; letter-spacing: .06em; white-space: nowrap; }
.bsd-progress .bsd-chips li.on { background: var(--bsd-accent); color: var(--bsd-ink); }

/* inside the black checkout summary: a lifted panel instead of black on black */
.bsd-progress--checkout { background: rgba(255, 255, 255, .07); margin: 0 0 1.1rem; }
.bsd-progress--checkout .bsd-ring span { background: #1b1b20; }

/* mini cart: tighter */
.bsd-progress--mini { gap: .8rem; margin: .6rem 0 .8rem; padding: .8rem .9rem; }
.bsd-progress--mini .bsd-ring { width: 54px; height: 54px; }
.bsd-progress--mini .bsd-ring span { width: 42px; height: 42px; }
.bsd-progress--mini .bsd-ring b { font-size: .9rem; }
.bsd-progress--mini .bsd-progress__msg { font-size: .8rem; }

/* ---------- toast ---------- */
.bsd-toast { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 9999; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .95rem; align-items: center; width: min(380px, calc(100vw - 2rem)); padding: 1rem 1.1rem; border-radius: 20px; background: var(--bsd-ink); color: #fff; box-shadow: 0 20px 50px rgba(15, 15, 18, .3); opacity: 0; transform: translateY(12px); transition: opacity .22s ease, transform .22s ease; }
.bsd-toast.is-in { opacity: 1; transform: none; }
.bsd-toast__body p { margin: 0; font-size: .88rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.bsd-toast .bsd-toast__body p b { color: #fff; font-weight: 700; }
.bsd-toast.is-on .bsd-toast__body p b { color: var(--bsd-accent); }
.bsd-toast__link { display: inline-block; margin-top: .45rem; font-family: var(--bsd-head); font-weight: 600; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-decoration: none; }
.bsd-toast__link:hover { color: var(--bsd-accent); }
.bsd-toast__x { align-self: start; border: 0; background: none; color: rgba(255, 255, 255, .45); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 .1rem; }
.bsd-toast__x:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { .bsd-toast { transition: none; } }
@media (max-width: 600px) { .bsd-toast { right: 1rem; left: 1rem; bottom: 1rem; width: auto; } }

/* ---------- header mini cart: before / after prices ---------- */
.bs-minicart ul.cart_list li .quantity del { color: var(--muted, #8a8a93); opacity: .8; }
.bs-minicart ul.cart_list li .quantity ins.bsd-price { text-decoration: none; color: var(--bsd-text, #0f0f12); font-weight: 700; }
.bs-minicart .woocommerce-mini-cart__total:has(.bsd-mt) { display: block; }
.bs-minicart .bsd-mt { display: grid; gap: .35rem; font-family: var(--font-body, system-ui, sans-serif); font-weight: 400; font-size: .86rem; }
.bs-minicart .bsd-mt .bsd-mt__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--muted, #6b6b75); }
.bs-minicart .bsd-mt .bsd-mt__row del { color: var(--muted, #6b6b75); }
.bs-minicart .bsd-mt .bsd-mt__row--deal { color: #0f0f12; font-weight: 600; }
.bs-minicart .bsd-mt .bsd-mt__row--deal span:first-child { padding: .12rem .5rem; border-radius: 999px; background: var(--accent, #c8f31c); font-family: var(--font-head, system-ui, sans-serif); font-size: .72rem; letter-spacing: .04em; }
.bs-minicart .bsd-mt .bsd-mt__row--total { margin-top: .2rem; padding-top: .5rem; border-top: 1px dashed var(--border, #e6e6ea); color: #0f0f12; font-family: var(--font-head, system-ui, sans-serif); font-size: 1.05rem; }
.bs-minicart .bsd-mt .bsd-mt__row--total strong { font-weight: 700; color: #0f0f12; }
.bs-minicart .bsd-mt .bsd-mt__save { font-size: .76rem; color: var(--muted, #6b6b75); text-align: right; }
.bs-minicart .bsd-mt .bsd-mt__save b { color: #0f0f12; font-weight: 700; }
