﻿.product-table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 16px;
}

.product-table thead {
    background: #f8f9fb;
}

.product-table th {
    font-size: 13px;
    text-transform: uppercase;
    color: #777;
}

.product-table td {
    vertical-align: middle;
}

.product-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.product-name {
    padding: 0 12px;
    font-weight: 500;
}

.product-code {
    font-size: 12px;
}

.product-unit {
    font-size: 13px;
}

.order-quantity-control {
    display: flex;
    align-items: center;
    width: 132px;
    max-width: 100%;
    height: 36px;
    gap: 3px;
    padding: 3px;
    border: 1px solid #e5d8d2;
    border-radius: 999px;
    background: #fcf9f7;
    box-shadow: 0 2px 5px rgba(83, 45, 30, .06);
    margin-inline-start: auto;
}

.order-quantity-control:focus-within {
    border-color: #80351e;
}

.order-quantity-control .btn-qty {
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.order-quantity-control .btn-plus {
    background: #80351e;
    border-color: #80351e;
    color: #fff;
}

.order-quantity-control .btn-qty:hover:not(:disabled) {
    filter: brightness(.94);
}

.order-quantity-control .btn-qty:disabled {
    opacity: .45;
    box-shadow: none;
}

.order-quantity-control .btn-qty:focus-visible {
    outline: 2px solid #80351e;
    outline-offset: 2px;
}

.order-quantity-control .product-qty {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f172a;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    box-shadow: none;
}

.bottom-bar {
    margin-top: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 10px 16px;
}

.bottom-bar .total-label {
    font-size: 13px;
    color: #777;
}

.bottom-bar .total-value {
    font-size: 18px;
    font-weight: 700;
    color: #0d6efd;
}
#modalProductOnMobile .card:last-child {
    margin-bottom: 0 !important;
}


.fs-subtotal {
    font-size: var(--bs-font-size-base);
}

#note-area {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

#note-area::before {
    content: "";
    width: 100vh;
    height: calc(100vh - 168px);
    background: #0000000f;
    position: fixed;
    top: 0;
    left: 0;
}

/* fallback */
@media (max-width: 575.98px) {
    .fs-subtotal {
        font-size: 1rem;
    }
}

@media (min-width: 576px) {
    .fs-subtotal {
        font-size: 1.25rem;
    }
}
