/* Special-day banners: pop-up + ribbon */
.wbb { --b1: #FFC93C; --b2: #FF9A2E; --bink: #2A1A00; --bsoft: #FFF6DC; }
.wbb[data-theme="blue"]   { --b1: #5AA8F0; --b2: #2F6FEB; --bink: #fff; --bsoft: #EAF2FF; }
.wbb[data-theme="pink"]   { --b1: #FF8FBF; --b2: #FF5FA2; --bink: #fff; --bsoft: #FFEAF3; }
.wbb[data-theme="green"]  { --b1: #4CD39A; --b2: #1FB57A; --bink: #fff; --bsoft: #E5F8EF; }
.wbb[data-theme="red"]    { --b1: #FF7A59; --b2: #E8364F; --bink: #fff; --bsoft: #FFECEC; }
.wbb[data-theme="purple"] { --b1: #A98BFF; --b2: #7C5CFF; --bink: #fff; --bsoft: #F0EBFF; }

.wbb-scrim { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(14,20,40,.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.wbb-scrim.show { opacity: 1; }
.wbb-pop { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: #17203A; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); text-align: center; transform: translateY(24px) scale(.96); transition: transform .45s cubic-bezier(.2,.9,.3,1.3); font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.wbb-scrim.show .wbb-pop { transform: none; }
.wbb-top { position: relative; height: 132px; background: linear-gradient(135deg, var(--b1), var(--b2)); overflow: hidden; border-radius: 28px 28px 0 0; }
.wbb-top svg.conf { position: absolute; inset: 0; width: 100%; height: 100%; }
.wbb-top .wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; width: 100%; }
.wbb-picwrap { position: relative; z-index: 1; width: max-content; margin: -88px auto 0; }
.wbb-pic { position: relative; width: 128px; height: 128px; border-radius: 28px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); overflow: hidden; border: 5px solid #fff; display: grid; place-items: center; }
.wbb-pic img { width: 100%; height: 100%; object-fit: cover; }
.wbb-pic svg { width: 76px; height: 76px; }
.wbb-body { padding: 1rem 1.6rem 1.6rem; }
.wbb-title { font-family: "Fredoka", "Baloo 2", system-ui, sans-serif; font-weight: 600; font-size: 1.75rem; line-height: 1.12; margin: .5rem 0 0; text-wrap: balance; }
.wbb-msg { color: #5E6784; margin: .6rem 0 0; white-space: pre-line; line-height: 1.55; }
.wbb-actions { display: grid; gap: .5rem; margin-top: 1.2rem; }
.wbb-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .85em 1.4em; font-weight: 800; text-decoration: none; background: linear-gradient(135deg, var(--b1), var(--b2)); color: var(--bink); box-shadow: 0 10px 22px color-mix(in srgb, var(--b2) 40%, transparent); border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; }
.wbb-later { background: none; border: 0; color: #5E6784; font: inherit; font-weight: 700; cursor: pointer; padding: .4rem; }
.wbb-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #17203A; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.wbb-x:focus-visible, .wbb-btn:focus-visible, .wbb-later:focus-visible { outline: 3px solid #17203A; outline-offset: 2px; }

.wbb-strip { position: relative; z-index: 42; display: flex; align-items: center; justify-content: center; gap: .4rem 1rem; flex-wrap: wrap; padding: .6rem 3rem .6rem 1rem; text-align: center; background: linear-gradient(90deg, var(--b1), var(--b2)); color: var(--bink); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: .92rem; }
.wbb-strip b { font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 1.05rem; }
.wbb-strip a { color: inherit; font-weight: 800; background: rgba(255,255,255,.25); padding: .25rem .8rem; border-radius: 999px; text-decoration: none; }
.wbb-strip .wbb-sx { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.25); border: 0; color: inherit; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }

/* Discount announcements */
.wbb .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wbb { --d1: #FF6A5C; --d2: #E8364F; --dink: #fff; }
.wbb[data-theme="red"] { --d1: #FFD45C; --d2: #FFA51F; --dink: #2A1A00; }
.wbb-deal { position: relative; width: 140px; height: 140px; display: grid; place-items: center; filter: drop-shadow(0 12px 18px rgba(0,0,0,.22)); animation: wbb-wobble 3.2s ease-in-out infinite; }
.wbb-deal::before, .wbb-deal::after { content: ""; position: absolute; inset: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--d1), var(--d2)); border: 4px solid #fff; }
.wbb-deal::after { transform: rotate(45deg); }
.wbb-deal span { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.75); display: grid; place-content: center; text-align: center; color: var(--dink); line-height: 1; }
.wbb-deal span::before { content: ""; position: absolute; inset: -6px -10px; z-index: -1; background: linear-gradient(135deg, var(--d1), var(--d2)); border-radius: 50%; }
.wbb-deal b { font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 2.1rem; letter-spacing: -.02em; }
.wbb-deal small { font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .15rem; }
.wbb-deal b.wbb-deal-txt { font-size: .98rem; line-height: 1.1; padding: 0 .35rem; text-wrap: balance; max-width: 96px; }
.wbb-deal.mini { position: absolute; right: -54px; top: -26px; transform: scale(.62); transform-origin: center; animation: none; }
.wbb-pic.has-deal { width: 150px; height: 150px; }
.wbb-pop.is-deal .wbb-picwrap { margin-top: -96px; }
.wbb-eyebrow { margin: .2rem 0 0; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--b2); }
.wbb-pop.is-deal .wbb-title { margin-top: .2rem; }
.wbb-countrow { margin: .9rem 0 0; }
.wbb-count { display: inline-flex; align-items: baseline; gap: .2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.wbb-countrow .wbb-count { background: var(--bsoft); color: #17203A; border-radius: 999px; padding: .45rem 1rem; }
.wbb-count b { font-weight: 800; font-size: 1.05em; }
.wbb-strip .wbb-chip { background: linear-gradient(135deg, var(--d1), var(--d2)); color: var(--dink); box-shadow: 0 0 0 2px #fff; font-weight: 800; border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; letter-spacing: .02em; }
.wbb-strip .wbb-count { background: rgba(0,0,0,.12); border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; }
@keyframes wbb-wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .wbb-scrim, .wbb-pop { transition: none; } .wbb-deal { animation: none; } }
/* Promo code on discount banners */
.wbb-code { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; padding: .35rem .35rem .35rem .8rem; border: 2px dashed var(--b2); border-radius: 14px; background: var(--bsoft); color: #17203A; }
.wbb-code-l { font-size: .78rem; font-weight: 700; color: #5E6784; }
.wbb-code b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; letter-spacing: .08em; }
.wbb-copy { border: 0; border-radius: 10px; padding: .4rem .75rem; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; background: linear-gradient(135deg, var(--b1), var(--b2)); color: var(--bink); }
.wbb-copy.done { background: #1FB57A; color: #fff; }
.wbb-copy:focus-visible { outline: 3px solid #17203A; outline-offset: 2px; }
.wbb-strip .wbb-code { margin: 0; padding: .15rem .2rem .15rem .6rem; background: rgba(255,255,255,.9); border-color: rgba(255,255,255,.9); }
.wbb-strip .wbb-code b { font-size: .9rem; }
.wbb-strip .wbb-copy { padding: .2rem .55rem; font-size: .72rem; }
