@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root { --ink:#101820; --muted:#69737d; --blue:#3b82f6; --line:#e4e9ef; --paper:#fff; --wash:#f4f7fb; --radius:8px; }
* { box-sizing:border-box; }
html, body { margin:0; padding:0; height:100%; }
body { margin:0; color:var(--ink); font-family:'Inter',Arial,Helvetica,sans-serif; background:linear-gradient(135deg,#f7faff 0%,#edf2f7 100%); }
button, input { font:inherit; }
button, a { -webkit-tap-highlight-color:transparent; }
.client-body { min-height:100vh; overflow:hidden; }
.top-bar { position:fixed; top:0; left:0; right:0; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:1rem; background:rgba(255,255,255,.95); border-bottom:1px solid rgba(0,0,0,.1); backdrop-filter:blur(10px); }
.social-icons { display:flex; gap:2rem; }
.action-buttons { display:flex; flex-direction:row; gap:1rem; }
.social-icon { position:relative; display:grid; place-items:center; width:50px; height:50px; border-radius:50%; color:#666; background:#fff; box-shadow:0 4px 12px rgba(0,0,0,.15); text-decoration:none; transition:.3s ease; font-size:20px; }
.social-icon:hover { color:#fff; transform:translateY(-3px); }
.social-icon.tiktok:hover { background:#000; box-shadow:0 8px 20px rgba(0,0,0,.3); }
.social-icon.facebook:hover { background:#3b5998; box-shadow:0 8px 20px rgba(59,89,152,.4); }
.social-icon.location:hover { background:#34b7f1; box-shadow:0 8px 20px rgba(52,183,241,.4); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; width:auto; padding:.5rem 1rem; border:0; border-radius:calc(var(--radius) - 2px); font-size:.875rem; font-weight:500; text-decoration:none; cursor:pointer; transition:all .2s; box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06); }
.btn-primary { background:#3b82f6; color:#fff; }
.btn-primary:hover { background:#2563eb; transform:translateY(-1px); box-shadow:0 4px 12px rgba(59,130,246,.4); }
.btn-secondary { background:#fff; color:#3b82f6; border:1px solid #3b82f6; }
.btn-secondary:hover { background:rgba(59,130,246,.05); transform:translateY(-1px); }
.svg-viewer { position:fixed; top:90px; left:0; right:0; bottom:0; background:#fff; border-radius:20px 20px 0 0; box-shadow:0 -4px 20px rgba(0,0,0,.1); overflow:hidden; display:flex; flex-direction:column; }
.svg-pages { flex:1; overflow:auto; padding:1rem; display:flex; flex-direction:column; align-items:center; gap:1rem; }
.svg-page { width:min(100%,1100px); margin:0; padding:0; }
.svg-page img { display:block; width:100%; height:auto; border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,.1); content-visibility:auto; }
.loading-spinner { display:flex; flex-direction:column; align-items:center; justify-content:center; height:200px; gap:1rem; color:var(--ink); }
.spinner { width:40px; height:40px; border:4px solid #f3f3f3; border-top:4px solid #3b82f6; border-radius:50%; animation:spin 1s linear infinite; }
@keyframes spin { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } }
.no-menu { display:flex; justify-content:center; align-items:center; height:100%; min-height:60vh; flex-direction:column; text-align:center; padding:2rem; }
.no-menu-icon { font-size:4rem; color:#94a3b8; margin-bottom:1.5rem; }
.no-menu-title { font-size:1.5rem; font-weight:600; color:#1e293b; margin:0 0 .75rem; }
.no-menu-text { color:#64748b; max-width:400px; margin:0 0 1.5rem; }
.mobile-hint { position:fixed; bottom:1rem; left:50%; transform:translateX(-50%); z-index:20; background:rgba(0,0,0,.7); color:#fff; padding:.5rem 1rem; border-radius:20px; font-size:.75rem; text-align:center; backdrop-filter:blur(10px); }
@media (min-width:768px) { .mobile-hint { display:none; } }
.toast { position:fixed; bottom:24px; left:50%; z-index:20; transform:translateX(-50%); padding:11px 16px; border-radius:12px; color:#fff; background:#14202b; box-shadow:0 8px 24px rgba(0,0,0,.2); }
.admin-body { min-height:100vh; padding:32px; }
.admin-shell { width:min(1180px,100%); margin:auto; }
.admin-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:28px; }
.eyebrow { margin:0 0 6px; color:var(--blue); font-size:.8rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
h1, h2, p { margin-top:0; }
h1 { margin-bottom:8px; font-size:clamp(1.8rem,4vw,3rem); line-height:1.1; }
.subtitle { margin:0; color:var(--muted); }
.panel { padding:22px; background:rgba(255,255,255,.85); border:1px solid rgba(228,233,239,.9); border-radius:var(--radius); box-shadow:0 15px 35px rgba(16,24,32,.06); }
.upload-panel { display:grid; grid-template-columns:1.15fr .85fr; gap:22px; align-items:stretch; }
.dropzone { min-height:220px; display:grid; place-items:center; text-align:center; padding:24px; border:2px dashed #bcd2ee; border-radius:14px; background:#f8fbff; cursor:pointer; }
.dropzone input { display:none; }
.dropzone strong { display:block; font-size:1.1rem; margin-bottom:6px; }
.dropzone span { color:var(--muted); font-size:.9rem; }
.field { display:grid; gap:8px; margin-bottom:16px; }
.field label { font-weight:700; font-size:.9rem; }
.field input { width:100%; padding:12px 13px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:10px; outline:0; }
.field input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(35,118,232,.12); }
.full-btn { width:100%; justify-content:center; }
.page-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:16px; margin-top:22px; }
.page-card { overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:14px; }
.page-thumb { min-height:170px; display:grid; place-items:center; padding:10px; background:#f7f9fc; }
.page-thumb img { max-width:100%; max-height:210px; }
.page-thumb-light { background:linear-gradient(135deg,#eef4ff,#f8fbff); color:#3b82f6; font-size:2rem; font-weight:800; letter-spacing:.08em; }
.page-info { padding:14px; }
.page-order { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; color:var(--muted); font-size:.88rem; }
.page-order > div { display:flex; gap:6px; }
.page-order .btn { min-width:38px; padding:5px 10px; justify-content:center; }
.page-order .btn:disabled { opacity:.4; cursor:not-allowed; }
.page-info h3 { margin:0 0 12px; font-size:1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.page-actions { display:flex; gap:8px; }
.page-actions .btn { flex:1; justify-content:center; padding:8px 10px; font-size:.85rem; }
.editor { display:none; position:fixed; inset:0; z-index:30; padding:24px; overflow:auto; background:rgba(16,24,32,.55); backdrop-filter:blur(8px); }
.editor.open { display:block; }
.editor-inner { width:min(1200px,100%); margin:auto; padding:20px; background:#fff; border-radius:18px; }
.editor-head { display:flex; justify-content:space-between; align-items:start; gap:18px; margin-bottom:18px; }
.editor-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(270px,.6fr); gap:18px; }
.editor-preview { position:relative; min-height:420px; display:grid; place-items:center; padding:18px; overflow:auto; background:#f5f7fa; border-radius:12px; user-select:none; }
.editor-preview svg { max-width:100%; max-height:620px; }
.editor-preview .price-target { cursor:text; outline:2px dashed transparent; outline-offset:4px; transition:outline-color .15s ease; }
.editor-preview .price-target:hover, .editor-preview .price-target:focus { outline-color:var(--blue); }
.editor-preview .price-selected { outline:2px solid #f59e0b; outline-offset:4px; }
.price-input { position:absolute; z-index:2; min-width:68px; padding:5px 7px; border:2px solid var(--blue); border-radius:7px; outline:0; color:var(--ink); background:#fff; box-shadow:0 5px 16px rgba(16,24,32,.18); text-align:right; direction:rtl; }
.selection-mode-btn { margin-bottom:12px; justify-content:center; }
.selection-mode-btn.selection-mode-active { color:#fff; background:#f59e0b; border-color:#f59e0b; }
.selection-tools { display:grid; gap:8px; margin-bottom:12px; }
.editor-preview .product-target { cursor:text; outline:2px dashed transparent; outline-offset:4px; }
.editor-preview .product-target:hover, .editor-preview .product-target:focus { outline-color:#16a34a; }
.editor-preview .product-selected { outline:2px solid #16a34a; outline-offset:4px; }
.editor-preview .number-selected { outline:2px solid #0ea5e9; outline-offset:4px; }
.editor-preview .number-target { cursor:text; outline:2px dashed transparent; outline-offset:4px; }
.editor-preview .number-target:hover, .editor-preview .number-target:focus { outline-color:#0ea5e9; }
.text-list { max-height:540px; overflow:auto; padding-right:4px; }
.text-row { display:grid; gap:6px; margin-bottom:12px; }
.text-row label { color:var(--muted); font-size:.75rem; }
.text-row input { padding:9px 10px; border:1px solid var(--line); border-radius:8px; }
.bulk-editor { display:grid; gap:10px; padding:14px; border:1px solid #f5d38b; border-radius:10px; background:#fffaf0; }
.bulk-editor strong { color:#9a6500; }
.bulk-editor label { color:var(--muted); font-size:.8rem; }
.bulk-editor-row { display:flex; gap:8px; }
.bulk-editor-row input { min-width:0; flex:1; padding:9px 10px; border:1px solid var(--line); border-radius:8px; }
.close-btn { width:40px; height:40px; border:0; border-radius:50%; background:#eef2f6; cursor:pointer; font-size:1.3rem; }
.notice { margin-top:14px; color:var(--muted); font-size:.9rem; }
@media (max-width:640px) { .top-bar { padding:.75rem; } .social-icons { gap:1rem; } .action-buttons { gap:.5rem; } .social-icon { width:45px; height:45px; font-size:18px; } .svg-viewer { top:80px; } .btn { padding:.375rem .75rem; font-size:.75rem; } .no-menu-icon { font-size:3rem; } .no-menu-title { font-size:1.25rem; } .no-menu-text { font-size:.875rem; } }
@media (max-width:720px) { .admin-body { padding:18px 12px; } .admin-head { align-items:start; flex-direction:column; } .upload-panel, .editor-layout { grid-template-columns:1fr; } .editor { padding:10px; } }

/* Brand Badge & Clean Presentation */
.brand-badge { display:flex; align-items:center; }
.brand-title { font-weight:700; font-size:1.05rem; color:#1e293b; }
.noscript-menu { padding:1.5rem; text-align:center; color:#b91c1c; background:#fee2e2; border-radius:8px; margin:1rem; }

/* ============================================================
   CTA Bar — "اعرفنا أكتر" — floated above bottom of viewport
   ============================================================ */
.about-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: .5rem 1rem .75rem;
  background: linear-gradient(to top, rgba(255,255,255,1) 70%, rgba(255,255,255,0));
  pointer-events: none;
}
.about-cta-bar-link {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(180,83,9,.35);
  transition: transform .2s, box-shadow .2s;
}
.about-cta-bar-link:hover,
.about-cta-bar-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180,83,9,.45);
  outline: 3px solid #fff;
  outline-offset: 2px;
}
/* Push main content up so CTA bar doesn't cover last item */
.client-body .svg-viewer { bottom: 50px; }
@media (min-width:768px) {
  .client-body .svg-viewer { bottom: 54px; }
  .about-cta-bar-link { font-size: 1rem; padding: .7rem 2rem; }
}

/* ============================================================
   About Page — /about — "اعرفنا أكتر"
   ============================================================ */
.about-body {
  min-height: 100vh;
  background: linear-gradient(160deg, #fdf8f0 0%, #fef3c7 40%, #fff 100%);
  color: #1a1a1a;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* Header */
.about-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.25rem;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(180,83,9,.15);
  backdrop-filter: blur(10px);
}
.about-back-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  border: 1.5px solid #fed7aa;
  transition: background .2s, transform .2s;
}
.about-back-btn:hover, .about-back-btn:focus-visible {
  background: #ffedd5;
  transform: translateX(2px);
  outline: 2px solid #b45309;
  outline-offset: 2px;
}
.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-brand-name { font-weight: 800; font-size: 1.05rem; color: #1e293b; }
.about-brand-year { font-size: .7rem; font-weight: 600; color: #b45309; letter-spacing: .08em; }
.about-social-nav { display: flex; gap: 1rem; }
.about-social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 1rem;
  transition: .2s;
}
.about-social-icon:hover { color: #b45309; border-color: #fed7aa; background: #fff7ed; }

/* Main */
.about-main { max-width: 960px; margin: 0 auto; padding: 0 0 4rem; }

/* Hero */
.about-hero {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  color: #fff;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}
.about-hero-inner { max-width: 640px; margin: 0 auto; }
.about-hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  padding: .25rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.about-hero-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  margin: 0 0 .5rem;
  line-height: 1.15;
}
.about-hero-tagline { font-size: 1rem; opacity: .92; margin: 0; font-weight: 500; }

/* Sections */
.about-section { padding: 2.5rem 1.25rem; }
.about-section + .about-section { border-top: 1px solid #f1f5f9; }
.about-section-inner { max-width: 860px; margin: 0 auto; }
.about-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 1.5rem;
}
.about-section-icon { font-size: 1.4rem; }
.about-section--info { background: #fafafa; }
.about-section--menu { background: #fff; }

/* Story + Cuisine cards */
.about-cards-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .about-cards-row { grid-template-columns: 1.2fr .8fr; } }
.about-card {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.about-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #b45309;
  margin: 0 0 .75rem;
}
.about-card p { color: #475569; line-height: 1.75; margin: 0 0 .75rem; font-size: .95rem; }
.about-card p:last-child { margin-bottom: 0; }
.about-cuisine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.about-cuisine-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #334155;
  font-size: .95rem;
  font-weight: 500;
}
.about-cuisine-list .fa-check-circle { color: #16a34a; font-size: .85rem; }

/* Info grid */
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) { .about-info-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 800px) { .about-info-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.about-info-card {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid #fde68a;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
  box-shadow: 0 2px 10px rgba(180,83,9,.07);
}
.about-info-icon {
  font-size: 1.4rem;
  color: #d97706;
  margin-bottom: .6rem;
}
.about-info-card-title {
  font-size: .9rem;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.about-info-value { color: #1e293b; font-size: .95rem; font-weight: 600; margin: 0 0 .4rem; line-height: 1.6; }
.about-info-note { color: #64748b; font-size: .8rem; margin: 0; }
.about-address { font-style: normal; color: #334155; line-height: 1.7; font-size: .9rem; }
.about-info-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #b45309;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  margin-top: .5rem;
}
.about-info-link:hover { text-decoration: underline; }
.about-phone-link {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .04em;
}
.about-phone-link:hover { text-decoration: underline; }
.about-payment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 .5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.about-payment-list li {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  color: #334155;
}
.about-payment-list .fas { color: #b45309; font-size: .8rem; }

/* Menu subtitle */
.about-menu-subtitle {
  font-size: .875rem;
  color: #64748b;
  margin: -.5rem 0 1.5rem;
  font-style: italic;
}

/* Geo menu wrapper (from menuData.js renderHtmlMenu) — make it look great */
.geo-menu-wrapper { width: 100%; }
.geo-sections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .geo-sections-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .geo-sections-grid { grid-template-columns: 1fr 1fr 1fr; } }
.geo-menu-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.geo-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: #b45309;
  margin: 0 0 .4rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #fde68a;
}
.geo-section-desc {
  font-size: .8rem;
  color: #64748b;
  margin: 0 0 .9rem;
  font-style: italic;
}
.geo-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.geo-item-card {
  padding: .6rem .75rem;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #f1f5f9;
  transition: background .15s;
}
.geo-item-card:hover { background: #fff7ed; border-color: #fde68a; }
.geo-item-main { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.geo-item-name { font-weight: 700; color: #1e293b; font-size: .9rem; }
.geo-item-desc { font-size: .78rem; color: #64748b; margin-top: .2rem; line-height: 1.4; }
.geo-item-price {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  white-space: nowrap;
}
.price-val { font-weight: 800; color: #b45309; font-size: .9rem; }
.price-curr { font-size: .75rem; color: #92400e; font-weight: 600; }
.geo-item-variants { margin-top: .4rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.geo-variant {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: .15rem .5rem;
  color: #92400e;
}
.variant-type { font-weight: 600; }
.variant-price { font-weight: 800; color: #b45309; }
.variant-currency { font-size: .7rem; color: #92400e; }

/* Footer */
.about-footer {
  background: #1e293b;
  color: #fff;
  padding: 1.5rem 1.25rem;
  margin-top: 2rem;
}
.about-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.about-footer-brand { font-weight: 700; font-size: 1rem; margin: 0; }
.about-footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.about-footer-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.about-footer-link:hover { color: #f59e0b; }
.about-cta-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(180,83,9,.4);
}
.about-cta-back:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(180,83,9,.5); }

/* Responsive tweaks */
@media (max-width: 480px) {
  .about-header { padding: .6rem .75rem; }
  .about-back-btn { padding: .4rem .7rem; font-size: .8rem; }
  .about-hero { padding: 2rem 1rem 1.75rem; }
  .about-hero-title { font-size: 1.6rem; }
  .about-social-nav { gap: .5rem; }
  .about-social-icon { width: 34px; height: 34px; font-size: .85rem; }
  .about-footer-nav { gap: 1rem; }
}

