/* v66: mobile savings row stays ABOVE buybar; popover opens horizontally after ? and auto-closes. */
.single-product .yds-wjecf-saving-holder {
 display:inline-flex!important;align-items:center!important;gap:5px!important;
 vertical-align:middle!important;box-sizing:border-box!important;
 margin-inline-start:6px!important;position:relative!important;
}
.single-product .yds-wjecf-saving-holder[hidden] {display:none!important;}
.single-product .yds-wjecf-saving-holder .yds-wjecf-product-saving {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 padding:2px 8px!important;border-radius:14px!important;
 border:1px solid #cddfd3!important;background:#e7efec!important;color:#3b6550!important;
 font-size:14px!important;line-height:20px!important;font-weight:500!important;white-space:nowrap!important;
 box-sizing:border-box!important;letter-spacing:0!important;text-decoration:none!important;
 margin:0!important;position:static!important;transform:none!important;
}
.single-product .yds-wjecf-saving-holder .yds-wjecf-saving-help {display:none!important;}
.single-product .yds-wjecf-saving-holder .yds-wjecf-saving-popover[hidden] {display:none!important;}
@media(max-width:768px) {
 body.single-product.yds-mobile-buybar-ready > .yds-wjecf-saving-holder.yds-wjecf-saving-floating {
  position:fixed!important;left:16px!important;right:auto!important;
  bottom:calc(102px + env(safe-area-inset-bottom, 0px))!important;
  z-index:3220!important;width:max-content!important;max-width:calc(100vw - 32px)!important;
  height:auto!important;min-height:28px!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;
  transform:none!important;pointer-events:auto!important;
 }
 body.single-product.yds-mobile-buybar-ready > .yds-wjecf-saving-holder.yds-wjecf-saving-floating[hidden] {display:none!important;}
 body.single-product.yds-mobile-buybar-ready > .yds-wjecf-saving-holder .yds-wjecf-product-saving {
  height:26px!important;min-height:26px!important;flex:0 0 auto!important;padding:2px 8px!important;
  box-shadow:0 1px 4px rgba(20,53,40,.09)!important;
 }
 body.single-product.yds-mobile-buybar-ready > .yds-wjecf-saving-holder .yds-wjecf-saving-help {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 28px!important;width:28px!important;height:28px!important;padding:0!important;margin:0!important;
  background:#fff!important;color:#426a57!important;border:1px solid #b7cfcb!important;
  border-radius:50%!important;font-size:14px!important;font-weight:500!important;line-height:1!important;
  text-decoration:none!important;box-shadow:0 1px 4px rgba(20,53,40,.09)!important;
  cursor:pointer!important;touch-action:manipulation!important;
 }
 body.single-product.yds-mobile-buybar-ready > .yds-wjecf-saving-holder .yds-wjecf-saving-popover {
  display:block!important;position:static!important;left:auto!important;right:auto!important;
  top:auto!important;bottom:auto!important;z-index:3222!important;
  flex:0 1 auto!important;min-width:0!important;width:max-content!important;
  max-width:calc(100vw - 140px)!important;
  margin:0!important;padding:7px 10px!important;
  border:1px solid #cddfd3!important;border-radius:14px!important;
  background:#fff!important;color:#384b41!important;box-shadow:0 6px 20px rgba(20,45,32,.16)!important;
  font-size:14px!important;font-weight:400!important;line-height:1.6!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  text-align:left!important;letter-spacing:0!important;
 }
 body.single-product.yds-mobile-buybar-ready > .yds-wjecf-saving-holder .yds-wjecf-saving-popover[hidden] {display:none!important;}
}
.woocommerce-account .yds-wjecf-order-saving,.woocommerce-order-received .yds-wjecf-order-saving {
 display:inline-block;margin-top:4px;padding:2px 7px;border-radius:14px;background:#e7efec;
 color:#426a57;font-size:14px;line-height:1.5;font-weight:500;
}
.woocommerce-account .yds-wjecf-order-summary,.woocommerce-order-received .yds-wjecf-order-summary {
 display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin:12px 0 18px;
 padding:10px 12px;border-radius:14px;background:#f4f8f6;color:#4d665c;font-size:14px;
}
.yds-wjecf-order-summary-title {font-weight:500;}
.yds-wjecf-order-saving-part {font-weight:400;}
.woocommerce-account .yds-wjecf-order-saving-muted {color:#8b948f;font-size:14px;}
.woocommerce-account .woocommerce-orders-table__cell-yds_wjecf_saved {white-space:nowrap;}

/* Suppress any stale v1.1.0 purchase-UI savings markup during cache migration. */
body.single-product .yds-price-saving-badge {display:none!important;}

/* v65: WooCommerce standard order totals row and accessible fallback summary. */
.yds-wjecf-order-saving-note {display:block;color:#73827b;font-size:14px;font-weight:400;line-height:1.5;margin-top:3px;}
.woocommerce-account .yds-wjecf-order-summary .yds-wjecf-order-saving-note,
.woocommerce-order-received .yds-wjecf-order-summary .yds-wjecf-order-saving-note {flex-basis:100%;}
