.sales-inner {
    width: 61%;
}

.sales-inner.cashier {
    width: 75%;
    margin-right: 29%;
}

@media (max-width: 1024px) {
    .sales-inner {
        width: 71%;
    }
}

.card-category {
    background-color: #252525;
    /*padding: 20px;*/
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    width: 20%;
    flex: 0 0 auto;
}

.category-row {
    display: flex;
    overflow: scroll;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.category-image {
    width: 100%;
    height: 95px;
}

.card-title {
    padding: 5px;
    text-align: center;
}

.product-cards {
    display: flex;
    flex-wrap: wrap; /* Добавьте это свойство */
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
    flex: 1;
}

.product-card {
    width: 23%;
    border: 1px solid #f1b724;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 150px;
}

.product-card img {
    width: 100%;
    z-index: -1;
}

.product-card p {
    z-index: 2;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.65);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.cart {
    display: flex;
    flex-direction: column;
    width: 30%;
    padding: 10px;
    background-color: #24282d;
    position: fixed;
    top: 66px;
    right: 0;
    height: 100%;
}

.cart-items h2 {
    text-align: center;
    margin-bottom: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    height: 90%;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #616265;
}

.cart-item p {
    padding: 0;
    margin: 0;
}

.input-quantity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*width: 80px;*/
    border: 1px solid #f1b724;
}

.input-quantity input {
    width: 15px;
    height: 25px;
    background-color: #24282d;
    border: none;
}

.btn-minus, .btn-plus {
    padding: 5px 15px;
    font-size: 18px;
}

.count {
    display: flex;
    gap: 5px;
    align-items: center;
}

.total {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 15;
    width: 30%;
    padding: 10px;
    text-align: right;
}

.total span {
    font-size: 28px;
    font-weight: 400;
    color: #f1b92d;
}

.total h2 {
    font-size: 24px;
    font-weight: 400;
    color: #f1b92d;
}

.btn.btn-success {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #f1b724;
    border-radius: 10px;
    width: 100%;
    margin-top: 10px;
}

.btn.btn-success:disabled {
    background-color: #5b5b5e;
}

/* CHECKOUT MODAL */

/* Стили для модального окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.modal-content {
    background-color: #25282c;
    border-radius: 10px;
    padding: 20px;
    width: 600px;
    height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 22px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    text-align: center;
}

.input-label {
    margin-top: 16px;
    display: block;
}

.input-field {
    width: 100%;
    padding: 8px;
    background-color: #4b5563;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 8px;
    height: 70px !important;
    font-size: 30px !important;
}

.change-amount {
    margin-top: 8px;
    font-weight: bold;
}

.amount {
    font-size: 24px;
    font-weight: 500;
    color: #f1b724;
}

.delete-icon {
    padding: 0 10px;
    cursor: pointer;
    color: #c60000;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.button-group .btn {
    width: auto;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    margin-top: 10px;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-green {
    background-color: #328e18;
}

.quick-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.btn-quick {
    border: 1px solid #cccccc;
    flex: 1;
    margin: 0 5px; /* Добавьте отступ между кнопками */
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-quick:hover {
    background-color: #e0e0e0;
}
