/* Canteen – styles moved from Canteen.aspx */
/* Cụm filter: 2 nhóm (Chọn rạp | Lọc sản phẩm) */
.canteen-online .canteen-filter-group {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.canteen-online .canteen-filter-group-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    line-height: 16px;
}
.canteen-online .canteen-filter-row {
    display: flex;
    gap: 16px;
    margin: 0;
    align-items: flex-end;
    flex-wrap: wrap;
}
.canteen-online .canteen-filter-group .canteen-filter-row {
    margin: 0;
}
.canteen-online .canteen-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 180px;
    min-width: 0;
}
.canteen-online .canteen-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin: 0;
}
.canteen-online .canteen-filter-input,
.canteen-online .canteen-filter-select {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}
.canteen-online .canteen-filter-input:focus,
.canteen-online .canteen-filter-select:focus {
    outline: none;
    border-color: #ed1c24;
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.1);
}
.canteen-online .canteen-filter-btn-wrap {
    flex: 0 0 auto;
    min-width: 0;
}
.canteen-online .canteen-btn-filter {
    height: 36px;
    min-width: 100px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    background: #231F20;
    color: #CDC197;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.canteen-online .canteen-btn-filter:hover {
    background: #231F20;
    border: 1px solid #CDC197;
}
@media (max-width: 768px) {
    .canteen-online .canteen-filter-group { padding: 12px 16px; }
    .canteen-online .canteen-filter-row { flex-direction: column; }
    .canteen-online .canteen-filter-item { flex: 0 0 auto; }
}

.canteen-online .empty-canteen-container {
    text-align: center;
    color: #777;
    font-size: 14px;
}
.canteen-online .empty-canteen-container:empty {
    padding: 0;
    height: 0;
    margin: 0;
}
.canteen-online .empty-canteen-container .empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.canteen-online .canteen-loading {
    display: none;
    padding: 40px 0;
    text-align: center;
}
.canteen-online .canteen-loading .spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #ddd;
    border-top-color: #ed1c24;
    animation: canteen-spin 0.8s linear infinite;
    margin: 0 auto;
}
@keyframes canteen-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.canteen-online .empty-canteen-block {
    width: auto;
    text-align: center;
    padding: 10px 20px;
    position: relative;
    background: #fff;
    height: 100px;
    margin: 10px 0;
}

