/* Index cart only: native dialog and existing cart controls remain intact. */
.store-panel .market-cart-styled { inset:12px 12px 12px auto; margin:0; width:min(520px,calc(100% - 24px)); height:calc(100vh - 24px); height:calc(100dvh - 24px); max-height:none; padding:0; border:1px solid #dfe7ed; border-radius:24px; background:#fff; color:#19344b; overflow:hidden; box-shadow:-20px 0 80px #172e4626; }
.store-panel .market-cart-styled[open] { display:flex; flex-direction:column; }
.store-panel .market-cart-styled::backdrop { background:#10243780; backdrop-filter:blur(4px); }
.market-cart-styled .cart-heading { flex-shrink:0; align-items:flex-start; padding:26px; margin:0; border-bottom:1px solid #dee7ed; background:#edf3f5; }
.market-cart-styled .cart-heading-copy { min-width:0; }
.market-cart-styled .panel-eyebrow { color:#536e83; font-size:10px; letter-spacing:1.3px; margin:0 0 10px; }
.market-cart-styled .panel-eyebrow i { margin-right:6px; }
.store-panel .market-cart-styled .cart-heading h2 { font-size:37px; letter-spacing:-1.2px; color:#19344b; line-height:1.15; }
.market-cart-styled .cart-heading h2 span { color:#7a9b54; }
.market-cart-styled .cart-caption { margin:10px 0 0; color:#536e83; font-size:12px; line-height:1.6; }
.store-panel .market-cart-styled .cart-close { width:44px; height:44px; flex-shrink:0; border:1px solid #d6e1e8; border-radius:13px; background:#fff; color:#19344b; font-size:27px; line-height:1; }
.market-cart-styled .cart-close:hover { background:#e1ebf1; }
.market-cart-styled #market-cart-items { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:0 26px; }
.store-panel .market-cart-styled .cart-item { position:relative; padding:22px 0 22px 58px; border-bottom:1px solid #e5ecf1; }
.market-cart-styled .cart-item::before { content:'\25A6'; position:absolute; top:22px; left:0; display:grid; place-items:center; width:42px; height:48px; border:1px solid #e0e8ee; border-radius:11px; background:#f1f5f8; color:#5e7b91; font-size:25px; }
.store-panel .market-cart-styled .cart-item-title { display:block; color:#1d3c54; font-size:15px; line-height:1.5; }
.store-panel .market-cart-styled .cart-item-price { color:#597286; margin:6px 0 14px; font-size:11px; }
.store-panel .market-cart-styled .cart-item-controls { gap:8px; }
.market-cart-styled .cart-quantity-label { color:#597286; font-size:11px; }
.store-panel .market-cart-styled .cart-quantity { width:66px; min-height:44px; font-size:16px; border-color:#d4e0e9; border-radius:9px; padding:8px; color:#19344b; }
.store-panel .market-cart-styled .cart-subtotal { color:#19344b; font-size:14px; white-space:nowrap; }
.store-panel .market-cart-styled .cart-remove { min-height:44px; color:#a53b43; padding:8px; font-size:11px; }
.store-panel .market-cart-styled .cart-checkout { display:inline-flex; width:auto; border:0; background:transparent; color:#365c78; padding:6px 0; min-height:34px; margin-top:10px; font-size:11px; box-shadow:none; }
.market-cart-styled .cart-checkout:hover { text-decoration:underline; }
.market-cart-styled .cart-drawer-footer { flex:0 0 auto; padding:20px 26px max(20px,env(safe-area-inset-bottom)); border-top:1px solid #dce6ee; background:#f8fafb; box-shadow:0 -8px 24px #19344b04; }
.store-panel .market-cart-styled .cart-summary { margin:0; align-items:center; color:#19344b; }
.market-cart-styled .cart-summary span { display:block; font-weight:650; font-size:13px; }
.market-cart-styled .cart-summary small { display:block; color:#60798d; font-size:10px; margin-top:4px; }
.store-panel .market-cart-styled .cart-summary strong { color:#19344b; font-size:26px; letter-spacing:-.6px; }
.market-cart-styled .cart-terms { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.market-cart-styled .cart-terms span { display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border:1px solid #dae5d3; border-radius:7px; background:#f0f5e9; color:#4a6442; font-size:10px; }
.store-panel .market-cart-styled .cart-note { font-size:10px; color:#5d7589; line-height:1.6; margin:12px 0 16px; }
.market-cart-styled .cart-feedback { padding:10px; background:#eaf0f5; border-radius:8px; color:#30556f; font-size:11px; line-height:1.5; margin:0 0 12px; }
.store-panel .market-cart-styled .cart-review-link { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:13px 16px; background:#19344b; border-color:#19344b; border-radius:12px; color:#fff; font-size:12px; }
.store-panel .market-cart-styled .cart-review-link:hover { background:#2a4c66; }
.market-cart-styled .cart-review-link[aria-disabled="true"] { opacity:.65; pointer-events:none; }
.market-cart-styled .cart-footer-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; }
.store-panel .market-cart-styled #market-cart-continue { min-height:44px; background:transparent; border:0; color:#405f77; font-size:11px; padding:8px 0; }
.store-panel .market-cart-styled .cart-empty { padding:52px 14px; color:#60798d; font-size:14px; line-height:1.8; }
.market-cart-styled .cart-empty::before { content:'\2726'; display:block; font-size:52px; color:#8eaa6f; margin-bottom:12px; }
.market-cart-styled a:focus-visible,.market-cart-styled button:focus-visible,.market-cart-styled input:focus-visible { outline:3px solid #83a8c3; outline-offset:3px; }
@media(max-width:575px) {
 .store-panel .market-cart-styled { inset:auto 0 0; width:100%; height:92vh; height:92dvh; margin:0; border-radius:22px 22px 0 0; border-bottom:0; }
 .market-cart-styled .cart-heading { padding:20px; }
 .store-panel .market-cart-styled .cart-heading h2 { font-size:31px; }
 .market-cart-styled #market-cart-items { padding:0 20px; }
 .market-cart-styled .cart-drawer-footer { padding:16px 20px max(12px,env(safe-area-inset-bottom)); }
 .store-panel .market-cart-styled .cart-item { padding-left:48px; }
 .market-cart-styled .cart-item::before { width:36px; height:42px; }
 .store-panel .market-cart-styled .cart-subtotal { font-size:12px; }
 .store-panel .market-cart-styled .cart-summary strong { font-size:23px; }
}
@media(max-height:600px) { .store-panel .market-cart-styled { overflow-y:auto; } .market-cart-styled #market-cart-items { flex:0 0 auto; overflow:visible; } }
