/* Cart-only phone layout: retain existing fields, IDs and JS handlers. */
@media (max-width: 575.98px) {
 .customer-cart-page > .d-flex { align-items: flex-start !important; gap: .6rem; margin-bottom: .85rem !important; }
 .customer-cart-page h1.h3 { font-size: 1.25rem; line-height: 1.35; }
 .customer-cart-page > .d-flex > a.btn { min-height: 40px; display: inline-flex; align-items: center; }
 .customer-cart-page .table-responsive { overflow: visible; }
 .customer-cart-page table, .customer-cart-page tbody { display: block; width: 100%; }
 .customer-cart-page thead { display: none; }
 .customer-cart-page tbody tr { display: grid; grid-template-columns: 136px 44px minmax(0,1fr); gap: .45rem .5rem; padding: .9rem; border-bottom: 1px solid var(--pnl-border); align-items: start; }
 .customer-cart-page tbody td { display: block; padding: 0 !important; border: 0; min-width: 0; text-align: left !important; overflow-wrap: anywhere; }
 .customer-cart-page tbody td:first-child { grid-column: 1 / 4; grid-row: 1; }
 .customer-cart-page tbody td:first-child .fw-bold { font-size: .95rem; line-height: 1.25; }
 .customer-cart-page tbody td:first-child .text-muted.small { font-size: .74rem; }
 .customer-cart-page tbody td:first-child .text-success.small { font-size: .75rem; line-height: 1.35; }
 .customer-cart-page tbody td:nth-child(2) { grid-column: 1 / 2; grid-row: 3; width: 136px; }
 .customer-cart-page tbody td:nth-child(3) { grid-column: 1 / 3; grid-row: 2; font-size: .8rem; color: var(--pnl-text-muted); }
 .customer-cart-page tbody td:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 4; align-self: start; justify-self: end; text-align: right !important; max-width: 130px; }
 .customer-cart-page tbody td:nth-child(5) { grid-column: 2 / 3; grid-row: 3; justify-self: start; align-self: start; }
 .customer-cart-page tbody td:nth-child(2)::before { content: none; }
 .customer-cart-page tbody td:nth-child(3)::before { content: 'Harga Satuan'; }
 .customer-cart-page tbody td:nth-child(4)::before { content: 'Subtotal'; }
 .customer-cart-page tbody td:nth-child(3)::before,
 .customer-cart-page tbody td:nth-child(4)::before { display: block; font-size: .72rem; font-weight: 400; color: var(--pnl-text-muted); margin-bottom: .2rem; }
 .customer-cart-page tbody td:nth-child(5) a::after { content: none; }
 .customer-cart-page tbody td:nth-child(5) a { width: 44px; height: 44px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
 .customer-cart-page .input-group { flex-wrap: nowrap; width: 136px; max-width: 136px; }
 .customer-cart-page .input-group .btn { flex: 0 0 38px; padding-left: 0; padding-right: 0; }
 .customer-cart-page .input-group .form-control { min-width: 0; width: 60px; padding-left: .15rem; padding-right: .15rem; font-size: .95rem; }
 .customer-cart-page .btn, .customer-cart-page .input-group .form-control { min-height: 44px; }
 .customer-cart-page .card-footer { flex-direction: column; align-items: flex-start !important; gap: .6rem; padding: .85rem !important; }
 .customer-cart-page .card-footer .btn { min-height: 42px; }
 .customer-cart-page .card-footer .text-muted { font-size: .78rem; line-height: 1.35; }
 .customer-cart-page .col-lg-4 .card-body { padding: 1rem !important; }
 .customer-cart-page .col-lg-4 .card-body > .d-flex { flex-wrap: wrap; gap: .375rem .75rem; }
 .customer-cart-page .col-lg-4 .badge { white-space: normal; line-height: 1.4; }
 .customer-cart-page #summaryGrandTotal { font-size: 1.25rem !important; overflow-wrap: anywhere; }
 .customer-cart-page .col-lg-4 .fs-5 { font-size: 1rem !important; }
}
