/* Cart plus / added check — shared product-card surfaces, ReelsBundles 2.4.00. */
.rbui-cart-icon .rbui-action-icon,.rbreels-cart .rbreels-cart-icon{position:relative;display:inline-grid;place-items:center}
.rbui-cart-icon .rbui-action-icon::after,.rbreels-cart .rbreels-cart-icon::after{
  content:'+';position:absolute;top:-6px;right:-9px;display:grid;place-items:center;width:15px;height:15px;
  border:1.8px solid #fff;border-radius:50%;background:#7240e5;color:#fff;font:900 13px/1 Arial,sans-serif;
  box-shadow:0 2px 6px rgba(61,35,128,.25);pointer-events:none;transition:background .2s,transform .2s
}
.rbreels-cart .rbreels-cart-icon::after{right:-9px;top:-5px}
.rbui-cart-icon.is-in-cart .rbui-action-icon::after,.rbreels-cart.is-in-cart .rbreels-cart-icon::after{
  content:'✓';background:#16a34a;color:#fff;font-size:10px;border-color:#fff;transform:scale(1.06)
}
body .rbui-home .rbui-cart-icon.is-in-cart,body .rbx-shop .rbxp-cart.is-in-cart,body .rbreels-cart.is-in-cart{
  color:#15803d!important;background:#ebfdf1!important;border-color:#86dfa8!important;
  box-shadow:inset 0 0 0 1px rgba(30,165,88,.1)!important;cursor:pointer
}
.rbreels-cart.is-in-cart [data-rb-cart-label]{color:#168344!important}
.rb-card-cart-toast{position:fixed;z-index:2147483001;max-width:min(240px,85vw);padding:9px 14px;border-radius:11px;
  background:linear-gradient(135deg,#168447,#16a34a);color:#fff;font:800 12px/1.25 system-ui,sans-serif;
  box-shadow:0 12px 26px rgba(17,111,59,.28);opacity:0;pointer-events:none;white-space:nowrap;
  transform:translate(-50%,calc(-100% + 6px)) scale(.92);transition:opacity .2s ease,transform .25s cubic-bezier(.2,.8,.2,1)}
.rb-card-cart-toast.is-visible{opacity:1;transform:translate(-50%,-100%) scale(1)}
.rb-card-cart-toast::after{content:'';position:absolute;left:50%;bottom:-6px;width:11px;height:11px;
  background:#16a34a;transform:translateX(-50%) rotate(45deg);border-radius:1px}
@media(max-width:767px){
  .rb-mobile-nav-cart.has-items .rb-mobile-cart-icon{color:#168447;animation:rb-cart-gentle-pulse 2.8s ease-in-out infinite}
  .rb-mobile-nav-cart.has-items .rb-mobile-cart-count:not(.is-empty){background:linear-gradient(135deg,#15995a,#27bf70)!important;box-shadow:0 3px 12px rgba(22,163,74,.32)!important}
  .rb-mobile-nav-cart.rb-cart-new-item .rb-mobile-cart-icon{animation:rb-cart-added-bounce .7s ease-out 1}
  @keyframes rb-cart-gentle-pulse{0%,68%,100%{filter:drop-shadow(0 0 0 transparent);transform:scale(1)}75%{filter:drop-shadow(0 0 5px rgba(31,190,104,.45));transform:scale(1.10)}85%{transform:scale(1)}}
  @keyframes rb-cart-added-bounce{0%{transform:scale(.82)}35%{transform:scale(1.31)}70%{transform:scale(.97)}100%{transform:scale(1)}}
}
@media(prefers-reduced-motion:reduce){.rb-card-cart-toast{transition:none}.rb-mobile-nav-cart.has-items .rb-mobile-cart-icon,.rb-mobile-nav-cart.rb-cart-new-item .rb-mobile-cart-icon{animation:none}}

/* 2.4.01: Shop uses a real +/tick badge. Old shop styles were forcing position:static,
   overflow:hidden, which clipped/misplaced the pseudo icon on refresh. */
body .rbui-home .rbui-home-product-card .rbui-product-actions .rbui-cart-icon[data-product_id],
body .rbx-shop .rbxp-actions .rbxp-cart[data-product_id]{
  position:relative!important;overflow:visible!important;isolation:isolate;
}
body .rbui-home .rbui-home-product-card .rbui-product-actions .rbui-cart-icon[data-product_id]::after,
body .rbx-shop .rbxp-actions .rbxp-cart[data-product_id]::after{
  content:none!important;display:none!important;
}
body .rbui-home .rbui-home-product-card .rbui-product-actions .rbui-cart-icon[data-product_id] > .rb-cart-state-badge,
body .rbx-shop .rbxp-actions .rbxp-cart[data-product_id] > .rb-cart-state-badge{
  position:absolute!important;right:-5px!important;top:-6px!important;z-index:4!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;
  min-height:17px!important;max-height:17px!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;border-radius:50%!important;
  border:2px solid #fff!important;background:#7240e5!important;color:#fff!important;
  font:900 13px/1 Arial,sans-serif!important;letter-spacing:0!important;
  visibility:visible!important;opacity:1!important;transform:none!important;
  box-shadow:0 2px 7px rgba(66,39,139,.24)!important;pointer-events:none!important;
}
body .rbui-home .rbui-home-product-card .rbui-product-actions .rbui-cart-icon[data-product_id].is-in-cart > .rb-cart-state-badge,
body .rbui-home .rbui-home-product-card .rbui-product-actions .rbui-cart-icon[data-product_id][data-rb-cart-state="added"] > .rb-cart-state-badge,
body .rbx-shop .rbxp-actions .rbxp-cart[data-product_id].is-in-cart > .rb-cart-state-badge,
body .rbx-shop .rbxp-actions .rbxp-cart[data-product_id][data-rb-cart-state="added"] > .rb-cart-state-badge{
  background:#16a34a!important;color:#fff!important;font-size:11px!important;
}
body .rbui-home .rbui-home-product-card .rbui-product-actions .rbui-cart-icon[data-product_id].is-in-cart,
body .rbx-shop .rbxp-actions .rbxp-cart[data-product_id].is-in-cart{
  background:#ebfdf1!important;color:#15803d!important;border-color:#86dfa8!important;
}
/* The archive's earlier body-scoped flex-wrap:wrap !important had higher specificity
   than its later no-wrap rules, sending % OFF to a second line. */
body .rbx-shop .rbxp-commerce .rbxp-price{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
  white-space:nowrap!important;gap:5px!important;min-width:0!important;max-width:100%!important;
}
body .rbx-shop .rbxp-commerce .rbxp-price > del,
body .rbx-shop .rbxp-commerce .rbxp-price > strong,
body .rbx-shop .rbxp-commerce .rbxp-price > .rbxp-price-discount,
body .rbx-shop .rbxp-commerce .rbxp-price > .rbxp-from{
  flex:0 0 auto!important;white-space:nowrap!important;margin:0!important;
}
@media(max-width:767px){
  body .rbx-shop .rbxp-commerce .rbxp-price{gap:3px!important}
  body .rbx-shop .rbxp-commerce .rbxp-price > del{font-size:10px!important}
  body .rbx-shop .rbxp-commerce .rbxp-price > strong{font-size:15px!important}
  body .rbx-shop .rbxp-commerce .rbxp-price > .rbxp-price-discount{
    font-size:9px!important;padding:2px 4px!important;min-height:18px!important;
  }
  body .rbx-shop .rbxp-commerce .rbxp-price > .rbxp-from{font-size:9px!important;letter-spacing:0!important}
}
@media(max-width:375px){
  body .rbx-shop .rbxp-commerce .rbxp-price{gap:2px!important}
  body .rbx-shop .rbxp-commerce .rbxp-price > del{font-size:9px!important}
  body .rbx-shop .rbxp-commerce .rbxp-price > strong{font-size:13px!important}
  body .rbx-shop .rbxp-commerce .rbxp-price > .rbxp-price-discount{font-size:8px!important;padding:2px 3px!important}
}

/* 2.4.17: Homepage uses the same explicit badge as Shop. No legacy duplicate or Notify Me badge. */
body .rbui-home .rbui-home-product-card .rbui-cart-icon .rbui-action-icon::after{content:none!important;display:none!important}
body .rbui-home .rbui-home-product-card .rbui-cart-icon[data-product_id] .rbui-action-icon{position:static!important;overflow:visible!important}
