#wbc-cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .2s ease}
#wbc-cart-overlay.is-visible{opacity:1;pointer-events:auto}

#wbc-cart-drawer{position:fixed;top:0;right:0;height:100vh;width:min(420px,100%);background:#fff;box-shadow:-2px 0 12px rgba(0,0,0,.15);transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;z-index:1000}
#wbc-cart-drawer.is-open{transform:translateX(0)}

#wbc-cart-drawer .wbc-cart__header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #eee}
#wbc-cart-drawer .wbc-cart__title{margin:0;font-size:1.1rem}
#wbc-cart-drawer .wbc-cart__close{background:none;border:0;font-size:1.6rem;line-height:1;cursor:pointer}

#wbc-cart-drawer .wbc-cart__list{flex:1 1 auto;overflow:auto}

#wbc-cart-drawer .wbc-cart__footer{flex:0 0 auto;border-top:1px solid #eee;padding:12px 16px;background:#fafafa}
#wbc-cart-drawer .wbc-cart__subtotal{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
#wbc-cart-drawer .wbc-cart__actions{display:flex;gap:8px}

/* Hide the compact subtotal inside Woo and rely on mirrored amount */
#wbc-cart-drawer .woocommerce-mini-cart__total{display:none}

/* Preserve existing item layout from your mini-cart override */
#wbc-cart-drawer .mini_cart_item{padding:12px 16px;border-bottom:1px solid #f0f0f0}
