/* YUHANAGI-HOME-CART-R9: scoped fixed subtotal. Preserve existing page styling. */
#yh-home-cart-bar[hidden],#yh-home-cart-space[hidden],#yh-home-cart-saving[hidden]{display:none!important}
#yh-home-cart-bar{position:fixed;inset:auto 0 0;z-index:40;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px;padding:12px max(18px,calc((100% - 1140px)/2)) calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #c8b8aa;background:#fffdf8;color:#342d29;box-shadow:0 -4px 20px #35282715;box-sizing:border-box;max-width:100%;font-family:inherit;line-height:1.5}
#yh-home-cart-space{height:var(--yh-home-cart-height,0px);pointer-events:none}
.yh-home-cart-info{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.yh-home-cart-label{font-size:13px;line-height:1.5}
#yh-home-cart-value{font-size:24px;font-weight:600;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap;color:#342d29}
#yh-home-cart-saving{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;color:#792d40;font-size:12px;line-height:1.5}
#yh-home-cart-saving-value{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;color:inherit}
#yh-home-cart-review{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;max-width:180px;padding:12px 18px;border:1px solid #792d40;border-radius:4px;background:#792d40;color:#fff;text-align:center;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;box-sizing:border-box}
#yh-home-cart-review:hover{background:#682436;border-color:#682436;color:#fff}
#yh-home-cart-review:focus-visible{outline:3px solid #253e32;outline-offset:3px}
body[data-yh-home-cart-active="true"] #cart-toast{bottom:calc(var(--yh-home-cart-height,0px) + 12px);white-space:normal;max-width:calc(100vw - 30px);flex-wrap:wrap;gap:8px 20px}
@media(max-width:380px){#yh-home-cart-bar{gap:10px;padding-inline:14px}.yh-home-cart-label{font-size:12px}#yh-home-cart-value{font-size:22px}#yh-home-cart-review{max-width:105px;padding:11px 12px;font-size:13px}#yh-home-cart-saving{font-size:12px;gap:2px 7px}#yh-home-cart-saving-value{font-size:15px}}
@media(forced-colors:active){#yh-home-cart-bar{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}#yh-home-cart-value,#yh-home-cart-saving,#yh-home-cart-saving-value{color:CanvasText}#yh-home-cart-review,#yh-home-cart-review:hover{background:ButtonFace;color:ButtonText;border-color:ButtonText}#yh-home-cart-review:focus-visible{outline-color:Highlight}}
@media print{#yh-home-cart-bar,#yh-home-cart-space{display:none!important}}
