/* Isolated to prevent overrides of existing FoodCommerce frontend styling. */
.ofc-box-progress{--ofc-box-green:#91bf4a;display:flex;align-items:center;gap:12px;box-sizing:border-box;background:#fff;color:#252925;border:1px solid #dbe5d1;border-radius:12px;padding:12px 15px;font-family:inherit;font-size:13px;line-height:1.3;box-shadow:0 6px 22px rgba(0,0,0,.09)}
.ofc-box-progress *, .ofc-box-progress *::before,.ofc-box-progress *::after{box-sizing:border-box}
.ofc-box-progress__icon{font-size:23px;flex:0 0 auto;text-decoration:none;line-height:1}
.ofc-box-progress__main{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;align-items:center}
.ofc-box-progress__title{font-weight:800;color:#26371e;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ofc-box-progress__summary{font-weight:700;font-size:12px;white-space:nowrap;color:#547b2c}
.ofc-box-progress__track{height:8px;border-radius:9px;overflow:hidden;background:#e6ecdf;grid-column:1/-1}
.ofc-box-progress__fill{height:100%;width:0;background:var(--ofc-box-green);border-radius:9px;transition:width .22s ease}
.ofc-box-progress__sub{grid-column:1/-1;color:#6a7765;font-size:11px}
.ofc-box-progress--full .ofc-box-progress__fill{background:#73993f}
.ofc-box-progress--floating{position:fixed;right:16px;bottom:max(16px, env(safe-area-inset-bottom));z-index:9000;width:min(410px,calc(100vw - 32px));max-width:100%;pointer-events:auto}
.ofc-box-progress--inline{width:100%;margin:0 0 18px;box-shadow:none;border-left:4px solid var(--ofc-box-green)}
/* Desktop indicator floats above content; body padding would create white space below the footer. */
body.ofc-box-progress-visible{padding-bottom:0}
@media(max-width:720px){
 .ofc-box-progress--floating{left:0;right:0;bottom:0;width:100%;height:clamp(55px,10dvh,76px);max-height:76px;padding:7px 13px calc(6px + env(safe-area-inset-bottom,0px));border-radius:12px 12px 0 0;gap:9px}
 .ofc-box-progress--floating .ofc-box-progress__icon{font-size:21px}
 .ofc-box-progress--floating .ofc-box-progress__main{gap:3px 6px}
 .ofc-box-progress--floating .ofc-box-progress__title{font-size:11px}
 .ofc-box-progress--floating .ofc-box-progress__summary{font-size:10px}
 .ofc-box-progress--floating .ofc-box-progress__track{height:6px}
 .ofc-box-progress--floating .ofc-box-progress__sub{display:none}
 /* Reserve mobile indicator clearance within the dark footer, not below the page. */
 body.ofc-box-progress-visible{padding-bottom:0}
 body.ofc-box-progress-visible #obliqcommerce-footer{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:365px){.ofc-box-progress--floating .ofc-box-progress__title{font-size:10px}.ofc-box-progress--floating .ofc-box-progress__summary{font-size:9px}}
@media(prefers-reduced-motion:reduce){.ofc-box-progress__fill{transition:none}}

/* Cart/checkout render a single inline indicator. Hide stale floating HTML cached by themes. */
body.woocommerce-cart .ofc-box-progress--floating,
body.woocommerce-checkout .ofc-box-progress--floating,
body.page-cart .ofc-box-progress--floating,
body.page-checkout .ofc-box-progress--floating{display:none!important}
body.woocommerce-cart.ofc-box-progress-visible,
body.woocommerce-checkout.ofc-box-progress-visible{padding-bottom:0!important}

/* 1.0.26: Gold celebration at exact multiples of 10 physical meals. */
.ofc-box-progress[hidden]{display:none!important}
.ofc-box-progress--full{background:#e5c67d;border-color:#c59e39;color:#332508;box-shadow:0 8px 24px rgba(128,93,24,.17)}
.ofc-box-progress--full .ofc-box-progress__title{color:#342606}
.ofc-box-progress--full .ofc-box-progress__summary,.ofc-box-progress--full .ofc-box-progress__sub{color:#59400d}
.ofc-box-progress--full .ofc-box-progress__track{background:#f8eac0}
.ofc-box-progress--full .ofc-box-progress__fill{background:#af8015}
/* Extra protection against cached floating HTML on Cart, Checkout and Meal Plans. */
body.page-meal-plans .ofc-box-progress--floating,
body.page-meal-plan .ofc-box-progress--floating,
body.page-build-your-mealplan .ofc-box-progress--floating,
body.woocommerce-cart .ofc-box-progress--floating,
body.woocommerce-checkout .ofc-box-progress--floating{display:none!important}
body.page-meal-plans.ofc-box-progress-visible,
body.page-meal-plan.ofc-box-progress-visible,
body.page-build-your-mealplan.ofc-box-progress-visible{padding-bottom:0!important}
@media(max-width:720px){
  .ofc-box-progress--full .ofc-box-progress__title{white-space:normal;line-height:1.15}
  .ofc-box-progress--full .ofc-box-progress__summary{white-space:normal}
}

/* 1.0.28: Allow the completed-box celebration to breathe on desktop. */
@media(min-width:721px){
  .ofc-box-progress--floating{width:min(520px,calc(100vw - 32px))}
}
.ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__main{
  grid-template-columns:minmax(0,1fr);
  row-gap:5px;
}
.ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__title{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.25;
}
.ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__summary{display:none}
.ofc-box-progress__celebration{display:none}
.ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__celebration{
  display:block;
  grid-column:1/-1;
  text-align:center;
  font-weight:800;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.035em;
  color:#59400d;
  line-height:1.25;
}
@media(max-width:720px){
 .ofc-box-progress--floating.ofc-box-progress--full{
   height:auto;
   min-height:55px;
   max-height:clamp(66px,10dvh,76px);
   padding-top:5px;
   padding-bottom:calc(5px + env(safe-area-inset-bottom,0px));
 }
 .ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__main{row-gap:3px}
 .ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__title{font-size:10px}
 .ofc-box-progress--floating.ofc-box-progress--full .ofc-box-progress__celebration{font-size:9px;letter-spacing:0}
}
