/* Special Discount v2.3.97 — scoped to bundle-offer surfaces only. */
.rb-offer-board,.rb-offer-sticky{font-family:inherit;box-sizing:border-box}
.rb-offer-board *, .rb-offer-sticky *{box-sizing:border-box}
.rb-offer-board[hidden],.rb-offer-sticky[hidden],.rb-offer-savings[hidden]{display:none!important}
.rb-offer-board{--rb-accent:#7740eb;--rb-pink:#e847bb;position:relative;isolation:isolate;overflow:hidden;margin:16px 0 25px;padding:22px 26px 23px;border-radius:23px;border:1px solid #d9c8ff;background:radial-gradient(ellipse at 2% 0%,rgba(229,210,255,.8),transparent 44%),radial-gradient(ellipse at 100% 10%,rgba(253,214,243,.75),transparent 50%),linear-gradient(114deg,#fff,#faf6ff 60%,#fff7fa);box-shadow:0 12px 38px rgba(73,38,143,.08);color:#2d2251}
.rb-offer-board:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#7846e8,#ef5aab,#ffbb4e);z-index:1}
.rb-offer-board-flare{position:absolute;right:-70px;top:-76px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(229,97,217,.16),transparent 70%);pointer-events:none;animation:rbOfferGlow 6s ease-in-out infinite alternate}
.rb-offer-board-heading{display:flex;align-items:center;gap:12px;position:relative;z-index:2;margin:0 0 13px}
.rb-offer-board-symbol{flex:0 0 54px;width:54px;height:54px;display:grid;place-items:center;border-radius:16px;font-size:29px;background:linear-gradient(136deg,#753ceb,#dd56bc);box-shadow:0 12px 22px rgba(129,54,200,.23);animation:rbOfferGiftFloat 3s ease-in-out infinite}
.rb-offer-board-title{flex:1;min-width:0}
.rb-offer-eyebrow{display:inline-block;color:#7540db;font-size:10px;font-weight:950;letter-spacing:1.1px;line-height:1.5}
.rb-offer-board h2{font:inherit!important;font-size:clamp(19px,2vw,25px)!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.65px;margin:3px 0 0!important;color:#261750!important}
.rb-offer-board-body{position:relative;z-index:2;display:flex;align-items:center;gap:25px}
.rb-offer-board-progress{flex:1;min-width:0}
.rb-offer-board-message{font-size:13px!important;font-weight:750!important;color:#624778!important;margin:0 0 15px!important;line-height:1.38!important}
.rb-offer-board.is-rewarded .rb-offer-board-message{color:#16834d!important}
.rb-offer-board.is-expired .rb-offer-board-message{color:#a64c29!important}
.rb-offer-timer{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #fecbdb;border-radius:13px;background:#fff0f5;padding:7px 12px;min-width:111px;font-variant-numeric:tabular-nums;box-shadow:0 5px 16px rgba(236,82,138,.08)}
.rb-offer-timer small{font-size:9px;letter-spacing:.85px;font-weight:900;color:#ae3671;line-height:1.2}
.rb-offer-timer strong{font-size:20px;letter-spacing:.7px;line-height:1.15;font-weight:950;color:#c52963}
.rb-offer-timer.is-ended{background:#f3f3f6;border-color:#e3e4ed}.rb-offer-timer.is-ended strong{color:#777}
/* Rail: exactly one marker for each enabled tier. Tier 1 is a visible halfway milestone when tier 2 is active. */
.rb-offer-rail{position:relative;height:61px;margin:0 48px 0 7px;min-width:0}
.rb-offer-rail-track{position:absolute;top:11px;left:0;width:100%;height:9px;border-radius:100px;background:#e6ddfa;border:1px solid #d3c4f5;overflow:hidden;box-shadow:inset 0 1px 3px rgba(53,28,105,.08)}
.rb-offer-rail-fill{display:block;height:100%;width:var(--rb-progress,0%);border-radius:100px;background:linear-gradient(90deg,#8d4bf4,#db4db8,#ffb757);transition:width .58s cubic-bezier(.15,.75,.25,1);position:relative}
.rb-offer-rail-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.5) 45%,transparent 85%);animation:rbOfferShine 3.5s ease-in-out infinite}
.rb-offer-milestone{position:absolute;top:0;left:var(--rb-marker);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;white-space:nowrap;gap:1px;min-width:75px;color:#8b79b2;font-size:9.8px;font-weight:750;line-height:1.14}
.rb-offer-milestone.is-max{transform:translateX(-50%)}
.rb-offer-pin{position:relative;z-index:2;display:grid;place-items:center;width:29px;height:29px;margin-top:0;border:3px solid #fff;border-radius:100%;background:linear-gradient(135deg,#9062ed,#c14fe2);color:white;font-size:14px;font-weight:1000;box-shadow:0 3px 12px rgba(103,50,198,.3)}
.rb-offer-milestone.is-max .rb-offer-pin{background:linear-gradient(135deg,#ffa747,#ea6a70)}
.rb-offer-milestone.is-unlocked .rb-offer-pin{background:linear-gradient(145deg,#30be87,#168c5b);animation:rbOfferUnlock .5s ease-out}
.rb-offer-milestone-name{margin-top:3px;color:#695f80}
.rb-offer-milestone strong{font-size:11px;letter-spacing:.1px;font-weight:950;color:#7443d5}
.rb-offer-milestone.is-unlocked strong{color:#118352}
.rb-offer-board-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:1px 0 0}
.rb-offer-eligible{font-size:11px;color:#766888}.rb-offer-eligible strong{font-weight:950;color:#6c3dc2}
.rb-offer-savings{display:inline-flex;align-items:center;gap:4px;border:1px solid #a8e8c8;padding:5px 8px;border-radius:100px;background:#e9fff2;color:#08764c;font-weight:850;font-size:10px;box-shadow:0 3px 11px rgba(21,144,92,.08)}
.rb-offer-savings strong{font-weight:1000;font-size:12px}
.rb-offer-board-cta{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:49px;padding:11px 19px;border:1px solid #6632d7;border-radius:13px;background:linear-gradient(125deg,#743be4,#a349e9);box-shadow:0 9px 18px rgba(115,61,211,.25);font-size:12.5px!important;font-weight:900!important;text-decoration:none!important;color:#fff!important;white-space:nowrap;transition:transform .2s ease,box-shadow .2s ease}
.rb-offer-board-cta:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(115,61,211,.3);color:#fff!important}
.rb-offer-board.is-rewarded .rb-offer-board-cta{background:linear-gradient(125deg,#15915f,#21b878);border-color:#168455;box-shadow:0 9px 20px rgba(15,144,86,.22)}
.rb-offer-board.is-compact{border-radius:17px;padding:15px 19px 14px;margin:12px 0 21px}
.rb-offer-board.is-compact .rb-offer-board-symbol{width:40px;height:40px;flex-basis:40px;border-radius:11px;font-size:22px}
.rb-offer-board.is-compact .rb-offer-board-heading{margin-bottom:7px}
.rb-offer-board.is-compact h2{font-size:19px!important}
.rb-offer-board.is-compact .rb-offer-board-message{margin-bottom:10px!important}
.rb-offer-board.is-compact .rb-offer-rail{height:56px}
.rb-offer-board.is-compact .rb-offer-timer{min-width:93px;padding:5px 8px}.rb-offer-board.is-compact .rb-offer-timer strong{font-size:17px}
.rb-special-discount-fee{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;color:#088657!important;font-size:15px;font-weight:950;background:#eafff4;border:1px solid #bbecd2;border-radius:8px;padding:4px 8px}
.rb-special-discount-fee small{display:inline-flex;font-size:9px;letter-spacing:.4px;font-weight:950;white-space:nowrap;color:#15945e}
/* Sticky top: fixed only AFTER user scrolls. No layout shift. */
.rb-offer-sticky{position:fixed!important;top:0;left:0;right:0;z-index:99990;display:block;width:100%;background:linear-gradient(115deg,#352071,#5730a0 64%,#793daa);color:#fff;border-bottom:1px solid #a882fb;box-shadow:0 10px 30px rgba(30,15,79,.28);transform:translateY(-115%);opacity:0;transition:transform .24s ease,opacity .24s ease;pointer-events:none}
.rb-offer-sticky.is-showing{transform:translateY(0);opacity:1;pointer-events:auto}
body.admin-bar .rb-offer-sticky{top:32px}
.rb-offer-sticky-inner{width:min(1250px,calc(100% - 32px));min-height:76px;margin:auto;display:flex;align-items:center;gap:21px;padding:10px 0}
.rb-offer-sticky-head{display:flex;align-items:center;gap:9px;flex:0 1 260px;min-width:140px}
.rb-offer-sticky-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:rgba(255,255,255,.16);font-size:21px}
.rb-offer-sticky-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.rb-offer-sticky-head strong{font-size:12px;font-weight:950;letter-spacing:.8px;white-space:nowrap}
.rb-offer-sticky-head small{font-size:10.5px;line-height:1.25;color:#eadbff;max-height:2.55em;overflow:hidden}
.rb-offer-sticky .rb-offer-rail{flex:1;min-width:90px;height:58px;margin:6px 35px 0 8px}
.rb-offer-sticky .rb-offer-rail-track{background:#8066b4;border-color:rgba(255,255,255,.24);top:9px;height:8px}
.rb-offer-sticky .rb-offer-rail-fill{background:linear-gradient(90deg,#b791ff,#ffbfc9,#ffd05f)}
.rb-offer-sticky .rb-offer-pin{width:26px;height:26px;border:2px solid #4b2890;font-size:12px;box-shadow:0 2px 7px rgba(9,0,36,.3)}
.rb-offer-sticky .rb-offer-milestone-name{color:#e3d6fb;font-size:9px}
.rb-offer-sticky .rb-offer-milestone strong{color:#ffe29a;font-size:10px}
.rb-offer-sticky .rb-offer-milestone.is-unlocked strong{color:#a8ffd1}
.rb-offer-sticky-clock{display:flex;flex-direction:column;align-items:center;gap:1px;flex:0 0 auto;color:#fff;font-variant-numeric:tabular-nums}
.rb-offer-sticky-clock small{color:#f8c3e0;font-size:9px;letter-spacing:.7px;font-weight:950}
.rb-offer-sticky-clock strong{font-size:17px;font-weight:950;letter-spacing:.5px}
.rb-offer-sticky-cta{display:flex;align-items:center;justify-content:center;min-width:100px;padding:11px 13px;border-radius:10px;background:#ffce62;color:#402064!important;font-size:12px!important;font-weight:950!important;text-decoration:none!important;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.rb-offer-sticky-cta:hover{background:#fff0b2;color:#301254!important}
.rb-offer-sticky-dismiss{background:rgba(255,255,255,.13)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;font-size:18px;line-height:1;cursor:pointer;padding:0!important;flex:0 0 25px}
.rb-offer-sticky button:focus-visible,.rb-offer-sticky a:focus-visible,.rb-offer-board a:focus-visible{outline:3px solid #3bd5ff;outline-offset:2px}
@keyframes rbOfferGlow{to{transform:translate(-45px,40px) scale(1.25)}}
@keyframes rbOfferGiftFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes rbOfferShine{0%,15%{transform:translateX(-100%)}65%,100%{transform:translateX(105%)}}
@keyframes rbOfferUnlock{0%{transform:scale(.7)}75%{transform:scale(1.14)}100%{transform:scale(1)}}
@media (max-width:980px){.rb-offer-sticky-inner{gap:12px}.rb-offer-sticky-head{flex-basis:180px}.rb-offer-sticky-icon{display:none}.rb-offer-sticky-clock strong{font-size:14px}}
@media(max-width:690px){
.rb-offer-board{padding:18px 14px 17px;margin:13px 0 20px;border-radius:18px}
.rb-offer-board-heading{gap:9px;flex-wrap:wrap}
.rb-offer-board-symbol{flex:0 0 40px;width:40px;height:40px;font-size:22px;border-radius:11px}
.rb-offer-eyebrow{font-size:9px;letter-spacing:.5px}
.rb-offer-board h2{font-size:18px!important}
.rb-offer-board .rb-offer-timer{margin-left:auto;min-width:100px;padding:6px 9px}
.rb-offer-board .rb-offer-timer strong{font-size:16px}
.rb-offer-board-body{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.rb-offer-board-message{font-size:12px!important;margin-bottom:14px!important}
.rb-offer-board-cta{min-height:43px;width:100%;font-size:12px!important}
.rb-offer-rail{margin:0 43px 0 6px}
.rb-offer-board-bottom{margin-top:0}
.rb-offer-board.is-compact{padding:14px 12px}
.rb-offer-sticky-inner{width:calc(100% - 20px);display:grid;grid-template-columns:1fr auto auto;gap:5px 9px;min-height:100px;padding:7px 0}
.rb-offer-sticky-head{grid-column:1 / 3;min-width:0}
.rb-offer-sticky-head strong{font-size:10px}.rb-offer-sticky-head small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.rb-offer-sticky-clock{grid-column:3;grid-row:1}
.rb-offer-sticky .rb-offer-rail{grid-column:1 / 3;grid-row:2;margin:3px 37px 0 6px;height:52px;width:auto;align-self:start}
.rb-offer-sticky-cta{grid-column:3;grid-row:2;min-width:73px;padding:8px 9px;font-size:11px!important;align-self:start;margin-top:3px}
.rb-offer-sticky-dismiss{position:absolute;top:4px;right:3px;opacity:.75;transform:translateY(0);width:17px;height:17px;font-size:14px}
.rb-offer-sticky .rb-offer-rail .rb-offer-milestone strong{font-size:9px}
.rb-offer-sticky .rb-offer-rail .rb-offer-milestone-name{font-size:8px}
.rb-offer-sticky-clock strong{font-size:12px}
}
@media(max-width:380px){
.rb-offer-board-heading{gap:7px}.rb-offer-board-title{flex-basis:calc(100% - 49px)}
.rb-offer-board .rb-offer-timer{margin:0 0 0 auto;flex-direction:row;min-height:28px;padding:3px 7px}
.rb-offer-board .rb-offer-timer strong{font-size:13px}
.rb-offer-board .rb-offer-timer small{font-size:8px}
.rb-offer-sticky-head small{max-width:180px}
.rb-offer-sticky .rb-offer-rail{margin-right:32px}
.rb-offer-sticky-cta{min-width:64px;font-size:10px!important}
}
@media(max-width:782px){body.admin-bar .rb-offer-sticky{top:46px}}
@media(prefers-reduced-motion:reduce){.rb-offer-board-flare,.rb-offer-board-symbol,.rb-offer-rail-fill:after{animation:none!important}.rb-offer-sticky,.rb-offer-board-cta,.rb-offer-rail-fill{transition:none!important}}

/* v2.3.97 — homepage managed order and standalone reward clarity. */
.rbui-home .rbui-home-layout-managed>.rb-offer-board--home[data-rb-home-block="special-discount"]{order:var(--rb-home-order,999)!important;width:100%;min-width:0}
.rb-offer-eligible{line-height:1.4}
.rbui-cart-page .fee .rb-special-discount-fee,.rbui-checkout-page .fee .rb-special-discount-fee{box-shadow:0 0 0 2px rgba(24,171,107,.055)}
@media(max-width:480px){.rb-offer-eligible{font-size:10px}}

/* v2.4.02 — progressive Cart/Checkout reward actions (shop / choice / checkout). */
.rb-offer-board-actions{position:relative;z-index:2;display:flex;flex:0 0 auto;flex-direction:column;align-items:stretch;justify-content:center;gap:7px;min-width:170px}
.rb-offer-board-actions .rb-offer-board-cta{width:100%;min-height:47px}
.rb-offer-board-skip{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-height:26px;padding:1px 4px;color:#6e49a6!important;font-size:12px!important;line-height:1.4;font-weight:650;text-decoration:underline!important;text-underline-offset:3px;background:transparent!important;border:0!important;box-shadow:none!important;transition:color .15s ease}
.rb-offer-board-skip:hover{color:#422477!important}
.rb-offer-board-skip[hidden]{display:none!important}
.rb-offer-board-actions[data-rb-offer-action-stage="choice"] .rb-offer-board-cta{background:linear-gradient(125deg,#743be4,#a349e9);border-color:#6632d7;box-shadow:0 9px 18px rgba(115,61,211,.22)}
@media(max-width:660px){.rb-offer-board-actions{width:100%;min-width:0}.rb-offer-board-actions .rb-offer-board-cta{min-height:43px}.rb-offer-board-skip{font-size:12px!important}}

/* Per-product minimum price guidance; no change to product line prices. */
.rb-offer-item-note{display:block!important;width:fit-content;max-width:100%;box-sizing:border-box;margin:6px 0 2px;padding:5px 8px;border-radius:7px;background:#fff6e6;border:1px solid #f5dfb9;color:#875017!important;font-size:11px!important;font-weight:650;line-height:1.45;white-space:normal;overflow-wrap:anywhere;text-align:left}
.rb-offer-item-note[hidden]{display:none!important}.rbui-order-copy{min-width:0}
/* v2.5.08 — compact offer cards; price eligibility appears on product lines only. */
.rb-offer-board .rb-offer-board-title h2{margin:0!important}
.rb-offer-board .rb-offer-board-heading{margin-bottom:10px}
.rb-offer-board .rb-offer-board-message{margin-bottom:10px!important}
.rb-offer-board .rb-offer-board-bottom{gap:6px}
.rb-offer-board .rb-offer-savings{font-size:10px;letter-spacing:.1px}
.rb-offer-board.is-showcase{padding-top:18px;padding-bottom:17px}
@media(max-width:690px){.rb-offer-board.is-showcase{padding-top:14px;padding-bottom:13px}.rb-offer-board .rb-offer-board-heading{margin-bottom:8px}.rb-offer-board .rb-offer-board-message{font-size:12px!important}}
