/* Cart layout ported from UzogoCore/uzogowebsite desktop/styles.css and market-header.js. */
body:has(#cart-panel[open]){overflow:hidden}
#cart-panel.market-cart{position:fixed;inset:0 0 0 auto;margin:0;width:min(600px,calc(100% - 14px));max-width:none;height:100%;max-height:none;padding:clamp(16px,4vw,30px);border:0;border-radius:0;background:#fff;color:#141414;overflow:hidden}
#cart-panel.market-cart[open]{display:flex;flex-direction:column}
#cart-panel.market-cart::backdrop{background:rgb(0 0 0 / 48%)}
#cart-panel>.market-cart-top{display:flex;flex:none;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #e8ded6;margin:0 0 12px;max-width:none}
#cart-panel .market-cart-top h2{font-size:22px;margin:0;letter-spacing:-.045em}
#cart-panel .market-cart-close{display:grid;place-items:center;border:0;border-radius:50%;background:#fffaf5;color:inherit;width:44px;height:44px;padding:0;cursor:pointer}
.market-cart-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
#cart-lines>h2{margin:0;font-size:clamp(19px,3vw,25px);line-height:1.2}
#cart-lines .market-cart-item{display:flex;align-items:center;gap:12px;padding:14px 0;min-width:0;border:0}
#cart-panel .market-cart-thumbnail{width:54px;height:54px;flex:0 0 54px;display:block;border-radius:8px;background-color:#f6f6f6;overflow:hidden;aspect-ratio:1}
#cart-panel .market-cart-copy{flex:1;min-width:0;overflow-wrap:anywhere}
#cart-panel .market-cart-copy strong{font-size:15px;line-height:1.35}
#cart-panel .market-cart-copy p{display:block;margin:4px 0 0;color:#525252;font-size:13px}
#cart-panel .market-cart-quantity{display:flex;align-items:center;gap:0;background:#f4f4f4;border-radius:24px;flex:none}
#cart-panel .market-cart-quantity button{display:grid;place-items:center;width:38px;min-width:38px;height:40px;min-height:40px;border:0;border-radius:20px;padding:0;background:transparent;color:#141414;font:400 20px/1 Arial,Helvetica,sans-serif}
#cart-panel .market-cart-quantity button:disabled{color:#888;background:transparent}
#cart-panel .market-cart-quantity output{font-size:15px;font-weight:400;min-width:16px;text-align:center}
#cart-panel .market-cart-total{display:flex;justify-content:space-between;gap:12px;padding:18px 0;margin:0;border-top:1px solid #e8e8e8;font-size:18px;font-weight:400}
#cart-panel .market-cart-total:empty{display:none}
#cart-panel .market-cart-checkout{flex:none;width:100%;margin-top:16px;min-height:56px;padding:12px;border:0;border-radius:10px;background:#141414;color:#fff;font:inherit;font-weight:700}
#cart-panel .market-cart-checkout:disabled{opacity:1;cursor:default}
@media all{#cart-lines .market-cart-item{gap:6px}#cart-panel .market-cart-quantity button{width:30px;min-width:30px}}

#cart-panel .market-cart-checkout[hidden]{display:none}
#cart-panel .cart-empty-state{display:grid;justify-items:center;gap:12px;text-align:center;padding:clamp(26px,7vh,68px) 10px}
#cart-panel .cart-empty-state h2{font-size:25px;margin:0}
#cart-panel .cart-empty-state p{margin:0;color:#706b67;font-size:15px}
#cart-panel .cart-empty-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:9px;background:#fbe9e2;color:#a30113}
#cart-panel .cart-browse-shops{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:9px;background:#a30113;color:white;font-weight:700;text-decoration:none}

#cart-panel .cart-empty-icon{width:50px;height:50px;border-radius:11px;background:#fbe9e2;color:#a30113}
#cart-panel .cart-empty-icon svg{width:28px;height:28px}

.market-actions button[aria-label^="Cart"]{position:relative}
.shop-cart-badge{display:grid;place-items:center;position:absolute;right:0;top:0;min-width:16px;height:16px;padding:0 3px;border-radius:20px;background:#a30113;color:white;font-size:11px;font-weight:700}
.shop-cart-badge[hidden]{display:none}
#cart-panel .market-cart-thumbnail.dish-photo{background-color:#f4f4f4}
#cart-panel .dish-jollof{background-position:0 0}#cart-panel .dish-chicken{background-position:100% 0}#cart-panel .dish-egusi{background-position:0 100%}#cart-panel .dish-fried{background-position:100% 100%}
#cart-action-note{color:#444;background:#f7f7f7;padding:10px 12px;border-radius:8px;font-size:14px;margin:0 0 12px}
#cart-action-note[hidden]{display:none}
