/* WebApp-V.1.0.1 · ui/03_Cart — UI-04: প্রোটোটাইপ "05 Cart"-এর হুবহু (হেডার নেই) */
.cart { padding-bottom: 170px; }
.ctop { display: flex; align-items: center; gap: 12px; padding: 14px 24px 12px; border-bottom: 2px solid var(--color-divider); background: var(--color-bg); }
.ctop-back { flex: none; width: 44px; height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-text); color: var(--color-text); }
.ctop-t { flex: 1; min-width: 0; margin: 0; font-family: var(--font-heading); font-size: 20px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.ctop-s { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-neutral-700); white-space: nowrap; }
.cart .wrap { padding: 16px 24px 0; }
#lines { display: flex; flex-direction: column; gap: 14px; }
.line { display: flex; gap: 14px; padding: 14px; border: 2px solid var(--color-divider); background: var(--color-surface); }
.line-img { flex: none; width: 72px; height: 72px; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.line-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.line-nc { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line-n { font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 1.2; }
.line-c { font-size: 12.5px; line-height: 1.4; color: var(--color-neutral-700); text-wrap: pretty; }
.line-p { flex: none; font-size: 16px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-act { display: flex; align-items: center; gap: 10px; }
.qty { flex: none; display: flex; }
.qty button, .qty span { width: 40px; height: 40px; box-sizing: border-box; border: 2px solid var(--color-divider); background: var(--color-bg); color: var(--color-text); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; padding: 0; }
.qty button { font-size: 18px; cursor: pointer; }
.qty span { border-left: 0; border-right: 0; }
.line-rm { margin-left: auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--color-neutral-700); cursor: pointer; }
.line-rm:active { color: var(--color-accent-700); }
#rest { padding-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.cadd { display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px dashed var(--color-divider); font-size: 14px; font-weight: 600; color: var(--color-accent-700); min-height: 44px; box-sizing: border-box; }
.cadd span:first-child { font-size: 17px; line-height: 1; }
.note-l { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-neutral-700); }
.sums { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 2px solid var(--color-divider); }
.sum { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--color-neutral-700); font-variant-numeric: tabular-nums; }
.sum span:last-child { font-weight: 600; }
.empty { padding: 28px 0; border-top: 2px solid var(--color-divider); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.empty b { font-size: 22px; font-weight: 800; }
.cbar { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 40; padding: 12px 24px; display: flex; align-items: center; gap: 16px; background: var(--color-bg); border-top: 2px solid var(--color-text); }
.cbar-t { flex: none; display: flex; flex-direction: column; gap: 2px; }
.cbar-l { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-neutral-700); }
.cbar-v { font-family: var(--font-heading); font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.cbar-go { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border: 0; background: var(--color-accent); color: #fff; font: 800 16px var(--font-body, inherit); text-align: left; cursor: pointer; }
.cbar-go:active { filter: brightness(.92); }
@media (min-width: 1100px) { .cbar { bottom: 0; } .ctop { padding-left: 0; padding-right: 0; } }

/* UI-06: ট্যাব বার নেই — বার একদম নিচে */
body.no-tabs .cbar { bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
body.no-tabs .cart, body.no-tabs .co { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