/* Modal chi tiết sản phẩm canteen */
.canteen-online #canteenDetailOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.canteen-online #canteenDetailOverlay.show { display: flex; }
.canteen-online #canteenDetailModal {
    background: #fff;
    border-radius: 8px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.canteen-online .canteen-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.canteen-online .canteen-detail-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.canteen-online .canteen-detail-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    color: #666;
}
.canteen-online .canteen-detail-body {
    padding: 20px;
}
.canteen-online .canteen-detail-img {
    text-align: center;
    margin-bottom: 16px;
}
.canteen-online .canteen-detail-img img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}
.canteen-online .canteen-detail-price {
    font-size: 20px;
    font-weight: 600;
    color: #ed1c24;
    margin-bottom: 16px;
}
.canteen-online .canteen-detail-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.canteen-online .canteen-detail-qty label { margin: 0; min-width: 80px; }
.canteen-online .canteen-detail-qty input {
    width: 60px;
    text-align: center;
    padding: 6px;
}
.canteen-online .canteen-detail-total {
    padding: 12px 0;
    border-top: 1px solid #eee;
    font-weight: 600;
}
.canteen-online .canteen-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.canteen-online .canteen-detail-actions .btn-buy {
    flex: 1;
    padding: 12px 20px;
    background: #ed1c24;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}
.canteen-online .canteen-detail-actions .btn-buy:hover { background: #c91820; color: #fff; }
.canteen-online .canteen-detail-loading { text-align: center; padding: 40px; color: #666; }
.canteen-online .canteen-detail-desc, .canteen-online .canteen-detail-use { font-size: 13px; color: #555; margin-bottom: 12px; line-height: 1.5; }
.canteen-online .canteen-detail-use, .canteen-online .canteen-detail-advises { white-space: pre-wrap; }
.canteen-online .canteen-detail-advises { margin-bottom: 12px; }
.canteen-online .canteen-detail-advise { font-size: 12px; color: #666; margin-bottom: 6px; }
.canteen-online .canteen-detail-page #btnBuyCanteen
{
    border: 1px solid #231F20;
    background: #231F20;
    color: #CDC197;
}
.canteen-online .canteen-detail-page .slide_dBox{
    border-bottom: 2px solid #F9F6EC;
}
.canteen-online .canteen-detail-page #lblUseGuide{
    border-bottom: 2px solid #999;
}

/* Toppings tags (material-chip style) */
.canteen-online .canteen-toppings-selected {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.canteen-online .canteen-topping-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px 24px 4px 10px;
    border-radius: 16px;
    background-color: #f1f3f5;
    color: #333;
    font-size: 12px;
    margin: 3px;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.canteen-online .canteen-topping-text {
    white-space: nowrap;
}
.canteen-online .canteen-topping-qty {
    color: #d32f2f; /* red */
    font-weight: 600;
}
.canteen-online .canteen-topping-price {
    color: #2e7d32; /* green */
    font-weight: 600;
}
.canteen-online .canteen-topping-remove {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #fff url('/LCHS/Image/Icon/icon_close.gif') no-repeat center center;
    background-size: 10px 10px;
    cursor: pointer;
}
.canteen-online .canteen-topping-remove:hover {
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.2);
}

/* Các lưu ý khác - list with icon */
.canteen-online .canteen-notes-list {
    list-style: none;
    margin: 0 0 1em 0;
    padding: 0;
}
.canteen-online .canteen-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}
.canteen-online .canteen-note-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #231F20;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.canteen-online .canteen-note-text {
    flex: 1;
}
.canteen-online .canteen-note-text.use-advise-desc { color: #555; }
.canteen-online .canteen-page .product_inner{
    padding-bottom: 10px;
}

.canteen-detail-page .quantity_row {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.canteen-detail-page .quantity_row label {
    margin: 0;
    font-weight: 600;
    color: #231f20;
    min-width: 80px;
}
.canteen-detail-page #canteenDetailQty {
    min-width: 80px;
    padding: 5px 12px;
    border: 1px solid #dee2e6;
    /* border-radius: 6px; */
    font-size: 14px;
    background: #fff;
}

/* Header cart (top bar) + cart modal – used by Master / canteen.js */
.canteen-cart-wrap,
.canteen-cart-wrap a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
.canteen-cart-wrap { 
    position: relative;
    display: inline-block;
}
.canteen-cart-wrap a {
    text-decoration: none;
    transition: color 0.2s ease;
}
.canteen-cart-wrap a:hover {
    opacity: 0.8;
}
.canteen-cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    background: #ed1c24;
    color: #fff;
    border-radius: 10px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Quick menu: cart item same style as other quick menu items */
.quick_ver2 .canteen-cart-wrap {
    display: list-item;
}
.quick_ver2 .canteen-cart-wrap a {
    position: relative;
    overflow: hidden;
    width: 119px;
    height: 67px;
    font-size: 12px;
    color: #231f20;
    box-sizing: border-box;
}
.quick_ver2 .canteen-cart-wrap a:hover {
    background: #000;
    opacity: 1;
}
.quick_ver2 .canteen-cart-wrap a:hover span {
    color: #fff;
}
.quick_ver2 .canteen-cart-wrap a:hover img {
    margin-left: 0;
}
.quick_ver2 .canteen-cart-wrap a > span:first-of-type {
    display: block;
    height: 32px;
    line-height: 32px;
}
.quick_ver2 .canteen-cart-wrap .quick-cart-label {
    display: block;
    color: #231f20;
    text-align: center;
    padding-top: 2px;
}
.quick_ver2 .canteen-cart-wrap a:hover .quick-cart-label {
    color: #fff;
}
.quick_ver2 .canteen-cart-count {
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 11px;
    line-height: 18px;
    border-radius: 9px;
}
/* ========== Cart MODAL only (#canteenCartModal) – 5 columns, no checkbox/STT ========== */
#canteenCartModal,
#canteenCartModal .canteen-cart-modal-title,
#canteenCartModal .canteen-cart-modal-thead,
#canteenCartModal .canteen-cart-modal-empty,
#canteenCartModal .canteen-cart-modal-list,
#canteenCartModal .canteen-cart-modal-btn,
#canteenCartModal .canteen-cart-modal-summary,
#canteenCartModal .canteen-cart-item-name,
#canteenCartModal .canteen-cart-item-classification,
#canteenCartModal .canteen-cart-item-remove { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
#canteenCartModal.canteen-cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}
#canteenCartModal .canteen-cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
#canteenCartModal .canteen-cart-modal-box {
    position: relative;
    margin: 3% auto 0;
    max-width: 720px;
    width: 94%;
    max-height: 88vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
#canteenCartModal .canteen-cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}
#canteenCartModal .canteen-cart-modal-title { margin: 0; font-size: 18px; font-weight: 700; color: #231f20; }
#canteenCartModal .canteen-cart-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    color: #666;
}
#canteenCartModal .canteen-cart-modal-close:hover { color: #231f20; }
#canteenCartModal .canteen-cart-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 120px;
}
#canteenCartModal .canteen-cart-modal-table-wrap {
    padding: 0 20px;
}
#canteenCartModal .canteen-cart-modal-thead {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    font-weight: 600;
    color: #231f20;
    background: #f8f9fa;
    gap: 12px;
}
#canteenCartModal .canteen-cart-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
#canteenCartModal .canteen-cart-modal-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    gap: 12px;
}
#canteenCartModal .canteen-cart-col-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}
#canteenCartModal .canteen-cart-col-price,
#canteenCartModal .canteen-cart-col-qty,
#canteenCartModal .canteen-cart-col-total {
    text-align: right;
    font-weight: 500;
    width: 100px;
    flex: 0 0 100px;
}
#canteenCartModal .canteen-cart-col-total { font-weight: 700; color: #231f20; }
#canteenCartModal .canteen-cart-col-action {
    text-align: center;
    width: 70px;
    flex: 0 0 70px;
}
#canteenCartModal .canteen-cart-item-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
}
#canteenCartModal .canteen-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
#canteenCartModal .canteen-cart-item-info { flex: 1; min-width: 0; }
#canteenCartModal .canteen-cart-item-name {
    display: block;
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: #231f20;
    line-height: 1.35;
}
#canteenCartModal .canteen-cart-item-classification {
    display: block;
    font-size: 12px;
    color: #666;
}
#canteenCartModal .canteen-cart-item-remove {
    color: #cd190b;
    text-decoration: none;
    font-size: 13px;
}
#canteenCartModal .canteen-cart-item-remove:hover { text-decoration: underline; }

