* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #f15a24;
  --primary-dark: #d94512;
  --primary-soft: #fff0e5;
  --ink: #17191d;
  --muted: #747981;
  --muted-dark: #4f555e;
  --surface: #ffffff;
  --surface-soft: #f7f7f8;
  --cream: #fff7ec;
  --border: #e9eaec;
  --green: #16866c;
  --shadow-sm: 0 4px 16px rgba(22, 25, 30, .06);
  --shadow-md: 0 15px 40px rgba(22, 25, 30, .12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Cairo', Tahoma, Arial, sans-serif; background: #fbfbfc; color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.hidden { display: none !important; }
.checkout-gate { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); text-align: center; }
.checkout-gate p { color: var(--ink); font-weight: 800; }
.checkout-gate .btn { width: 100%; }
.signed-in-banner { margin-top: 12px; padding: 11px; border-radius: 10px; background: #e7f6ef; color: #176c43; font-weight: 800; }
.customer-auth-modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 18px; background: rgba(16,20,26,.55); }
.customer-auth-card { display: grid; gap: 12px; width: min(420px,100%); padding: 24px; border-radius: 18px; background: var(--surface); box-shadow: 0 20px 60px rgba(0,0,0,.22); text-align: center; }
.customer-auth-card > .icon-btn { justify-self: end; }
.social-auth-button { min-height: 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: #222; font: inherit; font-weight: 800; cursor: pointer; }
.facebook-auth { background: #1877f2; color: #fff; border-color: #1877f2; }
.social-auth-button.is-unconfigured { opacity: .62; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; min-width: max-content; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--primary-soft); font-size: 26px; }
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { color: var(--primary); font-size: 19px; font-weight: 800; line-height: 1.3; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.header-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-search, .menu-search { display: flex; align-items: center; gap: 8px; min-width: 220px; padding: 0 13px; background: var(--surface-soft); border: 1px solid transparent; border-radius: 999px; color: var(--muted); transition: border-color .18s, background .18s; }
.header-search:focus-within, .menu-search:focus-within { background: var(--surface); border-color: #efb0b7; }
.header-search input, .menu-search input { width: 100%; padding: 10px 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--ink); }
.header-search span, .menu-search span { font-family: Arial, sans-serif; font-size: 23px; line-height: 1; }
.cart-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 116px; padding: 10px 15px; color: #fff; background: var(--primary); border: 0; border-radius: 999px; font-weight: 800; box-shadow: 0 7px 16px rgba(214,40,57,.22); transition: transform .18s, background .18s; }
.cart-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.cart-btn:active, .btn:active { transform: scale(.98); }
.cart-btn-icon { font-size: 17px; }
.badge { min-width: 23px; height: 23px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 12px; font-weight: 800; }

/* Main and hero */
.container { width: min(1180px, 100%); margin: 0 auto; padding: 25px 20px 48px; flex: 1; }
.restaurant-hero { position: relative; min-height: 300px; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, #351218 0%, #851f2e 57%, #c32d42 100%); box-shadow: var(--shadow-md); }
.restaurant-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 84% 22%, rgba(255,255,255,.2), transparent 29%), linear-gradient(90deg, rgba(0,0,0,.08), transparent 65%); }
.hero-copy { position: relative; z-index: 1; padding: 42px 44px; align-self: center; }
.eyebrow { display: block; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.hero-copy .eyebrow { color: #ffdce0; }
.hero-copy h1 { margin: 6px 0 1px; font-size: clamp(31px, 4.5vw, 52px); line-height: 1.15; font-weight: 800; }
.hero-address { color: #ffe8ea; font-size: 14px; font-weight: 700; }
.hero-description { max-width: 420px; margin-top: 18px; color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.9; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-meta span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff5f5; background: rgba(255,255,255,.1); font-size: 11px; }
.restaurant-status { display: inline-flex; margin-top: 18px; padding: 7px 12px; border-radius: 999px; background: #147d63; color: #fff; font-size: 12px; font-weight: 800; }
.restaurant-status.closed { background: #631522; }.restaurant-status.busy { background: #ad6715; }.restaurant-status.available { background: #147d63; }
.hero-image { min-height: 300px; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(214,40,57,.32)), url('/logo.jpg') center/cover; }
.fulfillment-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: calc(100% - 48px); margin: -25px auto 22px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 17px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-sm); }
.fulfillment-intro { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.fulfillment-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; background: var(--primary-soft); }
.fulfillment-intro div { display: grid; gap: 0; }.fulfillment-intro strong { font-size: 12px; }.fulfillment-intro small { color: var(--muted); font-size: 10px; }
.fulfillment-selector { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-soft); }
.fulfillment-btn { padding: 10px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted-dark); font-size: 13px; font-weight: 800; transition: color .18s, background .18s, box-shadow .18s; }
.fulfillment-btn.active { color: #fff; background: var(--primary); box-shadow: 0 4px 10px rgba(214,40,57,.2); }
.promo-strip { display: flex; align-items: center; gap: 11px; margin: 0 0 31px; padding: 13px 17px; border: 1px solid #f5e6d6; border-radius: 15px; background: linear-gradient(90deg, #fffaf3, #fff); }
.promo-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #ffeedc; font-size: 18px; }.promo-strip div:nth-child(2) { display: grid; gap: 0; }.promo-strip strong { font-size: 13px; }.promo-strip span { color: var(--muted); font-size: 11px; }.promo-arrow { margin-inline-start: auto; color: var(--primary); font-size: 20px; }

/* Menu */
.menu-section { scroll-margin-top: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { margin-top: 2px; font-size: 28px; line-height: 1.25; font-weight: 800; }
.menu-search { width: min(300px, 100%); }
.menu-search input { font-size: 12px; }
.subsection-heading { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; }.subsection-heading h3 { font-size: 18px; }.subsection-heading span { color: var(--muted); font-size: 11px; }
.featured-section { margin-bottom: 29px; }.featured-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.featured-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }.featured-card-media { height: 112px; background: linear-gradient(135deg, #ffe7e9, #fff2dd); }.featured-card-media img { width: 100%; height: 100%; object-fit: cover; }.featured-card-copy { padding: 10px 11px 12px; }.featured-card-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.featured-card-copy span { color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 12px; font-weight: 800; }
.menu-layout { display: grid; grid-template-columns: 194px minmax(0, 1fr); gap: 25px; align-items: start; }.categories-panel { position: sticky; top: 87px; }.categories-title { margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 800; }.categories { display: flex; flex-direction: column; gap: 3px; }.cat-btn { width: 100%; padding: 10px 13px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted-dark); text-align: right; font-size: 13px; font-weight: 700; transition: background .18s, color .18s, border-color .18s; }.cat-btn:hover { color: var(--primary); background: #fff; border-color: var(--border); }.cat-btn.active { color: #fff; background: var(--primary); box-shadow: 0 6px 15px rgba(214,40,57,.18); }
.menu-results-meta { min-height: 20px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }.menu-list { display: grid; gap: 10px; }.menu-group-title { padding: 7px 2px; color: var(--ink); font-size: 18px; font-weight: 800; border-bottom: 1px solid var(--border); }.card { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 142px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }.card:hover { transform: translateY(-2px); border-color: #f0c5c9; box-shadow: var(--shadow-md); }.card-img { order: 2; min-height: 142px; background: linear-gradient(135deg, #fff0f1, #fff6e9); }.card-img img { width: 100%; height: 100%; display: block; object-fit: cover; }.card-body { order: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 17px 19px; }.card-name { width: 100%; font-size: 17px; font-weight: 800; }.card-desc { width: 100%; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.75; }.card-price { margin-top: 10px; color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 16px; font-weight: 800; }.card-footer { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }.card-footer .card-price { margin-top: 0; }.btn-add { min-width: 92px; padding: 8px 13px; border: 0; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 800; transition: background .18s, color .18s, transform .18s; }.btn-add:hover { color: #fff; background: var(--primary); }.low-stock-note { display: inline-block; margin-inline-start: 6px; color: #b66a00; font-size: 10px; font-weight: 800; }.info, .error { padding: 35px; color: var(--muted); text-align: center; }.error { color: var(--primary); }

/* General controls */
.btn { border: 0; border-radius: 10px; padding: 10px 17px; font-size: 14px; font-weight: 800; transition: transform .18s, background .18s, opacity .18s; }.btn:disabled { opacity: .55; cursor: not-allowed; }.btn-primary { width: 100%; padding: 14px; background: var(--primary); color: #fff; box-shadow: 0 8px 17px rgba(214,40,57,.2); }.btn-primary:hover:not(:disabled) { background: var(--primary-dark); } .btn-primary:disabled.subscription-restricted { opacity: 1; background: #69717c; color: #fff; box-shadow: none; cursor: not-allowed; }.btn-secondary { background: var(--ink); color: #fff; }.btn-secondary:hover { background: #30343a; }.btn-link { padding: 0; background: transparent; color: var(--primary); font-size: 12px; text-decoration: underline; }.form-msg { min-height: 21px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }.form-msg.ok { color: var(--green); }.form-msg.err { color: var(--primary); }.form-section-label { padding-top: 7px; color: var(--muted-dark); font-size: 12px; font-weight: 800; border-top: 1px solid var(--border); }.payment-section-label { margin-top: 4px; }
input, textarea, select { width: 100%; padding: 12px 13px; border: 1px solid var(--border); border-radius: 10px; outline: 0; background: var(--surface); color: var(--ink); font-size: 13px; transition: border-color .18s, box-shadow .18s; }input:focus, textarea:focus, select:focus { border-color: #e38d96; box-shadow: 0 0 0 3px rgba(214,40,57,.1); }textarea { min-height: 73px; resize: vertical; }

/* Track */
.track { margin-top: 38px; padding: 23px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }.track .section-heading { align-items: center; margin-bottom: 15px; }.track-hint { color: var(--muted); font-size: 11px; }.track-form { display: flex; gap: 9px; }.track-form input { flex: 1; min-width: 150px; }.track-result { margin-top: 14px; }.status-box, .order-card { padding: 14px; border-radius: 11px; background: var(--surface-soft); border-inline-start: 4px solid var(--green); line-height: 1.9; }.order-card p + p { margin-top: 3px; }

/* Drawer and cart */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(12, 14, 18, .56); backdrop-filter: blur(2px); }.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100; display: flex; flex-direction: column; width: min(440px, 100%); padding: 20px; overflow-y: auto; background: var(--surface); box-shadow: -12px 0 38px rgba(0,0,0,.17); animation: drawer-in .2s ease-out; }.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 18px; }.drawer-header h2 { margin-top: 1px; font-size: 22px; }.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--ink); font-size: 17px; transition: background .18s, transform .18s; }.icon-btn:hover { background: var(--primary-soft); color: var(--primary); }.cart-items { display: flex; flex-direction: column; gap: 9px; }.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }.cart-item-info { min-width: 0; }.cart-item-info > strong { display: block; font-size: 13px; }.cart-item-info small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.6; }.cart-item-info > div { margin-top: 5px; color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 11px; font-weight: 800; }.qty-controls { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }.qty-controls .icon-btn { width: 29px; height: 29px; border: 1px solid var(--border); font-size: 16px; }.qty-controls span { min-width: 18px; font-family: Manrope, Arial, sans-serif; font-weight: 800; text-align: center; }.coupon-box { margin-top: 17px; padding: 13px; border: 1px solid #f3e2d4; border-radius: 13px; background: var(--cream); }.coupon-box label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }.coupon-row { display: flex; gap: 7px; }.coupon-row input { min-width: 0; background: #fff; }.coupon-row .btn { flex: 0 0 auto; padding-inline: 13px; }.coupon-box .form-msg { margin-top: 5px; }.order-form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }.cart-order-type { padding: 11px 13px; border-radius: 11px; background: #fff4e9; color: var(--muted-dark); font-size: 12px; font-weight: 800; }.cart-order-type button { border: 0; background: none; color: var(--primary); font-size: 11px; font-weight: 800; text-decoration: underline; }.delivery-fields { display: flex; flex-direction: column; gap: 8px; } .saved-customer-address { display: grid; gap: 6px; }.saved-customer-address > label { color: var(--muted-dark); font-size: 12px; font-weight: 800; }.saved-address-empty { margin: 0; padding: 9px 11px; border: 1px dashed var(--border); border-radius: 10px; background: var(--surface-soft); color: var(--muted-dark); font-size: 11px; line-height: 1.7; text-align: start; }.saved-address-action { justify-self: start; padding: 6px 2px; font-size: 11px; }.delivery-fields select { appearance: none; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23747981' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") left 12px center/16px no-repeat; }.payment-field { display: block; }.payment-select-wrap { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 10px 42px 10px 13px; border: 1px solid #edb8bd; border-radius: 13px; background: linear-gradient(135deg, #fff, #fff8f8); }.payment-method-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 11px; background: #fff0d8; font-size: 19px; }.payment-method-copy { display: grid; gap: 2px; min-width: 0; }.payment-method-copy strong { font-size: 13px; }.payment-method-copy small { color: var(--muted); font-size: 10px; }.payment-select-wrap select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; color: transparent; cursor: pointer; appearance: none; }.payment-select-wrap select:focus { outline: 3px solid rgba(214,40,57,.18); outline-offset: 2px; box-shadow: none; }.payment-select-wrap::after { content: '⌄'; position: absolute; inset-inline-start: 15px; color: var(--muted); font-size: 20px; pointer-events: none; }.payment-select-wrap select option { color: var(--ink); }.payment-instructions { padding: 10px 12px; border: 1px solid #c9e5fb; border-radius: 11px; background: #eef7ff; color: #24506d; font-size: 11px; line-height: 1.8; white-space: pre-line; }.payment-reference-field { display: grid; gap: 6px; color: var(--muted-dark); font-size: 11px; font-weight: 800; }.payment-reference-field small { color: var(--muted); font-weight: 400; }.order-summary { margin-top: 4px; padding: 13px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-soft); }.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--muted-dark); font-size: 11px; }.summary-row strong { color: var(--ink); font-family: Manrope, Arial, sans-serif; font-size: 11px; }.summary-row.discount-row, .summary-row.discount-row strong { color: var(--green); }.summary-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding-top: 11px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 800; }.summary-total strong { color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 18px; }.checkout-btn { margin-top: 2px; }

/* Item modal */
.item-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(12,14,18,.6); backdrop-filter: blur(4px); }.item-modal-card { position: relative; display: flex; flex-direction: column; width: min(920px, 100%); max-height: min(720px, 92vh); overflow: hidden; border-radius: 20px; background: var(--surface); box-shadow: 0 25px 70px rgba(0,0,0,.28); animation: modal-in .2s ease-out; }.item-modal-close { position: absolute; inset-block-start: 13px; inset-inline-start: 13px; z-index: 3; background: rgba(255,255,255,.88); }.item-modal-layout { min-height: 0; display: grid; grid-template-columns: minmax(270px, .92fr) minmax(0, 1.08fr); direction: ltr; overflow: hidden; }.item-modal-media { position: relative; min-height: 400px; background: linear-gradient(135deg, #ffe9ea, #fff3dc); }.item-modal-media img { width: 100%; height: 100%; display: none; object-fit: cover; }.item-modal-media img[src] { display: block; }.item-modal-media span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 90px; }.item-modal-media img[src] + span { display: none; }.item-modal-content { min-width: 0; max-height: 550px; overflow-y: auto; padding: 28px 27px 25px; direction: rtl; }.modal-title-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }.modal-title-row h2 { margin-top: 2px; font-size: 23px; }.modal-price { flex: 0 0 auto; color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 17px; }.modal-description { margin: 9px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }.product-options { margin: 0 0 14px; padding: 0 0 13px; border: 0; border-bottom: 1px solid var(--border); }.product-options legend { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 7px; font-size: 14px; font-weight: 800; }.product-options legend small { padding: 3px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 800; }.product-options legend small.optional { color: var(--muted); background: var(--surface-soft); }.product-options label { display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; color: var(--muted-dark); font-size: 12px; cursor: pointer; transition: border-color .18s, background .18s; }.product-options label:hover { border-color: #f0c5c9; background: #fffafa; }.product-options label:has(input:checked) { border-color: #efb0b7; background: var(--primary-soft); color: var(--ink); font-weight: 700; }.product-options input { width: 17px; height: 17px; flex: 0 0 17px; padding: 0; accent-color: var(--primary); }.item-note-label { display: block; margin: 13px 0 7px; color: var(--muted-dark); font-size: 12px; font-weight: 800; }.item-note-label small { color: var(--muted); font-weight: 400; }.item-modal-content #itemModalNote { min-height: 75px; }.modal-action-bar { display: flex; align-items: center; gap: 13px; padding: 12px 20px; border-top: 1px solid var(--border); background: rgba(255,255,255,.98); }.modal-action-bar .form-msg { flex: 1; min-height: 0; text-align: right; }.modal-action-bar .btn { width: min(300px, 48%); }.modal-action-bar .btn::after { content: '  —  '; }.modal-action-bar .btn { font-size: 14px; }

/* Toast and footer */
.toast { position: fixed; inset-inline-start: 50%; bottom: 24px; z-index: 200; transform: translateX(-50%); padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 800; white-space: nowrap; }
.footer { margin-top: auto; padding: 35px 20px 0; background: #202124; color: #ddd; text-align: right; direction: rtl; }.footer-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }.footer-col h3, .footer-col h4 { margin-bottom: 12px; color: #fff; }.footer-col p, .footer-col a { display: block; margin: 8px 0; color: #ccc; text-decoration: none; font-size: 13px; line-height: 1.7; }.footer-col a:hover { color: #ff9eaa; }.footer-logo { width: 70px; height: 70px; margin-bottom: 10px; padding: 6px; border-radius: 14px; background: #fff; object-fit: contain; }.social { display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #2b2b2b; color: #fff !important; }.social span { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #1877f2; font-weight: 900; }.footer-bottom { margin-top: 30px; padding: 16px; border-top: 1px solid #333; color: #aaa; font-size: 13px; line-height: 1.9; text-align: center; }.footer-bottom a { color: #ff9eaa; text-decoration: none; }.footer-bottom strong { color: #fff; }

.footer-legal-notice { width: min(900px, 100%); margin: 20px auto 0; color: #ccc; font-size: 14px; line-height: 1.8; text-align: center; }
.footer-legal-notice[hidden] { display: none !important; }

@keyframes drawer-in { from { transform: translateX(20px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
@keyframes modal-in { from { transform: translateY(8px) scale(.98); opacity: .6; } to { transform: translateY(0) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .header-search { display: none; }
  .featured-menu { grid-template-columns: repeat(4, minmax(140px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .featured-card { min-width: 140px; }
  .menu-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
  .item-modal-layout { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
}

@media (max-width: 650px) {
  .header-inner { padding: 10px 13px; }.brand-mark { width: 39px; height: 39px; font-size: 22px; }.brand-copy strong { font-size: 16px; }.brand-copy small { display: none; }.cart-btn { min-width: 93px; padding: 8px 11px; font-size: 12px; }.cart-btn-icon { font-size: 14px; }.badge { min-width: 20px; height: 20px; font-size: 10px; }
  .container { padding: 13px 12px 35px; }.restaurant-hero { min-height: 290px; grid-template-columns: 1fr; }.hero-image { position: absolute; inset: 0; opacity: .29; }.hero-copy { padding: 34px 25px; }.hero-copy h1 { font-size: 35px; }.hero-description { max-width: 330px; }.fulfillment-bar { width: 100%; margin: -18px 0 18px; padding: 8px; display: block; }.fulfillment-intro { display: none; }.fulfillment-selector { width: 100%; }.fulfillment-btn { flex: 1; padding: 10px 6px; font-size: 11px; }.promo-strip { margin-bottom: 24px; padding: 11px 12px; }.promo-strip strong { font-size: 12px; }.promo-strip span { font-size: 10px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 11px; }.section-heading h2 { font-size: 24px; }.menu-search { width: 100%; }.featured-menu { display: flex; overflow-x: auto; gap: 9px; margin-inline: -2px; }.featured-card { flex: 0 0 150px; }.featured-card-media { height: 95px; }.menu-layout { display: block; } .categories-panel { position: sticky; top: var(--customer-sticky-header-height, 60px); z-index: 20; margin: 0 -12px 15px; padding: 9px 12px 7px; background: rgba(251,251,252,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }.categories-title { display: none; }.categories { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 2px; scrollbar-width: none; }.categories::-webkit-scrollbar { display: none; }.cat-btn { width: auto; flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--border); white-space: nowrap; font-size: 11px; }.cat-btn.active { border-color: var(--primary); }.menu-results-meta { margin-bottom: 7px; }.card { grid-template-columns: minmax(0, 1fr) 105px; min-height: 125px; }.card-img { grid-column: 2; min-height: 125px; }.card-body { grid-column: 1; padding: 12px 13px; }.card-name { font-size: 14px; }.card-desc { margin-top: 3px; font-size: 10px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.card-footer { margin-top: 8px; }.card-price { font-size: 13px; }.btn-add { min-width: 70px; padding: 7px 9px; font-size: 10px; }
  .track { margin-top: 27px; padding: 16px; }.track .section-heading { flex-direction: row; align-items: end; }.track-hint { display: none; }.track-form { flex-direction: column; }.track-form .btn { width: 100%; }.footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }.footer { text-align: center; }.footer-logo { margin-inline: auto; }
  .drawer { width: 100%; padding: 15px 13px 20px; }.drawer-header { margin-bottom: 13px; }.drawer-header h2 { font-size: 20px; }.item-modal { padding: 0; align-items: end; }.item-modal-card { width: 100%; height: min(94vh, 850px); height: min(94dvh, 850px); max-height: 94vh; max-height: 94dvh; border-radius: 20px 20px 0 0; }.item-modal-layout { display: block; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }.item-modal-media { min-height: 155px; max-height: 190px; }.item-modal-media img { height: 190px; }.item-modal-media span { font-size: 62px; }.item-modal-content { max-height: none; overflow: visible; padding: 19px 16px 17px; }.modal-title-row h2 { font-size: 20px; }.modal-price { font-size: 14px; }.modal-description { margin-bottom: 13px; }.product-options { margin-bottom: 11px; padding-bottom: 10px; }.product-options label { min-height: 36px; padding: 7px 8px; }.modal-action-bar { position: relative; z-index: 4; flex: 0 0 auto; min-height: 64px; padding: 10px 13px calc(10px + env(safe-area-inset-bottom)); }.modal-action-bar .form-msg { display: none; }.modal-action-bar .form-msg.err { display: block; position: absolute; inset-inline: 12px; bottom: calc(100% + 2px); padding: 9px 12px; border: 1px solid #efb0b7; border-radius: 10px; background: var(--surface); box-shadow: 0 6px 18px rgba(0,0,0,.12); text-align: center; }.modal-action-bar .btn { width: 100%; }.toast { bottom: 15px; max-width: calc(100% - 30px); overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
}


/* Quick quantity control inside simple menu cards */
.quick-qty { padding: 3px 5px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.quick-qty .icon-btn { width: 25px; height: 25px; background: #fff; font-size: 14px; }
.quick-qty .icon-btn:hover { background: var(--primary); color: #fff; }
.quick-qty .icon-btn[data-delta="1"], .quick-qty .icon-btn[data-delta="1"]:hover, .quick-qty .icon-btn[data-delta="1"]:focus-visible { background: var(--primary); color: #fff; -webkit-appearance: none; appearance: none; }
.modal-action-bar .btn::after { content: none; }


.card-img, .featured-card-media { display: grid; place-items: center; font-size: 50px; }
.featured-card-media { font-size: 38px; }


.mobile-cart-bar { display: none; }

@media (max-width: 650px) {
  .container { padding-bottom: 98px; }
  .mobile-cart-bar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 80; display: flex; align-items: center; gap: 10px; width: calc(100% - 24px); min-height: 62px; padding: 9px 11px; border: 0; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(23,25,29,.28); text-align: right; }
  .mobile-cart-bar:active { transform: scale(.99); }
  .mobile-cart-icon { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 37px; border-radius: 12px; background: var(--primary); font-size: 18px; }
  .mobile-cart-copy { display: grid; gap: 1px; min-width: 0; flex: 1; }
  .mobile-cart-copy strong { font-size: 12px; }.mobile-cart-copy small { color: rgba(255,255,255,.7); font-size: 9px; }
  .mobile-cart-total { display: flex; align-items: center; gap: 3px; color: #fff; font-family: Manrope, Arial, sans-serif; font-size: 11px; font-weight: 800; white-space: nowrap; }.mobile-cart-total b { margin-inline-start: 4px; color: #ffb1b9; font-family: Arial, sans-serif; font-size: 16px; }
}


.image-fallback-icon { display: none; place-items: center; width: 100%; height: 100%; font-size: inherit; }
.menu-results-meta { min-height: 20px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }.menu-list { display: grid; gap: 10px; }.menu-group-title { padding: 7px 2px; color: var(--ink); font-size: 18px; font-weight: 800; border-bottom: 1px solid var(--border); }.card { display: grid; grid-template-columns: minmax(0, 1fr) 148px; min-height: 142px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }.card:hover { transform: translateY(-2px); border-color: #f0c5c9; box-shadow: var(--shadow-md); }.card-img { grid-column: 2; min-height: 142px; background: linear-gradient(135deg, #fff0f1, #fff6e9); }.card-img img { width: 100%; height: 100%; display: block; object-fit: cover; }.card-body { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 17px 19px; }.card-name { width: 100%; font-size: 17px; font-weight: 800; }.card-desc { width: 100%; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.75; }.card-price { margin-top: 10px; color: var(--primary); font-family: Manrope, Arial, sans-serif; font-size: 16px; font-weight: 800; }.card-footer { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }.card-footer .card-price { margin-top: 0; }.btn-add { min-width: 92px; padding: 8px 13px; border: 0; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 800; transition: background .18s, color .18s, transform .18s; }.btn-add:hover { color: #fff; background: var(--primary); }.low-stock-note { display: inline-block; margin-inline-start: 6px; color: #b66a00; font-size: 10px; font-weight: 800; }.info, .error { padding: 35px; color: var(--muted); text-align: center; }.error { color: var(--primary); }


.card { cursor: pointer; }
.card:focus-visible { outline: 3px solid rgba(214,40,57,.3); outline-offset: 3px; }
.card .btn, .card .icon-btn { cursor: pointer; }


/* Show the full food image instead of cropping it inside cards and the item modal. */
.card-img img { object-fit: contain; padding: 8px; background: #fff; }
.item-modal-media { background: #fff; }
.item-modal-media img { object-fit: contain; padding: 14px; }


.language-picker { display: inline-flex; align-items: center; gap: 5px; min-width: 106px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--muted-dark); }
.language-picker span { font-size: 14px; }.language-picker select { width: auto; min-width: 0; padding: 2px 0; border: 0; background: transparent; box-shadow: none; color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; }
html[dir="ltr"] .card-body { text-align: left; align-items: flex-start; }
html[dir="ltr"] .card-footer { flex-direction: row; }
html[dir="ltr"] .track-form, html[dir="ltr"] .footer { direction: ltr; text-align: left; }
@media (max-width: 650px) { .language-picker { min-width: 82px; padding: 5px 6px; }.language-picker span { display: none; }.language-picker select { font-size: 10px; } }


/* Featured item title stays in a dedicated row below the image. */
.featured-card { display: flex; flex-direction: column; text-align: start; }
.featured-card-media { width: 100%; height: 150px; flex: 0 0 150px; }
.featured-card-media img { object-fit: contain; padding: 8px; background: #fff; }
.featured-card-copy { width: 100%; min-height: 67px; display: grid; align-content: center; gap: 4px; background: #fff; }
.featured-card-copy strong { position: static; color: var(--ink); }
.featured-card-copy span { display: block; }
.cart-order-type { cursor: pointer; }
.cart-order-type[aria-expanded="true"] { border: 1px solid #efb0b7; background: #fff0f2; }
.cart-order-type-chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: -4px; padding: 7px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); }
.cart-order-type-chooser button { padding: 9px 7px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--muted-dark); font-size: 11px; font-weight: 800; }
.cart-order-type-chooser button.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
@media (max-width: 650px) { .featured-card-media { height: 105px; flex-basis: 105px; }.featured-card-copy { min-height: 62px; padding: 9px 10px 10px; }.cart-order-type-chooser button { font-size: 10px; } }


.order-timing-field, .schedule-fields { display: grid; gap: 6px; margin: 10px 0; }
.order-timing-field span, .schedule-fields strong { font-size: 13px; font-weight: 800; }
.schedule-fields { padding: 12px; border: 1px dashed var(--primary); border-radius: 12px; background: #fff8f8; }
.schedule-fields small { color: var(--muted); font-size: 11px; }
.change-schedule-button { width: 100%; min-height: 44px; border: 1px solid var(--primary); border-radius: 10px; background: #fff; color: var(--primary-dark); font: inherit; font-weight: 800; cursor: pointer; }
.change-schedule-button:disabled { opacity: .5; cursor: not-allowed; }


.delivery-timing-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -8px auto 22px; padding: 13px 16px; border: 1px solid #f0d5d8; border-radius: 16px; background: linear-gradient(110deg, #fff8f8, #fff); box-shadow: var(--shadow-sm); }
.delivery-timing-copy { display: grid; gap: 2px; min-width: 190px; }
.delivery-timing-copy strong { font-size: 13px; }
.delivery-timing-copy small { color: var(--muted); font-size: 10px; }
.delivery-timing-controls { display: grid; gap: 8px; flex: 1; }
.timing-choice-group { display: flex; gap: 6px; }
.timing-choice { flex: 1; padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--muted-dark); font-size: 12px; font-weight: 800; }
.timing-choice.active { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 5px 12px rgba(214,40,57,.18); }
.home-schedule-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.order-timing-field select { margin-top: 3px; }
@media (max-width: 650px) { .delivery-timing-panel { display: grid; gap: 10px; margin: -7px 0 18px; padding: 11px; }.delivery-timing-copy { min-width: 0; }.timing-choice { padding: 9px 5px; font-size: 10px; }.home-schedule-fields { grid-template-columns: 1fr; } }


.schedule-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.58); }
.schedule-modal-card { position: relative; width: min(720px, 100%); max-height: min(850px, calc(100vh - 30px)); overflow: hidden auto; border-radius: 22px; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.3); }
.schedule-modal-close { position: absolute; inset-block-start: 18px; inset-inline-start: 20px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #111; font-size: 29px; line-height: 1; cursor: pointer; }
.schedule-modal-head { padding: 32px 28px 16px; }.schedule-modal-head h2 { margin: 5px 0; font-size: 28px; }.schedule-modal-head p { color: var(--muted); font-size: 13px; }
.schedule-date-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 28px 18px; border-bottom: 1px solid #eee; }
.schedule-date-tab { min-height: 78px; display: grid; align-content: center; gap: 3px; border: 1px solid #eee; border-radius: 14px; background: #fff; color: #111; cursor: pointer; font: inherit; }.schedule-date-tab strong { font-size: 15px; }.schedule-date-tab span { font-size: 13px; }.schedule-date-tab.active { border: 2px solid #111; }
.schedule-slots-list { padding: 5px 28px 95px; }.schedule-slot-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #eee; color: #111; font-size: 17px; font-weight: 700; cursor: pointer; }.schedule-slot-row input { position: absolute; opacity: 0; pointer-events: none; }.schedule-slot-row i { width: 23px; height: 23px; flex: 0 0 23px; border: 3px solid #777; border-radius: 50%; }.schedule-slot-row input:checked + i { border: 7px solid #111; }.schedule-empty { padding: 30px 0; text-align: center; color: var(--muted); }
.schedule-modal-actions { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 16px 28px 20px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 20px rgba(0,0,0,.06); }.schedule-modal-actions .btn { min-height: 52px; }.schedule-cancel-btn { border: 0; border-radius: 10px; background: #f3f3f3; color: #111; font: inherit; font-weight: 800; }
body.schedule-modal-open { overflow: hidden; }
@media (max-width: 650px) { .schedule-modal { align-items: end; padding: 0; }.schedule-modal-card { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; }.schedule-modal-head { padding: 28px 18px 14px; }.schedule-modal-head h2 { font-size: 23px; }.schedule-date-tabs { gap: 6px; padding-inline: 18px; overflow-x: auto; grid-template-columns: repeat(4, minmax(112px, 1fr)); }.schedule-date-tab { min-height: 70px; }.schedule-slots-list { padding-inline: 18px; }.schedule-slot-row { min-height: 62px; font-size: 15px; }.schedule-modal-actions { padding-inline: 18px; } }

.my-orders-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.my-orders-actions .btn { width: auto; padding: 8px 11px; font-size: 11px; }
.btn-gray { background: #eef0f2; color: var(--muted-dark); }
.btn-gray:hover { background: #e2e5e8; }
@media (max-width: 650px) { .my-orders-actions { width: 100%; }.my-orders-actions .btn { flex: 1; } }

/* Final mobile customer-site fixes. */
.my-orders-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.my-orders-date-filter { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--muted-dark); font-size: 11px; font-weight: 800; }
.my-orders-date-filter select { width: auto; min-width: 116px; padding: 4px 20px 4px 5px; border: 0; background: transparent; box-shadow: none; font-size: 11px; font-weight: 800; }
.hero-image { background-position: center; background-size: cover; }
@media (max-width: 650px) {
  .hero-image { opacity: .72; background-position: center; background-size: cover; }
  .my-orders-actions { align-items: stretch; }
  .my-orders-date-filter { flex: 1 1 100%; justify-content: space-between; }
  .my-orders-date-filter select { flex: 1; }
  .my-orders-actions .btn { flex: 1; min-width: 0; padding-inline: 8px; font-size: 11px; }
  .mobile-cart-bar { transition: opacity .16s ease, transform .16s ease; }
}

/* Phase fixes: grouped menu, clear switches, mobile hero, and safe cart bar. */
.customer-menu-group { scroll-margin-top: 92px; margin-bottom: 18px; }
.customer-menu-group-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 13px; background: #fff; color: var(--ink); text-align: start; font: inherit; box-shadow: var(--shadow-sm); }
.customer-menu-group-head strong { font-size: 18px; }
.customer-menu-group-head span { color: var(--muted); font-size: 11px; }
.customer-menu-group-head b { margin-inline-start: 5px; color: var(--primary); font-size: 16px; }
.customer-menu-group-items { display: grid; gap: 10px; margin-top: 9px; }
.fulfillment-selector, .timing-choice-group { border: 1px solid #e6dadd; box-shadow: inset 0 0 0 2px #fff; }
.fulfillment-btn, .timing-choice { min-height: 43px; border: 2px solid transparent; }
.fulfillment-btn.active, .timing-choice.active { border-color: var(--primary); font-weight: 900; }
@media (max-width: 650px) {
  .restaurant-hero::after { background: linear-gradient(90deg, rgba(53,18,24,.72), rgba(133,31,46,.34)); }
  .hero-image { opacity: 1; background-position: center; background-size: cover; }
  .customer-menu-group { scroll-margin-top: 130px; }
  .customer-menu-group-head strong { font-size: 15px; }
  .mobile-cart-bar { bottom: max(12px, env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 22px; }
}

/* My orders drawer: compact access from the header instead of a long section above the menu. */
.my-orders-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 39px; padding: 8px 12px; border: 1px solid #efb0b7; border-radius: 11px; background: #fff; color: var(--primary); font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.my-orders-btn:hover { background: #fff1f3; }
.my-orders-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(22,24,29,.42); }
.my-orders-drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100; width: min(520px, 94vw); max-height: 100vh; overflow-y: auto; margin: 0; padding: 24px 20px 28px; border-radius: 0; background: #fff; box-shadow: -10px 0 35px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .18s ease; }
html[dir="ltr"] .my-orders-drawer { inset-inline-start: 0; inset-inline-end: auto; transform: translateX(-105%); }
html[dir="ltr"] .my-orders-drawer.is-open { transform: translateX(0); }
.my-orders-drawer.is-open { transform: translateX(0); }
.my-orders-drawer .section-heading { padding-inline-end: 40px; }
.my-orders-close { position: absolute; inset-block-start: 17px; inset-inline-end: 17px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f2f3f5; color: var(--ink); font-size: 23px; cursor: pointer; }
.my-orders-drawer .track-divider { margin-top: 22px; }
body.my-orders-open { overflow: hidden; }
@media (max-width: 650px) {
  .my-orders-btn { min-width: 70px; padding-inline: 8px; font-size: 10px; }
  .my-orders-btn span { display: inline; }
  .my-orders-drawer { width: 100%; padding: 18px 13px 24px; }
}

/* Prevent the mobile viewport from being pushed sideways by wide flex children. */
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
.header-inner, .container, .restaurant-hero, .fulfillment-bar, .delivery-timing-panel, .promo-strip { max-width: 100%; min-width: 0; }
.header-inner, .header-tools, .brand { min-width: 0; }
.header-tools { flex-wrap: nowrap; }
.fulfillment-selector, .timing-choice-group, .delivery-timing-controls { min-width: 0; max-width: 100%; }
@media (max-width: 650px) {
  .header-tools { gap: 5px; }
  .brand-copy { min-width: 0; max-width: 115px; }
  .brand-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .my-orders-btn { flex: 0 0 auto; }
  .cart-btn { flex: 0 0 auto; }
  .delivery-timing-panel { display: block; }
  .delivery-timing-copy { min-width: 0; margin-bottom: 8px; }
  .timing-choice-group { display: flex; width: 100%; }
  .timing-choice { min-width: 0; flex: 1; }
}

@media (max-width: 650px) {
  .header-inner { gap: 4px; }
  .brand { flex: 1 0 100%; width: 100%; max-width: none; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; flex: 0 0 34px; font-size: 18px; }
  .brand-copy strong { font-size: 13px; }
  .header-tools { flex: 1 1 100%; width: 100%; justify-content: space-between; gap: 6px; }
  .brand-copy { max-width: none; }
  .brand-copy strong { overflow: visible; text-overflow: clip; }
  .language-picker { min-width: 70px; }
  .my-orders-btn { min-width: 60px; padding-inline: 6px; }
  .cart-btn { min-width: 79px; padding-inline: 6px; }
}

/* Day accordions in the customer order-history drawer. */
.order-day-group { overflow: hidden; margin: 10px 0; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.order-day-heading { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 0; background: linear-gradient(110deg, #fff7f2, #fff); color: var(--ink); text-align: start; font: inherit; font-weight: 800; cursor: pointer; }
.order-day-heading[aria-expanded="true"] { border-bottom: 1px solid var(--border); }
.order-day-count { margin-inline-start: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.order-day-chevron { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 16px; }
.order-day-content { padding: 8px 10px; }
.order-day-content .order-card { margin: 8px 0; border: 1px solid var(--border); border-inline-start: 4px solid var(--green); background: #fafafa; }
@media (max-width: 650px) {
  .header-inner { flex-wrap: wrap; row-gap: 7px; padding: 8px 12px; }
  .header-tools { flex-wrap: nowrap; }
  .brand-copy strong { font-size: 15px; }
  .my-orders-btn { min-width: 0; padding-inline: 9px; font-size: 11px; }
  .my-orders-btn span { white-space: nowrap; }
  .cart-btn { min-width: 0; padding-inline: 10px; }
}


/* Order status web-push opt-in */
.order-push-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #d62839;
  border-radius: 10px;
  background: #fff;
  color: #b91f2e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.order-push-action:hover,
.order-push-action.is-enabled {
  background: #d62839;
  color: #fff;
}
.order-push-action:disabled {
  opacity: .65;
  cursor: wait;
}
.order-delay-alert { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 10px 8px 0 0; padding: 8px 14px; border: 1px solid #bd2734; border-radius: 10px; background: #fff2f2; color: #a71927; font: inherit; font-weight: 800; cursor: pointer; }
.order-delay-alert:hover, .order-delay-alert.is-sent { background: #bd2734; color: #fff; }
.order-delay-alert:disabled { cursor: default; opacity: .85; }
.order-call-shop { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 10px 8px 0 0; padding: 8px 14px; border: 1px solid #16794a; border-radius: 10px; background: #effaf4; color: #12663e; font: inherit; font-weight: 800; text-decoration: none; }
.order-call-shop:hover { background: #16794a; color: #fff; }
.order-push-error {
  margin: 8px 0 0;
  color: #a51725;
  font-weight: 700;
  line-height: 1.5;
}
.toast {
  left: 50%;
  inset-inline-start: auto;
  width: max-content;
  max-width: min(420px, calc(100vw - 30px));
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-align: center;
}

/* Keep iPhone Safari from zooming the cart when a field receives focus. */
@media (max-width: 767px) {
  .drawer input,
  .drawer textarea,
  .drawer select {
    font-size: 16px !important;
  }
}

/* Home Screen installation help: native modal keeps focus above order drawers. */
.home-screen-guide { box-sizing: border-box; width: min(480px, calc(100% - 28px)); max-height: 85vh; max-height: 85dvh; overflow-y: auto; margin: auto; padding: 24px; border: 0; border-radius: 22px; background: var(--surface, #fff); color: var(--ink, #17181b); box-shadow: 0 20px 70px #0004; }
.home-screen-guide::backdrop { background: #1119; }
.home-screen-guide h2 { margin: 0 0 12px; font-size: 21px; }
.home-screen-guide p, .home-screen-guide li { font-size: 15px; line-height: 1.8; }
.home-screen-guide ol { padding-inline-start: 25px; }
.home-screen-guide li { padding-inline-start: 6px; margin-block: 12px; }
.home-screen-guide li::marker { color: var(--primary); font-weight: 800; }
.home-screen-guide-note { padding: 12px; border-radius: 12px; background: var(--surface-soft, #f5f5f5); }
.home-screen-guide form .btn { width: 100%; margin-top: 12px; }

.order-push-hint { color: var(--muted-dark, #50545d); font-size: 13px; line-height: 1.8; margin: 8px 0 0; overflow-wrap: anywhere; }
.my-orders-empty { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.my-orders-empty strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; }
.my-orders-empty p { margin: 0; color: var(--muted-dark); font-size: 12px; line-height: 1.8; }

/* إعادة الطلب من سجل العميل */
.order-repeat-button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 46px; margin-top: 10px; padding: 10px 14px; border: 1px solid #d43c45; border-radius: 12px; background: #fff7f7; color: #bd303a; font: inherit; font-weight: 800; cursor: pointer; }
.order-repeat-button:hover { background: #fdebed; }

/* Refined customer order history cards: clear hierarchy and mobile-first actions. */
.my-orders-drawer { box-sizing: border-box; padding: 16px clamp(14px, 3vw, 28px) 30px; background: #fff; }
.my-orders-drawer .section-heading { position: sticky; z-index: 5; top: -16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; margin: -16px calc(-1 * clamp(14px, 3vw, 28px)) 16px; padding: 12px clamp(14px, 3vw, 28px); border-bottom: 1px solid #e6eaf0; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.my-orders-drawer .section-heading h2 { margin: 0; color: #111827; font-size: clamp(22px, 5vw, 30px); line-height: 1.2; }
.my-orders-drawer .section-heading .eyebrow { display: none; }
.my-orders-drawer .section-heading > div:first-child { margin-inline-start: auto; }
.my-orders-drawer .my-orders-actions { flex: 0 1 auto; }
.my-orders-drawer #refreshMyOrders { min-height: 40px; padding: 8px 13px; border: 1px solid #f1bdc1; border-radius: 12px; background: #fff5f5; color: #b4232d; font-size: 13px; font-weight: 800; white-space: nowrap; }
.my-orders-drawer #refreshMyOrders:hover { background: #feecee; }
.my-orders-close { z-index: 6; inset-block-start: 17px; inset-inline-end: auto; inset-inline-start: 14px; width: 38px; height: 38px; }
.my-orders-drawer .track-result { margin-top: 0; }
.order-day-group { margin: 14px 0 18px; border-color: #e5e9ef; border-radius: 18px; box-shadow: none; }
.order-day-heading { min-height: 62px; padding: 14px 17px; background: #f4f6f8; font-size: 15px; }
.order-day-count { margin-inline-start: auto; font-size: 13px; }
.order-day-chevron { width: 32px; height: 32px; background: #fff; }
.order-day-content { padding: 10px; }
.order-day-content .order-card.order-card-polished, .track-result > .order-card.order-card-polished { box-sizing: border-box; display: grid; gap: 0; margin: 10px 0; padding: clamp(15px, 3.5vw, 24px); border: 1px solid #e4e8ee; border-inline-start: 1px solid #e4e8ee; border-radius: 19px; background: #fff; color: #17212d; line-height: 1.55; box-shadow: 0 4px 14px rgba(20,35,55,.07); }
.order-card-polished .order-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-card-polished .order-card-heading { display: grid; justify-items: end; gap: 8px; min-width: 0; }
.order-card-polished .order-card-heading > strong { color: #17212d; font-size: clamp(17px, 4vw, 21px); }
.order-card-polished .order-status-pill { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 6px 12px; border: 0; border-radius: 999px; background: #eaf7f0; color: #177247; font-size: 13px; font-weight: 800; }
.order-card-polished .order-timer { flex: 0 0 auto; margin: 0; padding: 8px 11px; border: 0; border-radius: 13px; background: #fff0f1; color: #b4232d; font-size: 13px; font-weight: 850; line-height: 1.4; }
.order-card-polished .order-timer.is-overdue { background: #ffeded; color: #b4232d; }
.order-card-meta { display: grid; gap: 9px; margin-top: 14px; color: #525d6b; font-size: 14px; }
.order-card-meta > span, .order-card-meta > time { min-width: 0; }
.order-fulfillment { font-weight: 700; }
.order-schedule { color: #525d6b; }
.order-address { display: grid; gap: 2px; overflow-wrap: anywhere; }
.order-address small { color: #7b8490; font-size: 12px; }
.order-created-at { color: #737d89; font-size: 13px; }
.order-total-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 13px 0; border-top: 1px solid #e5e9ef; border-bottom: 1px solid #e5e9ef; color: #17212d; font-size: 15px; }
.order-total-row strong { color: #b4232d; font-size: clamp(17px, 4.4vw, 21px); white-space: nowrap; }
.order-extra-info { display: flex; flex-wrap: wrap; gap: 7px 14px; padding-top: 10px; color: #626c78; font-size: 12px; }
.order-items-list { display: grid; margin: 0 0 8px; }
.order-item-row { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px 0; border-bottom: 1px solid #e9edf1; }
.order-item-row > img, .order-item-placeholder { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #f2f4f6; font-size: 24px; }
.order-item-copy { display: grid; gap: 3px; min-width: 0; color: #17212d; }
.order-item-copy strong { font-size: 15px; overflow-wrap: anywhere; }
.order-item-copy strong span { display: inline-block; color: #5f6874; font-size: 13px; font-weight: 700; }
.order-item-copy small { color: #707986; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.order-actions { display: grid; gap: 9px; margin-top: 12px; }
.order-actions > a, .order-actions > button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; margin: 0; padding: 11px 14px; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 800; text-align: center; cursor: pointer; text-decoration: none; }
.order-actions .order-call-shop { border: 1px solid #bd2734; background: #bd2734; color: #fff; }
.order-actions .order-call-shop:hover { background: #a91e2a; }
.order-actions .order-whatsapp-shop { border: 1px solid #168653; background: #eaf8f0; color: #12663e; }
.order-actions .order-whatsapp-shop:hover { background: #168653; color: #fff; }
.order-actions .order-delay-alert { border: 1px solid #c52b36; background: #fff; color: #b4232d; }
.order-actions .order-delay-alert:hover, .order-actions .order-delay-alert.is-sent { background: #fff0f1; color: #a71e29; }
.order-actions .order-repeat-button { border: 1px solid #e2e6ec; background: #fff; color: #293442; }
.order-actions .order-repeat-button:hover { background: #f7f8fa; }
.order-notifications { display: grid; grid-template-columns: minmax(0,1fr); gap: 3px; margin-top: 13px; padding: 12px 13px; border: 1px solid #e1e6ec; border-radius: 15px; background: #fff; }
.order-push-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 34px; padding: 0; border: 0; background: transparent; color: #17212d; font: inherit; font-size: 14px; font-weight: 800; text-align: start; cursor: pointer; }
.order-push-switch { position: relative; order: -1; flex: 0 0 48px; width: 48px; height: 28px; border-radius: 999px; background: #a9b0ba; transition: background .18s ease; }
.order-push-switch i { position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #0003; transition: transform .18s ease; }
.order-push-toggle.is-enabled .order-push-switch { background: #18a66a; }
.order-push-toggle.is-enabled .order-push-switch i { transform: translateX(20px); }
html[dir="ltr"] .order-push-toggle.is-enabled .order-push-switch i { transform: translateX(20px); }
.order-push-toggle:disabled { opacity: .65; cursor: wait; }
.order-notifications .order-push-hint { grid-row: 2; margin: 0; color: #6d7682; font-size: 12px; line-height: 1.55; }
.order-notifications .order-push-error { grid-row: 3; margin: 3px 0 0; font-size: 12px; }
.order-card-polished p { margin: 0; }
@media (max-width: 560px) {
  .my-orders-drawer { padding-inline: 12px; }
  .my-orders-drawer .section-heading { margin-inline: -12px; padding-inline: 12px; }
  .my-orders-drawer .section-heading h2 { font-size: 24px; }
  .my-orders-drawer #refreshMyOrders { min-height: 38px; padding-inline: 10px; font-size: 12px; }
  .my-orders-close { inset-inline-start: 10px; width: 34px; height: 34px; }
  .order-day-content { padding: 7px; }
  .order-card-polished .order-card-top { flex-direction: column-reverse; align-items: stretch; }
  .order-card-polished .order-card-heading { justify-items: end; }
  .order-card-polished .order-timer { justify-self: start; }
  .order-item-row > img, .order-item-placeholder { flex-basis: 50px; width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .order-push-switch, .order-push-switch i { transition: none; }
}
/* Keep the close control at the left and use a calm two-row mobile header. */
.my-orders-drawer .section-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.my-orders-drawer .section-heading > div:first-child { grid-row: 1; margin: 0; padding-inline-start: 42px; text-align: end; }
.my-orders-drawer .my-orders-actions { grid-row: 2; }
.my-orders-drawer #refreshMyOrders { min-width: min(100%, 250px); }
.my-orders-close { inset-inline-end: auto; inset-inline-start: 14px; }
html[dir="rtl"] .order-push-switch i { transform: translateX(-20px); }
html[dir="rtl"] .order-push-toggle.is-enabled .order-push-switch i { transform: none; }
html[dir="ltr"] .order-push-toggle.is-enabled .order-push-switch i { transform: translateX(20px); }

/* Uploaded promotional banners, each with its own dashboard display time. */
.featured-section { margin-block: 10px 28px; }
.featured-menu { min-width: 0; }
.menu-banner-slide { position: relative; overflow: hidden; aspect-ratio: 3 / 1; min-height: 200px; max-height: 430px; border-radius: 20px; background: #f4f0ec; box-shadow: var(--shadow-sm); }
.menu-banner-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-arrow { position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid rgba(25,30,38,.1); border-radius: 50%; background: rgba(255,255,255,.94); color: #18202b; font: 25px/1 Arial, sans-serif; box-shadow: 0 4px 14px rgba(0,0,0,.12); cursor: pointer; }
.featured-prev { inset-inline-start: 12px; }
.featured-next { inset-inline-end: 12px; }
.featured-dots { position: absolute; inset-inline-start: 50%; inset-block-end: 12px; display: flex; gap: 7px; transform: translateX(50%); padding: 7px 9px; border-radius: 99px; background: rgba(255,255,255,.85); }
html[dir="ltr"] .featured-dots { transform: translateX(-50%); }
.featured-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #9b9fa6; cursor: pointer; transition: width .2s, background .2s; }
.featured-dot.active { width: 23px; background: var(--primary); }
@media (max-width: 650px) {
  .featured-section { margin-block: 8px 20px; }
  .menu-banner-slide { aspect-ratio: 750 / 420; min-height: 175px; border-radius: 15px; }
  .featured-arrow { width: 32px; height: 32px; }
  .featured-prev { inset-inline-start: 8px; }
  .featured-next { inset-inline-end: 8px; }
}
.modifier-limit-hint { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.modifier-clear { padding: 7px 12px; margin: 0 0 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); color: var(--muted-dark); cursor: pointer; }
.modifier-choice-image { width: 36px; height: 36px; flex: none; object-fit: cover; border-radius: 7px; }
.product-options label input:disabled:not(:checked) + span { opacity: .6; }
.menu-banner-slide { aspect-ratio: 1200 / 320; }
.menu-banner-slide picture { display:block; width:100%; height:100%; }
.menu-banner-slide picture img { width:100%; height:100%; object-fit:cover; display:block; }
.modifier-conditional-label { display:block; margin-top:4px; color:var(--muted); font-size:12px; font-weight:500; }

.customer-account-btn { min-height: 42px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; white-space: nowrap; }
.customer-account-btn:hover { border-color: var(--primary); color: var(--primary); }
.customer-account-tabs { position: sticky; z-index: 4; top: 69px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 0 -6px 17px; padding: 8px 6px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.97); }
.customer-account-tabs button { min-height: 42px; padding: 7px 5px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted-dark); font-size: 13px; font-weight: 800; }
.customer-account-tabs button[aria-selected="true"] { border-color: #f5d1c2; background: var(--primary-soft); color: var(--primary-dark); }
.customer-account-panel { display: grid; gap: 14px; }
.customer-account-form { display: grid; gap: 9px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.customer-account-delivery-area { display: grid; gap: 7px; }
.customer-account-delivery-area > label { color: var(--muted-dark); font-size: 13px; font-weight: 800; }
.customer-account-form > label:not(.account-default-toggle) { margin-top: 4px; color: var(--muted-dark); font-size: 13px; font-weight: 800; }
.customer-account-form input:not([type="checkbox"]), .customer-account-form textarea, .customer-account-form select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dfe3e8; border-radius: 10px; background: #fff; color: var(--ink); outline: 0; }
.customer-account-form textarea { min-height: 88px; resize: vertical; }
.customer-account-form input:focus, .customer-account-form textarea:focus, .customer-account-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(241,90,36,.1); }
.customer-account-form input[readonly] { background: var(--surface-soft); color: var(--muted-dark); }
.account-default-toggle { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 13px; font-weight: 700; }
.account-default-toggle input, .customer-card-checkout-options input { accent-color: var(--primary); width: 18px; height: 18px; }
.customer-account-list { display: grid; gap: 10px; }
.customer-account-row { display: grid; gap: 9px; padding: 15px; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.customer-account-row-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-account-row-top strong { overflow-wrap: anywhere; }
.customer-default-badge { padding: 4px 9px; border-radius: 999px; background: #e7f6ef; color: #176c43; font-size: 11px; font-weight: 800; white-space: nowrap; }
.customer-account-row p { color: var(--muted-dark); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-line; }
.customer-account-row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.customer-account-row-actions button { min-height: 36px; padding: 6px 11px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; }
.customer-account-row-actions button:hover { border-color: var(--primary); color: var(--primary); }
.customer-account-row-actions .customer-delete-action { border-color: #f2d1d1; color: #b4232d; }
.account-address-map { width: 100%; height: 230px; min-height: 200px; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #eee; }
.account-address-map .leaflet-pane,.account-address-map .leaflet-tile,.account-address-map .leaflet-marker-icon,.account-address-map .leaflet-marker-shadow { max-width: none !important; max-height: none !important; }
.account-address-map .leaflet-container img { max-width: none !important; max-height: none !important; }
.account-form-actions { display: flex; gap: 12px; align-items: center; }
.account-form-actions .btn-primary { width: auto; flex: 1; }
.customer-cards-hint { padding: 12px 14px; border-radius: 12px; background: var(--surface-soft); color: var(--muted-dark); font-size: 12px; line-height: 1.7; }
.customer-card-checkout-options { display: grid; gap: 9px; margin: 6px 0; padding: 12px; border: 1px solid #f1e4dc; border-radius: 12px; background: #fffaf6; }
.customer-card-checkout-options label { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 12px; font-weight: 700; }
.customer-card-checkout-options select { flex: 1; min-width: 0; min-height: 40px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.generic-delivery-instructions { display: grid; gap: 7px; }
.generic-delivery-instructions label { color: var(--muted-dark); font-size: 12px; font-weight: 800; }
.generic-delivery-instructions textarea { width: 100%; min-height: 76px; padding: 10px 12px; border: 1px solid #dfe3e8; border-radius: 10px; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
.generic-delivery-instructions textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(241,90,36,.1); }
@media (max-width: 680px) {
  .header-tools { gap: 6px; }
  .customer-account-btn { min-height: 38px; padding: 7px 9px; font-size: 12px; }
  .customer-account-tabs { top: 69px; }
  .customer-account-tabs button { font-size: 11px; }
  .account-form-actions { align-items: stretch; }
}
@media (max-width: 430px) {
  .customer-account-btn { width: 40px; min-width: 40px; padding: 6px; }
  .customer-account-btn span { display: none; }
}


/* Clear customer feedback while the kitchen is preparing the order. */
.order-preparing-indicator {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 11px 0 2px;
  padding: 10px 12px;
  border: 1px solid #f2c3c8;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff7f7, #fff);
  color: #9f2530;
}
.order-preparing-indicator > span:last-child { display: grid; gap: 2px; min-width: 0; }
.order-preparing-indicator strong { font-size: 14px; }
.order-preparing-indicator small { color: #6f7480; font-size: 12px; line-height: 1.45; }
.order-preparing-pan {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(159, 37, 48, .13);
  font-size: 25px;
  transform-origin: 52% 68%;
  animation: order-pan-toss 1.45s ease-in-out infinite;
}
@keyframes order-pan-toss {
  0%, 100% { transform: rotate(-9deg) translateY(1px); }
  42% { transform: rotate(13deg) translateY(-3px); }
  62% { transform: rotate(4deg) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .order-preparing-pan { animation: none; }
}


/* Desktop fulfillment controls: make both choices visibly grouped and easy to scan. */
@media (min-width: 651px) {
  .fulfillment-bar { min-height:114px; box-sizing:border-box; display:grid; grid-template-columns:minmax(210px,.8fr) minmax(390px,1.2fr); gap:22px; align-items:center; padding:15px 18px; }
  .fulfillment-selector { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:5px; border:1px solid var(--border); border-radius:14px; background:#f6f7f9; }
  .fulfillment-btn { min-height:48px; border:1px solid transparent; border-radius:11px; font-size:14px; }
  .fulfillment-btn.active { border-color:var(--primary); background:var(--primary); box-shadow:0 5px 14px rgba(214,40,57,.22); }
  .delivery-timing-panel { min-height:114px; box-sizing:border-box; display:grid; grid-template-columns:minmax(210px,.7fr) minmax(420px,1.3fr); gap:22px; align-items:center; padding:16px 18px; }
  .delivery-timing-copy { min-width:0; }
  .delivery-timing-copy strong { font-size:15px; }
  .delivery-timing-copy small { font-size:12px; line-height:1.5; }
  .delivery-timing-controls { gap:10px; }
  .timing-choice-group { gap:9px; padding:4px; border:1px solid var(--border); border-radius:13px; background:#f6f7f9; }
  .timing-choice { min-height:46px; border-radius:10px; font-size:14px; }
  .home-schedule-fields select { min-height:44px; }
}
.menu-banner-slide { aspect-ratio:2 / 1; }
@media (max-width:650px) { .menu-banner-slide { aspect-ratio:750 / 420; } }
@media (max-width:650px) { .fulfillment-bar, .delivery-timing-panel { min-height:0; } }
.order-cancel-button { min-height:40px; padding:8px 13px; border:1px solid #e4a1a8; border-radius:10px; background:#fff7f7; color:#a9212d; font:inherit; font-weight:800; cursor:pointer; }
.order-cancel-button:disabled { opacity:.6; cursor:wait; }


/* Restaurant-at-work animation in customer order tracking */
.order-preparing-animation { position:relative; display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:50%; background:#fff; box-shadow:0 3px 10px rgba(159,37,48,.13); }
.order-preparing-animation .order-preparing-pan { display:grid; place-items:center; width:40px; height:40px; font-size:27px; transform-origin:50% 65%; animation:order-pan-rock 1.15s ease-in-out infinite; }
.order-preparing-animation .order-preparing-egg { position:absolute; top:1px; right:0; font-size:17px; animation:order-egg-flip 1.15s ease-in-out infinite; }
.order-preparing-animation .order-preparing-sizzle { position:absolute; left:4px; top:6px; width:4px; height:4px; border-radius:50%; background:#df9b27; box-shadow:8px -4px 0 #df9b27, 15px 0 0 #df9b27; animation:order-sizzle 1.15s ease-out infinite; }
@keyframes order-pan-rock { 0%,100% { transform:rotate(-7deg) translateY(0); } 50% { transform:rotate(7deg) translateY(-2px); } }
@keyframes order-egg-flip { 0%,100% { transform:translateY(3px) rotate(-8deg); } 50% { transform:translateY(-6px) rotate(12deg); } }
@keyframes order-sizzle { 0%,100% { opacity:.18; transform:translateY(5px) scale(.8); } 50% { opacity:1; transform:translateY(-3px) scale(1.1); } }
.order-delivered-message { margin:10px 0 2px; padding:11px 14px; border:1px solid #b8e3cb; border-radius:13px; background:#f0fbf5; color:#187349; font-weight:800; text-align:center; }
@media (prefers-reduced-motion: reduce) { .order-preparing-animation * { animation:none !important; } }

/* Desktop promotional banner spans the menu grid but stays at a balanced size. */
.featured-menu > .menu-banner-slide {
  grid-column: 1 / -1;
  width: min(100%, 900px);
  max-height: 450px;
  margin-inline: auto;
}

/* Align desktop fulfillment panel with delivery timing panel. */
@media (min-width: 651px) {
  .fulfillment-bar {
    width: calc(100% - 24px);
    margin-inline-start: 24px;
    margin-inline-end: 0;
  }
}


/* Keep both desktop checkout panels and their segmented controls on one grid. */
@media (min-width: 651px) {
  .fulfillment-bar,
  .delivery-timing-panel {
    width: calc(100% - 48px);
    min-height: 114px;
    margin-inline: auto;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 22px;
    padding: 15px 18px;
  }

  .fulfillment-selector,
  .timing-choice-group {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f6f7f9;
  }

  .fulfillment-btn,
  .timing-choice {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.35;
  }

  .delivery-timing-controls {
    min-width: 0;
  }
}


/* Sale pricing: make the discounted price the primary reading point. */
.price-display {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 9px;
  vertical-align: baseline;
}
.price-before {
  color: var(--muted);
  font-size: .72em;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}
.price-after { order: 1; color: var(--primary); font-weight: 900; white-space: nowrap; }
.price-display.has-discount .price-before { order: 2; }
.price-saving {
  order: 3;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid rgba(29, 132, 91, .14);
  border-radius: 999px;
  background: #eaf7f0;
  color: #18734d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}
.card-price .price-display.has-discount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-width: 100%;
}
.card-price .price-display.has-discount .price-after { order: 1; font-size: 1.14em; }
.card-price .price-display.has-discount .price-before {
  order: 2;
  color: #626975;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.card-price .price-display.has-discount .price-saving { order: 3; }
.modal-price .price-display { justify-content: flex-end; gap: 5px 8px; }
.cart-line-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.cart-line-price del { color: var(--muted); font-size: .9em; font-weight: 500; }
.cart-line-price > span { color: var(--primary); }


/* Keep the menu navigation visible and synced while browsing, like a food marketplace. */
@media (min-width: 651px) {
  .categories-panel {
    top: 82px;
    z-index: 30;
    max-height: calc(100vh - 98px);
    max-height: calc(100dvh - 98px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #e4b3b8 transparent;
  }
  .customer-menu-group { scroll-margin-top: 94px; }
}
@media (max-width: 650px) {
  .categories-panel {
    top: var(--customer-sticky-header-height, 60px);
    max-height: none;
    overflow: visible;
  }
  .customer-menu-group { scroll-margin-top: calc(var(--customer-sticky-header-height, 60px) + var(--customer-categories-height, 56px) + 8px); }
}


/* Keep mobile menu card actions inside the text column on narrow Android screens. */
@media (max-width: 650px) {
  .card-body { min-width: 0; }
  .card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(76px, max-content);
    align-items: center;
    gap: 8px;
  }
  .card-footer .card-price {
    min-width: 0;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .card-footer .btn-add {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-inline: 7px;
    white-space: nowrap;
  }
}
@media (max-width: 390px) {
  .card-footer { grid-template-columns: minmax(0, 1fr); }
  .card-footer .card-price { text-align: right; }
  .card-footer .btn-add { justify-self: start; width: auto; min-width: 88px; }
}


/* Distinct customer-facing timer for minutes added by the restaurant. */
.order-time-extension {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin: 10px 0 2px;
  padding: 12px 14px;
  border: 1px solid #f2c977;
  border-radius: 14px;
  background: #fff8e8;
  color: #744b08;
  font-size: 14px;
  line-height: 1.5;
}
.order-time-extension strong { font-weight: 800; }
.order-time-extension [data-order-extra-timer] {
  direction: ltr;
  white-space: nowrap;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) {
  .order-time-extension { align-items: flex-start; flex-direction: column; gap: 4px; }
}

.delivery-location-field { display: grid; gap: 8px; margin-top: 14px; }
.delivery-location-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.delivery-location-heading strong { color: var(--text, #252525); }
#deliveryLocationMap { width: 100%; height: 300px; min-height: 240px; border: 1px solid #dedede; border-radius: 14px; overflow: hidden; z-index: 0; background: #eee; }
#deliveryLocationMap .leaflet-pane,
#deliveryLocationMap .leaflet-tile,
#deliveryLocationMap .leaflet-marker-icon,
#deliveryLocationMap .leaflet-marker-shadow { max-width: none !important; max-height: none !important; }
#deliveryLocationMap .leaflet-container img { max-width: none !important; max-height: none !important; }
#deliveryLocationMap .leaflet-control-zoom a { display: block; width: 30px; height: 30px; line-height: 30px; padding: 0; text-align: center; box-sizing: content-box; }
#deliveryLocationMap .leaflet-control-attribution { font-size: 10px; }
#deliveryLocationStatus { min-height: 1.2em; margin: 0; }
@media (max-width: 600px) {
  #deliveryLocationMap { height: 260px; }
  .delivery-location-heading .btn { width: 100%; }
}
 .order-delivery-pin{display:grid;gap:4px;margin:10px 0;padding:12px;border:1px solid #f2c65d;border-radius:12px;background:#fff8df;color:#684b0d}.order-delivery-pin strong{font-size:22px;letter-spacing:3px}.order-delivery-pin small{font-size:12px}
.sandbox-payment-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}.sandbox-payment-actions button{border:0;border-radius:10px;padding:10px 12px;background:#a51f2b;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.sandbox-payment-actions button+button{background:#ede7e4;color:#433c3d}.sandbox-payment-actions button:disabled{opacity:.5;cursor:wait}



/* Staging trial: orange action buttons with black labels. */
html body button#cartBtn,
html body button#myOrdersBtn,
html body button.cart-btn,
html body button.my-orders-btn,
html body button.fulfillment-btn.active,
html body button.timing-choice.active,
html body button.cat-btn.active,
html body button.btn-add,
html body button.btn-primary,
html body button.btn-secondary,
html body button.checkout-btn,
html body button.mobile-cart-bar {
  color: #17191d !important;
  background: #f5a623 !important;
  border-color: #f5a623 !important;
  box-shadow: 0 5px 13px rgba(120, 75, 0, .16) !important;
}
html body button#cartBtn:hover,
html body button#myOrdersBtn:hover,
html body button.cart-btn:hover,
html body button.my-orders-btn:hover,
html body button.fulfillment-btn.active:hover,
html body button.timing-choice.active:hover,
html body button.cat-btn.active:hover,
html body button.btn-add:hover,
html body button.btn-primary:hover:not(:disabled),
html body button.btn-secondary:hover,
html body button.checkout-btn:hover,
html body button.mobile-cart-bar:hover {
  color: #17191d !important;
  background: #e89412 !important;
  border-color: #e89412 !important;
}
html body button#cartBtn .badge { color: #b76b00 !important; background: #fff !important; }

.storefront-unavailable { display: none !important; }
.driver-tip-section,.cart-recommendations{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid #e1e8e4;border-radius:12px;background:#f8fbf9}
.driver-tip-section>strong,.cart-recommendations>strong{font-size:15px}
.driver-tip-options{display:flex;flex-wrap:wrap;gap:8px}
.driver-tip-options button,.cart-recommendation-item{border:1px solid #d5ded9;border-radius:9px;background:#fff;padding:9px 12px;color:inherit;font:inherit;cursor:pointer}
.driver-tip-options button[aria-pressed="true"]{border-color:#168a58;background:#e8f5ee;color:#12633f;font-weight:700}
.driver-tip-section input{max-width:180px}
#cartRecommendationItems{display:grid;gap:8px}
.cart-recommendation-item{display:flex;justify-content:space-between;align-items:center;text-align:left}
.cart-recommendation-item strong{color:#168a58;white-space:nowrap}


/* Stripe prebuilt Embedded Checkout dialog (Staging rollout). */
body.stripe-checkout-open { overflow: hidden; }
.stripe-checkout-modal {
  position: fixed; inset: 0; z-index: 100000;
  display: grid; place-items: center; padding: 20px;
}
.stripe-checkout-modal.hidden { display: none !important; }
.stripe-checkout-backdrop { position: absolute; inset: 0; background: rgba(18, 22, 26, .68); }
.stripe-checkout-panel {
  position: relative; z-index: 1; width: min(680px, 100%); max-height: min(94vh, 900px);
  overflow: auto; border-radius: 20px; background: #fff; color: #202326;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3); padding: 22px;
}
.stripe-checkout-heading {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid #ececec;
}
.stripe-checkout-heading h2 { margin: 6px 0 4px; font-size: 22px; line-height: 1.35; }
.stripe-checkout-secure { display: inline-block; color: #276749; font-size: 13px; font-weight: 750; }
#stripeCheckoutStatus { min-height: 1.3em; margin: 0; color: #62686e; font-size: 13px; }
.stripe-checkout-close {
  flex: 0 0 42px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: #f2f3f4; color: #25282b; font-size: 28px; line-height: 1; cursor: pointer;
}
.stripe-checkout-close:hover { background: #e5e7e9; }
.stripe-checkout-container { min-height: 520px; padding-top: 12px; direction: ltr; }
@media (max-width: 600px) {
  .stripe-checkout-modal { padding: 0; align-items: stretch; }
  .stripe-checkout-panel {
    width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0;
    padding: max(16px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  }
  .stripe-checkout-container { min-height: 600px; }
}

/* Kojina X storefront footer brand */
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-copyright { font-size: 13px; }
.kojina-footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kojina-footer-brand > strong { color: #fff; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: .2px; }
.kojina-footer-brand > a { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.kojina-footer-brand > a:hover { color: #b7f7cd; }
.whatsapp-mark { width: 32px; height: 32px; display: block; fill: #25d366; }

/* Footer layout refinement */
.footer { padding: 40px 24px 0; }
.footer-grid { width: min(1200px, 100%); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: start; gap: 28px; }
.footer-col { min-width: 0; }
.footer-col h3, .footer-col h4 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; line-height: 1.5; }
.footer-col p, .footer-col a { overflow-wrap: anywhere; }
.footer-brand h3 { font-size: 20px; }
.footer-bottom { margin-top: 26px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 480px) { .footer { padding: 30px 18px 0; } .footer-grid { grid-template-columns: 1fr; gap: 20px; } .footer-col h3, .footer-col h4 { margin-bottom: 10px; } }

.social .social-label { width: auto; height: auto; display: inline; border-radius: 0; background: transparent; font-weight: inherit; }

/* Kojina X wordmark */
.kojina-footer-brand > .kojina-brand-lockup { display: flex; flex-direction: row; align-items: baseline; gap: 7px; padding: 0; border: 0; white-space: nowrap; }
.kojina-brand-lockup .kojina-powered-prefix { color: #aeb2b6; font-size: 11px; font-weight: 650; letter-spacing: .45px; }
.kojina-brand-lockup .kojina-wordmark { color: #fff; font-size: 21px; font-weight: 850; letter-spacing: -.35px; }
.kojina-brand-lockup .kojina-wordmark i { color: #38d172; font-style: normal; }
@media (max-width: 600px) { .kojina-footer-brand > .kojina-brand-lockup { font-size: inherit; padding: 0; } }


/* Kojina X shared storefront refresh — warm editorial menu cards */
body { background: #fff8ef; }
.site-header { background: rgba(255,255,255,.96); border-bottom-color: #eee6dc; }
.header-inner { max-width: 1240px; padding-block: 11px; }
.brand-mark { border-radius: 16px; background: #fff0e5; }
.brand-copy strong { color: var(--primary); }
.language-picker, .my-orders-btn, .cart-btn { border-radius: 13px; }
.container { width: min(1240px, 100%); padding-top: 24px; }
.restaurant-hero {
  min-height: 380px; grid-template-columns: 1fr 1fr; border: 1px solid #f0e5d7;
  border-radius: 28px; color: var(--ink);
  background: linear-gradient(115deg, #fffaf3 0%, #f6e8d5 100%);
  box-shadow: 0 16px 42px rgba(87,57,28,.08);
}
.restaurant-hero::after {
  z-index: 0; background: radial-gradient(circle at 12% 4%, rgba(255,255,255,.86), transparent 42%);
}
.hero-copy { z-index: 1; padding: 46px clamp(24px,4vw,58px); }
.hero-copy .eyebrow { color: var(--primary); font-size: 12px; letter-spacing: .02em; }
.hero-copy h1 { color: #1e1b18; font-size: clamp(36px,5vw,60px); letter-spacing: -.035em; }
.hero-address { color: #5d554e; }
.hero-description { color: #625950; }
.hero-meta span { border-color: #e9d7c2; color: #51483e; background: rgba(255,255,255,.68); }
.restaurant-status { border-radius: 999px; }
.restaurant-status.closed { background: #7b3030; }
.hero-image {
  position: relative; z-index: 1; min-height: 340px; margin: 18px; overflow: hidden;
  border: 5px solid rgba(255,255,255,.72); border-radius: 23px;
  background-color: #e9ddcf; background-position: center; background-size: cover;
  box-shadow: 0 14px 32px rgba(57,39,23,.13);
}
.fulfillment-bar {
  width: calc(100% - 40px); margin-top: -22px; padding: 13px 17px;
  border-color: #eee4d8; border-radius: 18px; box-shadow: 0 9px 25px rgba(87,57,28,.08);
}
.fulfillment-icon { background: #fff0e5; }
.fulfillment-selector { border: 1px solid #eee3d7; background: #f8f3ed; }
.fulfillment-btn.active { background: var(--primary); box-shadow: 0 5px 13px rgba(241,90,36,.2); }
.menu-banner-slide { border-radius: 24px; box-shadow: 0 12px 30px rgba(87,57,28,.09); }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { color: #201d19; font-size: clamp(25px,3vw,34px); letter-spacing: -.025em; }
.eyebrow { color: var(--primary); }
.menu-layout { grid-template-columns: 205px minmax(0,1fr); gap: 28px; }
.categories-panel { padding: 15px 12px; border: 1px solid #eee5da; border-radius: 18px; background: rgba(255,255,255,.75); }
.categories-title { padding-inline: 8px; color: #82776b; }
.categories { gap: 5px; }
.cat-btn { border-radius: 11px; }
.cat-btn:hover { background: #fff6ed; border-color: #f1e1d0; }
.cat-btn.active { background: var(--primary); box-shadow: 0 7px 16px rgba(241,90,36,.18); }
.customer-menu-group { margin-bottom: 25px; }
.customer-menu-group-head {
  padding: 13px 16px; border-color: #eee4d8; border-radius: 16px; background: #fffdf9;
  box-shadow: 0 5px 16px rgba(87,57,28,.045);
}
.customer-menu-group-head strong { font-size: 20px; }
.customer-menu-group-head b { color: var(--primary); }
.customer-menu-group-items { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 13px; }
.card {
  display: flex; flex-direction: column; min-height: 100%; overflow: hidden;
  border-color: #eee5da; border-radius: 20px; background: #fffdf9;
  box-shadow: 0 7px 22px rgba(72,53,33,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #f2c4a7; box-shadow: 0 14px 30px rgba(72,53,33,.12); }
.card-img {
  order: 0; width: 100%; min-height: 0; height: var(--site-image-height,180px);
  aspect-ratio: 1.45; background: linear-gradient(135deg,#f8e8d5,#fff4e8);
}
.card-img img { object-fit: var(--site-image-fit,cover); }
.card-body { order: 1; align-items: stretch; flex: 1; padding: 16px 17px 17px; }
.card-name { color: #25211d; font-size: 17px; line-height: 1.4; }
.card-desc { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 2.9em; color: #777067; font-size: 12px; line-height: 1.45; }
.card-footer { align-items: center; margin-top: auto; padding-top: 15px; }
.card-price { color: var(--primary); font-size: 17px; }
.btn-add { min-width: 88px; border-radius: 12px; background: #fff0e5; color: var(--primary); }
.btn-add:hover { background: var(--primary); }
.quick-qty { border-radius: 12px; }
.menu-group-title { color: #25211d; border-color: #eee4d8; }
.menu-search, .header-search { border-color: #eee5da; background: #fffdf9; }
.menu-search:focus-within, .header-search:focus-within { border-color: #f2b28f; }
.footer { background: #211f1c; }
.kojina-brand-lockup .kojina-wordmark i { color: #f15a24; }
@media (max-width: 1050px) {
  .customer-menu-group-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .menu-layout { grid-template-columns: 175px minmax(0,1fr); gap: 17px; }
}
@media (max-width: 650px) {
  .container { padding: 14px 13px 36px; }
  .restaurant-hero { min-height: 340px; grid-template-columns: 1fr; border-radius: 22px; }
  .restaurant-hero::after {
    background: linear-gradient(90deg,rgba(255,248,239,.97) 0%,rgba(255,248,239,.88) 58%,rgba(255,248,239,.48) 100%);
  }
  .hero-image { position: absolute; inset: 0; min-height: 0; margin: 0; border: 0; border-radius: 0; opacity: .28; box-shadow: none; }
  .hero-copy { padding: 34px 24px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-description { max-width: 360px; color: #51483e; }
  .hero-meta span { background: rgba(255,255,255,.8); }
  .fulfillment-bar { width: 100%; margin: -16px 0 20px; padding: 9px; border-radius: 15px; }
  .section-heading h2 { font-size: 27px; }
  .menu-layout { display: block; }
  .categories-panel { padding: 7px; border-radius: 15px; }
  .categories-panel .categories-title { display: none; }
  .customer-menu-group-items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .customer-menu-group-head { padding: 11px 13px; }
  .customer-menu-group-head strong { font-size: 16px; }
  .card { border-radius: 16px; }
  .card-img { height: clamp(118px,36vw,165px); }
  .card-body { padding: 12px; }
  .card-name { font-size: 15px; }
  .card-desc { min-height: 2.7em; font-size: 11px; }
  .card-footer { flex-wrap: wrap; gap: 8px; padding-top: 12px; }
  .card-price { font-size: 15px; }
  .btn-add { min-width: 0; padding: 8px 10px; }
}
@media (max-width: 380px) {
  .customer-menu-group-items { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 108px minmax(0,1fr); min-height: 125px; }
  .card-img { order: 2; height: 100%; min-height: 125px; aspect-ratio: auto; }
  .card-body { padding: 12px; }
}


/* Keep every menu card's caption in a dedicated row beneath its image. */
.customer-menu-group-items > .card {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: var(--site-image-height,180px) minmax(0,1fr);
  align-content: start;
}
.customer-menu-group-items > .card > .card-img {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.customer-menu-group-items > .card > .card-body {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 150px;
  margin: 0 !important;
  background: var(--site-card,#fffdf9);
}
@media (max-width: 650px) {
  .customer-menu-group-items > .card { grid-template-rows: var(--site-image-height,180px) minmax(0,1fr); }
}


/* Show complete uploaded product photos without cropping. */
.customer-menu-group-items > .card > .card-img { background: #fff; }
.customer-menu-group-items > .card > .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}


/* Constrain intrinsic menu images to their card media box. */
.customer-menu-group-items > .card > .card-img > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
}


/* Shared storefront entry layout: order choices first, full-width menu banner next. */
.restaurant-hero { display: none !important; }
.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 48px;
}
.order-start-bar,
.menu-section {
  width: min(1380px, calc(100% - 48px));
  margin-inline: auto;
}
.order-start-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-block: 18px 22px;
  padding: 12px 16px;
  border: 1px solid #eee5da;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 8px 24px rgba(72,53,33,.08);
}
.order-start-bar .fulfillment-bar {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 18px 0 0;
  border: 0;
  border-inline-end: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 1 1 0;
  display: grid;
  grid-template-columns: minmax(150px,.8fr) minmax(0,1.2fr);
  gap: 12px;
}
.order-start-bar .fulfillment-intro { gap: 10px; }
.order-start-bar .fulfillment-intro strong { font-size: 13px; }
.order-start-bar .fulfillment-intro small { font-size: 11px; }
.order-start-bar .fulfillment-selector {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  padding: 0;
  background: transparent;
}
.order-start-bar .fulfillment-btn,
.order-start-bar .timing-choice {
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid #e9e1d7;
  border-radius: 13px;
  background: #fff;
  color: #51483e;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
  transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.order-start-bar .fulfillment-btn.active,
.order-start-bar .timing-choice.active {
  border-color: #f15a24;
  background: #fff0e5;
  color: #c74615;
  box-shadow: 0 3px 10px rgba(241,90,36,.10);
}
.order-start-bar .delivery-timing-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-start: 1px solid #eee5da;
  padding-inline-start: 18px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 1 1 0;
  display: grid;
  grid-template-columns: minmax(125px,.7fr) minmax(0,1.3fr);
  gap: 12px;
}
.order-start-bar .delivery-timing-copy { min-width: 0; }
.order-start-bar .delivery-timing-copy strong { font-size: 13px; }
.order-start-bar .delivery-timing-copy small { font-size: 11px; }
.order-start-bar .delivery-timing-controls { min-width: 0; }
.order-start-bar .timing-choice-group {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.order-start-bar .home-schedule-fields { grid-column: 1 / -1; }
.featured-section {
  position: relative;
  width: 100vw;
  margin-block: 0 30px;
  margin-inline-start: calc((100% - 100vw) / 2);
  margin-inline-end: 0;
}
.featured-section .menu-banner-slide {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}
.featured-section .menu-banner-slide picture {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
}
.featured-section .menu-banner-slide picture img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.order-start-bar .timing-choice:disabled {
  opacity: .52;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 850px) {
  .order-start-bar { flex-direction: column; gap: 0; padding: 12px 14px; }
  .order-start-bar .fulfillment-bar {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 0 0 12px;
    border-inline-end: 0;
    border-bottom: 0;
  }
  .order-start-bar .delivery-timing-panel {
    grid-template-columns: 1fr;
    gap: 9px;
    border-inline-start: 0;
    border-top: 1px solid #eee5da;
    padding: 12px 0 0;
  }
  .order-start-bar .fulfillment-intro { display: flex; }
  .order-start-bar .delivery-timing-copy { min-width: 0; }
}
@media (max-width: 650px) {
  .container { padding: 0 0 35px; }
  .order-start-bar,
  .menu-section { width: calc(100% - 24px); }
  .order-start-bar { margin-block: 12px 17px; padding: 11px; border-radius: 16px; }
  .order-start-bar .fulfillment-bar { width: auto; margin: 0; padding-bottom: 11px; }
  .order-start-bar .delivery-timing-panel { margin: 0; padding-top: 11px; }
  .order-start-bar .fulfillment-btn,
  .order-start-bar .timing-choice { min-height: 48px; padding: 7px 6px; font-size: 11px; }
  .featured-section { margin-bottom: 23px; }
  .featured-section .menu-banner-slide { height: clamp(205px, 62vw, 330px); }
}


/* Mobile storefront order bar: clear delivery method and timing controls above the banner. */
@media (max-width: 650px) {
  .order-start-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    margin-block: 10px 14px;
    padding: 12px;
    border-radius: 17px;
  }
  .order-start-bar .fulfillment-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid #eee5da;
  }
  .order-start-bar .fulfillment-intro {
    display: flex !important;
    align-items: center;
    gap: 9px;
  }
  .order-start-bar .fulfillment-selector {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    background: transparent;
  }
  .order-start-bar .fulfillment-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 5px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }
  .order-start-bar .delivery-timing-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .order-start-bar .delivery-timing-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
  }
  .order-start-bar .delivery-timing-copy strong { font-size: 13px; }
  .order-start-bar .delivery-timing-copy small {
    font-size: 10px;
    line-height: 1.45;
  }
  .order-start-bar .delivery-timing-controls { width: 100%; }
  .order-start-bar .timing-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .order-start-bar .timing-choice {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 4px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }
  .order-start-bar .home-schedule-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-section { margin-bottom: 20px; }
  .featured-section .menu-banner-slide {
    height: auto !important;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
  .featured-section .menu-banner-slide picture,
  .featured-section .menu-banner-slide picture img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}


/* Mobile reference-style order picker: a compact header pill opens the existing controls. */
.mobile-order-settings-trigger { display: none; }
.mobile-order-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  background: rgba(27, 24, 21, .48);
}
.mobile-order-settings-backdrop { position: fixed; inset: 0; }
.mobile-order-settings-card {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  margin-top: 8px;
  padding: 19px;
  border: 1px solid #eee5da;
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(25, 20, 15, .24);
}
.mobile-order-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.mobile-order-settings-header .eyebrow { color: #c74615; }
.mobile-order-settings-header h2 { margin: 3px 0 0; font-size: 19px; line-height: 1.35; }
.mobile-order-settings-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #eee5da;
  border-radius: 50%;
  background: #fff;
  color: #51483e;
  font-size: 24px;
  line-height: 1;
}
.mobile-order-settings-confirm {
  width: 100%;
  min-height: 48px;
  margin-top: 15px;
  border: 0;
  border-radius: 13px;
  background: #f5a623;
  color: #302414;
  font: inherit;
  font-weight: 800;
}
@media (max-width: 650px) {
  body.mobile-order-settings-open { overflow: hidden; }
  .order-start-bar {
    display: block;
    width: calc(100% - 24px);
    margin: 9px auto 13px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .mobile-order-settings-trigger {
    display: flex;
    width: min(100%, 410px);
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 auto;
    padding: 8px 13px;
    border: 1px solid #e7dfd5;
    border-radius: 15px;
    background: #fffdf9;
    color: #3c352d;
    box-shadow: 0 3px 12px rgba(72, 53, 33, .08);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
  }
  .mobile-order-trigger-icon { font-size: 17px; }
  .mobile-order-trigger-dot { color: #a99e90; }
  .mobile-order-trigger-chevron { margin-inline-start: 5px; color: #8b7c6c; font-size: 17px; }
  .order-start-content { display: grid; gap: 12px; }
  .mobile-order-settings-content .fulfillment-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid #eee5da;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .mobile-order-settings-content .fulfillment-intro { display: flex !important; align-items: center; }
  .mobile-order-settings-content .fulfillment-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    background: transparent;
  }
  .mobile-order-settings-content .fulfillment-btn,
  .mobile-order-settings-content .timing-choice {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px 5px;
    border: 1px solid #e9e1d7;
    border-radius: 13px;
    background: #fff;
    color: #51483e;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    white-space: normal;
    box-shadow: none;
  }
  .mobile-order-settings-content .fulfillment-btn.active,
  .mobile-order-settings-content .timing-choice.active {
    border-color: #f15a24;
    background: #fff0e5;
    color: #c74615;
    box-shadow: 0 3px 10px rgba(241,90,36,.10);
  }
  .mobile-order-settings-content .delivery-timing-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .mobile-order-settings-content .delivery-timing-copy { display: grid; min-width: 0; gap: 2px; }
  .mobile-order-settings-content .delivery-timing-copy small { font-size: 10px; line-height: 1.45; }
  .mobile-order-settings-content .timing-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-order-settings-content .home-schedule-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-section { margin-bottom: 20px; }
  .featured-section .menu-banner-slide { height: auto !important; min-height: 0; max-height: none; aspect-ratio: auto; }
  .featured-section .menu-banner-slide picture,
  .featured-section .menu-banner-slide picture img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
}

@media (max-width: 650px) { .mobile-order-settings-content .timing-choice:disabled { opacity: .58; cursor: not-allowed; } }

@media (max-width: 650px) { .schedule-modal { z-index: 140; } }

/* Compact storefront header and order dialog, including narrow tablet previews. */
.mobile-header-menu { display: none; }
.mobile-order-settings-modal.hidden { display: none !important; }
@media (max-width: 900px) {
  .site-header .header-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(140px,1.4fr) minmax(0,1fr); align-items: center; gap: 12px; min-height: 86px; padding: 12px 18px; }
  .site-header .brand { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; }
  .site-header .brand-copy { display: none; }
  .site-header .brand-mark { width: 46px; height: 46px; font-size: 30px; }
  .mobile-header-menu { display: block; grid-column: 3; grid-row: 1; justify-self: end; position: relative; }
  .mobile-header-menu summary { display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; list-style: none; padding: 10px; }
  .mobile-header-menu summary::-webkit-details-marker { display: none; }
  .mobile-header-menu summary span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; }
  #mobileHeaderMenuContent { position: absolute; inset-inline-end: 0; top: 52px; width: 210px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; background: white; box-shadow: var(--shadow-md); z-index: 60; }
  #mobileHeaderMenuContent .header-tools { display: grid; gap: 10px; width: 100%; }
  #mobileHeaderMenuContent .header-tools > * { width: 100%; justify-content: center; margin: 0; }
  .order-start-bar { display: none !important; }
  .site-header .mobile-order-settings-trigger { display: grid; grid-template-columns: auto auto auto; grid-column: 2; grid-row: 1; justify-self: center; align-items: center; justify-content: center; gap: 2px 6px; width: auto; max-width: 100%; min-height: 58px; margin: 0; padding: 8px 12px; border: 1px solid #e4e4e4; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; box-shadow: 0 2px 5px #00000008; }
  .mobile-order-trigger-icon { grid-column: 1; grid-row: 1; }
  #mobileOrderSummaryMethod { grid-column: 2 / 4; grid-row: 1; white-space: nowrap; }
  #mobileOrderSummaryTiming { grid-column: 1 / 3; grid-row: 2; font-size: 11px; color: var(--muted-dark); }
  .mobile-order-trigger-chevron { grid-column: 3; grid-row: 2; }
  .mobile-order-trigger-dot { display: none; }
  body.mobile-order-settings-open { overflow: hidden; }
  .mobile-order-settings-modal { place-items: start center; padding: 100px 16px 20px; }
  .mobile-order-settings-card { margin: 0; width: min(470px,100%); max-height: calc(100dvh - 120px); padding: 20px; background: #fff; border-radius: 20px; }
  .mobile-order-settings-header .eyebrow { display: none; }
  .mobile-order-settings-header h2 { font-size: 16px; }
  .mobile-order-settings-content .order-start-content { display: grid; gap: 20px; }
  .mobile-order-settings-content .fulfillment-bar,
  .mobile-order-settings-content .delivery-timing-panel { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }
  .mobile-order-settings-content .fulfillment-intro { display: none !important; }
  .mobile-order-settings-content .fulfillment-selector,
  .mobile-order-settings-content .timing-choice-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0; background: transparent; }
  .mobile-order-settings-content .fulfillment-btn,
  .mobile-order-settings-content .timing-choice { min-width: 0; margin: 0; width: 100%; padding: 12px 6px; border: 1px solid #e5e5e5; border-radius: 12px; background: #f4f4f4; color: #444; font: inherit; font-size: 12px; box-shadow: none; }
  .mobile-order-settings-content .fulfillment-btn { min-height: 86px; }
  .mobile-order-settings-content .timing-choice { min-height: 48px; }
  .mobile-order-settings-content .fulfillment-btn.active,
  .mobile-order-settings-content .timing-choice.active { border: 2px solid var(--ink); background: #fff; color: var(--ink); box-shadow: none; }
  .mobile-order-settings-content .delivery-timing-copy small { font-size: 11px; line-height: 1.6; }
  .mobile-order-settings-content .timing-choice:disabled { opacity: .55; cursor: not-allowed; }
  .schedule-modal { z-index: 140; }
}

/* Shared order dialog also available in the desktop header. */
  body.mobile-order-settings-open { overflow: hidden; }
  .mobile-order-settings-modal { place-items: start center; padding: 100px 16px 20px; }
  .mobile-order-settings-card { margin: 0; width: min(470px,100%); max-height: calc(100dvh - 120px); padding: 20px; background: #fff; border-radius: 20px; }
  .mobile-order-settings-header .eyebrow { display: none; }
  .mobile-order-settings-header h2 { font-size: 16px; }
  .mobile-order-settings-content .order-start-content { display: grid; gap: 20px; }
  .mobile-order-settings-content .fulfillment-bar,
  .mobile-order-settings-content .delivery-timing-panel { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }
  .mobile-order-settings-content .fulfillment-intro { display: none !important; }
  .mobile-order-settings-content .fulfillment-selector,
  .mobile-order-settings-content .timing-choice-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0; background: transparent; }
  .mobile-order-settings-content .fulfillment-btn,
  .mobile-order-settings-content .timing-choice { min-width: 0; margin: 0; width: 100%; padding: 12px 6px; border: 1px solid #e5e5e5; border-radius: 12px; background: #f4f4f4; color: #444; font: inherit; font-size: 12px; box-shadow: none; }
  .mobile-order-settings-content .fulfillment-btn { min-height: 86px; }
  .mobile-order-settings-content .timing-choice { min-height: 48px; }
  .mobile-order-settings-content .fulfillment-btn.active,
  .mobile-order-settings-content .timing-choice.active { border: 2px solid var(--ink); background: #fff; color: var(--ink); box-shadow: none; }
  .mobile-order-settings-content .delivery-timing-copy small { font-size: 11px; line-height: 1.6; }
  .mobile-order-settings-content .timing-choice:disabled { opacity: .55; cursor: not-allowed; }
  .schedule-modal { z-index: 140; }
@media (min-width: 901px) {
  .site-header .header-inner { width: 90%; max-width: none; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 24px; align-items: center; min-height: 94px; padding: 14px 0; }
  .site-header .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header .header-tools { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 10px; }
  .site-header .mobile-order-settings-trigger { display: flex; grid-column: 2; grid-row: 1; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  .mobile-order-trigger-dot { display: inline; }
  .mobile-order-trigger-chevron { font-size: 18px; color: var(--muted); }
  .order-start-bar { display: none !important; }
  .menu-section { width: 90%; max-width: none; }
  .featured-section { width: 100%; margin: 16px 0 54px; }
  .featured-section .menu-banner-slide { height: clamp(280px,26vw,440px); border-radius: 18px; overflow: visible; }
  .featured-section .menu-banner-slide picture { height: 100%; border-radius: inherit; overflow: hidden; }
  .featured-section .menu-banner-slide picture img { width: 100%; height: 100%; object-fit: contain; }
  .featured-dots { position: absolute; bottom: -34px; inset-block-end: -34px; background: transparent; padding: 0; gap: 9px; }
  .featured-dot, .featured-dot.active { width: 10px; height: 10px; }
  .menu-heading { justify-content: center; flex-direction: column; gap: 16px; text-align: center; }
  .menu-search { width: min(780px,80%); }
}

@media (min-width: 901px) {
  .featured-section .menu-banner-slide { height: auto; }
  .featured-section .menu-banner-slide picture { height: auto; }
  .featured-section .menu-banner-slide picture img { height: auto; }
  .menu-heading { align-items: center; }
  .menu-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .categories-panel { position: static; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .categories-panel .categories-title { display: none; }
  .categories-panel .categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
  .categories-panel .categories button { width: auto; min-width: 100px; border-radius: 99px; }
  .customer-menu-group-items { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width:901px) and (max-width:1150px) {
  .customer-menu-group-items { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (min-width:901px) {
  .categories-panel .categories { flex-direction: row; }
  .categories-panel .categories button { flex: 0 0 auto; width: auto !important; }
}

/* Match the requested desktop banner height while retaining its 90% width. */
@media (min-width: 901px) {
  .featured-section .menu-banner-slide { height: clamp(300px,35vw,660px); }
  .featured-section .menu-banner-slide picture { height: 100%; }
  .featured-section .menu-banner-slide picture img { height: 100%; object-fit: cover; object-position: center top; }
}

/* Desktop menu: restore the classic horizontal product rows and sticky side categories. */
@media (min-width: 901px) {
  .menu-layout {
    direction: inherit;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .categories-panel {
    direction: inherit;
    position: sticky;
    top: calc(var(--customer-sticky-header-height, 94px) + 16px);
    max-height: calc(100vh - var(--customer-sticky-header-height, 94px) - 32px);
    overflow-y: auto;
    padding: 14px 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .categories-panel .categories-title { display: block; padding-inline: 7px; }
  .categories-panel .categories { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; }
  .categories-panel .categories button {
    display: block;
    flex: 0 0 auto;
    width: 100% !important;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: start;
    white-space: normal;
  }
  .menu-content { direction: rtl; min-width: 0; }
  .customer-menu-group-items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .customer-menu-group-items > .card {
    display: grid;
    direction: ltr;
    grid-template-columns: 166px minmax(0, 1fr);
    grid-template-rows: minmax(148px, auto);
    min-height: 166px;
    align-content: stretch;
  }
  .customer-menu-group-items > .card > .card-img {
    grid-column: 1;
    grid-row: 1;
    order: initial;
    width: 100%;
    height: 100%;
    min-height: 148px;
    overflow: hidden;
  }
  .customer-menu-group-items > .card > .card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 8px;
  }
  .customer-menu-group-items > .card > .card-body {
    grid-column: 2;
    grid-row: 1;
    order: initial;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 16px 20px;
  }
  .customer-menu-group-items > .card .card-name,
  .customer-menu-group-items > .card .card-desc { width: 100%; }
  .customer-menu-group-items > .card .card-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .customer-menu-group-items > .card .card-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
    justify-content: space-between;
  }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .menu-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 18px; }
  .customer-menu-group-items > .card { grid-template-columns: 145px minmax(0, 1fr); }
  .customer-menu-group-items > .card > .card-img { min-height: 140px; }
}


/* Equal-size customer header actions */
html body button#cartBtn,
html body button#myOrdersBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  flex: 1 1 145px !important;
  width: 145px !important;
  min-width: min(122px, 35vw) !important;
  max-width: 166px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 13px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
html body button#cartBtn {
  background: #f5a623 !important;
  box-shadow: 0 5px 13px rgba(120, 75, 0, .18) !important;
}
html body button#cartBtn:hover {
  background: #e89412 !important;
}
html body button#cartBtn .badge {
  color: #d97706 !important;
}
html body button#myOrdersBtn {
  background: #292524 !important;
  box-shadow: 0 5px 13px rgba(35, 31, 30, .18) !important;
}
html body button#myOrdersBtn:hover {
  background: #3c3633 !important;
}
@media (max-width: 650px) {
  html body button#cartBtn,
  html body button#myOrdersBtn {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: min(122px, 35vw) !important;
    max-width: 166px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding-inline: 9px !important;
    font-size: 12px !important;
  }
}


/* Keep storefront category navigation and headers aligned with the selected language. */
html[lang="en"] .cat-btn { direction: ltr; text-align: left; }
html[lang="en"] .customer-menu-group-head { direction: ltr; text-align: left; }
html[lang="en"] .customer-menu-group-head strong { text-align: left; }
html[lang="en"] .customer-menu-group-head span { text-align: right; }

/* Narrow product cards need a full row for localized and discounted prices. */
@media (max-width: 900px) {
  .customer-menu-group-items > .card .card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: 10px;
  }
  .customer-menu-group-items > .card .card-footer > .card-price {
    width: 100%;
    min-width: 0;
    margin: 0;
    text-align: start;
  }
  .customer-menu-group-items > .card .card-price .price-display {
    max-width: 100%;
  }
  .customer-menu-group-items > .card .card-price .price-after,
  .customer-menu-group-items > .card .card-price .price-before {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .customer-menu-group-items > .card .card-footer > .btn-add,
  .customer-menu-group-items > .card .card-footer > .quick-qty {
    grid-column: 1;
    width: auto;
    max-width: 100%;
    justify-self: start;
  }
  .customer-menu-group-items > .card .card-footer > .btn-add {
    min-width: 88px;
  }
}

/* Let the mobile cart copy follow the storefront language. */
.mobile-cart-bar .mobile-cart-copy { text-align: start; }

/* Single-restaurant order header trial: Al Baraka only. */
.order-strip-change { display: none; }
html[data-order-header="strip"] .site-header .header-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}
html[data-order-header="strip"] .site-header .header-tools,
html[data-order-header="strip"] .mobile-header-menu { grid-column: 2; }
html[data-order-header="strip"] .order-settings-strip {
  width: 100%;
  border-top: 1px solid #f1e8df;
  border-bottom: 1px solid #f1e8df;
  background: #fff3e5;
}
html[data-order-header="strip"] .order-settings-strip .mobile-order-settings-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 90%;
  min-height: 50px;
  max-width: none;
  margin: 0 auto;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}
html[data-order-header="strip"] .order-settings-strip .mobile-order-trigger-dot { display: inline; }
html[data-order-header="strip"] .order-settings-strip #mobileOrderSummaryTiming {
  color: var(--muted-dark);
  font-size: inherit;
}
html[data-order-header="strip"] .order-settings-strip .order-strip-change {
  display: inline;
  margin-inline-start: auto;
  color: var(--primary);
}
html[data-order-header="strip"] .order-settings-strip .mobile-order-trigger-chevron {
  display: inline-grid;
  place-items: center;
  flex: 0 0 14px;
  width: 14px;
  height: 18px;
  margin-inline-start: 0;
  color: transparent;
  font-size: 0;
  line-height: 1;
}
html[data-order-header="strip"] .order-settings-strip .mobile-order-trigger-chevron::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  border-radius: 0 0 2px 0;
  transform: rotate(45deg);
}
html[data-order-header="strip"] .order-settings-strip .mobile-order-settings-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -3px;
}
@media (max-width: 900px) {
  html[data-order-header="strip"] .site-header .header-inner { min-height: 64px; padding-block: 8px; }
  html[data-order-header="strip"] .order-settings-strip .mobile-order-settings-trigger {
    width: 100%;
    padding: 10px 18px;
    font-size: 12px;
    gap: 6px;
    flex-wrap: wrap;
  }
}


/* Al Baraka order strip: balanced desktop width; mobile layout remains unchanged. */
@media (min-width: 901px) {
  html[data-order-header="strip"] .order-settings-strip {
    width: min(calc(100% - 48px), 960px);
    margin: 14px auto 0;
    overflow: hidden;
    border: 1px solid #f1e8df;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(48, 36, 20, .06);
  }
  html[data-order-header="strip"] .order-settings-strip .mobile-order-settings-trigger {
    width: 100%;
    min-height: 52px;
    padding-inline: 20px;
  }
}


/* Al Baraka only: keep delivery selection beside the menu heading on desktop. */
@media (min-width: 901px) {
  html[data-order-header="strip"] .order-settings-strip {
    display: none;
  }
  html[data-order-header="strip"] .menu-section > .menu-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: stretch;
    flex-direction: initial;
    gap: 14px 24px;
    text-align: start;
  }
  html[data-order-header="strip"] .menu-section > .menu-heading > div:first-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    text-align: start;
  }
  html[data-order-header="strip"] .menu-section > .menu-heading > .mobile-order-settings-trigger {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: auto;
    max-width: min(100%, 460px);
    min-height: 52px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #eee3d7;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: start;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, transform .18s;
  }
  html[data-order-header="strip"] .menu-section > .menu-heading > .mobile-order-settings-trigger:hover {
    border-color: #e9c6ad;
    box-shadow: 0 7px 18px rgba(72,53,33,.10);
    transform: translateY(-1px);
  }
  html[data-order-header="strip"] .menu-section > .menu-heading .mobile-order-trigger-icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary-soft);
  }
  html[data-order-header="strip"] .menu-section > .menu-heading .mobile-order-trigger-dot {
    display: inline;
    color: #a99b8f;
  }
  html[data-order-header="strip"] .menu-section > .menu-heading #mobileOrderSummaryTiming {
    color: var(--muted-dark);
  }
  html[data-order-header="strip"] .menu-section > .menu-heading .order-strip-change {
    display: inline;
    margin-inline-start: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
  }
  html[data-order-header="strip"] .menu-section > .menu-heading .mobile-order-trigger-chevron {
    margin-inline-start: 0;
    color: var(--muted);
  }
  html[data-order-header="strip"] .menu-section > .menu-heading > .menu-search {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(780px, 80%);
  }
  html[data-order-header="strip"] .menu-section > .menu-heading .mobile-order-settings-trigger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
  }
}

/* Al Baraka desktop product photos fill their frames without distortion. */
@media (min-width: 901px) {
  html[data-order-header="strip"] .card-img {
    position: relative;
    overflow: hidden;
  }
  html[data-order-header="strip"] .card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    object-fit: cover;
    object-position: center;
  }
}


/* Consistent desktop delivery selector chevron */
@media (min-width: 901px) {
  .site-header .mobile-order-settings-trigger .mobile-order-trigger-chevron {
    display: inline-grid;
    place-items: center;
    flex: 0 0 14px;
    width: 14px;
    height: 20px;
    margin-inline-start: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    line-height: 1;
  }
  .site-header .mobile-order-settings-trigger .mobile-order-trigger-chevron::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    border-radius: 0 0 2px 0;
    transform: rotate(45deg);
  }
}

/* Desktop product detail modal: balanced image, compact options, and a clear quantity area. */
@media (min-width: 901px) {
  .item-modal-card {
    width: min(1000px, calc(100vw - 64px));
    max-height: min(700px, calc(100vh - 64px));
  }
  .item-modal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .item-modal-media {
    min-height: 430px;
    background: var(--cream);
  }
  .item-modal-media img {
    object-fit: contain;
    padding: 18px;
  }
  .item-modal-content {
    max-height: min(550px, calc(100vh - 190px));
    padding: 30px 32px 26px;
  }
  #itemModalOptions > .info {
    margin: 14px 0 20px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    text-align: right;
    font-size: 12px;
  }
  .modal-quantity-row {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .item-modal-content #itemModalNote {
    min-height: 88px;
  }
  .modal-action-bar {
    padding: 14px 26px;
  }
}
/* Product description typography and language-aware alignment on desktop. */
@media (min-width: 901px) {
  #itemModalEyebrow {
    display: none;
  }
  .item-modal-content .modal-description {
    margin: 16px 0 20px;
    padding: 12px 0;
    color: var(--muted-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.85;
    text-align: start;
  }
  html[dir="ltr"] .item-modal-content .modal-description {
    direction: ltr;
    text-align: left;
  }
}
@media (min-width: 901px) {
  #itemModalDescription:empty {
    display: none;
  }
}

/* Al Baraka desktop product modal polish preview */
@media (min-width: 901px) {
  html[data-order-header="strip"] .modal-title-row {
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
  }
  html[data-order-header="strip"] .modal-title-row h2 {
    line-height: 1.35;
  }
  html[data-order-header="strip"] .modal-price {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
  }
  html[data-order-header="strip"] #itemModalOptions > .info {
    margin: 12px 0 8px;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    text-align: right;
    font-size: 11px;
  }
  html[data-order-header="strip"] .modal-quantity-row {
    margin-top: 0;
    padding-top: 14px;
  }
  html[data-order-header="strip"] .item-note-label {
    margin-top: 14px;
    font-size: 13px;
  }
  html[data-order-header="strip"] .item-modal-content #itemModalNote {
    min-height: 76px;
    border-radius: 12px;
  }
}

/* Keep the close control clear of the title on Al Baraka desktop. */
@media (min-width: 901px) {
  html[data-order-header="strip"] .item-modal-media {
    background: #fff;
  }
  html[data-order-header="strip"] .item-modal-media img {
    padding: 0;
    object-fit: contain;
  }
  html[data-order-header="strip"] .item-modal-content {
    padding-top: 62px;
  }
  html[data-order-header="strip"] .item-modal-close {
    inset-inline-start: auto;
    inset-inline-end: auto;
    inset-block-start: 14px;
    left: calc(50% + 16px);
  }
}


/* Al Baraka desktop modal correction: preserve the full photo and keep close at the card corner. */
@media (min-width: 901px) {
  html[data-order-header="strip"] .item-modal-media {
    background: #fff;
  }
  html[data-order-header="strip"] .item-modal-media img {
    object-fit: contain;
    padding: 18px;
  }
  html[data-order-header="strip"] .item-modal-content {
    padding-top: 30px;
  }
  html[data-order-header="strip"] .item-modal-close {
    top: 14px;
    right: 14px;
    left: auto;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7f7f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  }
  html[data-order-header="strip"] .modal-title-row > div:first-child {
    padding-top: 14px;
  }
}


/* Shared desktop product modal close and title spacing for every storefront. */
@media (min-width: 901px) {
  .item-modal-close {
    top: 14px;
    right: 14px;
    left: auto;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7f7f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  }
  .modal-title-row > div:first-child {
    padding-top: 14px;
  }
}


/* Keep product photo panels neutral across all storefronts on desktop. */
@media (min-width: 901px) {
  .item-modal-media {
    background: #fff;
  }
}


/* Clear, readable product descriptions in every storefront and language. */
.item-modal-content .modal-description {
  margin: 12px 0 16px;
  padding: 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  text-align: start;
  overflow-wrap: anywhere;
}
@media (min-width: 901px) {
  .item-modal-content .modal-description {
    margin: 16px 0 20px;
    font-size: 15px;
  }
}
html[dir="ltr"] .item-modal-content .modal-description {
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] .item-modal-content .modal-description {
  direction: rtl;
  text-align: right;
}


/* English product options read left to right in the existing modal layout. */
html[dir="ltr"] .item-modal-content,
html[dir="ltr"] .item-modal-content .product-options,
html[dir="ltr"] .item-modal-content .product-options legend,
html[dir="ltr"] .item-modal-content .product-options label,
html[dir="ltr"] .item-modal-content .modal-quantity-row,
html[dir="ltr"] .item-modal-content #itemModalOptions > .info {
  direction: ltr;
  text-align: left;
}


/* Calm progress state for incomplete required choices and upsell options. */
.form-msg.pending { color: var(--muted-dark); }
.option-requirement { display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-align: right; }
.option-requirement .btn-link { flex: 0 0 auto; font-weight: 800; }


/* Service charge information dialog: branded, compact and responsive. */
#serviceChargeDialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: min(82dvh, 520px);
  margin: auto;
  padding: 24px 26px 22px;
  overflow: auto;
  border: 1px solid #e6e9ef;
  border-radius: 22px;
  background: #fff;
  color: #202632;
  box-shadow: 0 24px 80px rgba(20, 29, 45, .24);
  font: inherit;
}
#serviceChargeDialog::backdrop {
  background: rgba(19, 25, 36, .52);
  backdrop-filter: blur(3px);
}
#serviceChargeDialog h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  color: #202632;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}
#serviceChargeDialog h2::before {
  content: "i";
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fff2dc;
  color: #d86e1a;
  font: 800 18px/1 Arial, sans-serif;
}
#serviceChargeDialog p {
  margin: 0 0 22px;
  color: #596273;
  font-size: 15px;
  line-height: 1.75;
}
#serviceChargeDialog #closeServiceChargeDialog {
  display: inline-flex;
  width: auto;
  min-width: 116px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #f5a51b;
  color: #171717;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
#serviceChargeDialog #closeServiceChargeDialog:hover { filter: brightness(.96); }
#serviceChargeInfo {
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-inline-start: 6px;
  padding: 0;
  border: 1px solid #f2c77c;
  border-radius: 50%;
  background: #fff7e8;
  color: #9b5b08;
  font: 700 14px/1 Arial, sans-serif;
  cursor: pointer;
}
#serviceChargeInfo:focus-visible, #serviceChargeDialog #closeServiceChargeDialog:focus-visible {
  outline: 3px solid rgba(245, 165, 27, .4);
  outline-offset: 3px;
}
@media (max-width: 520px) {
  #serviceChargeDialog {
    width: calc(100vw - 28px);
    max-height: min(78dvh, 480px);
    padding: 20px 19px 18px;
    border-radius: 18px;
  }
  #serviceChargeDialog h2 { font-size: 19px; }
  #serviceChargeDialog p { font-size: 14px; }
}


/* Keep every checkout amount in one fixed column; reserve the last slot for the info icon. */
.order-summary .summary-row,
.order-summary .summary-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 220px) 28px;
  align-items: center;
  column-gap: 10px;
}
.order-summary .summary-row > strong,
.order-summary .summary-total > strong {
  grid-column: 2;
  justify-self: stretch;
  min-width: 0;
  max-width: 220px;
  text-align: end;
  white-space: normal;
  overflow-wrap: anywhere;
}
.order-summary #serviceChargeInfo {
  grid-column: 3;
  justify-self: end;
  margin: 0;
}
.order-summary .summary-total {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 220px) 28px;
}
@media (max-width: 520px) {
  .order-summary .summary-row,
  .order-summary .summary-total {
    grid-template-columns: minmax(0, 1fr) minmax(76px, 38%) 26px;
    column-gap: 7px;
  }
  .order-summary .summary-row > strong,
  .order-summary .summary-total > strong { max-width: 38vw; }
}

/* Albaraka category image rail: enabled only for the restaurant trial. */
.menu-layout.menu-layout--category-rail {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px;
}
.menu-layout--category-rail .categories-panel {
  position: sticky;
  top: calc(var(--customer-sticky-header-height, 60px) + 6px);
  z-index: 35;
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 8px 0 10px;
  border: 0;
  border-radius: 0;
  background: rgba(251, 251, 252, .96);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.menu-layout--category-rail .categories-panel .categories-title {
  display: block;
  margin: 0 0 7px;
  padding-inline: 4px;
  font-size: 12px;
}
.menu-layout--category-rail .categories-panel .categories {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 3px 8px;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.menu-layout--category-rail .categories-panel .categories .cat-btn {
  display: grid;
  flex: 0 0 94px;
  grid-template-rows: 54px auto;
  justify-items: center;
  align-content: center;
  gap: 5px;
  width: 94px !important;
  min-width: 94px;
  min-height: 92px;
  padding: 8px 6px;
  border: 1px solid #e6e8eb;
  border-radius: 15px;
  background: #fff;
  color: var(--ink, #24272d);
  text-align: center;
  white-space: normal;
  box-shadow: 0 3px 10px rgba(25, 32, 42, .05);
  scroll-snap-align: start;
}
.menu-layout--category-rail .categories-panel .categories .cat-btn:hover {
  border-color: #f0b255;
  background: #fff9ef;
}
html body .menu-layout--category-rail .categories-panel .categories .cat-btn.active,
html body .menu-layout--category-rail .categories-panel .categories .cat-btn.active:hover {
  border-color: #e89412 !important;
  background: #f5a623 !important;
  color: #17191d !important;
  box-shadow: 0 5px 13px rgba(120, 75, 0, .16) !important;
}
.category-tile-picture {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f4f1ec;
  color: #684f32;
  font-size: 28px;
}
.category-tile-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}
.category-tile-placeholder[hidden] { display: none !important; }
.category-tile-label {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.menu-layout--category-rail .customer-menu-group {
  scroll-margin-top: calc(var(--customer-sticky-header-height, 60px) + var(--customer-categories-height, 100px) + 14px);
}
@media (min-width: 651px) {
  .menu-layout--category-rail .categories-panel {
    top: calc(var(--customer-sticky-header-height, 94px) + 6px);
  }
}
@media (max-width: 650px) {
  .menu-layout--category-rail .categories-panel {
    margin-inline: -12px;
    padding: 7px 12px 8px;
  }
  .menu-layout--category-rail .categories-panel .categories .cat-btn {
    flex-basis: 82px;
    width: 82px !important;
    min-width: 82px;
    min-height: 84px;
    grid-template-rows: 48px auto;
    padding: 6px 5px;
  }
  .menu-layout--category-rail .category-tile-picture {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }
  .menu-layout--category-rail .category-tile-label { font-size: 10px; }
}


/* Shared compact mobile header and right-hand navigation drawer. */
.mobile-navigation-trigger { display: none; }
.navigation-icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; vertical-align: middle; }
.mobile-navigation-drawer { display: none; }
html[data-mobile-navigation="drawer"] .cart-btn-icon { display: inline-flex; }
html[data-mobile-navigation="drawer"] #mobileNavigationLanguageLabel { display: none; }
@media (max-width: 900px) {
  html[data-mobile-navigation="drawer"] .site-header .header-inner {
    width: 100%; max-width: 1240px; min-height: 72px; padding: 10px 12px;
    display: grid; grid-template-columns: 44px 44px minmax(0, 1fr) 48px; gap: 8px;
  }
  html[data-mobile-navigation="drawer"] .mobile-header-menu { display: none; }
  html[data-mobile-navigation="drawer"] .mobile-navigation-trigger {
    display: inline-grid; place-items: center; grid-column: 1; grid-row: 1;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
    background: transparent; color: var(--ink); cursor: pointer;
  }
  html[data-mobile-navigation="drawer"] .site-header .brand { grid-column: 2; grid-row: 1; justify-self: center; min-width: 0; }
  html[data-mobile-navigation="drawer"] .site-header .brand-mark { width: 40px; height: 40px; font-size: 26px; border-radius: 12px; }
  html[data-mobile-navigation="drawer"] .site-header .header-inner .mobile-order-settings-trigger {
    grid-column: 3; grid-row: 1; display: grid; grid-template-columns: 22px minmax(0, 1fr) 12px;
    width: 100%; max-width: 156px; min-width: 0; min-height: 68px; padding: 8px 10px; gap: 2px 6px;
    border: 1px solid #e4e4e4; border-radius: 12px; background: #fff; box-shadow: 0 2px 5px #00000008;
    text-align: start; justify-content: center; font-size: 12px;
  }
  html[data-mobile-navigation="drawer"] .site-header .header-inner .mobile-order-trigger-icon { display: block; grid-column: 1; grid-row: 1; font-size: 20px; }
  html[data-mobile-navigation="drawer"] .site-header .header-inner #mobileOrderSummaryMethod {
    grid-column: 2 / 4; grid-row: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  html[data-mobile-navigation="drawer"] .site-header .header-inner #mobileOrderSummaryTiming { grid-column: 1 / 3; grid-row: 2; font-size: 11px; text-align: center; }
  html[data-mobile-navigation="drawer"] .site-header .header-inner .mobile-order-trigger-chevron { grid-column: 3; grid-row: 2; color: var(--muted-dark); }
  html[data-mobile-navigation="drawer"] .site-header #cartBtn {
    position: relative; grid-column: 4; grid-row: 1; justify-self: end;
    display: inline-flex; width: 44px; min-width: 44px; height: 44px; padding: 0;
    border-radius: 12px; background: var(--primary-soft); color: var(--ink); box-shadow: none;
  }
  html[data-mobile-navigation="drawer"] .site-header #cartButtonLabel { display: none; }
  html[data-mobile-navigation="drawer"] .site-header #cartCount {
    position: absolute; top: -3px; inset-inline-end: -3px; min-width: 18px; height: 18px;
    padding: 0 4px; background: var(--primary); color: #fff; font-size: 10px; border: 2px solid #fff;
  }
  body.mobile-navigation-open { overflow: hidden; }
  .mobile-navigation-drawer[open] {
    position: fixed; inset: 0; margin: 0 0 0 auto;
    display: flex; flex-direction: column; width: min(80vw, 340px); max-width: none;
    height: 100dvh; max-height: none; padding: max(20px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
    border: 0; border-radius: 24px 0 0 24px; background: #fff; color: var(--ink);
    overflow-y: auto; overscroll-behavior: contain; box-shadow: -12px 0 40px #00000012;
    animation: mobile-navigation-enter .2s ease-out;
  }
  .mobile-navigation-drawer::backdrop { background: rgba(20, 18, 15, .38); }
  .mobile-navigation-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-navigation-heading h2 { font-size: 21px; font-weight: 800; }
  .mobile-navigation-heading button {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px;
    border: 0; border-radius: 50%; background: #f7f6f3; color: var(--ink);
  }
  .mobile-navigation-brand { margin: 2px 0 28px; color: var(--muted-dark); font-size: 13px; }
  #mobileNavigationContent { display: flex; flex: 1; min-height: 190px; }
  #mobileNavigationContent .header-tools { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  #mobileNavigationContent .customer-account-btn,
  #mobileNavigationContent .my-orders-btn {
    display: flex; align-items: center; justify-content: flex-start; gap: 14px; order: 1;
    width: 100%; min-width: 0; min-height: 62px; margin: 0; padding: 14px 0;
    border: 0; border-bottom: 1px solid #f0eeea; border-radius: 0;
    background: transparent; color: var(--ink); box-shadow: none; font-size: 15px; font-weight: 700; text-align: start;
  }
  #mobileNavigationContent .my-orders-btn { order: 2; }
  #mobileNavigationContent .customer-account-btn span { display: inline; }
  #mobileNavigationContent .navigation-icon { color: var(--muted-dark); }
  #mobileNavigationContent .language-picker {
    display: flex; align-items: center; gap: 10px; order: 3; width: 100%; min-height: 56px;
    margin: auto 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid #f0eeea;
    border-radius: 0; background: transparent; color: var(--muted-dark); box-shadow: none;
  }
  html[data-mobile-navigation="drawer"] #mobileNavigationLanguageLabel { display: inline; font-size: 13px; }
  #mobileNavigationContent .language-picker > span:first-child { display: inline-flex; }
  #mobileNavigationContent .language-picker select {
    width: auto; min-width: 0; max-width: 58%; margin-inline-start: auto; padding: 8px 4px;
    border: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700;
  }
  .mobile-navigation-trigger:focus-visible,
  .mobile-navigation-drawer button:focus-visible,
  #mobileNavigationContent select:focus-visible {
    outline: 2px solid var(--primary); outline-offset: 3px;
  }
  #mobileNavigationContent button:hover { color: var(--primary); }
}
@keyframes mobile-navigation-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mobile-navigation-drawer[open] { animation: none; } }

/* Override legacy !important dimensions inside the shared mobile navigation. */
@media (max-width: 900px) {
  html[data-mobile-navigation="drawer"] .site-header #cartBtn {
    flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; max-width: 44px !important;
    height: 44px !important; min-height: 44px !important; padding: 0 !important;
    border-radius: 12px !important; background: var(--primary-soft) !important;
    color: var(--ink) !important; box-shadow: none !important;
  }
  html[data-mobile-navigation="drawer"] #mobileNavigationContent #myOrdersBtn {
    flex: 0 0 auto !important; width: 100% !important; min-width: 0 !important; max-width: none !important;
    height: 62px !important; min-height: 62px !important; padding: 14px 0 !important;
    justify-content: flex-start !important; gap: 14px !important;
    border: 0 !important; border-bottom: 1px solid #f0eeea !important; border-radius: 0 !important;
    background: transparent !important; color: var(--ink) !important;
    box-shadow: none !important; font-size: 15px !important; font-weight: 700 !important;
  }
  html[data-mobile-navigation="drawer"] #mobileNavigationContent #myOrdersBtn:hover { color: var(--primary) !important; }
}

/* A legible brand mark with the full logo kept inside its frame. */
html[data-mobile-navigation="drawer"] .site-header .brand-mark {
  width: 84px !important; height: 84px !important; flex: 0 0 84px;
  background-size: contain !important; background-color: transparent !important; border-radius: 0; font-size: 44px;
}
@media (max-width: 900px) {
  html[data-mobile-navigation="drawer"] .site-header .header-inner {
    grid-template-columns: 44px 64px minmax(0, 1fr) 48px; min-height: 84px;
  }
  html[data-mobile-navigation="drawer"] .site-header .brand-mark {
    width: 64px !important; height: 64px !important; flex-basis: 64px; font-size: 36px;
  }
  /* Keep restaurants using the separate order strip on their existing flow. */
  html[data-mobile-navigation="drawer"][data-order-header="strip"] .site-header .header-inner {
    grid-template-columns: 44px minmax(0, 1fr) 48px;
  }
  html[data-mobile-navigation="drawer"][data-order-header="strip"] .site-header .brand { width: auto; }
  html[data-mobile-navigation="drawer"][data-order-header="strip"] .site-header #cartBtn { grid-column: 3; }
}

/* Keep the restored order card readable next to the larger logo on narrow phones. */
@media (max-width: 360px) {
  html[data-mobile-navigation="drawer"]:not([data-order-header="strip"]) .site-header .header-inner {
    grid-template-columns: 44px 64px minmax(0, 1fr) 44px; gap: 4px; padding-inline: 6px;
  }
}

/* An unpaid online order must never look confirmed. */
.order-status-pill.is-payment-pending{background:#fff4ce;color:#855700;border:1px solid #efd18b}
.order-payment-pending{background:#fff8e5;border:1px solid #efd18b;color:#77520c}
.order-payment-pending strong{font-size:1.05rem;letter-spacing:normal}
.order-payment-pending small{display:block;line-height:1.8;margin:8px 0 12px}
.order-payment-pending button.button{display:block;width:100%;padding:12px 16px;border:0;border-radius:12px;background:#f1a12b;color:#241b0c;font:inherit;font-weight:700;cursor:pointer}
.order-payment-pending button.button:disabled{opacity:.6;cursor:wait}


/* Customer payment choices: visible radio cards for cash and card on mobile. */
.customer-payment-options:not(.hidden) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 2px; }
.customer-payment-options .uk-payment-option { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: center; gap: 9px; width: 100%; min-height: 78px; padding: 11px; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink); text-align: start; cursor: pointer; }
.customer-payment-options .uk-payment-option.is-selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.customer-payment-options .uk-payment-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 18px; }
.customer-payment-options .uk-payment-copy { display: grid; gap: 3px; min-width: 0; }
.customer-payment-options .uk-payment-copy strong { font-size: 12px; line-height: 1.35; }
.customer-payment-options .uk-payment-copy small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.payment-method-radio { width: 19px; height: 19px; display: grid; place-items: center; border: 2px solid #a6adb6; border-radius: 50%; }
.payment-method-radio > span { width: 9px; height: 9px; border-radius: 50%; background: transparent; }
.uk-payment-option.is-selected .payment-method-radio { border-color: var(--primary); }
.uk-payment-option.is-selected .payment-method-radio > span { background: var(--primary); }
@media (max-width: 650px) {
  html.customer-non-gb .container { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  .customer-payment-options:not(.hidden) { gap: 8px; }
  .customer-payment-options .uk-payment-option { grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 7px; min-height: 76px; padding: 9px 8px; }
  .customer-payment-options .uk-payment-icon { width: 28px; height: 28px; font-size: 16px; }
  .customer-payment-options .uk-payment-copy strong { font-size: 11px; }
  .customer-payment-options .uk-payment-copy small { font-size: 9px; }
}

/* Payment choices and mobile add-to-cart feedback. */
.customer-payment-options:not(.hidden) { grid-template-columns: minmax(0, 1fr); }
.customer-payment-options .uk-payment-option { min-height: 58px; }
html.customer-non-gb .toast {
  left: 50%; right: auto; inset-inline-start: auto; inset-inline-end: auto;
  transform: translateX(-50%); bottom: calc(100px + env(safe-area-inset-bottom));
  width: max-content; max-width: calc(100vw - 32px); white-space: normal;
  overflow-wrap: anywhere; z-index: 220;
}

/* Keep account navigation inside the sticky drawer header at every screen size. */
.my-orders-drawer .section-heading > .account-drawer-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-width: 0; margin: 0; padding: 0; grid-row: 1; text-align: start;
}
.account-drawer-heading > div { min-width: 0; }
.my-orders-drawer .account-home-button {
  position: static; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; flex: 0 0 auto; min-height: 44px; padding: 9px 12px;
  border: 1px solid var(--site-border, #eadfce); border-radius: 12px;
  background: #fffaf3; color: var(--site-text, #292524);
  font-size: 13px; line-height: 1.4; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.account-home-button svg { flex: 0 0 auto; }
html[dir="rtl"] .account-home-button svg { transform: rotate(180deg); }
.account-home-button:focus-visible { outline: 3px solid var(--site-accent, #f1a12b); outline-offset: 2px; }

/* Cash-first order card with optional Paymob checkout. */
.cash-payment-choice {
  display: grid;
  gap: 9px;
  margin: 10px 0;
  padding: 14px;
  border: 1px solid #dce8df;
  border-radius: 14px;
  background: #fbfdfb;
  color: #26352c;
}
.cash-payment-choice__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.cash-payment-choice__heading > span { font-size: 18px; line-height: 1; }
.cash-payment-choice__heading strong { font-size: inherit; letter-spacing: normal; }
.cash-payment-choice__hint {
  display: block;
  color: #59665d;
  font-size: 12px;
  line-height: 1.6;
}
.cash-payment-choice__due {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0f6f1;
  font-size: 13px;
}
.cash-payment-choice__due strong { color: #176b43; font-size: 15px; white-space: nowrap; }
.cash-payment-online {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  justify-self: stretch;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid #f4a51c !important;
  border-radius: 12px;
  background: #fff4d7 !important;
  color: #8a4b08 !important;
  box-shadow: 0 4px 12px rgba(157, 94, 13, .13) !important;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  cursor: pointer;
}
.cash-payment-online > span:first-child { font-size: 18px; line-height: 1; }
.cash-payment-online:hover:not(:disabled) { background: #ffedc2 !important; border-color: #e99210 !important; }
.cash-payment-online:disabled { opacity: .65; cursor: wait; }
