.hif-funnel--british{--bj-green:#07584f;--bj-green-2:#0c655b;--bj-saffron:#ffbd17;--bj-crimson:#c40e50;--bj-cream:#fff9e9;background:var(--bj-green);color:#fff;min-height:75vh}.hif-funnel--british .hif-funnel__stage{background-color:var(--bj-green);background-image:url('../images/patterns/green-pattern.png');background-repeat:repeat;background-size:50px}.hif-bj{max-width:1440px;margin:0 auto;padding:3rem 4vw 6rem}.hif-bj__plans-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:3vw;align-items:start}.hif-bj__intro{display:flex;gap:1.25rem;align-items:center}.hif-bj h1,.hif-bj h2,.hif-bj legend{font-family:var(--wp--preset--font-family--heading,inherit)}.hif-bj__intro h1{font-size:clamp(2rem,3vw,3.4rem);margin:.25rem 0}.hif-bj__back{display:grid;place-items:center;width:3.5rem;height:3.5rem;flex:0 0 auto;border-radius:.35rem;background:var(--bj-cream);color:var(--bj-crimson);font-size:1.75rem;text-decoration:none}.hif-bj__lead{font-size:1.15rem;}.hif-bj__field{border:0;padding:0;margin:2.4rem 0}.hif-bj__field legend{color:var(--bj-saffron);font-size:1.65rem;}.hif-bj__field>p{margin:.4rem 0 1rem;color:#e8f4f1}.hif-bj__pills{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.hif-bj__pills label,.hif-bj__sizes label,.hif-bj__orders label{cursor:pointer}.hif-bj__pills input,.hif-bj__sizes input,.hif-bj__orders input{position:absolute;opacity:0}.hif-bj__pills span{display:block;padding:.3rem 1rem;text-align:center;border-radius:999px;background:rgba(255,255,255,.28);font-weight:700}.hif-bj__pills input:checked+span,.hif-bj__pills input:focus-visible+span{background:var(--bj-crimson);}.hif-bj__range{width:100%;accent-color:var(--bj-crimson)}.hif-bj__range-labels{display:flex;justify-content:space-between;font-size:.84rem;}.hif-bj__sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.hif-bj__sizes span{display:flex;min-height:9rem;flex-direction:column;align-items:center;justify-content:center;padding:1rem;background:#fff;color:#272017;border:3px solid transparent;border-radius:.5rem;text-align:center}.hif-bj__sizes input:checked+span{border-color:var(--bj-crimson);box-shadow:0 .45rem 0 var(--bj-saffron)}.hif-bj__sizes strong{font-size:1.2rem}.hif-bj__sizes b{color:var(--bj-crimson);font-size:1.2rem;margin:.5rem}.hif-bj__orders label span{display:flex;flex-direction:column;background:#fff;color:#2b2520;padding:1.2rem;border:3px solid transparent;border-radius:.65rem}.hif-bj__orders input:checked+span{border-color:var(--bj-crimson)}.hif-bj__orders strong{font-size:1.2rem;color:var(--bj-crimson)}.hif-bj__or{text-align:center;font-weight:800;margin:.65rem}.hif-bj__summary{position:sticky;top:1rem;background:var(--bj-cream);color:#2d241d;border-radius:.75rem;overflow:hidden}.hif-bj__carousel{height:360px;background:var(--bj-saffron);padding:1.25rem;display:grid;place-items:center}.hif-bj__carousel img{width:100%;height:100%;object-fit:cover;border-radius:.6rem}.hif-bj__carousel-placeholder{font-size:1.7rem;font-weight:800}.hif-bj__summary-body{padding:1.5rem}.hif-bj__summary h2{font-size:1.8rem;margin:0}.hif-bj__summary dl{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.5rem 0}.hif-bj__summary dl div{border-right:1px solid #e6ccb3}.hif-bj__summary dt{font-size:.84rem}.hif-bj__summary dd{margin:.3rem 0;color:var(--bj-crimson);}.hif-bj__estimate{border:1px solid #d9cdbb;border-radius:.4rem;padding:1rem;display:flex;justify-content:space-between}.hif-bj__primary,.hif-bj__approve{border:0;border-radius:.35rem;background:var(--bj-crimson);color:#fff;font-size:1.05rem;font-family: var(--wp--preset--font-family--body); padding:0.7rem 1.5rem;cursor:pointer}.hif-bj__primary{width:100%;margin-top:1rem}.hif-bj__error{padding:.8rem;background:#fff1f1;color:#8d082f;border-left:4px solid var(--bj-crimson)}.hif-bj--meals{max-width:none;padding:0 0 7rem}.hif-bj__meal-head{display:flex;align-items:center;gap:1rem;padding:0.4rem 0;border-bottom:1px solid rgba(255,255,255,.4)}.hif-bj__meal-head h1{margin:0}.hif-bj__meal-head p{margin:0}.hif-bj__diet{margin-left:auto;display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.hif-bj__meal-body{padding:1.2rem 0}.hif-bj__meal-body>h2{font-size:1.5rem;margin:0; font-family: var(--wp--preset--font-family--heading);}.hif-bj__meal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.2rem;margin-top:2rem}.hif-bj__meal-card{position:relative;background:#fff;color:#272017;border-radius:.6rem;overflow:hidden;display:flex;flex-direction:column}.hif-bj__meal-image{position:relative;aspect-ratio:1/1}.hif-bj__meal-image>img{width:100%;height:100%;object-fit:cover}.hif-bj__meal-image>div{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.35rem}.hif-bj__badge{background:#fff7d8;color:#7b5700;border-radius:.2rem;padding:.25rem .4rem;font-size:.72rem}.hif-bj__badge--spice{background:#ffe5e5;color:#ad1636}.hif-bj__meal-copy{padding:.85rem}.hif-bj__meal-copy h3{font-size:1rem;margin:0 0 .45rem}.hif-bj__meal-copy p{font-size:.82rem;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hif-bj__facts{display:flex;gap:.7rem;padding:.65rem .85rem;border-top:1px solid #ddd;font-size:.75rem;margin-top:auto}.hif-bj__quantity{display:grid;grid-template-columns:2rem 1fr 2rem;align-items:center;margin:.2rem .6rem .7rem;border-radius:.25rem;overflow:hidden;background:#f7e1e9;text-align:center}.hif-bj__quantity button{border:0;background:var(--bj-crimson);color:#fff;font-size:1.35rem;cursor:pointer}.hif-bj__tray{position:fixed;z-index:50;bottom:0;left:0;right:0;min-height:3rem;padding:.3rem 7vw;display:grid;grid-template-columns:16rem 1fr 17rem;align-items:center;gap:2rem;background:var(--bj-crimson);color:#fff}.hif-bj__tray strong{font-weight: 500; font-size: 0.7rem;line-height:1.5;display: block} .hif-bj__tray progress{width:100%;accent-color:var(--bj-saffron)}.hif-bj__tray-items{display:flex;gap:.45rem;overflow:hidden}.hif-bj__tray-items span{position:relative;flex:0 0 2.5rem}.hif-bj__tray-items img{width:2.5rem;height:2.5rem;object-fit:cover;border-radius:.3rem}.hif-bj__tray-items b{position:absolute;right:-.2rem;top:-.4rem;background:var(--bj-saffron);color:#111;border-radius:50%;width:1rem;height:1rem;text-align:center;font-size:.7rem}.hif-bj__approve{background:var(--bj-saffron);color:#211700}.hif-bj__approve:disabled{opacity:.55;cursor:not-allowed}.hif-bj__loading{grid-column:1/-1}.hif-funnel--british :focus-visible{outline:3px solid #fff;outline-offset:3px}@media(max-width:1100px){.hif-bj__meal-grid{grid-template-columns:repeat(3,1fr)}.hif-bj__plans-grid{grid-template-columns:1fr}.hif-bj__summary{position:static}.hif-bj__tray{grid-template-columns:13rem 1fr 14rem}}@media(max-width:700px){.hif-bj{padding:2rem 0 7rem}.hif-bj__pills,.hif-bj__sizes{grid-template-columns:1fr 1fr}.hif-bj__meal-head{align-items:flex-start;padding:1rem;flex-wrap:wrap}.hif-bj__diet{width:100%;margin-left:0}.hif-bj__meal-body{padding:1.5rem 0}.hif-bj__meal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.hif-bj__summary dl{grid-template-columns:1fr}.hif-bj__carousel{height:260px}.hif-bj__tray{grid-template-columns:1fr auto;padding:.15rem 1rem}.hif-bj__tray-items{display:none}.hif-bj__approve{font-size:.9rem;padding:.9rem}.hif-bj__meal-copy{padding:.65rem}.hif-bj__meal-copy p{display:none}}@media(prefers-reduced-motion:reduce){.hif-funnel--british *{scroll-behavior:auto!important;transition:none!important}}

/* ---- "Your Curated Box" summary card + flush stage (0.9.14) ---- */
.hif-funnel--british .hif-funnel__stage{padding-block:0}
.hif-funnel--british .hif-bj__summary{container-type:inline-size;--bj-ink:#b1124d}
.hif-funnel--british .hif-bj__summary .hif-bj__summary-body{padding:1.75rem 1.5rem 1.5rem;background:#fdf9e6}
.hif-funnel--british .hif-bj__summary-body h2{font-family:var(--wp--preset--font-family--display);font-size:clamp(2rem,3.4cqi,2.9rem);font-weight:400;line-height:1.05;color:#14110f;margin:0}
.hif-funnel--british .hif-bj__summary-body>p{margin:.4rem 0 0;font-size:1rem;color:#14110f}
.hif-funnel--british .hif-bj__summary-body .hif-bj__sum-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:1.25rem 0;padding:0;border:0}
.hif-funnel--british .hif-bj__sum-facts>div{display:grid;grid-template-columns:1.7rem 1fr;column-gap:.5rem;align-items:center;padding:0 .5rem;border:0;border-left:1.5px dotted rgba(177,18,77,.3)}
.hif-funnel--british .hif-bj__sum-facts>div:first-child{border-left:0;padding-left:0}
.hif-funnel--british .hif-bj__sum-facts i{grid-row:1/3;color:var(--bj-ink);display:flex;justify-content:center;font-style:normal}
.hif-funnel--british .hif-bj__sum-facts i svg{width:1.7rem;height:1.7rem}
.hif-funnel--british .hif-bj__sum-facts dt{font-size:.9rem;line-height:1.2;color:#14110f}
.hif-funnel--british .hif-bj__summary-body .hif-bj__sum-facts dd{margin:.1rem 0 0;font-size:1rem;font-weight:600;color:var(--bj-ink)}
.hif-funnel--british .hif-bj__summary-body .hif-bj__estimate{display:block;padding:.9rem 1rem 1rem;background:#fff;border:1px solid #d9d4cc;border-radius:.6rem}
.hif-funnel--british .hif-bj__estimate-top,.hif-funnel--british .hif-bj__estimate-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.hif-funnel--british .hif-bj__estimate-title{font-size:1rem;font-weight:600;color:#a3274f}
.hif-funnel--british .hif-bj__estimate-top del{color:#6b6760;font-size:1.05rem}
.hif-funnel--british .hif-bj__ship{display:inline-flex;align-items:center;gap:.4rem;color:#245247;font-weight:500;font-size:0.8rem}
.hif-funnel--british .hif-bj__ship svg{width:1.7rem;height:1.7rem;flex:none}
.hif-funnel--british .hif-bj__estimate-row strong{font-size:1.3rem;line-height:1;color:#14110f}
.hif-funnel--british .hif-bj__offer{display:flex;align-items:center;gap:.6rem;margin-top:.6rem;padding:.55rem .7rem;border:1.5px dashed #b1124d;border-radius:.4rem;background:#fcf4f6;color:#14110f}
.hif-funnel--british .hif-bj__offer>svg{width:1.6rem;height:1.6rem;flex:none;padding:.25rem;border-radius:.3rem;background:#a3274f;color:#fff}
.hif-funnel--british .hif-bj__offer span{flex:1}
.hif-funnel--british .hif-bj__offer u{margin-left:.35rem;color:#a3274f;font-weight:700}
.hif-funnel--british .hif-bj__offer b{display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:#245247;color:#fff;font-size:.85rem}
.hif-funnel--british .hif-bj__perks{list-style:none;margin:1.4rem 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem .5rem}
.hif-funnel--british .hif-bj__perks li{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;font-size:1rem;line-height:1.25;color:#14110f;padding-inline:.5rem}
.hif-funnel--british .hif-bj__perks i{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:#fff;border:1px solid rgba(0,0,0,.1);color:var(--bj-ink)}
.hif-funnel--british .hif-bj__perks i svg{width:2rem;height:2rem}
.hif-funnel--british .hif-bj__summary-body .hif-bj__primary{margin-top:0;font-size:1.5rem;font-family:var(--wp--preset--font-family--body);font-weight:500;padding:0.6rem 1rem}
@container (min-width:34rem){
	.hif-funnel--british .hif-bj__sum-facts>div{padding-inline:1rem;grid-template-columns:2.2rem 1fr;column-gap:.9rem}
	.hif-funnel--british .hif-bj__sum-facts i svg{width:2rem;height:2rem}
	.hif-funnel--british .hif-bj__sum-facts dt{font-size:1.05rem}
}
@container (min-width:28rem){
	.hif-funnel--british .hif-bj__perks{grid-template-columns:repeat(4,1fr);gap:0}
	.hif-funnel--british .hif-bj__perks li{font-size:.75rem;padding-inline:.35rem}
	.hif-funnel--british .hif-bj__perks li+li{border-left:1px solid #d9cdbb}
}
@container (max-width:33.99rem){.hif-funnel--british .hif-bj__summary-body .hif-bj__primary{font-size:1rem}}
@container (max-width:24rem){.hif-funnel--british .hif-bj__summary-body .hif-bj__sum-facts{grid-template-columns:1fr;gap:.9rem}.hif-funnel--british .hif-bj__sum-facts>div,.hif-funnel--british .hif-bj__sum-facts>div:first-child{padding:0;border-left:0}}

/* Tray: keep the quantity bubbles inside the clipped box (they overhang each thumbnail). */
.hif-bj__tray-items{padding:.55rem .4rem 0 0;align-items:flex-end}
.hif-bj__tray-items b{min-width:1.1rem;height:1.1rem;line-height:1.1rem;padding-inline:.15rem;border-radius:999px;box-sizing:border-box}

/* ---- Meal-selection dish card (0.9.14): inset rounded photo, pill badge, icon facts + stepper ---- */
.hif-funnel--british .hif-bj__meal-card{container-type:inline-size;padding:.55rem .55rem .6rem;border-radius:var(--wp--custom--radius--product);}
.hif-funnel--british .hif-bj__meal-image{border-radius:.6rem;overflow:hidden}
.hif-funnel--british .hif-bj__meal-image>div{top:.45rem;right:.45rem}
.hif-funnel--british .hif-bj__meal-image>.hif-product-card__diet{position:absolute;top:.45rem;left:.45rem;z-index:2}
.hif-funnel--british .hif-bj__badge{display:inline-flex;align-items:center;gap:.3rem;padding:.10rem .25rem;border-radius:.35rem;font-size:.6rem;font-weight:500;line-height: 1}
.hif-funnel--british .hif-bj__badge--spice{background:#fdeeee;color:#b1124d;border:1px solid #b1124d}
.hif-funnel--british .hif-bj__meal-copy{padding:.8rem .2rem .6rem}
.hif-funnel--british .hif-bj__meal-copy h3{font-family:var(--wp--preset--font-family--body);font-size:0.8rem;line-height:1.3;font-weight:600;margin:0 0 .35rem;color:#14110f}
.hif-funnel--british .hif-bj__meal-copy p{font-size:.7rem;line-height:1.4;color:var(--wp--preset--color--contrast-muted);}
.hif-funnel--british .hif-bj__more{display:inline-block;margin-top:.35rem;padding:0;border:0;background:none;font:inherit;font-size:.7rem;font-weight:600;color:var(--bj-crimson);text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.hif-funnel--british .hif-bj__more:hover{color:#8a0c3a}
.hif-funnel--british .hif-bj__meal-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.65rem .2rem 0;border-top:1px solid #d9d9d9}
.hif-funnel--british .hif-bj__meal-card .hif-bj__facts{display:flex;flex-direction:column;gap:.3rem;margin:0;padding:0;border:0;font-size:.7rem;color:#14110f}
.hif-funnel--british .hif-bj__meal-card .hif-bj__facts span{display:flex;align-items:center;gap:.02rem;white-space:nowrap}
.hif-funnel--british .hif-bj__meal-card .hif-bj__facts i{display:inline-flex;width:0.8rem;color:#b1124d}
.hif-funnel--british .hif-bj__meal-card .hif-bj__facts svg{width:0.7rem;height:0.7rem}
/* Qty stepper — same design as the mega-menu one (.hif-mega__stepper): pink-bordered pill, pink − / +, white count. */
.hif-funnel--british .hif-bj__quantity{display:flex;align-items:stretch;gap:0;margin:0;padding:0;border:1.5px solid var(--wp--preset--color--primary,#c2185b);border-radius:6px;background:#fff;overflow:hidden}
.hif-funnel--british .hif-bj__quantity output{display:flex;align-items:center;justify-content:center;min-width:1.8rem;padding:0 .25rem;text-align:center;font-size:.85rem;font-weight:600;color:var(--wp--preset--color--contrast,#2a2118)}
.hif-funnel--british .hif-bj__quantity button{width:1.9rem;height:1.9rem;display:grid;place-items:center;padding:0;border-radius:0;background:var(--wp--preset--color--primary,#c2185b);color:#fff;font-size:1.25rem;line-height:1}
.hif-funnel--british .hif-bj__quantity button:hover:not(:disabled),.hif-funnel--british .hif-bj__quantity button:focus-visible{background:var(--wp--preset--color--primary-dark,#b1124d) !important; color: #fff !important;}
@container (max-width:14rem){
	/* .hif-funnel--british .hif-bj__meal-foot{flex-direction:column;align-items:stretch} */
	.hif-funnel--british .hif-bj__quantity{justify-content:space-between}
	.hif-funnel--british .hif-bj__quantity button{flex:0 0 2.2rem}
}

/* Meal-selection header: read-only plan / diet recap (replaces the diet radios) */
.hif-funnel--british .hif-bj__diet{display:flex;flex-wrap:wrap;gap:.6rem;margin-left:auto}


.hif-funnel--british .hif-bj__diet a{color:inherit;text-decoration:underline}


/* Stepper: disabled buttons fade; a locked card (box full, dish not chosen) fades whole stepper */
.hif-funnel--british .hif-bj__quantity button:disabled{opacity:.35;cursor:not-allowed}
.hif-funnel--british .hif-bj__quantity{transition:opacity .2s}
.hif-funnel--british .hif-bj__meal-card.is-locked .hif-bj__quantity{opacity:.55}

.hif-funnel--british .hif-bj__approve{display:inline-flex;align-items:center;justify-content:center;gap:.6rem}
.hif-funnel--british .hif-bj__approve svg{flex:none}
.hif-funnel--british .hif-bj__quantity button svg{width:1rem;height:1rem;display:block}
.hif-funnel--british .hif-bj__field>.hif-bj__error{margin:.75rem 0 0;padding:0;background:none;border:0;color:var(--bj-saffron);font-weight:600}
.hif-bj__tray-items .hif-bj__more{display:flex;flex-direction:column;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:.3rem;background:var(--bj-saffron);color:#111;line-height:1.05;text-align:center}
.hif-bj__tray-items .hif-bj__more strong{font-size:.75rem}
.hif-bj__tray-items .hif-bj__more small{font-size:.62rem;font-weight:700}
/* Tray tiles share one top edge: block images (no inline baseline gap) and top alignment. */
.hif-bj__tray-items{align-items:flex-start}
.hif-bj__tray-items img{display:block}

/* Fixed dock: yellow "if unavailable" bar sits directly above the crimson selection tray */
.hif-bj__dock{position:fixed;z-index:50;left:0;right:0;bottom:0}
.hif-bj__dock .hif-bj__tray{position:static}
.hif-bj--meals{padding-bottom:10rem}
/* Mirrors the Indian picker's .hif-mp__subs bar (app.css) */
.hif-bj__unavailable{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1.5rem;margin:0;padding:.4rem 1.5rem;border:0;background:var(--wp--preset--color--accent);color:var(--wp--preset--color--contrast);font-family:var(--wp--preset--font-family--body)}
.hif-bj__unavailable legend{float:left;margin:0;padding:0;font-family:inherit;font-size:.92rem;font-weight:400;line-height:inherit;color:inherit}
.hif-bj__unavailable legend strong{font-weight:inherit;text-transform:none}
.hif-bj__unavailable fieldset{display:contents}
.hif-bj__unavailable label{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--wp--preset--color--contrast);font-size:.9rem;font-weight:600}
.hif-bj__unavailable legend+label{margin-left:auto}
.hif-bj__unavailable label+label{margin-left:0}
.hif-bj__unavailable input{appearance:none;flex:none;width:20px;height:20px;margin:0;border:2px solid var(--wp--preset--color--contrast);border-radius:4px;background:#fff;display:inline-flex;align-items:center;justify-content:center}
.hif-bj__unavailable input::before{content:"";width:5px;height:9px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translateY(-1px);opacity:0}
.hif-bj__unavailable input:checked{background:var(--wp--preset--color--primary);border-color:var(--wp--preset--color--primary)}
.hif-bj__unavailable input:checked::before{opacity:1}
.hif-bj__unavailable input:focus-visible{outline:2px solid var(--wp--preset--color--contrast);outline-offset:2px}

/* ---- Meal-selection page, mobile (<=700px) ---- */
@media(max-width:700px){
	.hif-funnel--british .hif-bj--meals{padding-left:0;padding-right:0}
	.hif-funnel--british .hif-bj__meal-head{padding:0 0 10px}
	.hif-funnel--british .hif-bj__meal-grid{margin-top:0}
	.hif-funnel--british .hif-bj__meal-card{border-radius:.5rem}
	.hif-funnel--british .hif-bj__meal-copy h3{font-size:0.7rem}
	.hif-funnel--british .hif-bj__meal-foot{flex-direction:column;align-items:flex-start}
	.hif-funnel--british .hif-bj__meal-card .hif-bj__facts{flex-direction:row;gap:.4rem;}
	.hif-funnel--british .hif-bj__quantity{width:100%;justify-content:space-between}
	.hif-funnel--british .hif-bj__quantity output{flex:1}
	.hif-funnel--british .hif-bj__meal-body>h2{font-size:1.4rem}
	/* Mobile: stacked like .hif-mp__subs (question above, options in a row with 1rem gap). A <legend> is not a flex item, so keep it floated (a non-floated legend sits outside the fieldset background) and span the row. */
	.hif-funnel--british .hif-bj__unavailable{flex-direction:row;align-items:flex-start;gap:.6rem 1rem}
	.hif-funnel--british .hif-bj__unavailable legend{flex-basis:100%;float:left;width:100%}
	.hif-funnel--british .hif-bj__unavailable legend+label{margin-left:0}
	.hif-funnel--british .hif-bj--meals{padding-bottom:5rem}
}

/* Meal-selection focus filters: pill buttons with a leading icon (same look as the plans-step pills). */
.hif-bj__filters{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
.hif-bj__filters button{display:inline-flex;align-items:center; justify-content:center;gap:.55rem;padding:.4rem 1.1rem;border:0;border-radius:999px;background:rgba(255,255,255,.28);color:#fff;font:inherit;font-weight:500;cursor:pointer}
.hif-bj__filters button svg{width:1.3rem;height:1.3rem;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.5}
.hif-bj__filters button svg.is-filled path{fill:currentColor;stroke:none}
.hif-bj__filters button:hover,.hif-bj__filters button.is-active{background:var(--bj-crimson)}
.hif-bj__filters button:focus-visible{outline:2px solid var(--bj-saffron);outline-offset:2px}
@media (max-width:700px){.hif-bj__filters{gap:.5rem}.hif-bj__filters button{padding:.35rem .85rem;font-size:.9rem}}

/* Meal-selection header recap: plan + diet as highlighted pills (labels dropped; kept as title tooltips). */
.hif-bj__chip{display:inline-block;padding:.4rem 1.1rem;border-radius:999px;background:var(--bj-saffron);color:var(--bj-green);font-weight:700;line-height:1.2}
.hif-bj__chip:empty{display:none}

/* Meal-selection loading state: skeleton cards (shimmer comes from the shared .hif-skeleton in app.css). */
.hif-bj__meal-card--skeleton{pointer-events:none}
.hif-bj__meal-card--skeleton .hif-skeleton{background:#ece4d3}
.hif-bj__meal-card--skeleton .hif-bj__meal-image .hif-skeleton{position:absolute;inset:0;width:auto;height:auto;margin:0;border-radius:0}
.hif-bj__meal-card--skeleton .hif-bj__meal-copy .hif-skeleton{margin-bottom:.55rem}
.hif-bj__meal-card--skeleton .hif-bj__meal-foot{padding:.2rem .85rem .85rem}

.hif-bj__primary{position:relative;overflow:hidden;isolation:isolate;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.hif-bj__primary::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%)}
.hif-bj__primary:not(:disabled):hover,.hif-bj__primary:not(:disabled):focus-visible{background:#a30c42;transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.3)}
.hif-bj__primary:not(:disabled):hover::after,.hif-bj__primary:not(:disabled):focus-visible::after{transform:translateX(120%);transition:transform .7s ease}
.hif-bj__primary:not(:disabled):active{transform:translateY(0);box-shadow:0 2px 6px rgba(0,0,0,.25)}
@media (prefers-reduced-motion:reduce){.hif-bj__primary,.hif-bj__primary::after{transition:none}.hif-bj__primary:not(:disabled):hover{transform:none}}

/* Plans step, stacked layout (<=1100px): form first, summary on request. Desktop shows both side by side. */
.hif-bj__review,.hif-bj__edit{display:none}
@media(max-width:1100px){
	.hif-bj--plans:not(.is-reviewing) .hif-bj__summary{display:none}
	.hif-bj--plans.is-reviewing .hif-bj__form{display:none}
	.hif-bj__review{display:block;margin-top:1.5rem}
	.hif-bj__review .hif-bj__primary{margin-top:0}
	.hif-bj__edit{display:block;width:100%;padding:.85rem 1.25rem;border:0;border-bottom:1px solid #e6ccb3;background:transparent;color:var(--bj-crimson);font:600 .95rem var(--wp--preset--font-family--body);text-align:left;cursor:pointer}
	.hif-bj__summary{scroll-margin-top:1rem}
	.hif-bj__summary:focus{outline:none}
}

/* "Preparing your box" overlay while the approved selection is added to the cart and checkout loads */
.hif-bj__loading[hidden]{display:none}
.hif-bj__loading{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:1.5rem;background:rgba(7,88,79,.94);color:#fff;font-family:var(--wp--preset--font-family--body)}
.hif-bj__loading-card{display:flex;flex-direction:column;align-items:center;gap:.6rem;max-width:20rem;text-align:center}
.hif-bj__loading-card strong{font-family:var(--wp--preset--font-family--heading,inherit);font-size:1.6rem;font-weight:500;line-height:1.2}
.hif-bj__loading-card span:last-child{font-size:1rem;opacity:.9}
.hif-bj__loading-ring{width:3.25rem;height:3.25rem;margin-bottom:.4rem;border:4px solid rgba(255,189,23,.28);border-top-color:#ffbd17;border-radius:50%;animation:hif-bj-spin .9s linear infinite}
@keyframes hif-bj-spin{to{transform:rotate(360deg)}}
body.hif-bj-is-loading{overflow:hidden}
@media(prefers-reduced-motion:reduce){.hif-bj__loading-ring{animation:none;border-top-color:rgba(255,189,23,.28);border-color:#ffbd17}}
