:root {
  --primary: #4A3AFF;
  --primary-soft: rgba(74, 58, 255, 0.10);
  --dark: #161a2b;
  --text: #1a1d29;
  --muted: #7c829a;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.75);
  --radius: 24px;
  --shadow: 0 10px 36px rgba(30, 50, 90, 0.10);
  --shadow-soft: 0 4px 18px rgba(30, 50, 90, 0.07);
  --content: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Heebo', sans-serif;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 500px at 90% -5%, rgba(120, 200, 235, 0.35), transparent 60%),
    radial-gradient(800px 500px at 5% 30%, rgba(140, 230, 200, 0.30), transparent 60%),
    radial-gradient(700px 600px at 70% 90%, rgba(150, 140, 255, 0.18), transparent 55%),
    linear-gradient(165deg, #e9f2f0 0%, #e7edf6 55%, #eef0f8 100%);
  background-attachment: fixed;
}

.ico { vertical-align: -2px; flex: none; }

/* ---------- מעטפת עמוד ---------- */
.phone { display: flex; flex-direction: column; min-height: 100vh; }
.phone-screen { flex: 1; }
.m-loading { text-align: center; padding: 80px; color: var(--muted); }

/* ---------- סרגל עליון (מחשב) ---------- */
.tabbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 24px rgba(30, 50, 90, 0.05);
}
.theme-coordinator .tabbar { position: sticky; overflow: hidden; }
.theme-coordinator .tabbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2dd4bf 0%, #14b8a6 55%, #0ea5e9 100%);
}
.tb-brand { display: flex; align-items: center; gap: 10px; }
.tb-brand img { height: 46px; display: block; filter: drop-shadow(0 4px 12px rgba(20, 30, 60, .2)); }
.tb-logo {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8a6cff);
  color: #fff; font-weight: 800; font-size: 19px;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(74, 58, 255, 0.30);
}
.tb-name { font-size: 18px; font-weight: 800; letter-spacing: .3px; }
.tb-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.tb-actions { display: flex; align-items: center; gap: 10px; }
.tab span { display: inline-flex; }
.tab {
  display: flex; flex-direction: row; align-items: center; gap: 7px;
  padding: 9px 17px; border-radius: 24px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: none; cursor: pointer; transition: all .18s; white-space: nowrap;
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.7); }
.tab.active { background: var(--dark); color: #fff; box-shadow: 0 6px 16px rgba(22, 26, 43, 0.25); }
.tab-fab {
  background: var(--primary); color: #fff; border-radius: 14px; padding: 10px 18px;
  box-shadow: 0 8px 22px rgba(74, 58, 255, 0.35);
}
.tab-fab:hover { background: #3c2ee0; color: #fff; transform: translateY(-1px); }
.tab-logout { color: var(--muted); }
.tab-logout:hover { color: #cc5028; background: rgba(255, 232, 224, 0.8); }

/* ---------- באנר סטטוס ---------- */
.m-status-banner {
  max-width: var(--content); margin: 16px auto 0; padding: 13px 18px; border-radius: 16px;
  font-size: 13px; font-weight: 600; line-height: 1.5; width: calc(100% - 64px);
  backdrop-filter: blur(10px);
}
.m-status-banner.pending { background: rgba(255, 245, 224, 0.85); color: #b88600; border: 1px solid rgba(240, 192, 96, .4); }
.m-status-banner.blocked { background: rgba(255, 232, 224, 0.85); color: #cc5028; border: 1px solid rgba(204, 80, 40, .25); }

/* ---------- כותרת ---------- */
.m-header { max-width: var(--content); margin: 0 auto; width: 100%; padding: 26px 32px 0; }
.m-header .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.who { display: flex; align-items: center; gap: 12px; }
.m-avatar {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: var(--shadow-soft);
}
.who-label { font-size: 12px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.who-label .ico { color: #00b88a; }
.who-name { font-size: 16px; font-weight: 800; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.bell, .hbtn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  display: grid; place-items: center; cursor: pointer; color: var(--text);
  box-shadow: var(--shadow-soft); transition: all .18s;
  font-family: inherit;
}
.bell:hover, .hbtn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.bell .dot {
  position: absolute; top: -3px; left: -3px; background: #ff5a3c; color: #fff;
  font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; font-weight: 700; padding: 0 4px;
  border: 2px solid #fff;
}

/* ---------- כרטיס ברוכים הבאים (זכוכית) ---------- */
.welcome-card {
  background: var(--glass);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 28px; padding: 28px 28px 22px;
  text-align: center; box-shadow: var(--shadow);
}
.welcome-card .greeting { font-size: 26px; font-weight: 800; }
.welcome-card .subtitle { color: var(--muted); font-size: 14px; margin-top: 5px; }

/* חיפוש */
.m-search {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  max-width: 480px; margin: 18px auto 0; border-radius: 999px; padding: 13px 20px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-soft);
  color: var(--muted); font-size: 14px; text-align: right;
}

/* קיצורי דרך */
.categories { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.9); padding: 14px 10px 11px; border-radius: 18px;
  font-size: 12px; font-weight: 700; color: var(--text);
  cursor: pointer; transition: all .18s; min-width: 96px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}
.cat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(30, 50, 90, 0.14); }
.cat .cat-ic {
  color: var(--text); display: inline-flex;
  width: 40px; height: 40px; border-radius: 13px;
  background: rgba(22, 26, 43, 0.05);
  align-items: center; justify-content: center;
}
.cat.accent { background: var(--dark); color: #fff; border-color: var(--dark); }
.cat.accent .cat-ic { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cat.accent:hover { box-shadow: 0 12px 28px rgba(22, 26, 43, 0.3); }

/* ---------- אזור חובשים ורכזים ---------- */
.hr-zone { padding-top: 24px; }
.hr-zone-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 24px 22px;
  color: #f8fcff;
  background:
    radial-gradient(300px 160px at 88% -6%, rgba(255, 255, 255, 0.26), transparent 62%),
    radial-gradient(350px 200px at 12% 108%, rgba(32, 184, 160, 0.32), transparent 70%),
    linear-gradient(145deg, #062149 0%, #082d61 48%, #0d3b7a 100%);
  box-shadow: 0 20px 42px rgba(7, 27, 63, 0.38);
  border: 1px solid rgba(195, 229, 255, 0.23);
}
.hr-zone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 46, 0.38), transparent 52%);
  pointer-events: none;
}
.hr-zone-head, .hr-zone-stats, .hr-zone-actions, .hr-zone-card h3, .hr-zone-card p { position: relative; z-index: 1; }
.hr-zone-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.hr-zone-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #bcecff; }
.hr-zone-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; border-radius: 999px; padding: 6px 10px;
}
.hr-zone-card h3 { font-size: 25px; line-height: 1.2; font-weight: 800; margin-bottom: 7px; }
.hr-zone-card p { font-size: 13px; color: rgba(226, 245, 255, 0.88); line-height: 1.6; margin-bottom: 14px; }
.hr-zone-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.hr-stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}
.hr-stat .v { font-size: 21px; font-weight: 800; color: #5bffe0; line-height: 1; }
.hr-stat .k { margin-top: 4px; font-size: 11px; color: rgba(233, 247, 255, 0.90); }
.hr-zone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hr-zone-btn {
  border: none;
  border-radius: 12px;
  padding: 11px 10px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #09234f;
  background: #54ead0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 18px rgba(77, 234, 208, 0.28);
}
.hr-zone-btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #e9f7ff;
  box-shadow: none;
}
.hr-zone-btn:hover { transform: translateY(-1px); }

/* ---------- מבנה סקשנים ---------- */
.m-section { max-width: var(--content); margin: 0 auto; width: 100%; padding: 32px 32px 0; }
.m-section-title { font-size: 19px; font-weight: 800; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.m-section-title a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }

/* ---------- שירותים מומלצים (כרטיסי תמונה) ---------- */
.featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.feat-card {
  background: var(--glass-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: all .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(30, 50, 90, 0.16); }
.feat-img {
  height: 190px; position: relative; color: #fff;
  background:
    radial-gradient(400px 200px at 80% 0%, rgba(255,255,255,.25), transparent 55%),
    linear-gradient(150deg, #5b8def 0%, #4A3AFF 45%, #7a5cff 100%);
}
.feat-rating {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  display: flex; align-items: center; gap: 5px;
}
.feat-badge {
  position: absolute; top: 14px; left: 14px;
  background: #fff; color: var(--primary); font-size: 11px; font-weight: 800;
  padding: 6px 13px; border-radius: 999px;
}
.feat-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(10, 14, 40, 0.65), transparent);
}
.feat-title { font-weight: 800; font-size: 18px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.feat-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; margin-top: 5px; opacity: .9; }
.feat-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.feat-price { font-size: 20px; font-weight: 800; color: var(--text); }
.feat-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.feat-btn {
  background: var(--dark); color: #fff; border: none; padding: 11px 20px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 7px;
}
.feat-btn:hover { background: var(--primary); transform: translateY(-1px); }

/* ---------- ההזמנות שלי ---------- */
.upcoming { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.up-card {
  background: var(--glass-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-soft); transition: all .18s;
}
.up-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.up-top { display: flex; align-items: center; gap: 14px; }
.up-date {
  flex: none; width: 54px; height: 58px; border-radius: 16px;
  background: linear-gradient(150deg, var(--primary), #7a5cff); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(74, 58, 255, 0.30);
}
.up-date .up-d { font-size: 21px; font-weight: 800; line-height: 1; }
.up-date .up-m { font-size: 11px; font-weight: 600; opacity: .9; }
.up-info { flex: 1; min-width: 0; }
.up-title { font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.up-meta { font-size: 12px; color: var(--muted); line-height: 1.6; }
.up-card .badge { flex: none; align-self: flex-start; }
.up-actions { display: flex; gap: 10px; margin-top: 16px; }
.up-btn {
  flex: 1; padding: 11px; border: none; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.up-btn.ghost { background: rgba(22, 26, 43, 0.06); color: var(--text); }
.up-btn.ghost:hover { background: rgba(22, 26, 43, 0.11); }
.up-btn.primary { background: var(--dark); color: #fff; }
.up-btn.primary:hover { background: var(--primary); }
.up-btn.danger { background: rgba(229, 72, 100, 0.10); color: #d23f6a; }
.up-btn.danger:hover { background: #d23f6a; color: #fff; }
.m-alert-banner {
  background: rgba(255, 244, 219, 0.9); backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 192, 96, 0.55);
  border-radius: 18px; padding: 15px 20px; font-size: 14px; color: #7a5200;
  margin-bottom: 18px; cursor: pointer; line-height: 1.5; box-shadow: var(--shadow-soft);
}

/* ---------- הזמנות (כרטיסים נוספים) ---------- */
.bookings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.booking {
  display: flex; gap: 14px; align-items: center; padding: 14px;
  background: var(--glass-strong); backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.booking-img {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #00C49F, #4A3AFF);
  flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-size: 26px;
}
.booking-info { flex: 1; }
.booking-title { font-weight: 700; font-size: 14px; }
.booking-date { color: var(--muted); font-size: 12px; margin-top: 4px; }
.booking-status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 16px; background: #e0f8f2; color: #00997b; display: inline-block; margin-top: 6px; }

/* ---------- חלונות (Modal / Sheet) ---------- */
.m-sheet-overlay {
  position: fixed; inset: 0; background: rgba(18, 22, 40, 0.40);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; animation: mfade .2s ease; padding: 24px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@keyframes mfade { from { opacity: 0; } to { opacity: 1; } }
.m-sheet {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  border-radius: 28px; padding: 28px 28px 32px; animation: mpop .22s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 40px 100px rgba(20, 24, 60, 0.35);
}
@keyframes mpop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.m-sheet h3 { font-size: 20px; margin-bottom: 4px; font-weight: 800; }
.m-sheet .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.m-field { margin-bottom: 14px; }
.m-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.m-field input, .m-field select, .m-field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid #e3e5ee; border-radius: 16px;
  font-family: inherit; font-size: 14px; background: rgba(250, 251, 255, 0.9);
}
.m-field input:focus, .m-field select:focus, .m-field textarea:focus { outline: none; border-color: var(--primary); }
.m-field textarea { resize: vertical; }
.m-sheet-actions { display: flex; gap: 10px; margin-top: 14px; }
.m-btn {
  flex: 1; padding: 14px; border: none; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.m-btn.primary { background: var(--dark); color: #fff; }
.m-btn.primary:hover { background: var(--primary); }
.m-btn.ghost { background: rgba(22, 26, 43, 0.06); color: var(--text); }
.m-btn.ghost:hover { background: rgba(22, 26, 43, 0.11); }
.m-price-preview { background: var(--primary-soft); color: var(--primary); border-radius: 16px; padding: 13px 16px; font-size: 13px; font-weight: 600; margin-bottom: 14px; line-height: 1.6; }
.m-btn.danger { background: rgba(229, 72, 100, 0.12); color: #d23f6a; }
.m-btn.danger:hover { background: #d23f6a; color: #fff; }
.m-form-msg { font-size: 13px; font-weight: 600; margin: 4px 0 12px; }
.m-form-msg.error { color: #cc5028; }
.m-form-msg.success { color: #00997b; }

/* חלון אישור — טקסט ממורכז */
.m-sheet:has(.m-confirm-ic) h3,
.m-sheet:has(.m-confirm-ic) .sub { text-align: center; }
.m-sheet:has(.m-confirm-ic) .m-sheet-actions { justify-content: center; }

/* אייקון עגול בראש חלון אישור + הערה */
.m-confirm-ic {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin: 4px auto 14px;
}
.m-confirm-ic.danger { background: rgba(229, 72, 100, 0.12); color: #d23f6a; }
.m-confirm-ic.warn { background: rgba(245, 158, 11, 0.15); color: #d18606; }
.m-confirm-note {
  background: rgba(245, 158, 11, 0.12); color: #9a6700;
  border-radius: 14px; padding: 11px 14px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; margin: 12px 0 4px;
}

/* טוסט הודעה צף */
.m-toast {
  position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 9px; max-width: 86%;
  background: rgba(22, 26, 43, 0.96); color: #fff;
  padding: 13px 20px; border-radius: 16px; font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 40px rgba(10, 14, 40, 0.4); z-index: 400;
  opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none;
}
.m-toast.show { opacity: 1; transform: translate(-50%, 0); }
.m-toast.success { background: linear-gradient(135deg, #0ea371, #0b8a5f); }
.m-toast .ico { flex: none; }
.m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* שורות נותני שירות בטופס הזמנה */
.svc-lines-hint { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.svc-line { background: rgba(247, 248, 252, 0.9); border: 1px solid #eceef5; border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.svc-line-main { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.svc-line .line-svc { flex: 1 1 auto; min-width: 0; padding: 11px 12px; border: 1.5px solid #e3e5ee; border-radius: 13px; font-family: inherit; font-size: 13px; background: #fff; }
.svc-line .line-qty { width: 56px; flex: none; padding: 11px 4px; border: 1.5px solid #e3e5ee; border-radius: 13px; font-family: inherit; font-size: 14px; text-align: center; background: #fff; }
.svc-line .line-del { width: 38px; height: 38px; flex: none; border: none; border-radius: 13px; background: #ffe8e0; color: #cc5028; display: grid; place-items: center; cursor: pointer; }
.svc-line .line-shift { width: 100%; padding: 10px 12px; border: 1.5px solid #e3e5ee; border-radius: 13px; font-family: inherit; font-size: 13px; background: #fff; color: var(--primary); font-weight: 600; }
.svc-line .line-hours-wrap { margin-top: 8px; }
.svc-line .line-hours-wrap label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.svc-line .line-hours { width: 100%; padding: 10px 12px; border: 1.5px solid #e3e5ee; border-radius: 13px; font-family: inherit; font-size: 14px; background: #fff; }
.m-add-line { width: 100%; padding: 12px; border: 1.5px dashed #c7cad8; border-radius: 14px; background: transparent; color: var(--primary); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; margin-bottom: 14px; }
.m-add-line:hover { border-color: var(--primary); background: rgba(74, 58, 255, 0.04); }

/* ---------- רשימת פרטים ---------- */
.detail-list { display: flex; flex-direction: column; }
.detail-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #eef0f6; font-size: 14px; }
.detail-row:last-child { border-bottom: none; }
.detail-row .dk { color: var(--muted); font-weight: 500; }
.detail-row .dv { font-weight: 600; text-align: left; }

/* ---------- פרופיל המשובץ ---------- */
.prov-profile { text-align: center; margin-bottom: 16px; }
.prov-profile-av {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow); margin-bottom: 10px;
}
.prov-profile h3 { margin-bottom: 2px; }
.prov-profile .sub { margin-bottom: 0; }

/* ---------- מועמדים ---------- */
.applicant { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eef0f6; }
.applicant-av { width: 48px; height: 48px; border-radius: 50%; flex: none; border: 2px solid #fff; box-shadow: var(--shadow-soft); }
.applicant-info { flex: 1; min-width: 0; }
.applicant-name { font-weight: 700; font-size: 14px; }
.applicant-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.applicant-btn { flex: none; width: auto; padding: 10px 18px; font-size: 13px; }
.notif-action { font-size: 12px; color: var(--primary); margin-top: 6px; font-weight: 600; }

/* ---------- חנות / אטרקציות ---------- */
.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(20, 30, 60, 0.08);
  border-radius: 16px;
  background: rgba(247, 249, 255, 0.9);
  box-shadow: 0 4px 14px rgba(20, 30, 60, 0.05);
}
.shop-item:last-child { margin-bottom: 0; }
.shop-ic {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 16px;
  background: linear-gradient(160deg, #eef1ff, #f5f7ff);
  border: 1px solid rgba(74, 58, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.attr-img {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(160deg, #eef1ff, #f5f7ff);
  border: 1px solid rgba(74, 58, 255, 0.15);
  box-shadow: 0 4px 12px rgba(20, 30, 60, .09);
  padding: 4px;
}

/* --- רשת מוצרים ריבועית (איקומרס) --- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.shop-card {
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(20, 30, 60, 0.07);
  border-radius: 18px; padding: 10px; box-shadow: 0 6px 18px rgba(20, 30, 60, 0.07);
  transition: transform .2s, box-shadow .2s;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 30, 60, 0.13); }
.sc-img {
  position: relative; aspect-ratio: 1 / 1; border-radius: 13px; overflow: hidden;
  background: var(--primary-soft); display: grid; place-items: center; color: var(--primary);
  margin-bottom: 10px;
}
.sc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.shop-card:hover .sc-img img { transform: scale(1.06); }
.sc-out {
  position: absolute; top: 8px; inset-inline-start: 8px;
  background: rgba(240, 119, 60, .92); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.shop-card.sold-out .sc-img img { filter: grayscale(.7); opacity: .75; }
.sc-name { font-weight: 700; font-size: 13.5px; line-height: 1.35; }
.sc-cat { color: var(--muted); font-size: 11.5px; margin: 2px 0 8px; }
.sc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-price { font-weight: 800; font-size: 14px; color: var(--primary); }
.shop-info { flex: 1; min-width: 0; }
.shop-name { font-weight: 800; font-size: 15px; line-height: 1.3; }
.shop-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.shop-desc {
  font-size: 12px;
  color: #667089;
  margin-top: 5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-buy { flex: none; text-align: center; }
.shop-price { font-weight: 800; font-size: 14px; color: var(--text); margin-bottom: 5px; }
.shop-btn { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .15s; }
.shop-btn:hover { background: var(--primary); }
.m-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 18px 0; }
.attr-search { width: 100%; padding: 13px 18px; border: 1.5px solid #e3e5ee; border-radius: 999px; font-family: inherit; font-size: 14px; background: rgba(250, 251, 255, 0.9); margin-bottom: 10px; }
.attr-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.attr-filters select { padding: 10px 14px; border: 1.5px solid #e3e5ee; border-radius: 13px; font-family: inherit; font-size: 13px; background: #fff; }

/* ---------- פורום ---------- */
.forum-post { padding: 15px; border-radius: 16px; background: rgba(247, 248, 252, 0.9); margin-bottom: 9px; }
.forum-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.forum-date { font-size: 11px; color: var(--muted); flex: none; }
.forum-body { font-size: 13px; margin-top: 5px; line-height: 1.5; }
.forum-author { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- התראות ---------- */
.notif { padding: 14px; border-radius: 16px; background: rgba(247, 248, 252, 0.9); margin-bottom: 9px; }
.notif.unread { background: rgba(236, 233, 255, 0.9); border-inline-start: 3px solid var(--primary); }
.notif-title { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.notif-body { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ================================================================
   מאגר המסלולים (אזור רכז)
   ================================================================ */
.m-sheet.wide { max-width: 980px; }

/* כותרת הקטלוג */
.t-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.t-cat-ic {
  flex: none; width: 52px; height: 52px; border-radius: 17px;
  background: linear-gradient(145deg, #2dd4bf 0%, #0ea5e9 100%);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.30);
}
.t-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.t-filters select { padding: 10px 14px; border: 1.5px solid #e3e5ee; border-radius: 13px; font-family: inherit; font-size: 13px; background: #fff; }

/* רשת כרטיסי המסלולים */
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.t-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 30, 60, 0.08);
  border-radius: 20px; overflow: hidden; cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 30, 60, 0.07);
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.t-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 30, 60, 0.14); }
.tc-img { position: relative; height: 150px; background: linear-gradient(150deg, #d7f4ef, #dbeafe); }
.tc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #14b8a6; }
.tc-badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: rgba(255, 255, 255, 0.92); color: var(--text);
  font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(20, 30, 60, 0.12);
}
.tc-badge.diff { inset-inline-start: auto; inset-inline-end: 10px; }
.tc-badge.diff.easy { background: #e0f8f2; color: #00997b; }
.tc-badge.diff.medium { background: #fff5e0; color: #b88600; }
.tc-badge.diff.hard { background: #ffe8e0; color: #cc5028; }
.tc-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tc-name { font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.tc-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.tc-meta .dotsep { color: #c6cad8; }
.tc-desc {
  font-size: 12.5px; color: #667089; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tc-btn { margin-top: auto; padding: 11px; font-size: 13px; }

/* צ'יפ "הוזן על ידי" - פרופיל המזין */
.t-editor-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 14px; padding: 8px 11px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.t-editor-chip:hover { border-color: #14b8a6; background: rgba(45, 212, 191, 0.14); }
.t-editor-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(20, 30, 60, 0.12); }
.t-editor-chip .tec-txt { min-width: 0; flex: 1; }
.t-editor-chip .tec-label { font-size: 10px; font-weight: 700; color: #0d9488; display: flex; align-items: center; gap: 3px; }
.t-editor-chip .tec-name { font-size: 13px; font-weight: 800; line-height: 1.3; }
.t-editor-chip .tec-title { font-size: 11px; color: var(--muted); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.t-editor-chip .tec-go { flex: none; font-size: 11.5px; font-weight: 700; color: #0d9488; white-space: nowrap; }
.t-editor-chip.lg { padding: 12px 14px; margin-bottom: 12px; }
.t-editor-chip.lg img { width: 48px; height: 48px; }
.t-editor-chip.lg .tec-name { font-size: 14.5px; }
.t-editor-chip.lg .tec-title { -webkit-line-clamp: 2; font-size: 12px; }

/* כרטיס מסלול מלא */
.t-view-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.t-view-imgs { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.t-view-imgs img { width: 150px; height: 105px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(20, 30, 60, 0.08); box-shadow: 0 4px 12px rgba(20, 30, 60, 0.08); }
.t-updated { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.t-sec-title { margin: 18px 0 4px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.t-sec-num {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
  background: rgba(45, 212, 191, 0.14); color: #0d9488; font-size: 12px; font-weight: 800;
}

/* פרופיל המזין המלא */
.t-editor-profile { text-align: center; padding-top: 6px; }
.tep-avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow); margin-bottom: 10px;
}
.t-editor-profile h3 { margin-bottom: 2px; }
.tep-title { font-size: 13px; color: var(--muted); font-weight: 600; }
.tep-bits { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.tep-bits span { display: inline-flex; align-items: center; gap: 5px; }
.tep-bio {
  text-align: right; background: rgba(247, 248, 252, 0.9); border-radius: 16px;
  padding: 13px 16px; font-size: 13.5px; line-height: 1.65; margin-top: 12px;
}
.tep-trail {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  border: 1px solid rgba(20, 30, 60, 0.08); border-radius: 14px;
  background: rgba(250, 251, 255, 0.9); margin-bottom: 8px; cursor: pointer;
  transition: border-color .15s;
}
.tep-trail:hover { border-color: #14b8a6; }
.tep-trail img, .tep-trail .tep-ic {
  width: 52px; height: 42px; border-radius: 10px; object-fit: cover; flex: none;
  display: grid; place-items: center; background: rgba(45, 212, 191, 0.12); color: #0d9488;
}
.tep-trail .tep-info { flex: 1; min-width: 0; }
.tep-trail .tep-name { font-size: 13.5px; font-weight: 700; }
.tep-trail .tep-meta { font-size: 12px; color: var(--muted); margin-top: 1px; }
.tep-trail .tep-go { flex: none; color: var(--muted); }

/* ---------- Badges ---------- */
.badge { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge.pending { background: #fff5e0; color: #b88600; }
.badge.approved { background: #e0f8f2; color: #00997b; }
.badge.in_progress { background: #e0f0ff; color: #0066cc; }
.badge.completed { background: #efeafb; color: #6a5acd; }
.badge.cancelled { background: #ffe8e0; color: #cc5028; }

/* ================================================================
   רספונסיביות — מסכים קטנים (נייד)
   ================================================================ */
@media (max-width: 860px) {
  .upcoming, .bookings { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .t-filters { grid-template-columns: 1fr 1fr; }
  .t-filters select:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  /* בר ניווט תחתון בהיר בסגנון אפליקציה */
  .tabbar {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0;
    border-radius: 22px 22px 0 0;
    padding: 9px 6px calc(10px + env(safe-area-inset-bottom));
    justify-content: space-around; gap: 2px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(20, 30, 60, 0.07);
    box-shadow: 0 -8px 30px rgba(10, 14, 40, 0.10);
    overflow: visible;
  }
  .theme-coordinator .tabbar::before { display: none; }
  /* דריסת ה-sticky/overflow הקבוע כדי שהסרגל יוצמד לתחתית והכפתור המורם לא ייחתך */
  .theme-coordinator .tabbar { position: fixed; top: auto; bottom: 0; overflow: visible; }
  .tb-brand { display: none; }
  .tb-nav, .tb-actions { display: contents; }
  .tab-fab .fab-label { display: none; }
  /* פריט: אייקון למעלה ותווית קטנה למטה */
  .tab {
    flex: 1; flex-direction: column; gap: 3px;
    font-size: 10.5px; font-weight: 600; line-height: 1;
    padding: 5px 2px; border-radius: 14px; min-width: 0;
    background: transparent; color: #9aa1b5;
  }
  .tab span { display: inline-flex; }
  .tab:hover { background: transparent; }
  .tab.active { background: transparent; box-shadow: none; color: var(--primary); }
  /* כפתור הוספה מרכזי מורם */
  .tab-fab {
    flex: none; width: 56px; height: 56px; border-radius: 50%;
    gap: 0; padding: 0; font-size: 0;
    color: #fff; transform: translateY(-16px);
    border: 4px solid #fff;
  }
  .tab-fab svg { width: 25px; height: 25px; }
  .tab-logout { color: #c1738f; }
  .tab-logout:hover { color: #e0577f; background: transparent; }
  .phone-screen { padding-bottom: 92px; }

  /* צבע הדגשה וכפתור מרכזי לאזור הרכז */
  .theme-coordinator .tab.active, .theme-coordinator .tab.active span { color: #14b8a6; }
  .theme-coordinator .tab-fab {
    background: linear-gradient(145deg, #2dd4bf 0%, #0ea5e9 100%);
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.45);
  }
  .theme-coordinator .tab[data-nav="home"] { order: 1; }
  .theme-coordinator .tab[data-nav="orders"] { order: 2; }
  .theme-coordinator .tab-fab { order: 3; }
  .theme-coordinator .tab[data-nav="trails"] { order: 4; }
  .theme-coordinator .tab[data-nav="store"] { order: 5; }
  .theme-coordinator .tab-logout { order: 6; }

  .m-header { padding: 20px 18px 0; }
  .welcome-card { padding: 22px 18px 18px; border-radius: 24px; }
  .welcome-card .greeting { font-size: 22px; }
  .categories { gap: 9px; }
  .cat { min-width: calc(25% - 7px); padding: 11px 4px 9px; font-size: 11px; }
  .cat .cat-ic { width: 36px; height: 36px; }
  .m-section { padding: 26px 18px 0; }
  .hr-zone { padding-top: 18px; }
  .hr-zone-card { padding: 20px 16px; border-radius: 24px; }
  .hr-zone-card h3 { font-size: 20px; }
  .hr-zone-stats { grid-template-columns: 1fr; }
  .hr-stat { text-align: right; padding: 10px 12px; }
  .hr-zone-actions { grid-template-columns: 1fr; }
  .m-status-banner { width: calc(100% - 36px); }
  .feat-img { height: 170px; }

  /* חלונות חוזרים להיות Bottom Sheet */
  .m-sheet-overlay { align-items: flex-end; padding: 0; }
  .m-sheet { max-width: none; max-height: 92vh; border-radius: 28px 28px 0 0; animation: mslide .25s ease; }
  @keyframes mslide { from { transform: translateY(100%); } to { transform: translateY(0); } }
}
