.ch-cart-confirmation {display:none}
#cart-drawer[data-ch-added] {position:fixed; inset:0; width:min(28rem, calc(100% - 2rem)); height:fit-content; max-height:calc(100dvh - 2rem); margin:auto; border-radius:12px; overflow:auto; overscroll-behavior:contain}
#cart-drawer[data-ch-added] .ch-cart-confirmation {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.75rem; color:var(--ch-action); padding-bottom:.6rem; border-bottom:1px solid var(--ch-line)}
.ch-add-problem a {text-decoration:underline; text-underline-offset:.2em}
.ch-add-problem {color:#833c23; margin:.5rem 0; padding:.5rem; border-inline-start:3px solid currentColor}
.ch-add-problem:empty {display:none}
.ch-cart-item-prices {display:flex; gap:1rem; flex-wrap:wrap; align-items:start}
.ch-cart-price-label {display:block; font-size:.8rem; font-weight:500; color:var(--ch-muted)}
.checkout-cart-index .product-item-name {word-break:normal; overflow-wrap:anywhere}
.ch-auto-cart [data-cart-item-update] {display:none}


#cart-drawer[data-ch-added] > ul, #cart-drawer[data-ch-added] > div:has(#cart-drawer-title) {display:none}
#cart-drawer[data-ch-added] {padding:1.2rem; translate:none !important; transform:none !important; transition-property:opacity !important; transition-duration:120ms !important}
#cart-drawer[data-ch-added] .ch-cart-confirmation {display:grid; grid-template-columns:1fr; gap:.65rem}
.ch-cart-recent {grid-column:1 / -1; display:flex; align-items:center; gap:1rem; min-width:0; color:var(--ch-dark)}
.ch-cart-recent img {object-fit:contain; flex-shrink:0; background:#fafafa}
.ch-cart-recent small,.ch-recent-name {display:block; margin:.15rem 0}
.ch-recent-name {font-weight:600}

#cart-drawer .ch-cart-continue { display:none; }
#cart-drawer[data-ch-added] .ch-cart-continue {
    display:block; align-self:center; padding:.5rem .85rem; min-height:44px;
    background:transparent; border:0; border-radius:6px; box-shadow:none;
    color:var(--ch-action); text-decoration:underline; text-underline-offset:.2em;
}
#cart-drawer[data-ch-added] .ch-cart-continue:hover { color:var(--ch-dark); }
#cart-drawer[data-ch-added] .ch-cart-continue:focus-visible { outline:2px solid var(--ch-action); outline-offset:2px; }
#ch-added-title:focus { outline:0; }