#canteenCartModal .canteen-cart-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}
#canteenCartModal .canteen-cart-qty-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: #f5f5f5;
    color: #231f20;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
#canteenCartModal .canteen-cart-qty-btn:hover {
    background: #eee;
}
#canteenCartModal .canteen-cart-qty-input {
    width: 36px;
    height: 28px;
    padding: 0 4px;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
#canteenCartModal .canteen-cart-qty-input::-webkit-inner-spin-button,
#canteenCartModal .canteen-cart-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#canteenCartModal .canteen-cart-qty-input[type=number] { -moz-appearance: textfield; }

#canteenCartModal .canteen-cart-modal-empty {
    color: #888;
    text-align: center;
    padding: 40px 24px;
    font-size: 14px;
}
#canteenCartModal .canteen-cart-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
#canteenCartModal .canteen-cart-modal-summary {
    font-size: 15px;
    color: #231f20;
}
#canteenCartModal .canteen-cart-modal-total-num { color: #cd190b; font-size: 18px; }
#canteenCartModal .canteen-cart-modal-footer .btn_box {
    padding: 0;
    margin: 0;
}
#canteenCartModal .canteen-cart-modal-footer .btn_box a.canteen-cart-modal-btn {
    border: 1px solid #231F20;
    background: #231F20;
    color: #CDC197;
    min-width: 140px;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
