/* ==========================================================================
   SHABEK PLATFORM 1.0.6 — unified design system
   1. Tokens   2. Base   3. Header   4. Buttons & badges   5. Layout & hero
   6. Services catalogue   7. Forms   8. Account & tables   9. Footer
   10. WP admin   11. Responsive   12. Motion & accessibility
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
.shabek-site,
.shabek-admin {
  --sh-deep: #00383a;
  --sh-ink: #0a2f31;
  --sh-teal: #075c60;
  --sh-teal-600: #0b7773;
  --sh-teal-50: #eef6f5;
  --sh-teal-100: #dcecea;
  --sh-gold: #ffbd35;
  --sh-gold-600: #c98a12;
  --sh-gold-50: #fff6dd;
  --sh-text: #1d3a3c;
  --sh-muted: #5b7274;
  --sh-line: #e2eae9;
  --sh-bg: #f5f8f7;
  --sh-surface: #fff;
  --sh-ok: #17643d;      --sh-ok-bg: #e6f5ec;
  --sh-warn: #7a5a0d;    --sh-warn-bg: #fff3d1;
  --sh-info: #1d4f8f;    --sh-info-bg: #e6effb;
  --sh-bad: #9b2c2c;     --sh-bad-bg: #fde9e9;
  --sh-r-sm: 10px;
  --sh-r-md: 16px;
  --sh-r-lg: 24px;
  --sh-shadow-sm: 0 2px 8px rgba(7, 63, 64, .06);
  --sh-shadow-md: 0 10px 30px rgba(7, 63, 64, .09);
  --sh-shadow-lg: 0 22px 50px rgba(7, 63, 64, .16);
  --sh-font: 'Tajawal', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sh-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
html:has(.shabek-site) { scroll-behavior: smooth; }
body:has(.shabek-site) { overflow-x: clip; }

.shabek-site {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--sh-bg);
  color: var(--sh-text);
  font-family: var(--sh-font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.shabek-site *, .shabek-site *::before, .shabek-site *::after { box-sizing: border-box; }
.shabek-site a { text-decoration: none; color: inherit; }
.shabek-site img { max-width: 100%; }
.shabek-site h1, .shabek-site h2, .shabek-site h3, .shabek-site p, .shabek-site ul, .shabek-site ol { margin: 0; padding: 0; }
.shabek-site h1, .shabek-site h2, .shabek-site h3, .shabek-site button, .shabek-site input, .shabek-site select, .shabek-site textarea {
  font-family: var(--sh-font);
  letter-spacing: 0;
  text-transform: none;
}
.shabek-site h1, .shabek-site h2, .shabek-site h3 { color: var(--sh-ink); font-weight: 900; line-height: 1.3; }
.shabek-site ul, .shabek-site ol { list-style: none; }
.shabek-site [hidden] { display: none !important; }

.shabek-skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--sh-gold); color: var(--sh-deep) !important; padding: 10px 16px; border-radius: 10px; font-weight: 800;
}
.shabek-skip:focus { top: 12px; }

.shabek-main { max-width: 1240px; margin: 0 auto; padding: 32px 24px 72px; }

/* 3. Header ---------------------------------------------------------------- */
.shabek-topbar { position: sticky; top: 0; z-index: 50; background: var(--sh-deep); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 20px rgba(0, 30, 31, .18); }
.admin-bar .shabek-topbar { top: 32px; }
.shabek-nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; min-height: 68px; display: flex; align-items: center; gap: 28px; }
.shabek-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--sh-gold) !important; flex: none; }
.shabek-brand-mark { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 189, 53, .14); display: grid; place-items: center; font-size: 22px; }
.shabek-brand b { display: block; font-size: 25px; line-height: 1; font-weight: 900; }
.shabek-brand small { display: block; margin-top: 3px; color: #cfe3e1; font: 700 10px/1 'Inter', sans-serif; letter-spacing: 2.6px; }
.shabek-menu { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; }
.shabek-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.shabek-nav a { padding: 8px 15px; border-radius: 999px; color: #e3efee; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.shabek-nav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.shabek-nav a.active { background: rgba(255, 189, 53, .16); color: var(--sh-gold); }
.shabek-nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.shabek-nav-link { padding: 8px 12px; border-radius: 999px; color: #e3efee !important; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s; }
.shabek-nav-link:hover { background: rgba(255, 255, 255, .09); }
.shabek-nav-register { padding: 9px 18px; border-radius: 999px; background: var(--sh-gold); color: var(--sh-deep) !important; font-size: 14px; font-weight: 800; white-space: nowrap; transition: background .2s, transform .2s; }
.shabek-nav-register:hover { background: #ffd36a; transform: translateY(-1px); }
.shabek-menu-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.shabek-menu-toggle span, .shabek-menu-toggle span::before, .shabek-menu-toggle span::after { content: ''; position: absolute; inset-inline-start: 12px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.shabek-menu-toggle span { top: 21px; }
.shabek-menu-toggle span::before { top: -6px; inset-inline-start: 0; }
.shabek-menu-toggle span::after { top: 6px; inset-inline-start: 0; }
.shabek-menu-toggle[aria-expanded="true"] span { background: transparent; }
.shabek-menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.shabek-menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 4. Buttons & badges ------------------------------------------------------ */
.shabek-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 24px; border: 0; border-radius: 999px;
  background: var(--sh-teal); color: #fff !important; font-size: 15px; font-weight: 800; line-height: 1.2;
  white-space: nowrap; cursor: pointer; box-shadow: 0 6px 16px rgba(7, 92, 96, .22);
  transition: transform .2s var(--sh-ease), background .2s, box-shadow .2s;
}
.shabek-btn:hover { background: var(--sh-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(7, 92, 96, .28); }
.shabek-btn.is-gold { background: var(--sh-gold); color: var(--sh-deep) !important; box-shadow: 0 8px 20px rgba(0, 30, 31, .22); }
.shabek-btn.is-gold:hover { background: #ffd36a; }
.shabek-btn.is-ghost { background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.shabek-btn.is-ghost:hover { background: rgba(255, 255, 255, .18); }
.shabek-btn.is-soft { background: var(--sh-gold-50); color: #5c4200 !important; box-shadow: none; }
.shabek-btn.is-soft:hover { background: var(--sh-gold); color: var(--sh-deep) !important; }
.shabek-btn.is-sm { min-height: 36px; padding: 6px 16px; font-size: 13px; }
.shabek-btn.is-lg { min-height: 52px; padding: 13px 32px; font-size: 16px; }

.shabek-badge { display: inline-flex; align-items: center; align-self: flex-start; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.6; background: var(--sh-teal-50); color: var(--sh-teal); }
.shabek-badge.is-direct { background: var(--sh-ok-bg); color: var(--sh-ok); }
.shabek-badge.is-quote { background: var(--sh-gold-50); color: var(--sh-warn); }
.shabek-badge.is-contact { background: var(--sh-info-bg); color: var(--sh-info); }

.shabek-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.7; background: var(--sh-warn-bg); color: var(--sh-warn); white-space: nowrap; }
.shabek-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.shabek-status.is-new { background: var(--sh-info-bg); color: var(--sh-info); }
.shabek-status.is-reviewing, .shabek-status.is-waiting_provider, .shabek-status.is-pending { background: var(--sh-warn-bg); color: var(--sh-warn); }
.shabek-status.is-quoted, .shabek-status.is-in_progress { background: #efe9fb; color: #5a3d99; }
.shabek-status.is-confirmed, .shabek-status.is-approved, .shabek-status.is-completed { background: var(--sh-ok-bg); color: var(--sh-ok); }
.shabek-status.is-cancelled, .shabek-status.is-rejected { background: var(--sh-bad-bg); color: var(--sh-bad); }

.shabek-alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; margin-bottom: 22px; border-radius: var(--sh-r-sm); font-weight: 700; background: var(--sh-info-bg); color: var(--sh-info); }
.shabek-alert.is-success { background: var(--sh-ok-bg); color: var(--sh-ok); }
.shabek-alert.is-warn { background: var(--sh-warn-bg); color: var(--sh-warn); }
.shabek-alert.is-error { background: var(--sh-bad-bg); color: var(--sh-bad); }

.shabek-link-arrow { color: var(--sh-teal) !important; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.shabek-link-arrow span { transition: transform .2s; }
.shabek-link-arrow:hover span { transform: translateX(-4px); }
[dir="ltr"] .shabek-link-arrow:hover span { transform: translateX(4px); }

/* 5. Layout & hero --------------------------------------------------------- */
.shabek-section { padding: 56px 0 8px; scroll-margin-top: 90px; }
.shabek-eyebrow { display: inline-block; margin-bottom: 8px; color: var(--sh-teal-600); font: 800 12px/1.4 'Inter', sans-serif; letter-spacing: 1.8px; }
.shabek-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.shabek-section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 6px; }
.shabek-section-head p { color: var(--sh-muted); font-size: 16px; }
.shabek-title-rule { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto 30px; text-align: center; }
.shabek-title-rule span { flex: 0 1 110px; height: 2px; background: linear-gradient(90deg, transparent, var(--sh-gold)); }
.shabek-title-rule span:last-child { background: linear-gradient(90deg, var(--sh-gold), transparent); }
.shabek-title-rule h2 { font-size: clamp(24px, 3vw, 32px); }

.shabek-hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 60px); border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 85% 0%, rgba(255, 189, 53, .16), transparent 40%), linear-gradient(110deg, #002e30 0%, #064c4d 60%, #00383a 100%);
  box-shadow: var(--sh-shadow-lg);
}
.shabek-hero-card::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 85px rgba(255, 255, 255, .025); inset-inline-end: -120px; top: -230px; }
.shabek-hero-card.has-image { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 36px; min-height: 360px; }
.shabek-hero-copy { position: relative; z-index: 1; max-width: 620px; }
.shabek-hero-kicker { display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px; background: rgba(255, 189, 53, .14); color: #ffd067; font: 800 11px/1.8 'Inter', sans-serif; letter-spacing: 1.6px; }
.shabek-hero-card h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); line-height: 1.15; margin-bottom: 14px; }
.shabek-hero-card p { color: #d9eae8; font-size: 17px; line-height: 1.9; }
.shabek-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.shabek-hero-media { position: relative; height: 270px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 24px 48px rgba(0, 20, 21, .45); }
.shabek-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 56, 58, .35), transparent 55%); }
.shabek-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shabek-hero-card + .shabek-layout, .shabek-hero-card + .shabek-alert, .shabek-hero-card + .shabek-stat-grid { margin-top: 28px; }

/* 6. Services catalogue ---------------------------------------------------- */
.shabek-search { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); height: 50px; padding: 0 16px; border: 1px solid var(--sh-line); border-radius: 999px; background: var(--sh-surface); box-shadow: var(--sh-shadow-sm); transition: border-color .2s, box-shadow .2s; }
.shabek-search:focus-within { border-color: var(--sh-teal-600); box-shadow: 0 0 0 4px rgba(11, 119, 115, .12); }
.shabek-search span { font-size: 24px; line-height: 1; color: var(--sh-teal-600); }
.shabek-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 15px; font-weight: 600; color: var(--sh-text); padding: 0 !important; }

