/* mindiam/assets/css/cart-drawer.css: the slide-out cart (cart-drawer.js), on every page but the focused checkout. Hidden until opened, so it never shifts the layout. */
.cart-overlay{position:fixed;inset:0;z-index:65;background:rgba(14,26,39,.5)}
.cart-overlay[hidden],.cart-drawer[hidden]{display:none}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;z-index:70;width:420px;max-width:100%;display:flex;flex-direction:column;background:var(--surface);color:var(--text);transform:translateX(100%);transition:transform .25s ease}
.cart-drawer.is-open{transform:none;box-shadow:-12px 0 40px rgba(14,26,39,.25)}
@media (max-width:599px){.cart-drawer{width:100%}}
@media (prefers-reduced-motion:reduce){.cart-drawer{transition:none}}
html.cart-locked{overflow:hidden;scrollbar-gutter:stable}
.admin-bar .cart-drawer{top:var(--wp-admin--admin-bar--height,0px)}
.cart-drawer__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border)}
.cart-drawer__title{margin:0;font-size:22px;font-weight:900;line-height:1.2}
.cart-drawer__body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px 16px}
.cart-drawer__note{color:var(--muted);margin:16px 0}.cart-drawer__error{color:var(--coral-text);font-weight:800}
.cart-drawer__items{list-style:none;margin:0;padding:0}
.cart-drawer[aria-busy=true] .cart-drawer__items{opacity:.6}
.cart-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid var(--border)}
.cart-item__img{display:block;box-sizing:border-box;width:72px;height:72px;padding:6px;border-radius:12px;background:#fff;border:1px solid var(--border)}
.cart-item__img img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
.cart-item__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.cart-item__name{color:var(--text);font-weight:800;line-height:1.3;text-decoration:none}.cart-item__name:hover{text-decoration:underline}
.cart-item__price{font-weight:900;white-space:nowrap}
.cart-item__meta{margin:2px 0 0;color:var(--muted);font-size:14px}
.cart-item__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.cart-qty{display:inline-flex;align-items:center;border:1.5px solid var(--border);border-radius:12px;background:var(--card)}
.cart-qty button{width:40px;height:40px;padding:0;border:0;border-radius:10px;background:none;color:var(--text);font:900 20px/1 Nunito,system-ui,sans-serif;cursor:pointer}
.cart-qty button:disabled{opacity:.35;cursor:default}
.cart-qty output{min-width:28px;text-align:center;font-weight:900}
.cart-item__remove{padding:8px 0;border:0;background:none;color:var(--muted);font:700 15px Nunito,system-ui,sans-serif;text-decoration:underline;cursor:pointer}.cart-item__remove:hover{color:var(--coral-text)}
.cart-drawer__empty{padding:40px 0;text-align:center}.cart-drawer__empty p{margin:0 0 16px;font-size:18px;font-weight:800}
.cart-drawer__foot{display:grid;gap:10px;padding:16px 20px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--border)}
.cart-drawer__subtotal{display:flex;justify-content:space-between;margin:0 0 4px;font-size:18px;font-weight:800}
.cart-drawer__foot .pay-icons{justify-content:center;margin:2px 0 0}