#canteenCartModal .canteen-cart-modal-footer .btn_box a.canteen-cart-modal-btn:hover {
    color: #e5e1b0;
}
#canteenCartModal .canteen-cart-modal-footer .btn_box a.canteen-cart-modal-btn.canteen-cart-modal-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========== Checkout PAGE cart (#canteenCheckoutCart) – 6 columns, STT (no checkbox) ========== */
#canteenCheckoutCart.canteen-checkout-cart,
.canteen-checkout-cart.canteen-online {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    max-width: none;
    width: 100%;
    margin: 24px 0;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.canteen-checkout-cart .canteen-checkout-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #231f20;
    padding: 16px 20px 0;
}
.canteen-checkout-cart .canteen-checkout-cinema-info {
    padding: 0 20px;
    margin: 8px 0 0 0;
}
.canteen-checkout-cart .canteen-checkout-table-wrap {
    padding: 16px 20px;
}
.canteen-checkout-cart .canteen-checkout-thead {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    font-weight: 600;
    color: #231f20;
    background: #f8f9fa;
    gap: 12px;
}
.canteen-checkout-cart .canteen-checkout-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.canteen-checkout-cart .canteen-checkout-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    gap: 12px;
}
.canteen-checkout-cart .canteen-checkout-col-index {
    width: 36px;
    min-width: 36px;
    text-align: center;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    flex-shrink: 0;
}
.canteen-checkout-cart .canteen-checkout-thead .canteen-checkout-col-index {
    color: #231f20;
}
.canteen-checkout-cart .canteen-checkout-col-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}
.canteen-checkout-cart .canteen-checkout-col-price,
.canteen-checkout-cart .canteen-checkout-col-qty,
.canteen-checkout-cart .canteen-checkout-col-total {
    text-align: right;
    font-weight: 500;
    width: 100px;
    position: relative;
    flex: 0 0 100px;
}
.canteen-checkout-cart .canteen-checkout-col-qty,
.canteen-checkout-cart .canteen-checkout-col-total {
    overflow: visible;
}
.canteen-checkout-cart .canteen-checkout-col-total { font-weight: 700; color: #231f20; }
.canteen-checkout-cart .canteen-checkout-col-action {
    text-align: center;
    width: 70px;
    flex: 0 0 70px;
}
.canteen-checkout-cart .canteen-checkout-item-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
}
.canteen-checkout-cart .canteen-checkout-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.canteen-checkout-cart .canteen-checkout-item-info { flex: 1; min-width: 0; }
.canteen-checkout-cart .canteen-checkout-item-name {
    display: block;
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: #231f20;
    line-height: 1.35;
}
.canteen-checkout-cart .canteen-checkout-item-classification {
    display: block;
    font-size: 12px;
    color: #666;
}
.canteen-checkout-cart .canteen-checkout-item-remove {
    color: #cd190b;
    text-decoration: none;
    font-size: 13px;
}
.canteen-checkout-cart .canteen-checkout-item-remove:hover { text-decoration: underline; }