.shabek-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.shabek-filter { padding: 7px 18px; border: 1px solid var(--sh-line); border-radius: 999px; background: var(--sh-surface); color: var(--sh-muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; }
.shabek-filter:hover { border-color: var(--sh-teal-600); color: var(--sh-teal); }
.shabek-filter.is-active { background: var(--sh-teal); border-color: var(--sh-teal); color: #fff; }

.shabek-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shabek-card { display: flex; flex-direction: column; min-width: 0; background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-shadow-sm); transition: transform .3s var(--sh-ease), box-shadow .3s, border-color .3s; animation: shabek-rise .55s var(--sh-ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.shabek-card:hover { transform: translateY(-6px); box-shadow: var(--sh-shadow-md); border-color: #b8d5d1; }
.shabek-card-media { position: relative; display: block; height: 190px; overflow: hidden; background: var(--sh-teal-100); }
.shabek-card-media::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 46, 48, .45)); }
.shabek-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sh-ease); }
.shabek-card:hover .shabek-card-media img { transform: scale(1.06); }
.shabek-card-no { position: absolute; z-index: 1; top: 14px; inset-inline-start: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--sh-teal); font: 800 12px 'Inter', sans-serif; box-shadow: 0 4px 14px rgba(0, 31, 32, .22); }
.shabek-card-icon { position: absolute; z-index: 1; bottom: 14px; inset-inline-end: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sh-teal); border: 2px solid rgba(255, 255, 255, .75); font-size: 20px; }
.shabek-card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 18px; }
.shabek-card-body h3 { font-size: 21px; }
.shabek-card-body h3 a:hover { color: var(--sh-gold-600); }
.shabek-card-body > p { color: var(--sh-muted); font-size: 14.5px; line-height: 1.8; }
.shabek-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sh-line); }
.shabek-card-body > p { margin-bottom: 4px; }
.shabek-empty { padding: 32px; text-align: center; color: var(--sh-muted); background: var(--sh-surface); border: 1px dashed var(--sh-line); border-radius: var(--sh-r-md); margin-top: 18px; }

