/* Simplified RT Food Portal interface. Kept separate from the existing theme. */
.brand .brand-logo { display:block; width:132px; height:58px; max-width:none; object-fit:contain; border-radius:6px; flex:none; background:#0b1725; padding:4px; }
.admin-sidebar .brand .brand-logo { width:112px; height:50px; }
.footer-brand { display:flex; align-items:center; gap:11px; }
.footer-brand .footer-logo { display:block; width:88px; height:39px; border-radius:5px; object-fit:contain; background:#0b1725; padding:3px; }
.footer-brand span { color:inherit; }
.customer-body { background:#f8f9fb; }
.customer-body .site-header { background:#fff; border-bottom:1px solid #e7e9ed; }
.customer-body .brand-icon { color:#142238; }
.customer-body .brand-caption { color:#39485d; border-left-color:#cdd3db; }
.customer-body .header-admin { color:#27364a; border:1px solid #d9dee6; border-radius:7px; padding:9px 14px; }
.customer-body .header-admin:hover { background:#f5f7f9; }
.customer-body .menu-section { padding-top:35px; padding-bottom:55px; max-width:1150px; }
.customer-body .section-top { align-items:center; margin-bottom:24px; }
.customer-body .menu-heading { font-size:clamp(30px,4vw,43px); margin:0 0 6px; letter-spacing:-1.2px; line-height:1.2; }
.customer-body .section-subtitle { font-size:13px; line-height:1.65; color:#5d6775; }
.customer-body .menu-count { color:#87919f; font-size:12px; margin:7px 0 0; }
.customer-body .search-wrap { width:290px; box-shadow:none; border-radius:7px; }
.customer-body .category-bar { margin-bottom:14px; }
.customer-body .category-pill { border-radius:7px; padding:11px 14px; font-size:12px; }
.customer-body .category-pill.active { background:var(--dark); border-color:var(--dark); color:white; }
.customer-body .menu-grid { gap:12px; }
.customer-body .food-card { min-height:158px; padding:18px; border-radius:8px; box-shadow:none; }
.customer-body .food-card:hover { box-shadow:0 6px 20px #14223b0d; }
.customer-body .food-card-top { margin-bottom:10px; }
.customer-body .food-tag { background:#f1f3f5; color:#697481; text-align:left; max-width:100%; padding:5px 8px; }
.customer-body .food-card h3 { font-size:16px; min-height:0; margin-bottom:7px; }
.customer-body .food-desc { min-height:0; }
.customer-body .food-card-bottom { padding-top:12px; }
.customer-body .more-items { display:flex; flex-direction:column; align-items:center; gap:11px; margin:25px 0 5px; color:#77818c; font-size:12px; }
.customer-body .show-more-button { border:1px solid #d9dfe7; background:white; color:#17263c; padding:13px 27px; border-radius:8px; font-size:13px; font-weight:800; }
.customer-body .show-more-button:hover { border-color:#dfa348; background:#fff8e9; }
.customer-body .price { font-size:22px; }
.customer-body .add-food { background:var(--dark); padding:9px 14px; min-width:70px; }
.customer-body .add-food:hover { color:white; background:#34455c; }
.customer-body .menu-disclaimer { margin:16px 0 0; }
.customer-body footer { background:white; color:#727f8c; border-top:1px solid #e7e9ee; }
.customer-body .footer-brand { color:#253650; }
.customer-body .footer-inner>a { color:#253650; }
.customer-body .cart-fab { border-radius:9px; bottom:18px; }
.customer-body .cart-fab-arrow { font-size:12px; font-weight:800; color:#ffce80; }
.customer-body .drawer-header { align-items:center; padding:22px 24px 16px; }
.customer-body .drawer-header h2 { margin:0; font-size:25px; }
.customer-body .icon-button { width:auto; height:auto; padding:9px 13px; font-size:12px; font-weight:700; }
.customer-body .checkout-area { max-height:72vh; padding:16px 24px 24px; }
.customer-body .cart-contents { padding:12px 24px; }
.customer-body .primary-button { justify-content:center; padding:14px; font-size:14px; }
.customer-body .payment-methods { border:0; padding:0; margin:18px 0 8px; min-width:0; }
.customer-body .payment-methods legend { margin-bottom:8px; color:#5d6775; font-size:10px; font-weight:800; letter-spacing:1.2px; }
.customer-body .payment-choice { display:flex; align-items:center; gap:12px; cursor:pointer; padding:13px; background:white; border:1px solid #dde2e8; border-radius:7px; margin-bottom:9px; }
.customer-body .payment-choice:has(input:checked) { border-color:#b98531; background:#fff9ed; }
.customer-body .payment-choice input { flex:none; width:17px; height:17px; accent-color:#253650; }
.customer-body .payment-choice b,.customer-body .payment-choice small { display:block; }
.customer-body .payment-choice b { font-size:13px; margin-bottom:3px; }
.customer-body .payment-choice small { font-size:11px; color:#747f8b; line-height:1.5; }
.customer-body .payment-box { background:#f6f7f9; border-color:#e3e6ea; margin-top:12px; }
.customer-body .upload-target { border-color:#b6c0cd; }
.customer-body .success-modal .primary-button { margin-top:20px; }
.admin-body .admin-login-wrapper { grid-template-columns:1fr; }
.admin-body .admin-login-panel { background:white; border:1px solid #eaedf0; border-radius:12px; width:min(430px,calc(100% - 30px)); padding:36px; box-shadow:0 10px 45px #14223b0c; }
.admin-body .admin-login-panel>p { margin-bottom:25px; }
.admin-body .admin-login-visual { display:none; }
.admin-body .login-icon { display:none; }
.admin-body .admin-login-panel .section-eyebrow { margin-top:40px; }
.admin-body .payment-label { display:inline-block; font-size:11px; font-weight:800; border-radius:5px; padding:6px 9px; }
.admin-body .payment-label.cash { background:#edf2f8; color:#355c87; }
.admin-body .payment-label.online { background:#f1eafa; color:#8053a2; }
.admin-body .cash-payment-info { border:1px solid #dee5ef; padding:17px; border-radius:7px; background:#f0f4f9; }
.admin-body .cash-payment-info strong { display:block; font-size:13px; }
.admin-body .cash-payment-info p { margin:8px 0 0; font-size:12px; line-height:1.6; color:#637387; }
.admin-body .orders-table { min-width:950px; }
.admin-body .orders-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.admin-body .danger-outline-button {
  border:1px solid #d98a8a; color:#ab303d; background:#fff; border-radius:7px;
  padding:11px 15px; font-size:12px; font-weight:800; min-height:43px;
}
.admin-body .danger-outline-button:not(:disabled):hover { background:#fff0f1; }
.admin-body .danger-outline-button:disabled { opacity:.45; cursor:not-allowed; }
.admin-body .orders-action-feedback { margin:0 0 12px; font-size:13px; color:#256749; }
.admin-body .orders-action-feedback:empty { display:none; }
.admin-body .clear-orders-overlay {
  position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center;
  padding:20px; background:#0b1725bb;
}
.admin-body .clear-orders-modal {
  width:min(100%,445px); padding:27px; background:white; border-radius:12px;
  box-shadow:0 24px 70px #0004;
}
.admin-body .clear-orders-modal h2 { font-size:26px; margin:0 0 10px; }
.admin-body .clear-orders-modal p { font-size:13px; line-height:1.7; color:#657080; margin:0 0 19px; }
.admin-body .clear-orders-modal #clear-orders-count { color:#b42b39; }
.admin-body .clear-orders-modal label { display:block; font-size:13px; margin-bottom:9px; }
.admin-body .clear-orders-modal input { width:100%; font-size:16px; text-transform:uppercase; }
.admin-body .clear-orders-modal .clear-orders-error { color:#af303d; margin:10px 0; min-height:17px; }
.admin-body .clear-orders-modal-actions { display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
.admin-body .danger-solid-button {
  background:#ac3240; border:1px solid #ac3240; color:white;
  border-radius:7px; padding:11px 17px; font-size:13px; font-weight:800; min-height:43px;
}
.admin-body .danger-solid-button:not(:disabled):hover { background:#8e2834; }
.admin-body .danger-solid-button:disabled { background:#e8d1d4; border-color:#e8d1d4; color:#825c61; cursor:not-allowed; }
.admin-body .editor-search-bar { padding:0 24px 16px; }
.admin-body .editor-search-bar .text-field { max-width:420px; }
.admin-body .editor-paging { display:flex; gap:16px; justify-content:center; align-items:center; padding:19px; border-top:1px solid #edf0f3; font-size:12px; color:#7c8795; }

/* Checkout: one scrolling surface, no nested viewport-height restrictions. */
.customer-body.drawer-open { overflow:hidden; overscroll-behavior:none; }
.customer-body .cart-drawer {
  top:var(--drawer-top,0px);
  bottom:auto;
  height:var(--drawer-height,100dvh);
  max-height:var(--drawer-height,100dvh);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  width:min(475px,100vw);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.customer-body .drawer-header {
  position:sticky;
  top:0;
  z-index:2;
  min-height:80px;
  flex:none;
  background:#fff;
  border-bottom:1px solid #e7e9ef;
  padding:16px 22px;
  gap:12px;
}
.customer-body .drawer-header h2 { font-size:23px; line-height:1.2; margin:0; }
.customer-body .drawer-header p { font-size:12px; color:#788391; line-height:1.4; margin:5px 0 0; }
.customer-body .close-cart-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex:none;
  gap:7px;
  min-height:42px;
  min-width:88px;
  padding:10px 12px;
  border:1px solid #d9dfe7;
  border-radius:8px;
  background:#f8fafb;
  color:#29384a;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  transition:background .15s ease;
}
.customer-body .close-cart-button:hover { background:#e9edf1; }
.customer-body .close-cross { font-size:21px; line-height:.8; font-weight:400; }
.customer-body .cart-contents {
  flex:0 0 auto;
  min-height:0;
  max-height:170px;
  padding:6px 22px;
  overflow-y:auto;
}
.customer-body .cart-line { padding:11px 0; }
.customer-body .checkout-area {
  display:block;
  flex:0 0 auto;
  overflow:visible;
  max-height:none;
  padding:20px 22px 24px;
}
.customer-body .checkout-note { margin:5px 0 16px; line-height:1.5; }
.customer-body .field-label { margin:16px 0 8px; }
.customer-body .text-field,
.customer-body .search-wrap input,
.admin-body .text-field {
  font-size:16px;
  line-height:1.35;
  min-width:0;
  border-radius:8px;
}
.customer-body .text-field { padding:12px 14px; min-height:46px; }
.customer-body textarea.text-field { min-height:70px; resize:vertical; }
.customer-body .payment-methods {
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  border:none;
  padding:0;
  margin:20px 0 8px;
}
.customer-body .payment-methods legend {
  display:block;
  float:none;
  padding:0;
  margin:0 0 10px;
  font-size:11px;
  font-weight:800;
}
.customer-body .payment-options { width:100%; display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.customer-body .payment-choice,
.customer-body .payment-choice:has(input:checked) {
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:74px;
  box-sizing:border-box;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:13px;
  margin:0;
  padding:13px 15px;
  border:1px solid #dce2e9;
  border-radius:9px;
  background:white;
  cursor:pointer;
  text-align:left;
  box-shadow:none;
}
.customer-body .payment-choice.is-selected,
.customer-body .payment-choice.is-selected:has(input:checked) {
  border:2px solid #d59a32;
  padding:12px 14px;
  background:#fff9ec;
}
.customer-body .payment-choice input[type="radio"] {
  appearance:auto;
  flex:0 0 19px;
  width:19px;
  height:19px;
  min-width:19px;
  min-height:19px;
  margin:0;
  accent-color:#253650;
}
.customer-body .payment-choice-info { flex:1 1 auto; display:block; min-width:0; }
.customer-body .payment-choice-info b { display:block; margin:0 0 4px; font-size:14px; font-weight:800; color:#233248; line-height:1.2; }
.customer-body .payment-choice-info small { display:block; margin:0; font-size:12px; line-height:1.4; color:#677384; overflow-wrap:anywhere; }
.customer-body .payment-box { padding:16px; border-radius:8px; }
.customer-body .upload-target { border-radius:8px; padding:16px; }
.customer-body .upload-target b { font-size:13px; }
.customer-body .submit-message { margin:12px 0 8px; min-height:0; }
.customer-body #place-order { min-height:49px; margin-top:12px; border-radius:8px; font-size:15px; }
.customer-body .success-modal { max-height:90dvh; overflow-y:auto; }

@media(max-width:700px){
  .admin-body .orders-actions { width:100%; }
  .admin-body .orders-actions button { flex:1; }
  .admin-body .clear-orders-modal { padding:23px 19px; }
  .customer-body .brand-caption { display:none; }
  .customer-body .brand .brand-logo { width:124px; height:55px; }
  .admin-body .brand .brand-logo { width:124px; height:55px; }
  .customer-body .header-inner { padding:16px 18px; }
  .customer-body .brand-icon { font-size:31px; }
  .customer-body .brand-caption { font-size:9px; letter-spacing:1.4px; padding-left:10px; }
  .customer-body .menu-section { padding:27px 16px 50px; }
  .customer-body .section-top { margin-bottom:18px; }
  .customer-body .menu-heading { font-size:31px; }
  .customer-body .search-wrap { margin-top:17px; }
  .customer-body .menu-grid { gap:9px; }
  .customer-body .food-card { min-height:0; padding:15px; }
  .customer-body .food-card h3 { font-size:15px; }
  .customer-body .food-card-top { margin-bottom:7px; }
  .customer-body .food-card-bottom { padding-top:8px; }
  .customer-body .price { font-size:20px; }
  .customer-body .footer-inner { padding:22px 16px; }
  .admin-body .admin-login-panel { padding:26px; }
  .admin-body .admin-login-panel .section-eyebrow { margin-top:24px; }
  .customer-body .cart-drawer { width:100vw; }
  .customer-body .drawer-header { padding:15px 18px; }
  .customer-body .cart-contents { padding:4px 18px; max-height:min(23dvh,148px); }
  .customer-body .checkout-area { padding:18px 18px 25px; }
  .customer-body .cart-fab { bottom:max(12px,env(safe-area-inset-bottom,0px)); }
}
