.mast-actions{display:flex;align-items:center;gap:.4rem}
#open-bag,.bag-step,.bag-remove,.bag-inline,#bag-close,.bag-apply{font:inherit;cursor:pointer;color:var(--mulberry,#68334c)}
#open-bag{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.3rem .65rem;border:1px solid #decbd2;border-radius:99px;background:#fffaf8;font-size:.83rem;font-weight:600;white-space:nowrap}
#bag-count{background:#71374f;color:white;padding:.06rem .4rem;border-radius:100px;font-size:.75rem}
.bag-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line,#e5d6d9);border-radius:13px;overflow:hidden;background:var(--paper,#fff)}
.bag-card>.product-card{flex:1;border:0;border-radius:0;box-shadow:none}
.bag-card:focus-within,.bag-card:hover{border-color:#b38b9b}
.bag-add,.bag-unavailable{font:inherit;font-size:.83rem;font-weight:600;text-align:center}
.bag-add{min-height:44px;cursor:pointer;color:#69364c;background:#f8eef1;border:1px solid #e8cdd7;border-radius:.55rem;padding:.5rem 1rem}
.bag-add:hover,.bag-add:focus-visible{background:#71374f;color:#fff}.bag-add:disabled{opacity:.6}
.bag-card>.bag-add,.bag-card>.bag-hold,.bag-card>.bag-unavailable{margin:0 .75rem .75rem}
.bag-hold{display:flex;flex-direction:column;gap:.25rem}.bag-hold small,.bag-unavailable{color:#765f66}.bag-hold small{text-align:center;font-size:.72rem}
.detail-copy>.bag-add,.detail-copy>.bag-hold{margin:.65rem 0;min-width:9rem;max-width:20rem}
button.bag-add:focus-visible,#open-bag:focus-visible,.bag-card>.product-card:focus-visible{outline:2px solid #8f4667;outline-offset:-3px}
#shop-bag{color:#382a30;border:1px solid #e4d6d8;border-radius:1.15rem;padding:1.15rem 1.45rem;max-height:88vh;max-height:88dvh;width:min(32rem,calc(100% - 1.5rem));max-width:calc(100% - 1.5rem);background:#fffdfb;overflow-y:auto;overscroll-behavior:contain}
#shop-bag::backdrop{background:#30242c82}
body:has(#shop-bag[open]){overflow:hidden}
.bag-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.bag-head h2{margin:0;font-size:1.35rem}
#bag-close{width:44px;height:44px;border:none;background:transparent;line-height:1;font-size:1.6rem}
.bag-group{margin:1rem 0}.bag-group h3,.bag-form h3{font-size:1rem;margin:.3rem 0}.bag-delivery,.bag-payment,#bag-message,.bag-order-message,.bag-empty{font-size:.83rem;line-height:1.7;margin:.3rem 0 .6rem;color:#62535b}
.bag-row{display:flex;gap:.75rem;border-top:1px solid #e8dedf;padding:.75rem 0}.bag-row img{object-fit:contain;background:#fff;border-radius:.4rem;width:54px;height:66px}
.bag-line-copy{flex:1;min-width:0}.bag-item-name{font-weight:600;font-size:.88rem;overflow-wrap:anywhere}.bag-line-copy>small{display:block;margin:.18rem 0;font-size:.76rem}.bag-quantity{display:flex;align-items:center;gap:.4rem;font-size:.82rem}
.bag-step,.bag-remove,.bag-apply{background:white;border:1px solid #decfd4;border-radius:.4rem;min-width:37px;min-height:42px}.bag-remove{border:0;text-decoration:underline}.bag-step:disabled{opacity:.42}
.bag-money{display:inline-block;max-width:100%;font-size:1rem;line-height:1.45}
.bag-money strong,.bag-money small,.receipt-equivalent{display:block}
.bag-money strong,.receipt-totals .bag-total{color:var(--mulberry,#6a344b)}
.bag-money bdi,.receipt-amount bdi{white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}
.bag-money strong bdi{font-size:1.15em;font-weight:700}
.bag-currency{display:inline-block}
.bag-money strong .bag-currency,.receipt-amount .bag-currency{font-size:.84em;font-weight:500}
.bag-money small,.receipt-equivalent{margin-top:.16rem;font-size:.78rem;line-height:1.5;font-weight:400;color:var(--soft,#705b63)}
.bag-subtotal,.receipt-totals>div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.18rem .8rem;padding:.55rem 0;border-top:1px solid #e8dedf;font-size:.9rem}
.bag-subtotal>.bag-money,.receipt-totals dd{text-align:end;margin:0;margin-inline-start:auto;max-width:100%}
.bag-total{background:#f7eff1;border-radius:.55rem;color:var(--mulberry,#6a344b)}
.bag-subtotal.bag-total,.receipt-totals>.bag-total{border-top:0;padding:.65rem .8rem}
.bag-total>span:first-child,.receipt-totals .bag-total dt,.receipt-balance{font-weight:650}
.bag-total .bag-money strong bdi,.receipt-totals .bag-total dd>.receipt-amount>bdi{font-size:1.45rem;font-weight:750}
.receipt-totals>div:first-child,.receipt-totals>.bag-total+div{border-top:0}
.receipt-shell .bag-row>.receipt-amount{max-width:49%;text-align:end}
.receipt-equivalent .bag-currency{font:inherit}
.bag-next,.bag-submit{width:100%;margin:.6rem 0}.bag-next:disabled,.bag-submit:disabled{opacity:.55;cursor:default}
.bag-fields{display:grid;grid-template-columns:1fr 1fr;gap:.55rem .7rem}.bag-field{min-width:0;display:grid;gap:.25rem;font-size:.83rem}.bag-field.wide{grid-column:1/-1}
.bag-field :is(input,select,textarea){box-sizing:border-box;min-width:0;width:100%;padding:.55rem .65rem;min-height:44px;background:white;border:1px solid #bb9ca8;border-radius:.45rem;font:inherit;color:inherit}
.bag-field textarea{resize:vertical}.bag-apply{align-self:end}.bag-form,.bag-quote{margin-top:.8rem}
.bag-payment{padding:.6rem .8rem;background:#f6efeb;border-radius:.45rem}.bag-order-message:empty,#bag-message:empty,#bag-feedback:empty{display:none}
#bag-feedback:not(:empty){position:fixed;z-index:5;inset-block-end:max(16px,env(safe-area-inset-bottom));inset-inline:0;margin:auto;width:max-content;max-width:calc(100vw - 24px);padding:.65rem .95rem;border-radius:.65rem;background:#49323c;color:white;font-size:.85rem;box-shadow:0 5px 20px #30232c34}
.bag-inline{margin-inline-start:.65rem;border:0;background:transparent;color:#fff;text-decoration:underline;min-height:28px}.receipt-shell{max-width:36rem;margin:2rem auto;padding:1rem}.receipt-meta{display:grid;grid-template-columns:1fr auto;gap:.45rem}.receipt-meta dd{margin:0}.receipt-actions{display:flex;gap:.6rem;flex-wrap:wrap}.receipt-shell a{color:#71374f}
@media(max-width:450px){#shop-bag{padding:.9rem;width:calc(100% - 1rem);max-width:calc(100% - 1rem)}.bag-fields{gap:.6rem}.bag-field :is(input,select,textarea){font-size:16px}.bag-card>.bag-add,.bag-card>.bag-hold,.bag-card>.bag-unavailable{margin-inline:.45rem}.mast-actions{gap:0}#open-bag{padding:.25rem .4rem}}
@media(max-width:330px){.bag-fields{grid-template-columns:1fr}.bag-field.wide{grid-column:auto}}
@media print{.receipt-shell>a,.receipt-actions{display:none!important}.receipt-shell{max-width:none;margin:0;padding:0}.receipt-shell section{break-inside:avoid}}
.bag-transfer-choice,.receipt-transfers{margin:1rem 0}
.receipt-transfers{padding:1rem;border:1px solid #ded0d4;border-radius:.75rem;background:#fffdfa}
.transfer-form{display:grid;gap:.75rem}.transfer-form small,.transfer-feedback,.transfer-history{font-size:.85rem;line-height:1.65}
.transfer-form [hidden],.transfer-instructions[hidden]{display:none}
.transfer-form input[type=file]{font-size:.85rem;max-width:100%}
.transfer-instructions{margin:.45rem 0;padding:.75rem .85rem;border-inline-start:3px solid #ad7b4c;background:#faf2e9;white-space:pre-line;overflow-wrap:anywhere;unicode-bidi:plaintext}
.receipt-transfers p,.receipt-transfers h2,.transfer-feedback{margin:.4rem 0}.transfer-feedback:empty{display:none}
@media print{.transfer-form{display:none!important}.receipt-totals{break-inside:avoid}.receipt-totals>.bag-total{background:transparent;border-block:1px solid currentColor}}