/* request-type legend */
.shabek-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.shabek-mode { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 16px; box-shadow: var(--sh-shadow-sm); }
.shabek-mode b { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; font-size: 20px; background: var(--sh-teal-50); }
.shabek-mode.is-direct b { background: var(--sh-ok-bg); }
.shabek-mode.is-quote b { background: var(--sh-gold-50); }
.shabek-mode.is-contact b { background: var(--sh-info-bg); }
.shabek-mode strong { display: block; color: var(--sh-ink); font-size: 15px; line-height: 1.4; }
.shabek-mode small { display: block; color: var(--sh-muted); font-size: 13px; line-height: 1.6; }

/* service details accordion */
.shabek-acc-list { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.shabek-acc { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 18px; box-shadow: var(--sh-shadow-sm); scroll-margin-top: 100px; transition: border-color .25s, box-shadow .25s; }
.shabek-acc[open] { border-color: #b8d5d1; box-shadow: var(--sh-shadow-md); }
.shabek-acc summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.shabek-acc summary::-webkit-details-marker { display: none; }
.shabek-acc summary .shabek-badge { align-self: center; }
.shabek-acc-icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--sh-teal-50); font-size: 24px; }
.shabek-acc[open] .shabek-acc-icon { background: var(--sh-gold); }
.shabek-acc-title { flex: 1; min-width: 0; }
.shabek-acc-title strong { display: block; color: var(--sh-ink); font-size: 18px; font-weight: 900; line-height: 1.4; }
.shabek-acc-title small { display: block; color: var(--sh-muted); font-size: 13.5px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shabek-acc-chevron { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sh-teal-50); position: relative; transition: transform .3s var(--sh-ease), background .2s; }
.shabek-acc-chevron::after { content: ''; position: absolute; top: 10px; inset-inline-start: 11px; width: 8px; height: 8px; border: solid var(--sh-teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.shabek-acc[open] .shabek-acc-chevron { transform: rotate(180deg); background: var(--sh-teal-100); }
.shabek-acc summary:hover .shabek-acc-chevron { background: var(--sh-teal-100); }
.shabek-acc-body { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; padding: 4px 20px 22px; animation: shabek-rise .4s var(--sh-ease) both; }
.shabek-detail-photo { height: 220px; border-radius: 14px; overflow: hidden; background: var(--sh-teal-100); }
.shabek-detail-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shabek-detail-copy > p { color: var(--sh-muted); line-height: 1.9; margin-bottom: 14px; }
.shabek-site .shabek-checklist { display: grid; gap: 9px; margin-bottom: 22px; }
.shabek-checklist li { display: flex; align-items: flex-start; gap: 10px; color: #345354; font-size: 15px; line-height: 1.7; }
.shabek-checklist li span { flex: none; width: 22px; height: 22px; margin-top: 2px; display: grid; place-items: center; border-radius: 50%; background: var(--sh-teal-100); color: var(--sh-teal); font-size: 12px; font-weight: 900; }

.shabek-how { padding-bottom: 0; }
.shabek-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shabek-steps-grid article { padding: 26px 22px; text-align: center; background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 20px; box-shadow: var(--sh-shadow-sm); }
.shabek-steps-grid b { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: var(--sh-teal); color: #fff; font: 800 18px 'Inter', sans-serif; box-shadow: 0 6px 14px rgba(7, 92, 96, .3); }
.shabek-steps-grid h3 { font-size: 18px; margin-bottom: 4px; }
.shabek-steps-grid p { color: var(--sh-muted); font-size: 14px; }

.shabek-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 32px clamp(22px, 4vw, 44px); border-radius: 24px; color: #fff; background: radial-gradient(circle at 12% 0%, rgba(255, 189, 53, .18), transparent 45%), linear-gradient(105deg, #00383a, #075c60); box-shadow: var(--sh-shadow-md); }
.shabek-cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 4px; }
.shabek-cta p { color: #d9eae8; }

/* 7. Forms ----------------------------------------------------------------- */
.shabek-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.shabek-panel { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: var(--sh-r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--sh-shadow-md); }
.shabek-form-section + .shabek-form-section { margin-top: 34px; }
.shabek-form-section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--sh-line); }
.shabek-form-section-title > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sh-teal-50); color: var(--sh-teal); font: 800 14px 'Inter', sans-serif; }
.shabek-form-section-title strong { display: block; color: var(--sh-ink); font-size: 18px; font-weight: 900; line-height: 1.4; }
.shabek-form-section-title small { display: block; color: var(--sh-muted); font-size: 13px; }

