/* פונט המותג מהאתר הראשי (jewish-rest theme) */
@font-face {
  font-family: "Mikhmoret";
  src: url("/brand/mikhmoret.woff2") format("woff2"),
       url("/brand/mikhmoret.woff") format("woff");
  font-weight: 700; font-display: swap;
}
:root {
  /* נייבי המותג sorotzkin's deli #141B4D */
  --blue: #141B4D; --blue-dark: #0c1234; --cream: #feede2; --accent: #ff5757;
  --accent-dark: #e63d3d; --gold: #ff5757;
  --ink: #223; --line: #ead9cc; --ok: #1a7f4b; --ok-bg: #ddf3e6;
  --pend: #a05a00; --pend-bg: #fdeccc; --danger: #c0392b;
  /* טבעת פוקוס לניווט מקלדת — כחול על רקע בהיר, לבן על רקע כחול */
  --focus: #141B4D; --focus-on-blue: #fff;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: "SimplerPro", "Helvetica Neue", Helvetica, Arial, "Noto Sans Hebrew", sans-serif;
  background: #fff; color: var(--ink); min-height: 100vh;
}
h1, h2, h3, .brand, .login-box h1 {
  font-family: "Mikhmoret", "Helvetica Neue", Helvetica, sans-serif;
}
/* כותרת עליונה — רקע קרם עם לוגו במרכז, כמו באתר הראשי */
header.top {
  background: var(--cream); border-bottom: 0;
  padding: 10px 28px; display: flex; align-items: center; gap: 16px;
}
header.top { position: relative; }
header.top .brand-logo { height: 36px; width: auto; display: block; }
/* סמל הרבי — הסימן המזוהה של המותג; מחליף את הלוגוטייפ בסרגל העליון */
header.top .brand-mark { height: 46px; width: auto; display: block; flex: 0 0 auto; }
/* הכותרת ממורכזת למסך ולא לשארית השורה, כך שרוחב הכפתורים לא מסיט אותה */
header.top .brand-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: "Mikhmoret", sans-serif; font-size: 22px; color: var(--blue);
  white-space: nowrap; pointer-events: none;
}
header.top .brand { font-family: "Mikhmoret", sans-serif; font-size: 20px; color: var(--blue); }
header.top .brand small { display: block; font-size: 11px; font-weight: 400; color: var(--blue); opacity: .75; }
header.top .spacer { flex: 1; }
button, .btn {
  font: inherit; cursor: pointer; border: 0; border-radius: 50px;
  padding: 10px 22px; background: var(--blue); color: #fff; font-weight: 700;
  transition: background .15s, transform .05s;
}
button:hover, .btn:hover { background: var(--blue-dark); }
button:active, .btn:active { transform: translateY(1px); }
button.ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
button.ghost:hover { background: #eaf2fb; }
button.gold { background: var(--accent); color: #fff; }
button.gold:hover { background: var(--accent-dark); }
input, select, textarea {
  font: inherit; padding: 9px 12px; border: 2px solid var(--line);
  border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }

/* ===== ניווט מקלדת =====
   :focus-visible — הטבעת מופיעה רק בניווט מקלדת, לא בלחיצת עכבר.
   חייבת לבוא אחרי כללי :focus שמכבים outline. */
button:focus-visible, .btn:focus-visible, a:focus-visible, .chip:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
/* אלמנטים שיושבים על רקע כחול — טבעת לבנה, אחרת היא נבלעת */
#cartBar button:focus-visible, .qty button:focus-visible, th button:focus-visible,
.tabs button.active:focus-visible, .sub-nav button.active:focus-visible {
  outline-color: var(--focus-on-blue);
}
label { font-size: 13px; font-weight: 700; color: var(--blue-dark); display: block; margin: 10px 0 4px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px 20px 80px; }
.card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 2px 10px rgba(43,90,167,.08); }
.msg { padding: 10px 14px; border-radius: 10px; margin: 10px 0; display: none; }
.msg.err { background: #fde8e6; color: var(--danger); display: block; }
.msg.ok { background: var(--ok-bg); color: var(--ok); display: block; }

/* login */
.login-box { max-width: 400px; margin: 9vh auto; text-align: center; }
.login-box h1 { color: var(--blue); margin-bottom: 4px; }
/* שורת הפתיחה הייתה ב---accent (#ff5757) — אדום, ונקראה כהודעת כישלון
   התחברות דווקא במקום שבו הלקוח מחפש שגיאה. כחול המותג במקום. */
.login-box p { color: var(--blue); font-weight: 600; margin-bottom: 18px; }
.login-box .brand-logo { height: 44px; margin: 0 auto 14px; display: block; }
/* המוצא היחיד ממסך ההתחברות — אין איפוס עצמי (חשבון אחד לחברה) */
.login-help {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #e3e8f2;
  font-size: 13.5px; line-height: 1.7; color: #8a94a6; text-align: center;
}
.login-help a { color: var(--blue); }
.login-box form { text-align: right; }
.login-box button { width: 100%; margin-top: 18px; }

/* ===== shop — בשפה העיצובית של jewishdeli.co.il ===== */

/* סרגל קטגוריות: פס לבן ברוחב מלא, טקסט כחול מודגש (כמו התפריט באתר) */
/* ===== חיפוש חופשי בקטלוג =====
   יושב מעל תפריט הקטגוריות ומחפש בכולן, כי לקוח שמחפש מוצר לפי שם לא יודע
   באיזו קטגוריה הוא יושב. הגלולה בצורת שדה חיפוש ולא כפתור — כדי שיהיה ברור
   שמקלידים בה. */
.search-row {
  display: flex; justify-content: center;
  background: #fff; padding: 12px 20px 0;
}
.search-box { position: relative; width: 100%; max-width: 430px; }
.search-box input {
  border-radius: 50px; padding-right: 40px; padding-left: 40px;
  background: #f8fafc;
}
.search-box input:focus { background: #fff; }
/* ל-input[type=search] יש ✕ נייטיב משלו, והוא הופיע לצד כפתור "ניקוי החיפוש"
   שלנו — שני כפתורי ניקוי צמודים באותו שדה (16/08/2026). משאירים את שלנו,
   שהוא היחיד שגם מנקה את מצב החיפוש בקוד. */
.search-box input::-webkit-search-decoration,
.search-box input::-webkit-search-cancel-button,
.search-box input::-webkit-search-results-button { -webkit-appearance: none; appearance: none; }
.search-ico {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 15px; opacity: .5; pointer-events: none;
}
.search-clear {
  position: absolute; left: 5px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; border-radius: 50%; color: #8a94a6;
  font-size: 15px; font-weight: 700; padding: 7px 9px; min-height: 0;
}
.search-clear:hover { background: #eef3f9; color: var(--blue-dark); }
/* בכרטיס תוצאה — מאיזו קטגוריה המוצר, אחרת "עוגה" אחת נראית כמו השנייה */
.prod .cat-tag { font-size: 11.5px; color: #8a94a6; margin-top: 3px; }
/* מצב ריק של הרשת — "אין תוצאות" / "הכול אזל" */
.grid-empty {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
  color: #8a94a6; font-size: 17px; line-height: 1.5;
}
/* מצב ריק של "ההזמנות שלי" — בלעדיו נשארות כותרות טבלה מעל שטח לבן,
   ולקוחה חדשה לא יודעת אם המסך נכשל או שאין עדיין הזמנות. */
.orders-empty {
  text-align: center; padding: 44px 20px; color: #8a94a6;
  font-size: 16px; line-height: 1.9; white-space: normal;
}

.cat-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px;
  background: #fff; padding: 14px 20px; margin: 0 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.cat-nav button {
  background: none; border: 0; border-radius: 0; padding: 4px 2px;
  color: var(--blue); font-family: "Mikhmoret", sans-serif; font-size: 17px;
  border-bottom: 3px solid transparent;
}
.cat-nav button:hover { background: none; color: var(--blue-dark); }
.cat-nav button.active { background: none; color: var(--blue); border-bottom-color: var(--accent); }

/* ===== פס הניווט הדביק =====
   עמוד קטגוריה מגיע ל-6,500px, וגם ההדר וגם החיפוש היו static: כדי להחליף
   קטגוריה או לחפש היה צריך לגלול עד למעלה (נמצא בסבב הלקוח הסמוי 18/08/2026).
   דביק רק הפס הפונקציונלי — לא ההדר (72px של לוגו וכפתורים), שאין טעם
   להצמיד ורק גוזל גובה במובייל.
   z-index 20: מתחת ל-#cartBar (30) ול-#drawer (40), מעל כרטיסי המוצר. */
.shopbar {
  position: sticky; top: 0; z-index: 20; background: #fff;
}
/* צל מופיע רק כשהפס באמת נצמד — אחרת יש קו כפול מעל תפריט הקטגוריות במנוחה */
.shopbar .cat-nav { box-shadow: none; }
.shopbar { box-shadow: 0 2px 6px rgba(0,0,0,.05); }

/* תתי-קטגוריות — שורת גלולות מתחת לתפריט הראשי */
.sub-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  background: #fff; padding: 0 20px 14px; border-bottom: 1px solid #f0e6dc;
}
.sub-nav button {
  background: #f5f7fa; color: var(--blue); border: 1px solid #dbe6f2;
  border-radius: 50px; padding: 6px 16px; font-size: 14px; font-weight: 700;
}
.sub-nav button:hover { background: #eaf2fb; }
.sub-nav button.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* כותרת הקטגוריה — גדולה ובכחול, כמו הבאנר באתר */
.cat-title {
  text-align: center; font-family: "Mikhmoret", sans-serif; color: var(--blue);
  font-size: 34px; padding: 26px 10px 4px; background: var(--cream);
  margin: 0 0 22px; border-radius: 0;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 20px; }

/* כרטיס מוצר: לבן, פינות מעוגלות, צל עדין — תמונה, שם, ואז שורת מחיר + כפתור עגול */
.prod {
  background: #fff; border-radius: 16px; padding: 16px 14px 14px;
  text-align: center; box-shadow: 0 3px 14px rgba(11,99,181,.09);
  display: flex; flex-direction: column;
}
.prod .thumb { width: 100%; aspect-ratio: 1/1; overflow: hidden; margin-bottom: 12px; background: #fff; }
/* cover ולא contain: תמונות המוצרים מגיעות ביחסי גובה-רוחב שונים, ועם contain כל
   אחת יושבת אחרת בתוך הריבוע והרשת נראית לא אחידה. cover ממלא את הריבוע כולו. */
.prod .thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; padding: 10%; box-sizing: border-box; }
.prod .thumb.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; font-size: 38px; color: #b6c6da; background: #f4f7fb; border-radius: 12px;
}
.prod .thumb.placeholder em { font-size: 12px; font-style: normal; color: #90a4bd; }
.prod .name {
  font-weight: 700; color: var(--blue); font-size: 15.5px; line-height: 1.35;
  min-height: 44px; display: flex; align-items: center; justify-content: center; flex: 1;
}
.prod .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.prod .price { color: var(--blue); font-weight: 800; font-size: 17px; }

/* כפתור + עגול כחול, כמו באתר */
.add-round {
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 21px; line-height: 1;
  display: flex; align-items: center; justify-content: center; font-weight: 400;
}
.add-round:hover { background: var(--blue-dark); }
.qty { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); border-radius: 50px; padding: 3px 10px; }
.qty button { background: transparent; color: #fff; font-size: 19px; padding: 1px 5px; font-weight: 700; }
.qty span { min-width: 18px; font-weight: 800; color: #fff; }
#cartBar {
  position: fixed; bottom: 0; right: 0; left: 0; background: var(--blue); color: #fff;
  padding: 12px 24px; display: none; align-items: center; gap: 18px; z-index: 30;
}
#cartBar.show { display: flex; }
#cartBar .sum { font-size: 18px; font-weight: 800; flex: 1; }

/* drawer / checkout */
#drawer {
  position: fixed; inset: 0; background: rgba(30,45,80,.45); display: none; z-index: 40;
}
#drawer.show { display: block; }
#drawer .panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(480px, 100%);
  background: #fff; padding: 24px; overflow-y: auto;
}
#drawer h2 { color: var(--blue); margin-bottom: 14px; }
/* כותרת המגירה עם ✕ צמוד — יציאה מיידית בלי לגלול לתחתית הטופס */
#drawer .drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#drawer .drawer-head h2 { flex: 1; }
#drawer .drawer-x {
  border: none; background: none; cursor: pointer; color: var(--blue);
  font-size: 22px; line-height: 1; padding: 4px 6px; border-radius: 6px;
  flex: 0 0 auto;
}
#drawer .drawer-x:hover { background: #eef3fb; }
/* שם החברה שעבורה מוזמן — במובייל זו האינדיקציה היחידה (הכותרת מסתירה
   את #who). נייבי מודגש, לא אפור-מיני: זו עובדה שחייבים לראות. */
.who-drawer {
  font-size: 13.5px; font-weight: 700; color: var(--blue);
  background: #eef3fb; border-right: 3px solid var(--blue); border-radius: 4px;
  padding: 7px 10px; margin: 0 0 10px;
}
/* פעולה שאין לה משמעות על סל ריק נראית כבויה ולא רק לא-מגיבה */
button:disabled { opacity: .45; cursor: not-allowed; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart-line .n { flex: 1; font-weight: 600; }
.cart-line .x { color: var(--danger); cursor: pointer; font-weight: 800; background: none; padding: 2px 8px; }
.total-line { font-size: 18px; font-weight: 800; color: var(--blue-dark); margin: 14px 0; }

/* לשונית "הזמנה לעובדים מקובץ אקסל": ההזמנה נבנית מהקובץ והסל שלמעלה אינו
   נכלל. עד 23/09/2026 שורת "סה״כ 244 ₪" נשארה בולטת מעל הסבר שאמר בדיוק
   ההפך. כאן הסל והסכום מעומעמים והכיתוב מסביר — בלי להסתיר אותם, כי הלקוח
   עדיין צריך לראות שהסל שלו לא הלך לאיבוד. */
#drawer.excel-mode #cartLines,
#drawer.excel-mode .total-line { opacity: .45; }
.excel-cart-note {
  font-size: 13px; line-height: 1.5; color: var(--blue-dark);
  background: #fff7e6; border-right: 3px solid #e0a33e; border-radius: 4px;
  padding: 8px 10px; margin: -6px 0 12px;
}
.excel-cart-note[hidden] { display: none; }
.tabs { display: flex; gap: 0; margin: 16px 0 4px; border: 2px solid var(--blue); border-radius: 12px; overflow: hidden; }
.tabs button { flex: 1; border-radius: 0; background: #fff; color: var(--blue); }
.tabs button.active { background: var(--blue); color: #fff; }
.hint { font-size: 12.5px; color: #6b7893; margin-top: 4px; }

/* admin */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 14px; }
th { background: var(--blue); color: #fff; padding: 10px 12px; text-align: right; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:hover td { background: #fbf6ee; }
/* .chip משמש גם כתווית סטטוס (span) וגם ככפתור — היד רק על מה שבאמת לחיץ */
.chip { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; cursor: default; margin: 2px; }
button.chip { cursor: pointer; }
.chip.f { background: var(--ok-bg); color: var(--ok); }
.chip.p { background: var(--pend-bg); color: var(--pend); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 18px; }
.filters > div { min-width: 160px; }
.blessing { font-style: italic; color: #6b7893; max-width: 220px; }
.mini { font-size: 12.5px; color: #6b7893; }
@media (max-width: 700px) { .table-scroll { overflow-x: auto; } }

/* ===== מובייל =====
   הפורטל נפתח בטלפון ע"י נציגי החברות, לא רק מהמשרד. הכללים כאן מצמצמים
   ריווח ומידות שנקבעו לדסקטופ — בלי לשנות את השפה העיצובית עצמה. */
@media (max-width: 640px) {
  /* אף רכיב לא גורם לעמוד לגלול לצדדים */
  html, body { max-width: 100%; overflow-x: hidden; }

  .wrap { padding: 16px 12px 96px; }
  .card { padding: 14px; border-radius: 14px; }

  /* כותרת: לוגו קטן יותר, ריווח צר */
  header.top { padding: 8px 12px; gap: 10px; }
  header.top .brand-logo { height: 26px; }
  header.top .brand { font-size: 16px; }
  header.top .brand small { font-size: 10px; }

  /* הכותרת תפסה 42% מגובה המסך ב-375×812 (16/08/2026): שלושה כפתורי טקסט
     מלאים + שם החברה גלשו לשלוש שורות, והקטלוג התחיל מתחת לקפל. במובייל
     נשארים האייקונים בלבד, ושם החברה יורד — הוא מופיע ממילא בצ'קאאוט. */
  header.top .lbl { display: none; }
  header.top #who { display: none; }
  /* כותרת המשנה "פורטל הזמנות לחברות" — הלוגו כבר ממתג, וההקשר ברור.
     בלי הסתרתה הכפתורים נשברים לשורה שנייה. */
  header.top .brand { display: none; }
  header.top .ghost { padding: 7px 9px; min-height: 36px; font-size: 15px; }
  /* "ההזמנות שלי" נשאר טקסט (ה-JS מחליף אותו ל"חזרה לקטלוג") — מוצמד קטן */
  header.top #myOrdersBtn { font-size: 13px; padding: 7px 8px; }

  /* במובייל אין מקום לכותרת ממורכזת באותה שורה עם הכפתורים —
     היא יורדת לשורה שנייה משלה, עדיין ממורכזת */
  header.top { flex-wrap: wrap; }
  header.top .brand-mark { height: 34px; }
  header.top .brand-title {
    position: static; transform: none; order: 9;
    flex: 1 0 100%; text-align: center; font-size: 17px; padding-top: 2px;
  }

  /* תפריט קטגוריות — גלילה אופקית במקום ערימה גבוהה שדוחפת את המוצרים למטה */
  .search-row { padding: 10px 12px 0; }
  .search-box { max-width: none; }

  .cat-nav {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    gap: 18px; padding: 10px 12px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav button { flex: 0 0 auto; font-size: 15px; padding: 6px 2px; }

  .sub-nav {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding: 0 12px 12px; scrollbar-width: none;
  }
  .sub-nav::-webkit-scrollbar { display: none; }
  .sub-nav button { flex: 0 0 auto; }

  .cat-title { font-size: 24px; padding: 16px 10px 4px; margin-bottom: 14px; }

  /* שתי עמודות מוצרים — עמודה אחת מבזבזת מסך, שלוש צפופה מדי */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prod { padding: 10px 8px 10px; border-radius: 14px; }
  .prod .name { font-size: 13.5px; min-height: 38px; }
  .prod .price { font-size: 15px; }
  .prod .foot { margin-top: 8px; }

  /* אזורי לחיצה באצבע — 44px זה המינימום המקובל */
  .add-round { width: 40px; height: 40px; font-size: 23px; }
  .qty { padding: 4px 8px; }
  .qty button { padding: 6px 8px; font-size: 20px; }
  button, .btn { padding: 12px 20px; min-height: 44px; }

  /* שדות קלט — 16px מונע מאייפון להגדיל את העמוד בעת מיקוד */
  input, select, textarea { font-size: 16px; padding: 11px 12px; }

  /* סרגל העגלה התחתון: שתי שורות במקום שורה אחת שנחתכת */
  #cartBar { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
  #cartBar .sum { font-size: 16px; flex: 1 0 100%; }
  #cartBar button { flex: 1; }

  /* מגירת הצ'קאאוט תופסת כמעט את כל המסך */
  #drawer .panel { width: 100%; padding: 16px; }

  /* טבלאות האדמין נגללות בתוך עצמן */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { font-size: 13px; }
  th, td { padding: 8px 9px; white-space: nowrap; }
  .blessing { max-width: 160px; white-space: normal; }

  .filters { gap: 10px; }
  .filters > div { min-width: 0; flex: 1 1 140px; }

  /* ב-375px התיבה תפסה את כל הרוחב והפינות העגולות נחתכו בשני הקצוות
     (סבב לקוח סמוי 20/09/2026) — ריפוד צד במקום auto */
  .login-box { margin: 4vh 12px; }
  .login-box .brand-logo { height: 48px; }
}

/* מסכים צרים במיוחד — עמודה אחת, אחרת הכרטיסים נחנקים.
   הסף היה 380px, וזה תפס גם את ה-375 של אייפון: קטגוריה של 24 מוצרים הפכה
   לעמוד בגובה 11,387px בעמודה אחת, מול 4,146px בשתיים ב-390px. ב-375 שתי
   עמודות יוצאות ~170px לכרטיס — צפוף אבל קריא, ועדיף על גלילה כפולה. */
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
  .prod .name { min-height: 0; }
}

/* ── מסך אישור הזמנה ──────────────────────────────────────────────────────
   שכבה מלאה ולא שורת טקסט במגירה: עד 08/08/2026 האישור היחיד היה
   showMsg() בתוך מגירת הסל, והסל התרוקן באותו רגע — המגירה התכווצה
   וההודעה נדחפה מהמסך. לקוחה שלא ראתה אישור שולחת שוב (אן, 21/07 ו-30/07).
   לכן: לא נסגר מעצמו, לא נעלם בגלילה, ויש בו מספר הזמנה לצטט. */
#orderDone {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto;
  background: rgba(30, 45, 80, .6); padding: 24px 12px;
}
#orderDone .done-card {
  background: #fff; border-radius: 18px; max-width: 460px; margin: 40px auto;
  padding: 28px 24px; text-align: center;
  box-shadow: 0 12px 40px rgba(20, 35, 70, .28);
}
#orderDone .done-check {
  width: 62px; height: 62px; line-height: 62px; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok); font-size: 34px; font-weight: 700;
  margin: 0 auto 12px;
}
#orderDone h2 { color: var(--blue); margin-bottom: 16px; }
#orderDone .done-label {
  font-size: 13px; color: #8894a8; letter-spacing: .04em;
}
#orderDone .done-num {
  font-size: 34px; font-weight: 700; color: var(--blue);
  letter-spacing: .09em; direction: ltr; margin: 2px 0 18px;
  font-family: "Menlo", "Consolas", monospace; word-break: break-all;
}
#orderDone .done-rows {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 6px 0; margin-bottom: 16px;
}
#orderDone .done-rows div {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 4px;
  font-size: 15px;
}
#orderDone .done-rows span { color: #667; }
#orderDone .done-mail {
  font-size: 14px; color: #556; margin-bottom: 12px;
}
#orderDone .done-mail b { direction: ltr; display: inline-block; }
#orderDone .done-note {
  background: var(--cream); border-radius: 10px; padding: 12px 14px;
  font-size: 14px; color: #6a5a4e; text-align: right;
}
#orderDone .done-btns {
  display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap;
}
#orderDone .done-btns button { flex: 1; min-width: 140px; }
/* השורה שנוצרה זה עתה מסומנת בטבלת "ההזמנות שלי" — כדי שהמספר שבאישור
   יימצא מיד גם אחרי רענון דף. */
#ordersTable tr.just-created > td { background: var(--ok-bg); }
#ordersTable td.ord-num {
  font-family: "Menlo", "Consolas", monospace; direction: ltr;
  text-align: right; white-space: nowrap;
}

/* רמז ימי המשלוח החסומים מתחת לשדה התאריך.
   עד 17/08/2026 הדחייה הייתה alert() בלבד — אחרי סגירתו לא נשאר הסבר,
   ובעונת החג הלקוח נכנס לסבב ניסוי וטעייה. */
.date-hint {
  font-size: 12px; line-height: 1.5; color: #5a6478;
  margin: 4px 0 2px; padding: 6px 10px;
  background: #f4f7fb; border-radius: 8px;
}
.date-hint.err {
  background: #fde8e6; color: var(--danger); font-weight: 700;
}
