﻿.pos-cart {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 20px;
    height: calc(100vh - 40px);
    position: sticky;
    top: 20px;
    overflow-y: auto;
}

.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

    .cart-line strong {
        display: block;
        max-width: 190px;
        line-height: 1.2;
    }

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

    .cart-controls button {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        border: 1px solid #dbe3ea;
        background: white;
        cursor: pointer;
    }

.cart-right {
    text-align: right;
    min-width: 90px;
}

.remove-btn {
    margin-top: 8px;
    background: #fee2e2;
    border: 0;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

.cart-total {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 16px;
    margin-top: 20px;
    font-size: 30px;
    font-weight: 900;
}

.checkout-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.cash-btn,
.card-btn {
    height: 55px;
    border: 0;
    border-radius: 14px;
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.cash-btn {
    background: #0f766e;
}

    .cash-btn:hover {
        background: #115e59;
    }

.card-btn {
    background: #0f172a;
}

.cancel-btn {
    grid-column: 1 / -1;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #dc2626;
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.cash-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    display: grid;
    place-items: center;
    z-index: 9999;
}

.cash-popup {
    width: 420px;
    max-width: 95vw;
    background: white;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

    .cash-popup h2 {
        margin: 0 0 24px;
        font-size: 28px;
    }

.cash-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
}

    .cash-row span {
        font-size: 20px;
        color: #64748b;
    }

    .cash-row strong {
        font-size: 34px;
        font-weight: 900;
    }

.cash-popup label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #334155;
}

.cash-popup input {
    width: 100%;
    box-sizing: border-box;
    height: 65px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 32px;
    font-weight: 900;
    text-align: right;
    outline: none;
}

.cash-quick-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

    .cash-quick-buttons button {
        height: 50px;
        border: 0;
        border-radius: 12px;
        background: #f1f5f9;
        font-size: 18px;
        font-weight: 800;
        cursor: pointer;
    }

.change-value {
    color: #059669;
}

.confirm-btn,
.close-btn {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 14px;
    margin-top: 12px;
    font-weight: 900;
    cursor: pointer;
}

.confirm-btn {
    background: #0f766e;
    color: white;
}

    .confirm-btn:disabled {
        background: #cbd5e1;
        cursor: not-allowed;
    }

.close-btn {
    background: #f1f5f9;
    color: #0f172a;
}