.shabek-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.shabek-wide { grid-column: 1 / -1; }
.shabek-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.shabek-field > span { color: var(--sh-ink); font-size: 14px; font-weight: 800; }
.shabek-field.is-required > span::after { content: ' *'; color: #c0392b; }
.shabek-hint { color: var(--sh-muted); font-size: 12px; }
.shabek-field input, .shabek-field select, .shabek-field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border: 1.5px solid #d9e5e3; border-radius: 12px;
  background: #fbfdfd; color: var(--sh-text); font-size: 15px; line-height: 1.5; outline: none; box-shadow: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.shabek-field input::placeholder, .shabek-field textarea::placeholder { color: #93a6a7; }
.shabek-field input:hover, .shabek-field select:hover, .shabek-field textarea:hover { border-color: #b4cbc8; }
.shabek-field input:focus, .shabek-field select:focus, .shabek-field textarea:focus { border-color: var(--sh-teal-600); background: #fff; box-shadow: 0 0 0 4px rgba(11, 119, 115, .12); }
.shabek-field textarea { min-height: 130px; resize: vertical; }
.shabek-field select { appearance: none; -webkit-appearance: none; padding-inline-end: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b7274' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
[dir="rtl"] .shabek-field select { background-position: left 16px center; }
[dir="rtl"] .shabek-field input[type="email"], [dir="rtl"] .shabek-field input[type="tel"] { direction: ltr; text-align: right; }
.shabek-field input:user-invalid { border-color: #d9534f; }

.shabek-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.shabek-chip { position: relative; cursor: pointer; }
.shabek-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.shabek-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid #d9e5e3; border-radius: 999px; background: #fbfdfd; color: var(--sh-text); font-size: 14px; font-weight: 700; transition: all .2s; }
.shabek-chip span i { font-style: normal; font-size: 17px; }
.shabek-chip:hover span { border-color: var(--sh-teal-600); }
.shabek-chip input:checked + span { background: var(--sh-teal); border-color: var(--sh-teal); color: #fff; box-shadow: 0 6px 14px rgba(7, 92, 96, .25); }
.shabek-chip input:focus-visible + span { outline: 3px solid var(--sh-gold); outline-offset: 2px; }

.shabek-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--sh-line); }
.shabek-form-note { color: var(--sh-muted); font-size: 13px; }

.shabek-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.shabek-aside-card { padding: 24px; background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 20px; box-shadow: var(--sh-shadow-sm); }
.shabek-aside-card h3 { font-size: 18px; margin-bottom: 16px; }
.shabek-aside-card.is-dark { background: linear-gradient(120deg, #00383a, #075c60); border-color: transparent; }
.shabek-aside-card.is-dark h3 { color: #fff; margin-bottom: 8px; }
.shabek-aside-card.is-dark a { display: block; color: #e3f0ef; font-weight: 700; padding: 3px 0; }
.shabek-aside-card.is-dark a:hover { color: var(--sh-gold); }
.shabek-timeline { display: grid; gap: 18px; position: relative; }
.shabek-timeline li { display: flex; gap: 14px; position: relative; }
.shabek-timeline li:not(:last-child)::after { content: ''; position: absolute; top: 36px; bottom: -16px; inset-inline-start: 15px; width: 2px; background: var(--sh-teal-100); }
.shabek-timeline b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--sh-gold); color: var(--sh-deep); font: 800 14px 'Inter', sans-serif; position: relative; z-index: 1; }
.shabek-timeline strong { display: block; color: var(--sh-ink); font-size: 15px; line-height: 1.5; }
.shabek-timeline small { display: block; color: var(--sh-muted); font-size: 13px; line-height: 1.6; }

/* 8. Account & tables ------------------------------------------------------ */
.shabek-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.shabek-stat { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 18px; box-shadow: var(--sh-shadow-sm); }
.shabek-stat > span { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--sh-teal-50); font-size: 26px; }
.shabek-stat strong { display: block; color: var(--sh-ink); font: 900 28px/1.2 var(--sh-font); }
.shabek-stat small { display: block; color: var(--sh-muted); font-size: 13px; font-weight: 600; }
.shabek-block { margin-bottom: 24px; }
.shabek-block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.shabek-block-head h2 { font-size: 22px; }
.shabek-block-head p { color: var(--sh-muted); font-size: 14px; flex-basis: 100%; margin-top: -10px; }
.shabek-login-card { max-width: 520px; margin: 40px auto; text-align: center; }
.shabek-login-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px; background: var(--sh-teal-50); font-size: 34px; }
.shabek-login-card h2 { font-size: 26px; margin-bottom: 8px; }
.shabek-login-card p { color: var(--sh-muted); margin-bottom: 22px; }
.shabek-empty-state { padding: 36px 16px; text-align: center; color: var(--sh-muted); }
.shabek-empty-state span { display: block; font-size: 38px; margin-bottom: 6px; }

.shabek-table-wrap { overflow-x: auto; border: 1px solid var(--sh-line); border-radius: 14px; background: var(--sh-surface); }
.shabek-table { width: 100%; border-collapse: collapse; }
.shabek-table th, .shabek-table td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--sh-line); font-size: 14.5px; }
.shabek-table th { background: var(--sh-teal-50); color: var(--sh-ink); font-size: 13px; font-weight: 900; white-space: nowrap; }
.shabek-table tbody tr { transition: background .15s; }
.shabek-table tbody tr:hover { background: #f8fbfa; }
.shabek-table tbody tr:last-child td { border-bottom: 0; }

/* 9. Footer ---------------------------------------------------------------- */
.shabek-footer { background: var(--sh-deep); color: #fff; padding-top: 44px; }
.shabek-footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.shabek-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.shabek-footer-brand p { margin-top: 14px; color: var(--sh-gold); font-weight: 800; font-size: 15px; }
.shabek-footer a:not(.shabek-brand) { display: block; width: fit-content; padding: 3px 0; color: #cfe3e1; font-size: 14px; transition: color .2s; }
.shabek-footer a:not(.shabek-brand):hover { color: var(--sh-gold); }
.shabek-copyright { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; color: #a9c3c1; font-size: 13px; }

/* 10. WP admin ------------------------------------------------------------- */
.shabek-admin { max-width: 1280px; font-family: var(--sh-font); }
.shabek-admin * { box-sizing: border-box; }
.shabek-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 0 24px; padding: 28px 32px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 0%, rgba(255, 189, 53, .2), transparent 45%), linear-gradient(110deg, #002e30, #075c60); box-shadow: var(--sh-shadow-md); }
.shabek-admin-head h1 { margin: 2px 0 4px; padding: 0; color: #fff; font: 900 28px/1.3 var(--sh-font); }
.shabek-admin-head p { margin: 0; color: #d3e6e4; font-size: 14px; }
.shabek-admin-kicker { color: var(--sh-gold); font: 800 11px 'Inter', sans-serif; letter-spacing: 2px; }
.shabek-admin-logo { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .1); font-size: 30px; }
.shabek-admin .wp-header-end { display: none; }
.shabek-admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 20px; }
.shabek-admin-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; box-shadow: var(--sh-shadow-sm); }
.shabek-admin-card i { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--sh-teal-50); font-style: normal; font-size: 24px; }
.shabek-admin-card strong { display: block; color: var(--sh-ink); font: 900 30px/1.2 var(--sh-font); }
.shabek-admin-card span { display: block; color: var(--sh-muted); font-size: 13px; font-weight: 600; }
.shabek-admin-card.is-accent { border-color: var(--sh-gold); background: var(--sh-gold-50); }
.shabek-admin-card.is-accent i { background: var(--sh-gold); }
.shabek-admin-alert { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: var(--sh-warn-bg); color: var(--sh-warn); font-weight: 700; }
.shabek-admin-alert a { margin-inline-start: 8px; font-weight: 800; }
.shabek-admin-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.shabek-admin-links a { display: block; padding: 20px; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.shabek-admin-links a:hover { transform: translateY(-3px); box-shadow: var(--sh-shadow-md); border-color: #b8d5d1; }
.shabek-admin-links i { display: block; font-style: normal; font-size: 26px; margin-bottom: 8px; }
.shabek-admin-links strong { display: block; color: var(--sh-ink); font-size: 16px; }
.shabek-admin-links span { display: block; color: var(--sh-muted); font-size: 13px; margin-top: 2px; }
.shabek-admin-panel { margin-bottom: 20px; padding: 22px; background: #fff; border: 1px solid var(--sh-line); border-radius: 18px; box-shadow: var(--sh-shadow-sm); }
.shabek-admin-panel h2 { margin: 0 0 14px; padding: 0; font: 900 18px var(--sh-font); color: var(--sh-ink); }
.shabek-admin-empty { margin: 0; padding: 28px; text-align: center; color: var(--sh-muted); }
.shabek-admin .shabek-table-wrap { border-radius: 12px; }
.shabek-admin table.widefat { border: 0; box-shadow: none; }
.shabek-admin table.widefat th { background: var(--sh-teal-50); color: var(--sh-ink); font-weight: 800; padding: 12px 14px; }
.shabek-admin table.widefat td { padding: 12px 14px; vertical-align: middle; }
.shabek-admin-sub { color: var(--sh-muted); font-size: 12px; }
.shabek-admin-key { font-family: 'Inter', monospace; font-size: 13px; color: var(--sh-muted); }
.shabek-admin-inline { display: flex; gap: 6px; align-items: center; }
.shabek-admin-inline select { min-width: 140px; }
.shabek-admin-actions { white-space: nowrap; }
.shabek-admin-save { margin: 18px 0 0; }
.shabek-admin .button-primary { background: var(--sh-teal); border-color: var(--sh-teal); }
.shabek-admin .button-primary:hover, .shabek-admin .button-primary:focus { background: var(--sh-deep); border-color: var(--sh-deep); }

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1020px) {
  .shabek-layout { grid-template-columns: 1fr; }
  .shabek-aside { position: static; grid-template-columns: 1fr 1fr; }
  .shabek-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shabek-footer-inner { grid-template-columns: 1fr 1fr; }
  .shabek-admin-cards, .shabek-admin-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .shabek-nav-inner { min-height: 62px; gap: 12px; flex-wrap: nowrap; }
  .shabek-menu-toggle { display: block; }
  .shabek-menu { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 20px 22px; background: var(--sh-deep); border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 30px rgba(0, 25, 26, .3); }
  .shabek-menu.is-open { display: flex; }
  .shabek-nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .shabek-nav a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
  .shabek-nav-actions { flex-wrap: wrap; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .shabek-nav-actions .shabek-nav-register { margin-inline-start: auto; }
  .shabek-hero-card.has-image { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .shabek-hero-media { height: 210px; }
  .shabek-section-head { flex-direction: column; align-items: stretch; }
  .shabek-search { width: 100%; }
  .shabek-acc-body { grid-template-columns: 1fr; gap: 16px; }
  .shabek-detail-photo { height: 210px; }
  .shabek-modes { grid-template-columns: 1fr; gap: 10px; }
  .shabek-stat-grid { grid-template-columns: 1fr; }
  .shabek-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .shabek-topbar { top: 46px; } }
@media (max-width: 640px) {
  .shabek-site { font-size: 15px; }
  .shabek-main { padding: 18px 14px 48px; }
  .shabek-nav-inner { padding: 0 14px; }
  .shabek-hero-card { border-radius: 22px; padding: 28px 20px; }
  .shabek-hero-card p { font-size: 15px; line-height: 1.8; }
  .shabek-hero-actions .shabek-btn { flex: 1 1 100%; }
  .shabek-section { padding-top: 40px; }
  .shabek-title-rule span { flex-basis: 30px; }

  /* catalogue cards become compact horizontal rows */
  .shabek-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .shabek-card { flex-direction: row; min-height: 150px; border-radius: 18px; }
  .shabek-card-media { flex: 0 0 38%; height: auto; min-height: 150px; }
  .shabek-card-no { top: 8px; inset-inline-start: 8px; width: 28px; height: 28px; font-size: 10px; }
  .shabek-card-icon { width: 32px; height: 32px; bottom: 8px; inset-inline-end: 8px; font-size: 16px; }
  .shabek-card-body { padding: 13px 14px; gap: 5px; justify-content: center; }
  .shabek-card-body h3 { font-size: 17px; }
  .shabek-card-body > p { font-size: 12.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
  .shabek-card-actions { padding-top: 8px; gap: 6px; }
  .shabek-link-arrow { font-size: 12px; }
  .shabek-btn.is-sm { min-height: 32px; padding: 4px 12px; font-size: 12px; }

  .shabek-steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .shabek-acc summary { padding: 14px; gap: 10px; flex-wrap: wrap; }
  .shabek-acc-icon { width: 42px; height: 42px; font-size: 21px; }
  .shabek-acc-title { flex-basis: calc(100% - 100px); }
  .shabek-acc-title small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .shabek-acc summary .shabek-badge { order: 5; margin-inline-start: 52px; }
  .shabek-acc-body { padding: 2px 14px 18px; }
  .shabek-acc-body .shabek-btn { width: 100%; }
  .shabek-fields { grid-template-columns: 1fr; gap: 16px; }
  .shabek-wide { grid-column: auto; }
  .shabek-panel { border-radius: 20px; padding: 22px 16px; }
  .shabek-form-footer { flex-direction: column-reverse; align-items: stretch; }
  .shabek-form-footer .shabek-btn { width: 100%; }
  .shabek-aside { grid-template-columns: 1fr; }
  .shabek-cta { padding: 24px 20px; text-align: center; align-items: stretch; }
  .shabek-cta .shabek-btn { width: 100%; }
  .shabek-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 26px; }
  .shabek-footer-brand { grid-column: 1 / -1; }

  /* tables become stacked cards */
  .shabek-site .shabek-table-wrap { border: 0; background: transparent; overflow: visible; }
  .shabek-table thead { display: none; }
  .shabek-table, .shabek-table tbody, .shabek-table tr, .shabek-table td { display: block; width: 100%; }
  .shabek-table tr { margin-bottom: 12px; padding: 6px 14px; background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 14px; }
  .shabek-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--sh-line); }
  .shabek-table td:last-child { border-bottom: 0; }
  .shabek-table td::before { content: attr(data-label); flex: none; color: var(--sh-muted); font-size: 12px; font-weight: 800; }

  .shabek-admin-head { padding: 20px; }
  .shabek-admin-cards, .shabek-admin-links { grid-template-columns: 1fr; }
}

/* 12. Motion & accessibility ----------------------------------------------- */
@keyframes shabek-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.shabek-site a:focus-visible, .shabek-site button:focus-visible, .shabek-site summary:focus-visible { outline: 3px solid var(--sh-gold); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  html:has(.shabek-site) { scroll-behavior: auto; }
  .shabek-site *, .shabek-site *::before, .shabek-site *::after { animation: none !important; transition: none !important; }
}