.canteen-checkout-cart .canteen-checkout-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}
.canteen-checkout-cart .canteen-checkout-qty-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: #f5f5f5;
    color: #231f20;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.canteen-checkout-cart .canteen-checkout-qty-btn:hover {
    background: #eee;
}
.canteen-checkout-cart .canteen-checkout-qty-input {
    width: 36px;
    height: 28px;
    padding: 0 4px;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
.canteen-checkout-cart .canteen-checkout-qty-input::-webkit-inner-spin-button,
.canteen-checkout-cart .canteen-checkout-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.canteen-checkout-cart .canteen-checkout-qty-input[type=number] { -moz-appearance: textfield; }

.canteen-checkout-cart .canteen-checkout-empty {
    color: #888;
    text-align: center;
    padding: 40px 24px;
    font-size: 14px;
}
.canteen-checkout-cart .canteen-checkout-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.canteen-checkout-cart .canteen-checkout-summary {
    font-size: 15px;
    color: #231f20;
}
.canteen-checkout-cart .canteen-checkout-total-num { color: #cd190b; font-size: 18px; }
.canteen-checkout-cart .canteen-checkout-footer .btn_box {
    padding: 0;
    margin: 0;
}
.canteen-checkout-cart .canteen-checkout-footer .btn_box a.canteen-checkout-btn {
    border: 1px solid #231F20;
    background: #231F20;
    color: #CDC197;
    min-width: 140px;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.canteen-checkout-cart .canteen-checkout-footer .btn_box a.canteen-checkout-btn:hover {
    color: #e5e1b0;
}

/* Cart Modal Loading Overlay (modal only) */
#canteenCartModal .canteen-cart-modal-loading {
#canteenCartModal .canteen-cart-modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

#canteenCartModal .canteen-cart-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ed1c24;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

#canteenCartModal .canteen-cart-loading-text {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

/* ========== LCorn top-up page ========== */
.lcorn-online .lcorn-page {
    padding: 24px 0;
    max-width: 720px;
    margin: 0 auto;
}
.lcorn-topup-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 28px 32px;
}
.lcorn-topup-title {
    font-size: 24px;
    font-weight: 700;
    color: #231f20;
    margin: 0 0 16px 0;
}
.lcorn-info-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px dashed #4a90d9;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}
.lcorn-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #4a90d9;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: #4a90d9;
    flex-shrink: 0;
}
.lcorn-account-section {
    margin-bottom: 24px;
}
.lcorn-account-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.lcorn-account-value {
    color: #28a745;
    font-weight: 600;
}
.lcorn-account-check {
    color: #28a745;
    margin-left: 4px;
}
.lcorn-email-input {
    width: 100%;
    max-width: 360px;
    height: 40px;
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
}
.lcorn-email-input:focus {
    outline: none;
    border-color: #ed1c24;
    box-shadow: 0 0 0 2px rgba(237,28,36,0.1);
}
.lcorn-packages-section {
    margin-bottom: 24px;
}
.lcorn-packages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.lcorn-packages-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.lcorn-rate {
    font-size: 13px;
    color: #666;
}
.lcorn-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 600px) {
    .lcorn-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.lcorn-package-card {
    position: relative;
    background: #fafafa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.lcorn-package-card:hover {
    border-color: #ed1c24;
}
.lcorn-package-card.selected {
    border-color: #ed1c24;
    box-shadow: 0 0 0 2px rgba(237,28,36,0.2);
}
.lcorn-package-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    opacity: 0.7;
}
.lcorn-package-icon svg {
    width: 100%;
    height: 100%;
}
.lcorn-package-amount {
    font-size: 18px;
    font-weight: 700;
    color: #231f20;
    margin-bottom: 4px;
}
.lcorn-package-price {
    font-size: 13px;
    color: #666;
}
.lcorn-package-price .currency {
    margin-left: 2px;
}
.lcorn-actions {
    margin-top: 8px;
}
.lcorn-btn-topup {
    height: 44px;
    min-width: 160px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    background: #ed1c24;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.lcorn-btn-topup:hover:not(:disabled) {
    background: #c9181f;
}
.lcorn-btn-topup:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.lcorn-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}
.lcorn-spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #eee;
    border-top-color: #ed1c24;
    animation: canteen-spin 0.8s linear infinite;
}