/* palette: logo purple -> blue. change these five values to move the whole site */
:root{ --mh-accent:#7C3AED; --mh-accent-2:#2D9CFF; --mh-accent-hover:#6D28D9; --mh-accent-soft:#F3EEFF; --mh-gradient:linear-gradient(135deg,#7C3AED,#2D9CFF); --mh-header-bg:#323232; }
/* ============ مختلف - rebuild layer (loaded last) ============ */
:root{
  --mh-dark:#101A3C; --mh-dark-2:#0B1330; --mh-orange:var(--mh-accent); --mh-line:#e6e6e6;
  --mh-ink:#131313; --mh-text:#292929; --mh-muted:#6f6f6f; --mh-soft:#f5f5f5;
}
body.mh-body{ background:#fff; color:var(--mh-text); }

/* ---------------- header ---------------- */
.mh-header{ position:sticky; top:0; z-index:1200; background:var(--mh-header-bg); height:60px; }
.mh-hdr{ display:flex; align-items:center; height:60px; padding:0 18px; position:relative; }
.mh-logo{ display:flex; align-items:center; height:60px; padding:12px; flex:0 0 auto; }
.mh-logo img{ display:block; height:36px; width:auto; }
.mh-burger{ display:flex; flex-direction:column; width:58px; height:60px; align-items:center; justify-content:center; background:none; border:0; cursor:pointer; padding:0; }
.mh-burger span{ display:block; width:22px; height:2px; background:#f8f8f8; border-radius:2px; }
.mh-burger span+span{ margin-top:6px; }
.mh-cats-wrap{ position:static; }
.mh-cats{ display:flex; align-items:center; gap:8px; height:60px; padding:20px 18px; color:#f8f8f8; font-size:14px; line-height:20px; background:none; border:0; font-family:inherit; cursor:pointer; }
.mh-cats svg{ width:16px; height:16px; fill:currentColor; }
.mh-cats:hover{ color:#fff; }
.mh-spacer{ flex:1 1 auto; }
.mh-actions{ display:flex; align-items:center; direction:ltr; flex:0 0 auto; }
.mh-pill{ display:inline-flex; align-items:center; gap:6px; direction:rtl; height:42px; margin:9px 0; padding:10px 19px; border:1px solid rgba(248,248,248,.65); border-radius:4px; color:#f8f8f8; font-size:14px; line-height:20px; text-decoration:none; white-space:nowrap; background:none; font-family:inherit; cursor:pointer; }
.mh-pill:hover{ color:#fff; border-color:#f8f8f8; }
.mh-pill svg{ width:15px; height:15px; fill:currentColor; }
.mh-pill+.mh-pill{ margin-left:18px; }
.mh-icon{ display:inline-flex; align-items:center; justify-content:center; width:51px; height:60px; color:#f8f8f8; text-decoration:none; position:relative; }
.mh-icon+.mh-icon{ margin-left:0; }
.mh-icon.is-search{ width:54px; }
.mh-icon svg{ width:18px; height:18px; fill:currentColor; }
.mh-icon.is-search svg{ width:20px; height:20px; }
.mh-icon:hover{ color:#fff; }
.mh-dot{ position:absolute; top:12px; left:10px; min-width:16px; height:16px; border-radius:9px; background:var(--mh-accent); color:#131313; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 4px; }
.mh-avatar{ width:36px; height:36px; border-radius:50%; overflow:hidden; margin:0; display:inline-flex; }
.mh-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------------- mega menu ---------------- */
.mh-mega{ display:none; position:fixed; top:60px; left:12px; right:12px; margin:0 auto; max-width:1240px; background:#fff; border:1px solid var(--mh-line); border-top:0; border-radius:0 0 4px 4px; box-shadow:0 6px 12px rgba(0,0,0,.176); z-index:1190; max-height:calc(100vh - 60px); overflow-y:auto; overscroll-behavior:contain; }
.mh-mega.is-open{ display:block; }
.mh-mega-row{ display:flex; border-bottom:1px solid #f1f1f1; }
.mh-mega-row:last-child{ border-bottom:0; }
.mh-cats-wrap.is-open .mh-cats, .mh-mega.is-open ~ .mh-cats{ color:#fff; background:rgba(255,255,255,.10); }
.mh-cats-wrap.is-open .mh-cats svg{ transform:scale(.96); }
.mh-mega-item{ position:relative; padding-right:0; }
.mh-mega-col .mh-mega-item:hover{ color:var(--mh-accent); }

.mh-mega-col{ flex:1 1 0; min-width:0; padding:14px 16px 18px; }
.mh-mega-head{ display:block; font-size:15px; font-weight:700; color:var(--mh-ink); text-decoration:none; padding:0 0 8px; margin-bottom:8px; border-bottom:1px solid #ececec; }
.mh-mega-head:hover{ color:#000; }
.mh-mega-item{ display:block; font-size:13.5px; line-height:21px; color:#464646; text-decoration:none; padding:5px 0; }
.mh-mega-item:hover{ color:var(--mh-accent); }

/* ---------------- mobile drawer ---------------- */
.mh-overlay{ position:fixed; inset:0; background:transparent; z-index:1300; opacity:0; pointer-events:none; transition:opacity .2s; }
.mh-overlay.is-open{ opacity:1; pointer-events:auto; }
.mh-drawer{ position:fixed; top:60px; bottom:0; right:0; width:286px; max-width:86vw; background:#fff; z-index:1400; transform:translateX(105%); transition:transform .22s ease; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.mh-drawer.is-open{ transform:none; }
.mh-drawer-search{ padding:12px 14px; border-bottom:1px solid #e6e6e6; }
.mh-drawer-search form{ display:flex; align-items:center; gap:8px; height:44px; border:1px solid #d5d5d5; border-radius:4px; padding:0 12px; background:#fff; }
.mh-drawer-search input{ flex:1 1 auto; height:42px; border:0; outline:0; padding:0; font-family:inherit; font-size:15px; background:transparent; color:var(--mh-text); }
.mh-drawer-search input::placeholder{ color:#9a9a9a; }
.mh-dsico{ width:17px; height:17px; fill:#8a8a8a; flex:0 0 auto; }

.mh-drawer-search svg{ width:16px; height:16px; fill:#464646; }
.mh-drow{ display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:0 16px; border:0; border-bottom:1px solid #f2f2f2; background:#fff; font-family:inherit; font-size:15px; color:var(--mh-text); text-decoration:none; text-align:right; cursor:pointer; }
.mh-drow>svg.mh-dico{ width:20px; height:20px; fill:#5c5c5c; flex:0 0 auto; }
.mh-drow>span{ flex:1 1 auto; }
.mh-drow>svg.mh-dchev{ width:14px; height:14px; fill:#9a9a9a; flex:0 0 auto; transition:transform .18s; }
.mh-drow.is-open>svg.mh-dchev{ transform:rotate(-90deg); }
.mh-dsub{ display:none; background:#fafafa; }
.mh-dsub.is-open{ display:block; }
.mh-dsub a{ display:block; padding:9px 22px; font-size:14px; color:#464646; text-decoration:none; border-bottom:1px solid #f0f0f0; }
.mh-dsub a:last-child{ border-bottom:0; }
.mh-drawer-foot{ padding:16px; color:#8a8a8a; font-size:12px; }

/* ---------------- bottom tab bar (mobile) ---------------- */
.mh-tabbar{ display:none; }

/* ---------------- closing band ---------------- */
.mh-cta{ background:var(--mh-soft); padding:44px 20px 46px; text-align:center; }
.mh-cta h2{ margin:0 0 22px; font-size:26px; font-weight:700; color:var(--mh-ink); }
.mh-cta a{ display:inline-block; background:var(--mh-dark-2); color:#fff; font-size:16px; font-weight:600; padding:12px 30px; border-radius:8px; text-decoration:none; }
.mh-cta a:hover{ background:#000; color:#fff; }

/* ---------------- footer ---------------- */
.mh-footer{ background:#fff; border-top:1px solid #ededed; padding:40px 0 0; }
.mh-footer-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.mh-fcol h4{ margin:0 0 16px; font-size:15px; font-weight:700; color:var(--mh-ink); }
.mh-fcol ul{ list-style:none; margin:0; padding:0; }
.mh-fcol li{ margin:0 0 11px; }
.mh-fcol a{ color:#555; font-size:13.5px; line-height:20px; text-decoration:none; }
.mh-fcol a:hover{ color:var(--mh-ink); }
.mh-social{ display:flex; gap:8px; margin-bottom:22px; }
.mh-social a{ width:34px; height:34px; border-radius:7px; background:#1c1c1c; display:inline-flex; align-items:center; justify-content:center; }
.mh-social svg{ width:17px; height:17px; fill:#fff; }
.mh-pay{ display:flex; gap:7px; align-items:center; margin-top:10px; }
.mh-pay span{ display:inline-flex; align-items:center; justify-content:center; height:24px; min-width:40px; padding:0 6px; border-radius:4px; background:#5c5c5c; color:#fff; font-size:10px; font-weight:700; letter-spacing:.3px; }
.mh-pay .mh-pay-mc{ position:relative; }
.mh-copy{ border-top:1px solid #ededed; margin-top:32px; padding:16px 0; text-align:center; color:#8a8a8a; font-size:12.5px; }

/* ---------------- auth (split) ---------------- */
.mh-auth{ min-height:100vh; display:grid; grid-template-columns:1fr 1fr; background:#fff; }
.mh-auth-panel{ position:relative; overflow:hidden; background:var(--mh-orange); color:#1d1d1f; padding:48px 60px; display:flex; flex-direction:column; justify-content:center; gap:24px; }
.mh-auth-panel::before{ content:""; position:absolute; width:448px; height:448px; border-radius:50%; background:rgba(255,255,255,.12); top:-160px; left:-160px; }
.mh-auth-panel::after{ content:""; position:absolute; width:288px; height:288px; border-radius:50%; background:rgba(255,255,255,.12); bottom:-112px; right:-80px; }
.mh-auth-panel>*{ position:relative; z-index:1; }
.mh-ap-mark{ width:72px; height:72px; border-radius:20px; background:rgba(29,29,31,.10); display:flex; align-items:center; justify-content:center; align-self:flex-start; }
.mh-ap-mark svg{ width:44px; height:44px; }
.mh-auth-panel h2{ margin:0; font-size:32px; line-height:1.3; font-weight:700; color:#1d1d1f; }
.mh-auth-panel p{ margin:0; font-size:16.8px; line-height:1.7; color:#3b3121; max-width:26em; }
.mh-ap-icons{ display:flex; gap:10px; }
.mh-ap-icons span{ width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; }
.mh-ap-icons svg{ width:22px; height:22px; fill:#fff; }
.mh-auth-form{ display:flex; flex-direction:column; align-items:center; justify-content:center; padding:56px 20px 32px; }
.mh-auth-box{ width:100%; max-width:400px; }
.mh-auth-brand{ display:inline-flex; align-items:center; margin-bottom:34px; }
.mh-auth-brand img{ height:34px; width:auto; display:block; }
.mh-auth-box h1{ margin:0 0 8px; font-size:26.4px; font-weight:700; color:var(--mh-ink); }
.mh-auth-lead{ margin:0 0 26px; font-size:16px; color:#505050; line-height:1.6; }
.mh-field{ margin-bottom:18px; }
.mh-field label{ display:block; margin-bottom:7px; font-size:16px; font-weight:600; color:var(--mh-ink); }
.mh-field .mh-hint{ display:block; margin-top:6px; font-size:12.5px; color:#6f6f6f; }
.mh-input{ display:block; width:100%; height:50px; border:1px solid #dadada; border-radius:6px; padding:9px 14px; font-size:19px; font-family:inherit; color:var(--mh-ink); background:#fff; }
.mh-input:focus{ outline:none; border-color:#9a9a9a; box-shadow:0 0 0 3px rgba(0,0,0,.04); }
.mh-input-wrap{ position:relative; }
.mh-input-wrap .mh-eye{ position:absolute; top:0; bottom:0; left:6px; width:40px; border:0; background:none; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.mh-eye svg{ width:20px; height:20px; fill:#7a7a7a; }
.mh-two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mh-btn-primary{ display:flex; align-items:center; justify-content:center; width:100%; height:50px; margin-top:6px; background:var(--mh-dark-2); color:#fff; border:0; border-radius:10px; font-family:inherit; font-size:20px; font-weight:600; cursor:pointer; }
.mh-btn-primary:hover{ background:#000; }
.mh-or{ display:flex; align-items:center; gap:12px; margin:22px 0; color:#505050; font-size:12.8px; }
.mh-or::before,.mh-or::after{ content:""; flex:1 1 auto; height:1px; background:#e2e2e2; }
.mh-auth-alt{ margin:22px 0 0; font-size:14.4px; color:var(--mh-text); text-align:center; }
.mh-auth-alt a{ color:#1d68c3; text-decoration:none; }
.mh-captcha{ display:flex; align-items:center; gap:12px; border:1px solid #dadada; border-radius:6px; padding:12px 14px; margin:4px 0 16px; background:#fafafa; }
.mh-captcha .q{ font-size:14px; color:#3c3c3c; }
.mh-captcha input{ width:80px; height:38px; border:1px solid #cfcfcf; border-radius:5px; padding:0 10px; font-family:inherit; font-size:16px; text-align:center; background:#fff; }
.mh-terms{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:#3c3c3c; line-height:1.6; margin-bottom:14px; }
.mh-terms input{ margin-top:3px; width:16px; height:16px; flex:0 0 auto; }
.mh-terms a{ color:#1d68c3; text-decoration:none; }
.mh-err{ background:#fdecec; border:1px solid #f5c2c2; color:#8a2020; border-radius:6px; padding:10px 12px; font-size:13.5px; margin-bottom:16px; }

/* ---------------- responsive ---------------- */
@media (max-width: 991px){
  .mh-cats-wrap{ display:none; }
  .mh-hdr{ padding:0 8px; }
  .mh-logo{ padding:10px 6px; }
  .mh-logo img{ height:30px; }
  .mh-actions{ display:none; }
  .mh-mega{ display:none !important; }
  .mh-body{ padding-bottom:60px; }
  .mh-tabbar{ display:flex; position:fixed; bottom:0; left:0; right:0; height:61px; background:#fff; border-top:1px solid var(--mh-line); z-index:1250; }
  .mh-tabbar a{ flex:1 1 0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#9a9a9a; font-size:12px; text-decoration:none; }
  .mh-tabbar a.is-active{ color:#1e1e20; font-weight:700; }
  .mh-tabbar svg{ width:22px; height:22px; fill:currentColor; }
  .mh-auth{ grid-template-columns:1fr; min-height:auto; }
  .mh-auth-panel{ order:2; padding:32px 24px; gap:18px; }
  .mh-auth-panel h2{ font-size:24px; }
  .mh-auth-panel p{ font-size:15px; }
  .mh-ap-mark{ width:56px; height:56px; border-radius:16px; }
  .mh-ap-mark svg{ width:34px; height:34px; }
  .mh-auth-form{ padding:28px 20px 36px; order:1; }
  .mh-footer-cols{ grid-template-columns:1fr 1fr; gap:24px; }
  .mh-cta h2{ font-size:21px; }
}
@media (max-width: 575px){
  .mh-footer-cols{ grid-template-columns:1fr; }
}

/* ---------------- home hero ---------------- */
.mh-hero{ position:relative; overflow:hidden; min-height:calc(100vh - 60px); display:flex; align-items:center; justify-content:center; text-align:center; color:#fff; background:#1b2430; }
.mh-hero video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.mh-hero::after{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(10,16,24,.55) 0%, rgba(10,16,24,.44) 45%, rgba(10,16,24,.62) 100%); }
.mh-hero-in{ position:relative; z-index:2; width:100%; max-width:760px; margin:0 auto; padding:40px 20px 60px; }
.mh-hero h1{ margin:0 0 16px; font-size:40px; line-height:1.4; font-weight:700; color:#fff; text-shadow:0 1px 14px rgba(0,0,0,.35); }
.mh-hero .mh-hero-m{ display:none; }
.mh-hero p{ margin:0 0 28px; font-size:18px; color:#fff; opacity:.96; }
.mh-search{ display:flex; align-items:center; background:#fff; border-radius:6px; padding:5px; gap:6px; }
.mh-search input{ flex:1 1 auto; min-width:0; height:46px; border:0; background:none; padding:0 14px; font-family:inherit; font-size:17px; color:#333; outline:none; }
.mh-search button{ flex:0 0 auto; height:46px; padding:0 24px; background:#1e1e20; color:#fff; border:0; border-radius:4px; font-family:inherit; font-size:15px; font-weight:600; cursor:pointer; }
.mh-chips{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:16px; font-size:13px; }
.mh-chips .lbl{ color:#fff; opacity:.9; }
.mh-chips a{ background:#fff; color:#333; border-radius:4px; padding:5px 11px; font-size:13px; text-decoration:none; }
.mh-chips a:hover{ color:#000; }

/* ---------------- category tiles ---------------- */
.mh-sec{ max-width:1216px; margin:0 auto; padding:36px 12px 8px; }
.mh-sec h2{ margin:0 0 26px; text-align:center; font-size:26px; font-weight:700; color:var(--mh-ink); }
.mh-tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px 24px; }
.mh-tile{ position:relative; display:block; aspect-ratio:286/165; border-radius:4px; overflow:hidden; background:#3d434a; text-decoration:none; }
.mh-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
.mh-tile::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.28) 45%,rgba(0,0,0,.62) 100%); }
.mh-tile b{ position:absolute; left:8px; right:8px; bottom:14px; z-index:2; text-align:center; color:#fff; font-size:17px; font-weight:700; line-height:1.3; text-shadow:0 1px 8px rgba(0,0,0,.55); }
.mh-tile:hover b{ color:#fff; }

/* ---------------- popular sub-cats + service cards ---------------- */
.mh-pills{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.mh-pills a{ display:inline-block; border:1px solid var(--mh-line); border-radius:4px; padding:8px 14px; font-size:14px; color:#3c3c3c; text-decoration:none; background:#fff; }
.mh-pills a:hover{ border-color:#c9c9c9; color:#000; }
.mh-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.mh-card{ border:1px solid var(--mh-line); border-radius:6px; overflow:hidden; background:#fff; display:flex; flex-direction:column; text-decoration:none; }
.mh-card img{ width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.mh-card .bd{ padding:12px 13px 14px; }
.mh-card .tt{ font-size:14.5px; font-weight:600; color:var(--mh-ink); line-height:1.5; margin:0 0 8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mh-card .sl{ font-size:12.5px; color:#7a7a7a; margin:0 0 10px; }
.mh-card .pr{ display:flex; align-items:center; justify-content:space-between; border-top:1px solid #f0f0f0; padding-top:9px; font-size:13px; color:#555; }
.mh-card .pr b{ color:var(--mh-ink); font-size:15px; }

@media (max-width: 991px){
  .mh-hero{ min-height:78vh; }
  .mh-hero h1{ font-size:28px; }
  .mh-hero p{ font-size:15px; }
  .mh-hero-in{ padding:30px 16px 44px; }
  .mh-sec{ padding:26px 12px 6px; }
  .mh-sec h2{ font-size:20px; margin-bottom:18px; }
  .mh-tiles{ gap:12px; }
  .mh-tile b{ font-size:14px; bottom:10px; }
  .mh-cards{ grid-template-columns:repeat(2,1fr); gap:12px; }
}
@media (max-width: 767px){
  .mh-hero .mh-hero-d{ display:none; }
  .mh-hero .mh-hero-m{ display:block; }
  .mh-tiles{ grid-template-columns:repeat(2,1fr); }
}

/* ===== auth pages (accounts-style split) ===== */
.mh-auth-body{ background:#fff; }
.mh-auth{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:100vh; }
.mh-auth-form{ display:flex; justify-content:center; padding:40px 24px; }
.mh-auth-inner{ width:400px; max-width:100%; display:flex; flex-direction:column; }
.mh-auth-brand{ display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-bottom:52px; text-decoration:none; }
.mh-auth-brand img{ height:34px; width:auto; }
.mh-auth-brand span{ font-size:14px; color:#8a8a8a; }
.mh-auth h1{ font-size:26.4px; font-weight:700; margin:0 0 8px; color:#1e1e20; }
.mh-auth .lead{ font-size:16.8px; color:#6d6d6d; margin:0 0 26px; line-height:1.7; }
.mh-auth label.lbl{ display:block; font-size:13px; font-weight:700; color:#1e1e20; margin:0 0 8px; }
.mh-auth input[type=text], .mh-auth input[type=email], .mh-auth input[type=password]{ width:100%; height:50px; border:1px solid #dadada; border-radius:6px; padding:0 14px; font-size:17px; font-family:inherit; background:#fff; color:#1e1e20; box-sizing:border-box; }
.mh-auth input:focus{ outline:none; border-color:#1e1e20; }
.mh-auth .field{ margin-bottom:18px; }
.mh-auth .btn{ width:100%; height:50px; border:0; border-radius:10px; background:#1e1e20; color:#fff; font-size:20px; font-family:inherit; cursor:pointer; margin-top:6px; }
.mh-auth .btn:hover{ background:#000; }
.mh-auth .or{ display:flex; align-items:center; gap:12px; margin:22px 0; color:#8a8a8a; font-size:12.8px; }
.mh-auth .or::before, .mh-auth .or::after{ content:""; flex:1; height:1px; background:#e6e6e6; }
.mh-auth .alt{ font-size:14px; color:#6d6d6d; text-align:center; margin:0; }
.mh-auth .alt a{ color:#1d68c3; }
.mh-auth .err{ background:#fdecec; border:1px solid #f7c9c9; color:#a32020; font-size:13px; border-radius:6px; padding:10px 12px; margin-bottom:16px; }
.mh-auth .hint{ font-size:12px; color:#8a8a8a; margin-top:6px; }
.mh-auth .check{ display:flex; align-items:center; gap:8px; font-size:13px; margin:4px 0 18px; cursor:pointer; color:#3d3d3d; }
.mh-auth-foot{ margin-top:auto; padding-top:44px; display:flex; gap:18px; justify-content:center; font-size:12px; flex-wrap:wrap; }
.mh-auth-foot a{ color:#8a8a8a; text-decoration:none; }
.mh-auth-foot a:hover{ color:#1e1e20; }
.mh-auth-panel{ position:relative; overflow:hidden; background:var(--mh-gradient); display:flex; align-items:center; justify-content:center; padding:40px; }
.mh-auth-panel::before{ content:""; position:absolute; width:448px; height:448px; border-radius:50%; background:rgba(255,255,255,.12); top:-160px; right:-160px; }
.mh-auth-panel::after{ content:""; position:absolute; width:288px; height:288px; border-radius:50%; background:rgba(255,255,255,.12); bottom:-112px; left:-88px; }
.mh-auth-panel-in{ position:relative; z-index:1; text-align:center; max-width:420px; }
.mh-auth-mark{ width:72px; height:72px; border-radius:20px; background:rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; margin:0 auto 26px; }
.mh-auth-mark img{ width:38px; height:auto; display:block; }
.mh-auth-panel h2{ font-size:32px; font-weight:700; color:#1e1e20; margin:0 0 14px; }
.mh-auth-panel p{ font-size:16.8px; line-height:1.9; color:rgba(30,30,32,.82); margin:0; }
@media (max-width:991px){
  .mh-auth{ grid-template-columns:minmax(0,1fr); }
  .mh-auth-panel{ display:none; }
  .mh-auth-form{ padding:28px 20px; }
  .mh-auth-brand{ margin-bottom:32px; }
  .mh-auth-foot{ padding-top:32px; }
}

/* card + thumb images keep their ratio and never collapse */
.mh-card img{ display:block; width:100%; aspect-ratio:286/165; object-fit:cover; background:linear-gradient(135deg,#5a54a4,#8b7fd4); }
.svc-thumb{ background:linear-gradient(135deg,#5a54a4,#8b7fd4); }
.svc-thumb img{ display:block; width:100%; aspect-ratio:286/165; object-fit:cover; }

.mh-auth-lockup{ display:block; width:420px; max-width:100%; height:auto; margin:0 auto; }

.mh-auth-panel h2{ color:#fff; }
.mh-auth-panel p{ color:rgba(255,255,255,.92); }
.mh-badge-accent,.svc-badge{ background:var(--mh-gradient); color:#fff; }

.mh-navitem{ display:inline-flex; align-items:center; gap:7px; height:60px; padding:0 13px; color:#e9e9ee; font-size:14px; line-height:20px; text-decoration:none; white-space:nowrap; }
.mh-navitem:hover{ color:#fff; }
.mh-navitem svg{ width:15px; height:15px; fill:currentColor; opacity:.92; }
.mh-cats.is-nav{ color:#e9e9ee; font-size:14px; padding:0 13px; gap:7px; }
.mh-cats.is-nav svg{ order:2; width:15px; height:15px; }
.mh-cats.is-nav:hover{ color:#fff; }
.mh-drop{ position:relative; display:inline-flex; }
.mh-drop .mh-avatar{ border:0; padding:0; background:none; cursor:pointer; }
.mh-dropmenu{ display:none; position:absolute; top:56px; left:0; min-width:206px; background:#fff; border:1px solid var(--mh-line); border-radius:10px; box-shadow:0 12px 28px rgba(10,15,40,.16); padding:7px 0; z-index:1300; }
.mh-drop.is-open .mh-dropmenu{ display:block; }
.mh-dropmenu a, .mh-droplogout{ display:block; width:100%; text-align:right; padding:9px 16px; font-size:13.5px; color:#2c2c33; text-decoration:none; background:none; border:0; font-family:inherit; cursor:pointer; }
.mh-dropmenu a:hover, .mh-droplogout:hover{ background:#f5f2ff; color:var(--mh-accent); }
@media (max-width:1100px){ .mh-navitem{ display:none; } }
@media (max-width:900px){ .mh-icon.is-search, .mh-drop .mh-icon{ display:none; } .mh-dropmenu{ top:52px; } }

.mh-dropmenu-list{ width:396px; max-width:calc(100vw - 24px); padding:0; overflow:hidden; }
.mh-dl-body{ max-height:302px; overflow-y:auto; }
.mh-dl-row{ display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border-bottom:1px solid #f0f0f2; text-decoration:none; }
.mh-dl-row:last-child{ border-bottom:0; }
.mh-dl-row:hover{ background:#fafafc; }
.mh-dl-row.is-unread{ background:#f7f3ff; }
.mh-dl-av{ width:34px; height:34px; border-radius:50%; object-fit:cover; flex:0 0 34px; }
.mh-dl-txt{ display:block; flex:1 1 auto; min-width:0; }
.mh-dl-title{ display:block; font-size:13px; font-weight:700; color:#1e1e20; line-height:19px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mh-dl-prev{ display:block; font-size:13px; font-weight:400; color:#464646; line-height:19px; max-height:38px; overflow:hidden; }
.mh-dl-time{ display:flex; align-items:center; gap:5px; margin-top:4px; font-size:12px; color:#9b9ba3; font-weight:400; }
.mh-dl-time svg{ width:12px; height:12px; fill:currentColor; opacity:.85; }
.mh-dl-foot{ display:flex; align-items:center; gap:8px; padding:11px 14px; border-top:1px solid #ededf0; font-size:13px; color:#2c2c31; text-decoration:none; }
.mh-dl-foot:hover{ background:#fafafc; }
.mh-dl-foot svg{ width:15px; height:15px; fill:currentColor; opacity:.85; }
.mh-dl-empty{ padding:20px 14px; text-align:center; font-size:13px; color:#8f8f98; }
.mh-dropmenu-apps{ width:396px; max-width:calc(100vw - 24px); padding:18px 16px 6px; }
.mh-apps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px 10px; }
.mh-app{ display:flex; flex-direction:column; align-items:center; gap:8px; text-decoration:none; }
.mh-app-tile{ width:56px; height:56px; border-radius:13px; display:block; }
.mh-app-lbl{ font-size:11.5px; line-height:16px; color:#3a3a42; text-align:center; }
.mh-app:hover .mh-app-lbl{ color:var(--mh-accent); }

.mh-dropmenu-account{ width:206px; padding:6px 0; }
.mh-acct{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:11px 15px; font-size:13.5px; color:#2c2c31; text-decoration:none; background:none; border:0; font-family:inherit; cursor:pointer; }
.mh-acct svg{ width:15px; height:15px; fill:#6b6b76; flex:0 0 15px; }
.mh-acct:hover{ background:#fafafc; color:var(--mh-accent); }
.mh-acct:hover svg{ fill:var(--mh-accent); }
.mh-acct-form{ margin:0; border-top:1px solid #ededf0; margin-top:4px; padding-top:4px; }

.mh-header .mh-icon, .mh-header .mh-cats, .mh-header .mh-avatar, .mh-header .mh-navitem, .mh-header .mh-pill{ background-color:transparent; box-shadow:none; }
.mh-header button.mh-icon{ background:none; border:0; padding:0; }
.mh-header .mh-icon svg{ width:17px; height:17px; fill:currentColor; }
.mh-header .mh-drop .mh-icon:hover, .mh-header .mh-icon:hover{ color:#fff; }







/* ---- header search panel ---- */
.mh-icon.is-search.is-on{ background:rgba(255,255,255,.16); }
.mh-searchpanel{ background:#fff; border-bottom:1px solid #ececf2; }
.mh-searchpanel[hidden]{ display:none; }
.mh-searchpanel form{ max-width:1400px; margin:0 auto; padding:12px 18px 14px; }
.mh-searchpanel input{ width:100%; height:44px; border:0; border-bottom:1px solid #e2e2ea; background:#fff; font-family:inherit; font-size:15px; color:#2b2b35; padding:0 2px; outline:none; }
.mh-searchpanel input::placeholder{ color:#9a9aa6; }
.mh-searchpanel input:focus{ border-bottom-color:var(--mh-accent); }


/* ===== reference-matched geometry (measured on the live reference, palette stays ours) ===== */
:root{
  --mh-radius:4px;
  --mh-btn-h:35px; --mh-btn-pad:5px 30px; --mh-btn-fs:14px; --mh-btn-fw:400;
  --mh-btn-lg-h:50px; --mh-btn-lg-pad:12px 24px; --mh-btn-lg-fs:16px;
  --mh-btn-sm-h:33px; --mh-btn-sm-pad:3px 10px; --mh-btn-sm-fs:14px;
  --mh-input-h:50px; --mh-input-fs:16px; --mh-input-radius:4px; --mh-input-border:#d5d5d5; --mh-input-ink:#464646;
  --mh-nav-fs:14px; --mh-nav-pad:0 18px;
  --mh-h2-fs:28px; --mh-h2-fw:500;
  --mh-chip-h:24px; --mh-chip-fs:14px; --mh-chip-radius:4px;
}
.mh-header{ height:auto; }
.mh-navitem{ font-size:var(--mh-nav-fs); font-weight:400; padding:var(--mh-nav-pad); }
.mh-cats{ font-size:var(--mh-nav-fs); font-weight:400; }
.mh-hero .mh-search{ width:720px; max-width:100%; }
.mh-hero .mh-search input{ height:var(--mh-input-h); border-radius:var(--mh-input-radius); font-size:var(--mh-input-fs); color:var(--mh-input-ink); }
.mh-hero .mh-search button{ height:var(--mh-btn-h); padding:var(--mh-btn-pad); border-radius:var(--mh-radius); font-size:var(--mh-btn-fs); font-weight:var(--mh-btn-fw); }
.mh-hero-d{ font-size:36px; font-weight:500; margin:0 0 20px; }
.mh-hero p{ font-size:16px; }
.mh-chips a{ height:var(--mh-chip-h); display:inline-flex; align-items:center; padding:0 10px; border-radius:var(--mh-chip-radius); font-size:var(--mh-chip-fs); font-weight:400; color:#333; background:#fff; }
.mh-sec h2{ font-size:var(--mh-h2-fs); font-weight:var(--mh-h2-fw); }


/* ---- header icon row matched to the reference ---- */
.mh-actions{ flex-direction:row-reverse; }
.mh-icon{ width:51px; height:60px; display:flex; align-items:center; justify-content:center; }
.mh-icon svg{ width:18px; height:18px; }
.mh-vdiv{ width:1px; height:26px; background:rgba(255,255,255,.22); margin:0 2px; flex:0 0 auto; }
.mh-logo{ padding:12px; }
.mh-logo img{ width:144px; height:36px; }
.mh-avatar{ width:51px; height:60px; display:flex; align-items:center; justify-content:center; }

.mh-lock{ overflow:hidden; }

@media (max-width:900px){ .mh-drawer{ width:100%; max-width:100%; border-left:0; } }

/* hero mobile scrim */
@media (max-width:900px){ .mh-hero::after{ background:linear-gradient(180deg, rgba(10,16,24,.60) 0%, rgba(10,16,24,.52) 45%, rgba(10,16,24,.70) 100%); } }

.mh-hero-media{ position:absolute; inset:0; z-index:0; }
.mh-hero-media video{ opacity:0; transition:opacity .8s ease; }
.mh-hero-media video.is-on{ opacity:1; }

/* container geometry measured on the reference at 1920: 1400px centered, 12px gutters */
.container{ max-width:1400px; width:100%; margin:0 auto; padding-left:12px; padding-right:12px; }
.mh-sec{ max-width:1400px; }
.mh-mega{ position:fixed; top:60px; left:0; right:0; margin:0; max-width:none; background:var(--mh-header-bg); color:#f8f8f8; border:0; border-radius:0; box-shadow:0 8px 18px rgba(0,0,0,.25); display:none; z-index:1190; max-height:calc(100vh - 60px); overflow-y:auto; }
.mh-mega.is-open{ display:block; }
.mh-mega-inner{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 44px; padding:22px 16px 30px; }
.mh-mega-group{ margin:0 0 20px; }
.mh-mega-head{ display:block; font-size:14px; font-weight:600; color:#fff; padding:0 0 8px; margin:0 0 8px; border-bottom:1px solid rgba(248,248,248,.18); text-decoration:none; }
.mh-mega-item{ display:block; font-size:13px; color:rgba(248,248,248,.82); padding:5px 0; text-decoration:none; }
.mh-mega-item:hover{ color:#fff; }
@media (max-width:900px){ .mh-mega-inner{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; } }



/* ===== mobile: the reference has no top header at 390px; navigation is the bottom tab bar ===== */
.mh-dhead{ display:none; }
@media (max-width:900px){
  .mh-header, .mh-searchpanel{ display:none !important; }
  .mh-mega{ display:none !important; }
  .mh-drawer{ top:0; height:100%; }
  .mh-body{ padding-bottom:calc(61px + env(safe-area-inset-bottom,0px)); }

  /* drawer header with close control (full-width panel on phones) */
  .mh-dhead{ display:flex; align-items:center; justify-content:space-between; height:52px; padding:0 14px; border-bottom:1px solid #e6e6e6; background:#fff; }
  .mh-dhead span{ font-size:15px; font-weight:700; color:var(--mh-ink); }
  .mh-dhead button{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; margin-inline-end:-8px; border:0; background:none; padding:0; cursor:pointer; }
  .mh-dhead svg{ width:18px; height:18px; fill:#464646; }

  /* hero starts at the very top of the page; reference height 550px at 390px wide */
  .mh-hero{ min-height:550px; }
  .mh-hero-in{ max-width:390px; padding:0 18px; }
  .mh-hero h1{ font-size:26px; line-height:60px; font-weight:500; margin:0 0 12px; }
  .mh-hero p{ font-size:16px; margin:0 0 22px; }
  .mh-hero .mh-search{ width:100%; padding:5px; border-radius:4px; }
  .mh-hero .mh-search button{ height:30px; padding:0 18px; border-radius:4px; font-size:14px; font-weight:400; background:#222; }
  .mh-chips{ gap:8px; margin-top:14px; font-size:12px; }
  .mh-chips .lbl{ font-size:12px; }
  .mh-chips a{ height:30px; font-size:12px; color:#464646; background:#f8f8f8; padding:0 10px; }

  /* bottom tab bar measured on the reference: 61px total, white, 1px #e6e6e6, 20px icons, 13px labels */
  .mh-tabbar{ height:60px; border-top:1px solid #e6e6e6; padding-bottom:env(safe-area-inset-bottom,0px); box-sizing:content-box; }
  .mh-tabbar a{ gap:4px; color:#464646; font-size:13px; font-weight:400; }
  .mh-tabbar a.is-active{ color:#1e1e20; }
  .mh-tabbar svg{ width:20px; height:20px; }
}


/* ===== mobile menu: full-screen القائمة panel, measured on the reference at 390px ===== */
.mh-mhead{ display:none; }
.mh-menu{ padding:0 14px; }
@media (max-width:900px){
  .mh-drawer{ top:0; bottom:61px; left:0; right:0; width:100%; max-width:100%; z-index:1200; }
  .mh-overlay{ display:none !important; }
  .mh-mhead{ display:flex; align-items:center; height:80px; padding:24px 14px; }
  .mh-mhead h3{ margin:0; font-size:24px; font-weight:500; line-height:32px; color:#000; }
  .mh-mrow{ display:flex; align-items:flex-start; gap:8px; width:100%; min-height:49px; box-sizing:border-box; padding:0 0 14px; border:0; border-bottom:1px solid #e6e6e6; background:none; font-family:inherit; font-size:14px; line-height:20px; color:#464646; text-align:right; text-decoration:none; cursor:pointer; }
  .mh-mrow>span{ flex:1 1 auto; }
  .mh-mico{ width:15px; height:15px; margin-top:2px; fill:#464646; flex:0 0 15px; }
  .mh-mchev{ width:12px; height:12px; margin-top:4px; fill:#9a9a9a; flex:0 0 12px; transition:transform .18s; }
  .mh-mrow.is-open .mh-mchev{ transform:rotate(-90deg); }
  .mh-msub{ display:none; }
  .mh-msub.is-open{ display:block; }
  .mh-msub a{ display:block; padding:14px; border-bottom:1px solid #e6e6e6; font-size:14px; line-height:20px; color:#464646; text-decoration:none; }
}

/* ===== mobile search page: title + field + category rows ===== */
.mh-msearch{ display:none; }
@media (max-width:900px){
  .mh-msearch{ display:block; }
  .mh-srchdesk{ display:none; }
  .mh-srchdesk.has-results{ display:block; }
  .mh-mtitle{ margin:0; padding:24px 14px; font-size:24px; font-weight:500; line-height:32px; color:#000; }
  .mh-mfield{ display:flex; align-items:center; gap:8px; height:62px; padding:12px 14px; border-top:1px solid #e6e6e6; border-bottom:1px solid #e6e6e6; }
  .mh-mfield input{ flex:1 1 auto; min-width:0; height:36px; border:0; background:none; outline:none; font-family:inherit; font-size:18px; color:#464646; padding:2px 6px; text-align:right; }
  .mh-mfield input::placeholder{ color:#9a9a9a; }
  .mh-mfield svg{ width:20px; height:20px; fill:#464646; flex:0 0 20px; }
  .mh-mcats{ padding:0 14px; }
  .mh-mcats a{ display:flex; align-items:center; justify-content:space-between; height:49px; padding:0 14px; border-bottom:1px solid #e6e6e6; font-size:14px; line-height:21px; color:#464646; text-decoration:none; }
  .mh-mcats a svg{ width:10px; height:20px; fill:#9a9a9a; flex:0 0 10px; }
}

/* ===== mobile account page ===== */
.mh-macct{ display:none; }
@media (max-width:900px){
  .mh-macct{ display:block; }
  .mh-desk{ display:none; }
  .mh-muser{ display:flex; align-items:center; gap:10px; height:49px; margin:0 14px; padding:0 14px; border-bottom:1px solid #e6e6e6; font-size:14px; color:#464646; }
  .mh-muser svg{ width:18px; height:18px; fill:#464646; flex:0 0 18px; }
  .mh-muser span{ flex:1 1 auto; }
  .mh-macct-list{ padding:0 14px; }
  .mh-macct-list a, .mh-macct-list button{ display:flex; align-items:center; gap:10px; width:100%; height:49px; padding:0 14px; border:0; border-bottom:1px solid #e6e6e6; background:none; font-family:inherit; font-size:14px; line-height:21px; color:#464646; text-decoration:none; text-align:right; cursor:pointer; }
  .mh-macct-list svg{ width:18px; height:18px; fill:#464646; flex:0 0 18px; }
  .mh-macct-list span{ flex:1 1 auto; }
  .mh-macct-list form{ margin:0; }
}


/* no horizontal overflow; closed drawer must not create a scroll strip */
html, body{ overflow-x:hidden; }
.mh-drawer{ visibility:hidden; }
.mh-drawer.is-open{ visibility:visible; }

/* mobile: keep the last row clear of the fixed tab bar */
@media (max-width:900px){
  .mh-mcats{ padding-bottom:28px; }
  .mh-macct-list{ padding-bottom:28px; }
  .mh-menu{ padding-bottom:28px; }
}


/* ==== header sweep: measured against the reference at 1920 ==== */
.mh-hdr{ max-width:1400px; margin:0 auto; padding:0 12px; }
.mh-burger span{ width:22px; }
.mh-burger span+span{ margin-top:6px; }
.mh-cats{ gap:6px; padding:20px 18px; }
.mh-cats svg{ width:15px; height:15px; }
.mh-cats.is-nav{ padding:20px 18px; gap:6px; }
.mh-actions .mh-icon{ width:54px; height:60px; }
.mh-header .mh-icon svg{ width:18px; height:18px; }
.mh-actions .mh-icon.is-search{ width:51px; }
.mh-header .mh-icon.is-search svg{ width:15px; height:15px; }
.mh-header .mh-icon.is-search svg, .mh-header .mh-pill svg{ fill:none; stroke:currentColor; }
.mh-header .mh-pill svg{ stroke-width:1.35; stroke-linecap:round; stroke-linejoin:round; width:15px; height:15px; }
.mh-header .mh-pill{ padding:10px; gap:4px; }
.mh-header .mh-pill+.mh-pill{ margin-left:18px; }
.mh-hdr{ padding:0; }
@media(max-width:1500px){ .mh-hdr{ padding:0 12px; } }
.mh-header .mh-pill{ margin:9px 18px; }
.mh-header .mh-pill+.mh-pill{ margin-left:0; }
.mh-header .mh-pill{ margin:9px 0 9px 18px; }
.mh-header .mh-pill+.mh-pill{ margin-left:18px; margin-right:18px; }
.mh-header .mh-pill{ margin:9px 18px 9px 0; }
.mh-header .mh-pill:last-of-type{ margin-left:18px; }
.mh-header .mh-pill+.mh-pill{ margin-left:0; margin-right:18px; }
.mh-actions{ padding-left:18px; }
.mh-header .mh-pill{ margin:9px 18px 9px 0; }
.mh-header .mh-icon.is-search svg, .mh-header .mh-pill svg, .mh-tabbar svg{ fill:currentColor; stroke:none; }
.mh-burger span{ height:2.5px; border-radius:1.5px; }
.mh-burger span+span{ margin-top:5px; }
.product-user{ width:41px; height:44px; }
.product-user img{ width:36px; height:36px; border-radius:50%; display:block; }
.mh-header .mh-avatar{ width:54px; height:60px; }
.mh-header .mh-avatar img{ width:36px; height:36px; border-radius:50%; object-fit:cover; }
/* mega menu: matched to the reference panel (1400 wide, white, radius 4, 4 columns) */
.mh-mega{ position:fixed; top:64px; left:50%; transform:translateX(-50%); right:auto; width:1400px; max-width:calc(100vw - 32px); margin:0; background:#fff; color:#464646; border:0; border-radius:4px; box-shadow:0 6px 12px rgba(0,0,0,.176); display:none; z-index:1190; max-height:calc(100vh - 84px); overflow-y:auto; overscroll-behavior:contain; }
.mh-mega.is-open{ display:block; }
.mh-mega-inner{ display:flex; align-items:flex-start; gap:0; padding:0; }
.mh-mega-col{ flex:1 1 0; min-width:0; padding:10px; }
.mh-mega-group{ margin:0; }
.mh-mega-group + .mh-mega-group{ margin-top:10px; border-top:1px solid #ececec; padding-top:10px; }
.mh-mega-head{ display:block; font-size:16px; font-weight:400; color:#464646; padding:0; margin:0 0 10px; border:0; text-decoration:none; }
.mh-mega-head:hover{ color:var(--mh-accent); }
.mh-mega-item{ display:block; font-size:14px; line-height:21px; color:#464646; padding:0 0 8px; text-decoration:none; }
.mh-mega-item:hover{ color:var(--mh-accent); }
.mh-mega svg, .mh-mega img{ width:18px; height:18px; flex:0 0 18px; }
/* wallet */
.mh-wtop{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:6px 0 18px; }
.mh-wtitle{ font-size:23px; margin:0; }
.mh-wsub{ margin:6px 0 0; font-size:14px; color:#6b6b76; }
.mh-wbtn{ display:inline-flex; align-items:center; height:40px; padding:0 18px; border-radius:6px; background:var(--mh-accent); color:#fff; font-size:14px; text-decoration:none; }
.mh-wbtn:hover{ filter:brightness(.94); }
.mh-wgrid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:14px; margin-bottom:18px; }
.mh-wbal{ background:linear-gradient(135deg,#4c1d95,#7c3aed 55%,#2d9cff); border-radius:10px; padding:20px 22px; color:#fff; display:flex; flex-direction:column; gap:6px; }
.mh-wbal-l{ font-size:13px; color:rgba(255,255,255,.85); }
.mh-wbal-n{ font-size:30px; font-weight:800; letter-spacing:-.5px; }
.mh-wbal-h{ font-size:12px; color:rgba(255,255,255,.7); }
.mh-wstat{ background:#fff; border:1px solid #ececf2; border-radius:10px; padding:18px 18px; display:flex; flex-direction:column; gap:8px; justify-content:center; }
.mh-wstat-l{ font-size:13px; color:#6b6b76; }
.mh-wstat-n{ font-size:22px; font-weight:800; color:#1e1e20; }
.mh-wh3{ font-size:16px; margin:0 0 12px; display:flex; align-items:center; gap:7px; }
@media(max-width:900px){ .mh-wgrid{ grid-template-columns:1fr 1fr; } .mh-wbal{ grid-column:1 / -1; } .mh-wtop{ flex-direction:column; align-items:flex-start; } }
/* wallet v2: structure matched to the reference credit page */
.mh-crumb{ display:flex; gap:8px; align-items:center; font-size:13px; color:#8a8a95; margin:4px 0 14px; }
.mh-crumb a{ color:#8a8a95; text-decoration:none; }
.mh-crumb-cur{ color:#464646; }
.mh-wcards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:6px 0 18px; }
.mh-wcard{ background:#fff; border:1px solid #ececf2; border-radius:10px; padding:20px 20px 18px; display:flex; flex-direction:column; gap:6px; text-align:center; }
.mh-wcard-l{ font-size:14px; color:#6b6b76; }
.mh-wcard-n{ font-size:28px; font-weight:800; color:#1e1e20; letter-spacing:-.4px; }
.mh-wcard-h{ font-size:12.5px; line-height:20px; color:#8a8a95; margin:2px 0 0; }
.mh-wbtn-wide{ display:inline-flex; margin:0 0 18px; }
.mh-wpanel{ margin-bottom:16px; }
.mh-tx{ padding:4px 0; }
.mh-tx-row{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid #f1f1f5; }
.mh-tx-row:last-child{ border-bottom:0; }
.mh-tx-ico{ width:34px; height:34px; border-radius:50%; background:#f4f2ff; color:var(--mh-accent); display:flex; align-items:center; justify-content:center; flex:0 0 34px; }
.mh-tx-body{ display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-width:0; }
.mh-tx-t{ font-size:14px; color:#1e1e20; }
.mh-tx-d{ font-size:13px; color:#6b6b76; }
.mh-tx-date{ font-size:12px; color:#a0a0ab; }
.mh-tx-amt{ font-size:15px; font-weight:800; white-space:nowrap; }
.mh-tx-amt.is-plus{ color:#12805c; }
.mh-tx-amt.is-minus{ color:#c2334d; }
.mh-tx-empty{ padding:24px 16px; text-align:center; color:#8a8a95; font-size:14px; margin:0; }
.mh-wmore{ display:block; text-align:center; padding:14px; font-size:14px; color:var(--mh-accent); text-decoration:none; border-top:1px solid #f1f1f5; }
.mh-pm{ display:flex; gap:10px; flex-wrap:wrap; padding:14px 16px 18px; }
.mh-pm-i{ display:inline-flex; align-items:center; height:38px; padding:0 16px; border:1px solid #e6e6ee; border-radius:6px; font-size:13px; color:#464646; background:#fafafd; }
@media(max-width:900px){ .mh-wcards{ grid-template-columns:1fr; } }

/* ============ account area sidebar (settings / profile / messages) ============ */
.acct-grid{display:grid;grid-template-columns:224px minmax(0,1fr);gap:20px;align-items:start}
.acct-nav{background:#fff;border:1px solid #ececec;border-radius:6px;overflow:hidden}
.acct-nav a{display:block;padding:13px 16px;font-size:14px;color:#464646;border-bottom:1px solid #f1f1f1;text-decoration:none}
.acct-nav a:last-child{border-bottom:0}
.acct-nav a:hover{background:#fafafa;color:#323232}
.acct-nav a.on{background:var(--mh-accent-soft);color:var(--mh-accent);font-weight:700;box-shadow:inset -3px 0 0 var(--mh-accent)}
.acct-main{min-width:0}
@media(max-width:991px){.acct-grid{grid-template-columns:1fr}.acct-nav{order:2;margin-top:16px}}

/* profile head action */
.profile-head .pf-cta{margin-inline-start:auto;align-self:center;flex:0 0 auto;text-decoration:none}

/* ---- measured from their own stylesheets (profile / account pages) ----
   .card{border:1px solid rgba(0,0,0,.125);border-radius:4px}
   .card-header{padding:8px 16px;background:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}
   .card-body{padding:16px}
   .c-form__control{height:40px;padding:9px 10px;font-size:16px;border-radius:4px}
   .c-button{border-radius:4px;line-height:1.4em}  .c-button--small{font-size:12px;padding:5px 10px;line-height:18px}
   .c-alert{padding:15px;margin-bottom:20px;border-radius:4px;border:1px solid transparent}
   .main-container{max-width:1400px}                                                          */
.pf-card{border-radius:4px;border-color:rgba(0,0,0,.125);margin-bottom:16px}
.pf-card-h{padding:8px 16px;background:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125);font-size:14px}
.pf-card-b{padding:16px;line-height:1.8}
.acct-main .panel{border-radius:4px;border-color:rgba(0,0,0,.125)}
.acct-main .panel-pad{padding:16px}
.acct-main .field input[type=text],.acct-main .field input[type=email],.acct-main .field input[type=password],
.acct-main .field input[type=number],.acct-main .field select{height:40px;padding:9px 10px;border-radius:4px;font-size:16px}
.acct-main .field textarea{padding:9px 10px;border-radius:4px;font-size:16px}
.acct-main .field label,.acct-main .field .lbl{font-size:13px}
.acct-main .btn{height:auto;min-height:34px;padding:6px 16px;border-radius:4px;font-size:14px;font-weight:400}
.acct-main .panel h1{font-size:23px}

/* help center */
.panel{border-radius:4px}
.help-head{padding:4px 0 16px}
.help-head h1{font-size:26px;margin:0 0 6px}
.help-search{display:flex;align-items:center;gap:8px;border:1px solid rgba(0,0,0,.125);border-radius:4px;background:#fff;padding:0 12px;height:40px;max-width:520px;margin-top:14px;color:#8a8a95}
.help-search input{flex:1;border:0;outline:0;height:38px;font-family:inherit;font-size:15px;background:transparent;color:var(--mh-ink)}
.help-card{text-decoration:none;display:block;margin-bottom:14px}
.help-card:hover{border-color:rgba(0,0,0,.28)}
.help-h2{font-size:20px;margin:24px 0 12px}
.faq-item{border:1px solid rgba(0,0,0,.125);border-radius:4px;background:#fff;margin-bottom:8px}
.faq-item summary{list-style:none;cursor:pointer;padding:14px 16px;font-size:15px;font-weight:700;color:var(--mh-ink);display:flex;align-items:center;justify-content:space-between;gap:10px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-arrow{font-size:11px;color:#8a8a95;transition:transform .15s}
.faq-item[open] .faq-arrow{transform:rotate(180deg)}
.faq-body{padding:0 16px 16px;font-size:14px;color:#55555c;line-height:1.9}
.help-contact h2{font-size:18px;margin:0 0 8px}


/* drawer must be usable at every width: the burger opens it on desktop too */
.mh-drawer .mh-mico{width:15px;height:15px;flex:0 0 15px;margin-top:2px;fill:#464646}
.mh-drawer .mh-mchev{width:12px;height:12px;flex:0 0 12px;margin-top:4px;fill:#9a9a9a}
.mh-drawer svg{max-width:18px;max-height:18px}
.mh-drawer .mh-menu{padding:0 14px}
.mh-drawer .mh-mrow{display:flex;align-items:center;gap:10px;width:100%;min-height:49px;box-sizing:border-box;padding:0 0 14px;border:0;border-bottom:1px solid #e6e6e6;background:none;font-family:inherit;font-size:14px;line-height:20px;color:#464646;text-align:right;text-decoration:none;cursor:pointer}
.mh-drawer .mh-msub a{display:block;padding:14px;border-bottom:1px solid #e6e6e6;font-size:14px;line-height:20px;color:#464646;text-decoration:none}
@media(min-width:901px){.mh-drawer{width:340px;max-width:340px}}

/* homepage solutions: outlined chips, auto width, wrapping like the reference */
.mh-sol{padding:96px 0 100px}
.mh-sol h2{text-align:center;font-size:32px;font-weight:400;color:var(--mh-ink);margin:0 0 44px}
.sol-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}
.sol-chip{display:inline-flex;align-items:center;height:44px;padding:0 22px;border:1px solid #e6e6e6;border-radius:4px;background:#fff;font-size:16px;color:var(--mh-ink);text-decoration:none;white-space:nowrap}
.sol-chip:hover{border-color:rgba(0,0,0,.28)}
@media(max-width:900px){.mh-sol{padding:56px 0 60px}.mh-sol h2{font-size:22px;margin-bottom:26px}.sol-chip{height:40px;padding:0 16px;font-size:14px}}

/* featured header row + card internals (from the reference screenshot) */
.mh-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.mh-sec-head h2{margin:0}
.mh-more{display:inline-flex;align-items:center;height:34px;padding:0 14px;border:1px solid #d5d5d5;border-radius:4px;background:#fff;font-size:13px;color:var(--mh-ink);text-decoration:none;white-space:nowrap}
.mh-more:hover{border-color:rgba(0,0,0,.35)}
.mh-card{display:flex;flex-direction:column;border:1px solid #ececec;border-radius:4px;background:#fff;overflow:hidden;box-shadow:none;text-decoration:none}
.mh-card .cv{display:block;width:100%;height:190px;object-fit:cover;border-radius:0;margin:0}
.mh-card .bd{padding:14px 14px 18px;text-align:center;border:0;background:none}
.mh-card .tt{font-size:16px;line-height:1.5;font-weight:400;color:var(--mh-ink);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:48px}
.mh-card .sl{font-size:12px;color:#8a8a95;margin:0 0 8px}
.mh-card .rt{font-size:12px;color:#8a8a95;margin:0 0 6px;direction:rtl}
.mh-card .rt .st{color:#c9a227;letter-spacing:1px}
.mh-card .pr{display:block;text-align:center;border-top:0;padding-top:0;font-size:14px;font-weight:700;color:var(--mh-ink);margin:0}

/* خدمات شائعة: white cards with a line icon on the start side */
.mh-pop{background:#f7f7f7;box-shadow:0 0 0 100vmax #f7f7f7;clip-path:inset(0 -100vmax);padding:44px 0 46px;margin:26px auto}
.mh-pop h2{text-align:center;margin:0 0 24px;font-size:22px}
.pop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pop-card{position:relative;display:flex;align-items:center;justify-content:center;min-height:78px;padding:20px 60px;background:#fff;border:1px solid #ececec;border-radius:4px;text-decoration:none}
.pop-card b{font-size:15px;font-weight:400;color:var(--mh-ink);text-align:center;line-height:1.5}
.pop-ic{position:absolute;inset-inline-start:20px;top:50%;transform:translateY(-50%);color:#464646;line-height:0}
.pop-ic svg{width:40px;height:40px}
@media(max-width:991px){.pop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.pop-grid{grid-template-columns:1fr}.pop-card{min-height:66px;padding:14px 56px}}

/* featured services carousel */
.mh-carousel{position:relative}
.mh-cards{display:flex;gap:16px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding-bottom:2px}
.mh-cards::-webkit-scrollbar{display:none}
.mh-card{flex:0 0 calc((100% - 48px) / 4)}
.mh-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #d5d5d5;border-radius:50%;background:#fff;color:#464646;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.10)}
.mh-arrow svg{width:14px;height:14px;fill:currentColor}
.mh-arrow:hover:not(:disabled){border-color:rgba(0,0,0,.35)}
.mh-arrow:disabled{opacity:.35;cursor:default}
.mh-arrow-prev{inset-inline-start:-16px}
.mh-arrow-next{inset-inline-end:-16px}
@media(max-width:991px){.mh-card{flex:0 0 calc((100% - 16px) / 2)}.mh-arrow-prev{inset-inline-start:6px}.mh-arrow-next{inset-inline-end:6px}}
@media(max-width:560px){.mh-card{flex:0 0 86%}.mh-arrow{width:34px;height:34px}.mh-arrow-prev{inset-inline-start:6px}.mh-arrow-next{inset-inline-end:6px}}

/* ===== measured from their live site (getComputedStyle) ===== */
.mh-sec{padding:65px 0}
.mh-sol{padding:65px 0}

/* centred block headers */
.mh-pop h2,.mh-sol h2{font-size:28px;line-height:44px;margin:0 0 25px;font-weight:500;color:#000;text-align:center}

/* title + عرض المزيد row */
.mh-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}
.mh-sec-head h2{font-size:20px;font-weight:500;color:#000;margin:0}
.mh-more{display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:3px 10px;border:1px solid #222;border-radius:4px;background:transparent;color:#222;text-decoration:none;height:33px}

/* recommended service card: no border, no radius, no shadow */
.mh-cards{display:flex;gap:24px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:0 15px 2px}
.mh-card{flex:0 0 calc((100% - 72px) / 4);display:flex;flex-direction:column;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;text-decoration:none}
.mh-card .cv{position:relative;display:block;width:100%;aspect-ratio:1 / 0.5765;overflow:hidden;border-radius:0}
.mh-card .cv > img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;border-radius:0}
.mh-card .cv .av{position:absolute;left:8px;bottom:8px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(0,0,0,.06);object-fit:cover}
.mh-card .tt{font-size:14px;line-height:21px;font-weight:500;color:#000;margin:11px 0 0;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
.mh-card .sl{font-size:12px;color:#6d6d6d;margin:3px 0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-card .rt{font-size:14px;color:#6d6d6d;margin:0;text-align:center;direction:rtl;line-height:1.4}
.mh-card .rt .st{color:#fa9747;font-size:14px;letter-spacing:8px}
.mh-card .rt .ct{font-size:14px;color:#6d6d6d;margin-inline-start:5px}
.mh-card .pr{display:block;text-align:center;font-size:14px;color:#000;margin:0;border:0;padding:0;line-height:1.5}
.mh-card .pr .lb{font-weight:400}
.mh-card .pr b{font-weight:700}

/* خدمات شائعة boxes: white, 80px, no border or radius, icon first */
.mh-pop{background:#f8f8f8;box-shadow:0 0 0 100vmax #f8f8f8;clip-path:inset(0 -100vmax);padding:65px 0;margin:0 auto}
.pop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 24px;padding:0 15px}
.pop-card{display:flex;align-items:center;gap:15px;height:80px;padding:20px;background:#fff;border:0;border-radius:0;box-shadow:none;text-decoration:none}
.pop-card .pop-ic{flex:0 0 40px;width:40px;height:40px;color:#464646;line-height:0}
.pop-card .pop-ic svg{width:40px;height:40px}
.pop-card b{font-size:16px;line-height:19.2px;font-weight:500;color:#000;text-align:start}

/* chips */
.sol-chips{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;padding:0 15px}
.sol-chip{display:flex;align-items:center;justify-content:center;height:49px;padding:0 15px;background:#fff;border:1px solid #d5d5d5;border-radius:4px;font-size:14px;line-height:16.8px;font-weight:500;color:#000;text-decoration:none;white-space:nowrap}

/* arrows: 30px white circles, 70% opacity, hidden on phones */
.mh-arrow{width:30px;height:30px;background:rgba(255,255,255,.7);border:0;border-radius:50%;color:#464646;box-shadow:none;opacity:1}
.mh-arrow svg{width:18px;height:18px;fill:currentColor}
.mh-arrow:hover:not(:disabled){background:#fff}
.mh-arrow:disabled{opacity:.4}
.mh-arrow-prev{inset-inline-start:7px}
.mh-arrow-next{inset-inline-end:7px}

@media(max-width:991px){.mh-card{flex:0 0 calc((100% - 24px) / 2)}}
@media(max-width:767px){
  .mh-sec,.mh-sol,.mh-pop{padding:44px 0}
  .mh-pop h2,.mh-sol h2{font-size:22px;line-height:34px;margin-bottom:18px}
  .mh-sec-head h2{font-size:18px}
  .mh-arrow{display:none}
  .pop-grid{grid-template-columns:1fr;gap:12px}
  .sol-chip{flex:0 0 48%;padding:0 8px;font-size:13px}
}


/* overrides: site-wide p{line-height:1.8!important} was winning; card flex basis fixed */
@media(min-width:992px){.mh-card{flex:0 0 calc((100% - 72px)/4)}}
.mh-card .tt{line-height:21px!important}
.mh-card .sl{line-height:18px!important}
.mh-card .rt{line-height:1.4!important}
.mh-card .pr{line-height:1.5!important}

.mh-card{min-width:0}
.mh-card .sl{max-width:100%}

.mh-card .cv{height:auto}
.mh-card .tt{min-height:42px}

/* pop grid breakpoints */
@media(min-width:768px) and (max-width:991px){.pop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}}
@media(max-width:767px){.pop-grid{grid-template-columns:1fr;gap:12px}}

/* pop card mobile per their breakpoints */
@media(min-width:561px) and (max-width:991px){.pop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}}
@media(max-width:560px){.pop-grid{grid-template-columns:1fr;gap:12px}.pop-card{height:auto;min-height:66px;padding:14px 56px;justify-content:center}}

/* solutions chips 2-column grid on phones */
@media(max-width:560px){.sol-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sol-chip{width:auto;min-height:49px;height:auto;padding:8px 10px;white-space:normal;text-align:center;line-height:18px}}


/* category grid: khamsat measured geometry */
.mh-tiles{gap:30px 24px;padding-inline:24px}
.mh-tile{border-radius:0;aspect-ratio:1 / 0.5765}
@media(max-width:767px){.mh-tiles{grid-template-columns:repeat(2,1fr);padding-inline:15px;gap:30px 24px}}

/* --- recently viewed rail (smaller cards, same anatomy) --- */
.mh-cards-sm .mh-card{flex:0 0 calc((100% - 72px)/4)}
@media (max-width:991px){ .mh-cards-sm .mh-card{flex:0 0 calc((100% - 24px)/2)} }
@media (max-width:560px){ .mh-cards-sm .mh-card{flex:0 0 46%} }
.mh-sec.mh-recent[hidden]{display:none}
/* star row spacing measured off khamsat (14px stars, 3.5px apart, count hard against them) */
.mh-card .rt .st{letter-spacing:3.5px;margin-inline-end:-3.5px}
.mh-card .rt .ct{margin-inline-start:2px}

/* mobile: one full card + the next peeking, 24px gap (the recording's carousel shape) */
@media (max-width:560px){ .mh-cards .mh-card{flex:0 0 86%} }
@media (max-width:560px){ .mh-cards.mh-cards-sm .mh-card{flex:0 0 46%} }
.mh-apps{direction:rtl}
.mh-app .mh-app-lbl{direction:rtl}
.mh-mapps-title{font-size:12px;color:#8a8a95;padding:16px 4px 10px;margin-top:10px;border-top:1px solid var(--mh-line)}
.mh-mapps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 10px;padding:0 0 18px}
.mh-mapps .mh-app-tile{width:52px;height:52px}

/* drawer: scroll to the very end above the bottom tab bar */
@media (max-width:767px){
  .mh-drawer{height:auto;bottom:61px;overflow-y:auto}
  .mh-drawer .mh-menu{padding-bottom:calc(61px + 26px + env(safe-area-inset-bottom,0px))}
}

/* ---- messages inbox ---- */
.mh-msgs{max-width:1400px;margin:0 auto;padding:26px 15px 60px}
.mh-msgs-head h1{font-size:23px;font-weight:600;color:var(--mh-ink);margin:0 0 16px}
.mh-msgs-list{background:#fff;border:1px solid rgba(0,0,0,.125);border-radius:4px;overflow:hidden}
.mh-msg-row{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #f0f0f0;text-decoration:none;color:inherit}
.mh-msg-row:last-child{border-bottom:0}
.mh-msg-row .av{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#f2f2f4}
.mh-msg-row .txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.mh-msg-row .nm{font-size:14px;font-weight:500;line-height:20px;color:#1e1e20;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-msg-row .pv{font-size:12.5px;line-height:18px;color:#8a8a92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-msg-row .meta{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.mh-msg-row .tm{font-size:12px;line-height:16px;color:#9a9aa2;white-space:nowrap}
.mh-msg-row .bdg{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#5a54a4;color:#fff;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.mh-msg-row.is-unread .nm{font-weight:700}
.mh-msgs-empty{padding:48px 20px;text-align:center;color:#8a8a92}
@media (max-width:991px){
  .mh-msgs{min-height:calc(100vh - 61px - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;padding:14px 12px 0;box-sizing:border-box}
  .mh-msgs-head{padding:2px 4px 0}
  .mh-msgs-head h1{font-size:20px;margin:0 0 12px}
  .mh-msgs-list{flex:1 1 auto;border-radius:6px}
  .mh-msg-row{padding:13px 14px;gap:11px}
  .mh-msg-row .av{width:46px;height:46px}
}

/* ---- conversation page: one scrolling surface on mobile, no inner scroll ---- */
.mh-thread{grid-template-columns:300px minmax(0,1fr)}
@media (max-width:991px){
  .mh-thread{grid-template-columns:minmax(0,1fr);gap:0}
  .mh-thread .mh-thread-side{display:none}
  .mh-thread .panel{border-radius:6px}
  .mh-thread .panel-body{padding:12px}
  .chat{max-height:none;overflow:visible;min-height:0}
  .composer{position:static;background:none;border-top:1px solid #f0f0f0;padding-top:12px}
  .composer textarea{max-height:none}
}
.mh-msub .mh-mapps a.mh-app{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;border:0;color:#3a3a42;text-decoration:none}
.mh-msub .mh-mapps a.mh-app .mh-app-lbl{font-size:11.5px;line-height:16px;color:#3a3a42;text-align:center;border:0;padding:0}
.mh-mapps{padding:16px 4px 4px}
.mh-mapps-title{display:none}

/* seller card must hug its content, not stretch to the column height (left a big white hole on the service page) */
.seller-card{height:auto;align-self:flex-start}

/* ---- service detail page: geometry matched to the live reference ---- */
.svc-head{background:#fff;border-bottom:0;padding:48px 0 0;margin-bottom:0}
.svc-head h1{font-size:24px;line-height:38px;font-weight:500;margin:0}
.svc-head .mh-crumbs{font-size:12px;color:#6d6d6d;margin:0 0 10px;line-height:26px}
.svc-block{background:#fff;border:1px solid #e8e8ea;border-radius:0;padding:24px;margin-bottom:30px}
.svc-block h2{font-size:16px;font-weight:700;margin:0 0 16px}
.order-card{border:1px solid #e8e8ea;border-radius:0;margin-bottom:30px}
.order-card h3{font-size:16px;font-weight:700;margin:0;padding:16px;border-bottom:1px solid #f1f1f1}
.order-card .oc-body{padding:16px}
.seller-card{border:1px solid #e8e8ea;border-radius:0;margin-bottom:30px;height:auto;align-self:flex-start}
.filter-card{border:1px solid #e8e8ea;border-radius:0;margin-bottom:30px}
.svc-cover,.svc-cover img,.svc-gallery img{border-radius:0}
.mh-svc-page .row{--bs-gutter-x:24px}
@media(max-width:991px){
  .svc-head{padding:24px 0 0}
  .svc-head h1{font-size:20px;line-height:32px}
  .svc-block{padding:16px;margin-bottom:18px}
  .seller-card,.filter-card,.order-card{margin-bottom:18px}
}
.svc-head .mh-breadcrumb{padding:0;margin:0 0 10px;line-height:26px;height:auto;min-height:0}
.svc-head .mh-breadcrumb .sep{margin:0 4px}
/* mobile block order on the service page, matched to the reference:
   cover+description, then the order card, seller card, related, reviews last */
@media(max-width:991px){
  .svc-row{display:flex;flex-direction:column}
  .svc-row>.col-lg-8,.svc-row>.col-lg-4{display:contents}
  .svc-row>.col-lg-8>*,.svc-row>.col-lg-4>*{order:2;margin-inline:12px}
  .svc-row .svc-cover{order:1}
  .svc-row #orderForm{order:3}
  .svc-row .seller-card{order:4}
  .svc-row .filter-card{order:5}
  .svc-row #reviews{order:9}
}
@media(max-width:991px){
  .svc-row .seller-card{align-self:stretch;width:auto}
}
/* orders list on mobile: the 7-column table becomes stacked labelled rows */
@media(max-width:767px){
  .mh-orders-table{overflow:visible}
  .mh-orders-table table,.mh-orders-table thead,.mh-orders-table tbody,.mh-orders-table tr,.mh-orders-table td{display:block;width:100%}
  .mh-orders-table thead{display:none}
  .mh-orders-table tr{border:1px solid #e8e8ea;background:#fff;padding:12px 14px;margin-bottom:12px}
  .mh-orders-table td{border:0;padding:3px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}
  .mh-orders-table td:before{content:attr(data-l);color:#6d6d6d;font-size:12px;flex:0 0 auto}
  .mh-orders-table td:empty{display:none}
  .mh-orders-table td.price{font-weight:700}
}
@media(max-width:767px){
  .mh-orders-table td,.mh-orders-table td.price{height:auto!important;min-height:0!important;line-height:1.7}
}
@media(max-width:767px){
  .mh-orders-table td.price{background:transparent!important;padding:3px 0!important;margin:0!important;min-height:0!important;display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;text-align:left;gap:14px}
  .mh-orders-table td.price:before{content:attr(data-l);color:#6d6d6d;font-size:12px;font-weight:400}
}
/* conversation view: compact thread, composer pinned to the bottom of its panel */
.mh-thread{--mh-bubble:#f3f3f5;--mh-bubble-me:var(--mh-accent-soft);--mh-soft-ink:#8a8a90}
.mh-thread>.panel{display:flex;flex-direction:column;min-height:0;height:calc(100vh - 150px)}
.mh-thread .mh-thread-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.mh-thread .mh-thread-name{font-weight:800;font-size:15px;line-height:1.4}
.mh-thread .mh-thread-sub{font-size:12px;color:var(--mh-muted)}
.mh-thread .mh-thread-body{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;padding:0}
.mh-thread .mh-chat{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.mh-thread .mh-bubble{max-width:76%;padding:9px 12px;border-radius:12px;background:var(--mh-bubble);font-size:14px;line-height:1.7;align-self:flex-start}
.mh-thread .mh-bubble.me{align-self:flex-end;background:var(--mh-bubble-me)}
.mh-thread .mh-bubble .txt{white-space:pre-wrap;word-break:break-word}
.mh-thread .mh-bubble .time{font-size:11px;color:var(--mh-soft-ink);margin-top:4px;text-align:end}
.mh-thread .mh-bubble .file{display:inline-flex;align-items:center;gap:6px;font-size:12px;margin-top:6px}
.mh-thread .mh-chat-empty{color:var(--mh-muted);font-size:13px;margin:auto;text-align:center}
.mh-thread .mh-composer{flex:0 0 auto;display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--mh-line);background:#fff}
.mh-thread .mh-composer textarea{flex:1 1 auto;min-height:42px;max-height:120px;resize:none;border:1px solid var(--mh-line);border-radius:10px;padding:10px 12px;font-size:14px;line-height:1.5;font-family:inherit;background:#fff}
.mh-thread .mh-attach{position:relative;width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--mh-line);border-radius:10px;background:#fff;color:var(--mh-muted);cursor:pointer;overflow:hidden}
.mh-thread .mh-attach.has-file{border-color:var(--mh-accent);color:var(--mh-accent)}
.mh-thread .mh-attach input{position:absolute;inset:0;opacity:0;cursor:pointer}
.mh-thread .mh-attach .mh-fname{position:absolute;left:0;right:0;bottom:-2px;font-size:0;opacity:0}
.mh-thread .mh-send{height:42px;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px}
@media(max-width:767px){
  .mh-thread{height:calc(100dvh - 61px - env(safe-area-inset-bottom,0px));margin:0}
  .mh-thread>.panel{height:100%;border:0;border-radius:0}
  .mh-thread .mh-chat{padding:12px 12px 8px}
  .mh-thread .mh-bubble{max-width:84%}
}
.mh-thread .mh-attach{color:var(--mh-text)}
@media(max-width:767px){
  .page-thread{padding-bottom:0}
  .page-thread .container{padding-left:0;padding-right:0}
}
/* RTL column flex: cross-axis start is the right edge. Mine right, theirs left. */
.mh-thread .mh-bubble{align-self:flex-end;background:var(--mh-bubble)}
.mh-thread .mh-bubble.me{align-self:flex-start;background:var(--mh-bubble-me)}
/* public profile: no username/email in the header, brand-orange stars, reference card treatment */
.profile-head .pf-level{font-size:13px;color:var(--mh-muted)}
.profile-head .pf-rating{margin-top:6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pf-stars{color:#fa9747;font-size:14px;letter-spacing:2px;line-height:1}
.pf-count{font-size:12px;color:var(--mh-muted)}
.profile-head .pf-cta{display:inline-flex;align-items:center;justify-content:center;width:auto;height:36px;padding:6px 22px;border-radius:4px;font-size:14px;line-height:1;background:var(--mh-accent);color:#fff;flex:0 0 auto}
.profile-head .pf-cta:hover{background:var(--mh-accent-hover)}
.pf-card{background:#fff;border:1px solid #e8e8ea;border-radius:0;margin-bottom:24px;overflow:hidden}
.pf-card-h{padding:20px;font-size:16px;font-weight:700;border-bottom:1px solid #f1f1f1;background:#fff}
.pf-card-b{padding:20px}
@media(max-width:767px){
  .profile-head{flex-direction:column;align-items:center;text-align:center;gap:10px}
  .profile-head .pf-cta{width:auto}
  .pf-card{margin-bottom:16px}
}
/* service card, matched to the reference geometry (325x322 at 1920, image 187 tall) */
.service-card .product{border:1px solid #ececef;border-radius:0;background:#fff;margin-bottom:30px}
.service-card .product .product-img-wrap{position:relative}
.service-card .product .product-img{width:100%;aspect-ratio:325/187;object-fit:cover;object-position:top center;display:block}
.service-card .product .product-user{position:absolute;left:10px;right:auto;bottom:10px;width:41px;height:41px;z-index:3}
.service-card .product .product-user img{width:41px;height:41px;border:2px solid #fff;border-radius:50%;object-fit:cover;background:#eee}
.service-card .product .product-body{padding:14px;display:flex;flex-direction:column}
.service-card .product .product-title{font-size:14px;line-height:21px;font-weight:500;margin:0 0 6px;min-height:42px}
.service-card .product .product-category{font-size:12px;color:#6d6d6d;margin:3px 0 0;line-height:24px}
.service-card .product .product-category a{color:#6d6d6d}
.service-card .product .product-rate{font-size:12px;color:#6d6d6d;margin:2px 0 0;display:flex;align-items:center;gap:5px;line-height:24px}
.service-card .product .product-rate .stars{color:#fa9747;font-size:14px;letter-spacing:1px}
.service-card .product .product-price{border-top:0;padding-top:0;margin-top:2px;font-size:14px;color:#5c5e61;display:flex;align-items:center;justify-content:flex-start;gap:6px;line-height:24px}
.service-card .product .product-price b{color:#131313;font-size:14px;font-weight:700}
/* recommendations page */
.mh-rec-title{font-size:24px;line-height:38px;font-weight:500;margin:0 0 10px;color:var(--mh-text)}
.mh-rec-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 14px}
.mh-rec-head h2{font-size:20px;font-weight:500;margin:0;line-height:32px}
.mh-rec-more{border:1px solid #dcdce0;border-radius:3px;padding:6px 14px;font-size:13px;color:#333;background:#fff;white-space:nowrap}
.mh-rec-more:hover{border-color:var(--mh-accent);color:var(--mh-accent)}
@media(max-width:767px){
  .mh-rec-title{font-size:20px;line-height:32px}
  .mh-rec-head h2{font-size:17px}
  .mh-rec-head{margin:20px 0 10px}
}
/* ===== admin chrome: its own header, drawer and footer ===== */
.ad-body{background:#f6f6f8;margin:0}
.ad-top{position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:14px;height:56px;padding:0 16px;background:#101A3C;color:#fff}
.ad-top-start{display:flex;align-items:center;gap:10px;min-width:0}
.ad-burger{display:none;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:transparent;color:#fff;cursor:pointer}
.ad-brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none}
.ad-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--mh-gradient);font-weight:800;font-size:15px;color:#fff}
.ad-brand-name{font-weight:800;font-size:16px}
.ad-brand-tag{font-size:12px;color:rgba(255,255,255,.72);border-inline-start:1px solid rgba(255,255,255,.22);padding-inline-start:10px;margin-inline-start:2px}
.ad-acc{position:relative}
.ad-acc-btn{display:flex;align-items:center;gap:8px;background:transparent;border:0;color:#fff;cursor:pointer;padding:4px 6px;border-radius:8px}
.ad-acc-btn:hover{background:rgba(255,255,255,.08)}
.ad-acc-btn img{width:30px;height:30px;border-radius:50%;object-fit:cover;background:#2a3557}
.ad-acc-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.ad-acc-txt b{font-size:13px;font-weight:600}
.ad-acc-txt i{font-size:11px;font-style:normal;color:rgba(255,255,255,.65)}
.ad-acc-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:220px;background:#fff;border:1px solid #e6e6ea;border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.14);padding:6px;z-index:90}
.ad-acc-head{padding:10px;border-bottom:1px solid #f0f0f2;margin-bottom:6px;display:flex;flex-direction:column;gap:2px}
.ad-acc-head b{font-size:13px;color:#1d1d22}
.ad-acc-head span{font-size:11px;color:#8a8a92}
.ad-acc-mail{font-size:11px;color:#b0b0b8}
.ad-acc-menu a,.ad-acc-menu button{display:block;width:100%;text-align:right;padding:9px 10px;border-radius:6px;font-size:13px;color:#33333b;text-decoration:none;background:none;border:0;cursor:pointer;font-family:inherit}
.ad-acc-menu a:hover,.ad-acc-menu button:hover{background:#f5f5f8}
.ad-shell{min-height:calc(100vh - 56px - 52px)}
.ad-wrap{padding:18px 16px 26px}
.ad-side{top:74px}
.ad-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid #e6e6ea;background:#fff;color:#82828a;font-size:12px}
.ad-ver{color:#a2a2aa}
.ad-flash{padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:14px}
.ad-flash.is-ok{background:#e8f6ee;color:#1d6b45;border:1px solid #bfe5cf}
.ad-flash.is-err{background:#fdecec;color:#8a2323;border:1px solid #f3c9c9}
.ad-scrim{display:none}
@media(max-width:991px){
  .ad-burger{display:inline-flex}
  .ad-brand-tag{display:none}
  .ad-side{position:fixed;top:56px;bottom:0;right:0;width:min(280px,84vw);max-height:none;overflow-y:auto;transform:translateX(105%);transition:transform .22s ease;z-index:85;border-radius:0;border:0;border-inline-start:1px solid #e6e6ea;padding:14px 12px 40px;background:#fff;margin:0}
  .ad-side.is-open{transform:none;box-shadow:-12px 0 30px rgba(0,0,0,.12)}
  .ad-scrim{display:block;position:fixed;inset:56px 0 0;background:rgba(12,18,38,.42);z-index:84}
  .ad-scrim[hidden]{display:none}
  .ad-wrap{padding:14px 12px 22px;grid-template-columns:minmax(0,1fr)}
  .ad-body.ad-lock{overflow:hidden}
  .ad-foot{flex-direction:column;align-items:flex-start;gap:4px;font-size:11px}
}
@media(max-width:767px){
  .ad-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .ad-tbl{min-width:620px;font-size:12px}
  .ad-tbl th,.ad-tbl td{padding:8px 10px;white-space:nowrap}
  .ad-head h1{font-size:19px}
  .ad-cards{grid-template-columns:1fr}
}
/* analytics */
.an-chart{display:flex;align-items:flex-end;gap:4px;height:170px;padding-top:6px}
.an-bar{flex:1 1 0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:6px}
.an-bar i{display:block;width:100%;background:var(--mh-gradient);border-radius:3px 3px 0 0;min-height:2px}
.an-bar span{font-size:9px;color:#9a9aa2;white-space:nowrap}
.an-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.an-split{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:12px}
.an-split span:first-child{min-width:64px;color:#5c5e61}
.an-split b{min-width:38px;text-align:left;font-weight:600}
.an-track{flex:1;height:8px;background:#f0f0f3;border-radius:4px;overflow:hidden}
.an-track i{display:block;height:100%;background:var(--mh-gradient)}
@media(max-width:991px){
  .an-grid{grid-template-columns:1fr}
  .an-chart{height:130px;gap:2px}
  .an-bar span{display:none}
  .an-bar:nth-child(even) span{display:none}
}

/* ---------- home rails: same card geometry as the listing card ---------- */
.mh-card{display:flex;flex-direction:column;background:#fff;border:1px solid #ececef;border-radius:0;overflow:hidden;box-shadow:none;text-decoration:none;position:relative;margin:0;min-height:0}
.mh-card .cv{position:relative;display:block;line-height:0;width:100%;height:auto;margin:0}
.mh-card .cv>img:first-child{width:100%;height:auto;aspect-ratio:286/165;object-fit:cover;object-position:center;display:block;background:#f2f2f2;border-radius:0;margin:0}
.mh-card .av{position:absolute;bottom:8px;inset-inline-start:8px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(0,0,0,.06);background:#fff;object-fit:cover;display:block}
.mh-card .tt{font-size:14px;line-height:21px;font-weight:500;color:var(--mh-ink);margin:11px 12px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:start}
.mh-card .sl{font-size:12px;line-height:24px;color:#6d6d6d;margin:3px 12px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:start}
.mh-card .rt{font-size:12px;line-height:24px;color:#6d6d6d;margin:0 12px;display:flex;align-items:center;gap:4px;text-align:start}
.mh-card .rt .st{color:var(--mh-amber);letter-spacing:1px}
.mh-card .rt .ct{font-size:12px;color:#6d6d6d}
.mh-card .pr{font-size:14px;line-height:24px;color:#6d6d6d;margin:0 12px 12px;padding:0;border:0;display:block;text-align:start}
.mh-card .pr .lb{font-size:14px;color:#6d6d6d}
.mh-card .pr b{font-size:14px;font-weight:700;color:var(--mh-ink)}

/* ---------- service card: geometry matched to the live reference ---------- */
.service-block{min-height:0}
.service-block .product{background:#fff;border:1px solid #ececef;border-radius:0;overflow:hidden;margin:0 0 30px;position:relative;min-height:0;padding:0}
.service-block .product:hover{box-shadow:none}
.service-block .product .product-img-wrap{position:relative;display:block;line-height:0;margin:0;height:auto;border-radius:0}
.service-block .product .product-img{width:100%;aspect-ratio:286/165;height:auto;object-fit:cover;object-position:center;display:block;background:#f2f2f2;margin:0;border-radius:0}
.service-block .product .product-user{position:absolute;bottom:8px;inset-inline-start:8px;inset-inline-end:auto;z-index:3;margin:0;padding:0;width:36px;height:36px}
.service-block .product .product-user a{display:block;width:36px;height:36px}
.service-block .product .product-user img{width:36px;height:36px;border-radius:50%;border:1px solid rgba(0,0,0,.06);object-fit:cover;background:#fff;display:block;margin:0}
.service-block .product .product-body{padding:0 12px 12px;margin:0;display:block}
.service-block .product .product-title{font-size:14px;line-height:21px;font-weight:500;color:var(--mh-ink);margin:11px 0 0;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.service-block .product .product-title a{font-size:14px;line-height:21px;font-weight:500;color:var(--mh-ink);text-decoration:none;display:inline}
.service-block .product .product-title a:hover{color:var(--mh-amber-dark)}
.service-block .product .product-category{font-size:12px;line-height:24px;color:#6d6d6d;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-block .product .product-category a{font-size:12px;color:#6d6d6d;text-decoration:none}
.service-block .product .product-category a:hover{color:var(--mh-amber-dark)}
.service-block .product .product-category span{color:#6d6d6d}
.service-block .product .product-rate{font-size:12px;line-height:24px;color:#6d6d6d;margin:0;display:flex;align-items:center;gap:4px}
.service-block .product .product-rate .stars{color:var(--mh-amber);font-size:12px;letter-spacing:1px;line-height:24px}
.service-block .product .product-rate .ct{font-size:12px;color:#6d6d6d}
.service-block .product .product-price{font-size:14px;line-height:24px;color:#6d6d6d;margin:0;padding:0;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;min-height:0}
.service-block .product .product-price span{font-size:14px;font-weight:400;color:#6d6d6d}
.service-block .product .product-price b{font-size:14px;font-weight:700;color:var(--mh-ink)}
@media(max-width:991px){
  .service-block .product .product-title{font-size:13.5px;line-height:20px}
  .service-block .product .product-category,.service-block .product .product-rate,.service-block .product .product-rate .ct{font-size:11.5px}
}

/* category page: list bar + sidebar hierarchy */
.mh-listbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;direction:rtl;margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid #eee}
.mh-listbar-count{font-size:13px;color:var(--mh-muted,#6d6d6d);white-space:nowrap}
.mh-listbar-sort{display:flex;align-items:center;gap:8px;margin:0;direction:rtl}
.mh-listbar-sort label{margin:0;font-size:13px;color:var(--mh-muted,#6d6d6d);white-space:nowrap}
.mh-listbar-sort select{width:auto;min-width:130px;border:1px solid #e6e6e6;border-radius:4px;padding:6px 10px;font-family:inherit;font-size:13px;background:#fff;color:#222}
.filter-card .mh-cat{border-bottom:1px solid #f4f4f4}
.filter-card .mh-cat:last-child{border-bottom:0}
.filter-card .mh-cat-head{display:flex;align-items:center;gap:6px;direction:rtl}
.filter-card .mh-cat-link{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;font-size:14px;font-weight:600;color:#222;text-decoration:none}
.filter-card .mh-cat-link:hover{color:var(--mh-accent)}
.filter-card .mh-cat-head.active .mh-cat-link{color:var(--mh-accent);font-weight:700}
.filter-card .mh-cat-head.active{box-shadow:inset -3px 0 0 var(--mh-accent);padding-inline-end:10px;margin-inline-end:-10px}
.filter-card .mh-cat-toggle{flex:none;width:26px;height:26px;border:0;background:var(--mh-accent-soft);color:var(--mh-accent);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .15s}
.filter-card .mh-cat.open .mh-cat-toggle{transform:rotate(180deg)}
.filter-card .mh-cat-sub{display:none;margin:0 0 8px;padding:2px 14px 2px 0;border-inline-start:2px solid var(--mh-accent-soft);margin-inline-start:6px}
.filter-card .mh-cat.open .mh-cat-sub{display:block}
.filter-card .mh-cat-child{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px 6px 0;font-size:13px;font-weight:400;color:#555;text-decoration:none;direction:rtl}
.filter-card .mh-cat-child:hover{color:var(--mh-accent)}
.filter-card .mh-cat-child.active{color:var(--mh-accent);font-weight:700}
.filter-card .mh-cat-child .count{background:transparent;padding:0 4px;font-size:11px}
.filter-card .mh-cat-link .count{background:#f4f4f4}
.filter-card .mh-cat-head.active .count{background:var(--mh-accent-soft);color:var(--mh-accent)}

/* header avatar: contained circle with initial fallback */
.mh-header .mh-avatar .mh-av-circle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--mh-accent);color:#fff;flex:none}
.mh-header .mh-avatar .mh-av-letter{font-size:15px;font-weight:700;line-height:1}
.mh-header .mh-avatar .mh-av-circle img{position:absolute;inset:0;width:100%;height:100%;max-width:none;border-radius:50%;object-fit:cover}
@media (max-width:991px){
.mh-srchdesk{display:block}
.mh-srchdesk .mh-breadcrumb,.mh-srchdesk .list-toolbar h1{display:none}
}

/* cart page */
.mh-cart-title{font-size:23px;margin:0 0 18px;font-weight:700}
.mh-cart{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;direction:rtl}
.mh-cart-item{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e8e8ea;padding:14px;margin-bottom:12px;direction:rtl}
.mh-cart-img{width:110px;height:74px;object-fit:cover;border-radius:6px;flex:none}
.mh-cart-info{flex:1;min-width:0}
.mh-cart-name{display:block;font-weight:700;font-size:15px;color:#222;line-height:1.6}
.mh-cart-meta{font-size:12px;color:#6d6d6d;line-height:1.8}
.mh-cart-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.mh-cart-qty{display:flex;align-items:center;gap:6px;margin:0}
.mh-cart-qty label{margin:0;font-size:12px;color:#6d6d6d}
.mh-cart-qty input{width:46px;height:32px;text-align:center;border:1px solid #ddd;border-radius:4px;padding:0}
.mh-cart-qty button{height:32px;padding:0 12px;border:1px solid #ddd;background:#fff;border-radius:4px;font-size:13px;cursor:pointer}
.mh-cart-line{font-size:16px;font-weight:700;color:#222;min-height:0;padding:0;background:none}
.mh-cart-del{border:0;background:none;color:#b3261e;font-size:13px;padding:0;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.mh-cart-sum{background:#fff;border:1px solid #e8e8ea;padding:18px;direction:rtl}
.mh-cart-sum h3{font-size:16px;font-weight:700;margin:0 0 12px}
.mh-sum-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #f1f1f1;font-size:14px;color:#444;direction:rtl;min-height:0;background:none}
.mh-sum-row span:last-child{white-space:nowrap;color:#222}
.mh-sum-row.mh-sum-total{border-bottom:0;border-top:1px solid #ddd;margin-top:4px;padding-top:14px;font-size:17px;font-weight:800;color:#111}
.mh-sum-row.mh-sum-total span{color:#111}
.mh-sum-buy{display:block;width:100%;text-align:center;background:var(--mh-accent);color:#fff;border-radius:4px;padding:12px;font-size:15px;font-weight:700;margin-top:14px;text-decoration:none}
.mh-sum-buy:hover{background:var(--mh-accent-hover);color:#fff}
.mh-sum-more{display:block;text-align:center;margin-top:10px;font-size:13px;color:#555}
@media(max-width:900px){
 .mh-cart{grid-template-columns:minmax(0,1fr)}
 .mh-cart-item{flex-wrap:wrap}
 .mh-cart-info{flex-basis:calc(100% - 130px)}
 .mh-cart-actions{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;gap:10px}
}

/* withdrawal form */
.mh-wd-avail{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--mh-accent-soft);border-radius:6px;padding:12px 14px;margin-bottom:6px;direction:rtl;font-size:14px}
.mh-wd-avail b{font-size:18px;color:var(--mh-accent)}
.mh-wd-min{font-size:12px;color:#6d6d6d;margin-bottom:12px}
.mh-wd-msg{display:none;background:#fdecea;border:1px solid #f5c2bd;color:#8a1c14;border-radius:6px;padding:10px 12px;font-size:13px;line-height:1.8;margin:-4px 0 14px}
#wdBtn:disabled{opacity:.5;cursor:not-allowed}
.mh-cart-title{padding-top:14px}

.mh-wd-flash{border-radius:6px;padding:11px 14px;font-size:14px;line-height:1.9;margin-bottom:14px;direction:rtl}
.mh-wd-flash.is-err{background:#fdecea;border:1px solid #f5c2bd;color:#8a1c14}
.mh-wd-flash.is-ok{background:#e8f6ef;border:1px solid #b7e2cc;color:#14663f}

/* drawer: one scroll surface, page locked while open */
html.mh-locked,body.mh-locked{overflow:hidden}
body.mh-locked{position:fixed;left:0;right:0;width:100%}
.mh-drawer{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}
.mh-drawer::-webkit-scrollbar{display:none;width:0;height:0}
.mh-drawer .mh-menu,.mh-drawer .mh-msub{overflow:visible;max-height:none}
@media(max-width:767px){.mh-drawer{width:100%;max-width:100%;border:0}}

.mh-reset-email{background:#f6f6f8;border:1px solid #e6e6ea;border-radius:4px;padding:11px 12px;font-size:14px;color:#333;word-break:break-all;text-align:left}

.mh-listbar{margin-bottom:20px}
.mh-listbar-title{display:flex;align-items:baseline;gap:12px;direction:rtl;min-width:0}
.mh-listbar-title h1{font-size:20px;font-weight:700;margin:0}
.mh-listbar-sort{margin-inline-start:auto}
.list-toolbar{direction:rtl}
.list-toolbar .sort{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1 1 auto;direction:rtl}
.list-toolbar .sort>span{white-space:nowrap}
.list-toolbar .sort form{display:inline-flex;align-items:center;gap:8px;margin:0}
.list-toolbar .sort label{margin:0;white-space:nowrap}
.list-toolbar .sort select{width:auto;min-width:120px}

/* admin cards */
.ad-card{display:flex;flex-direction:column;gap:4px;padding:16px 18px;text-align:start}
.ad-card .k{font-size:13px;line-height:20px;color:#6d6d75;font-weight:500}
.ad-card .v{font-size:26px;line-height:34px;font-weight:800;color:#1d1d22;direction:ltr;text-align:start}
.ad-card .s{font-size:12px;line-height:18px;color:#8a8a92}
.ad-card.is-accent{background:linear-gradient(135deg,#6d3fe0,#8a5cf0);border-color:transparent}
.ad-card.is-accent .k,.ad-card.is-accent .s{color:rgba(255,255,255,.82)}
.ad-card.is-accent .v{color:#fff}
@media(max-width:767px){.ad-card .v{font-size:22px;line-height:30px}}

/* admin filters */
.ad-filters .ad-in,.ad-filters .ad-sel{width:auto;flex:0 1 190px;height:34px;margin:0;box-sizing:border-box}
.ad-filters .ad-in[type=search],.ad-filters .ad-in[type=text]{flex:1 1 220px}
.ad-filters .ad-btn{flex:0 0 auto}
a.ad-btn,a.ad-btn:visited{color:#fff}
a.ad-btn.ghost,a.ad-btn.ghost:visited{color:#3a3a42}
a.ad-btn.danger,a.ad-btn.danger:visited{color:#c0392b}
a.ad-btn:hover{color:#fff}
a.ad-btn.ghost:hover{color:#222}

/* admin smoothing */
.ad-toasts{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;z-index:300;align-items:center;pointer-events:none;max-width:92vw}
.ad-toast{background:#1d1d22;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;box-shadow:0 10px 26px rgba(0,0,0,.22);opacity:0;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease}
.ad-toast.in{opacity:1;transform:none}
.ad-toast.is-ok{border-inline-start:4px solid #1f9d76}
.ad-toast.is-err{border-inline-start:4px solid #e0533f}
.ad-modal{position:fixed;inset:0;z-index:250;background:rgba(12,18,38,.46);display:flex;align-items:center;justify-content:center;padding:16px}
.ad-dlg{background:#fff;border-radius:12px;max-width:400px;width:100%;padding:22px 22px 16px;box-shadow:0 24px 60px rgba(0,0,0,.28)}
.ad-dlg p{margin:0 0 18px;font-size:15px;line-height:26px;color:#1d1d22}
.ad-dlg-b{display:flex;gap:8px;justify-content:flex-start}
.ad-btn.danger-solid{background:#c0392b;border-color:#c0392b;color:#fff}
.ad-btn.danger-solid:hover{background:#a82f23}
tr.is-busy td{opacity:.42;pointer-events:none;transition:opacity .15s}
.ad-btn.is-loading{position:relative;color:transparent!important;pointer-events:none}
.ad-btn.is-loading::after{content:"";position:absolute;inset:0;margin:auto;width:14px;height:14px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;animation:adspin .6s linear infinite}
.ad-btn.ghost.is-loading::after,.ad-btn.danger.is-loading::after{border-color:#888;border-top-color:transparent}
@keyframes adspin{to{transform:rotate(360deg)}}
[data-live-region]{transition:opacity .15s}
[data-live-region].is-loading{opacity:.5;pointer-events:none}
.ad-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;background:#f4effe;border-bottom:1px solid #e3d8fb;font-size:13px;color:#4a2db0}
.ad-bulk[hidden]{display:none}
.ad-bulk.is-running{opacity:.7;pointer-events:none}
.ad-bulk b{font-size:14px}
.ad-bulk .ad-btn{background:#fff;border-color:#d9cdf7;color:#4a2db0}
.ad-bulk .ad-btn.danger{color:#c0392b;border-color:#f0c8c8}
.ad-bulk [data-bulk-clear]{margin-inline-start:auto}
.ad-ckc{width:36px;padding-inline-end:0!important}
.ad-ckc input,.ad-tbl td input[data-bulk-row]{width:16px;height:16px;accent-color:var(--mh-accent,#7c3aed);cursor:pointer;margin:0;vertical-align:middle}
tr.is-sel td{background:#faf7ff}
.ad-empty{padding:44px 16px!important;text-align:center;color:#8a8a92;font-size:13px}
.ad-empty b{display:block;font-size:15px;color:#3a3a42;margin-bottom:4px}
.ad-sum{padding:10px 16px;font-size:12px;color:#7a7a82}
@media(max-width:767px){.ad-toasts{bottom:78px}.ad-dlg{padding:18px}}

/* admin button text */
button.ad-btn,a.ad-btn{-webkit-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;caret-color:transparent;line-height:1.2;letter-spacing:0;word-spacing:0;font-kerning:normal;text-shadow:none;text-indent:0;box-sizing:border-box;overflow:visible;-webkit-tap-highlight-color:transparent}
button.ad-btn::selection,a.ad-btn::selection{background:transparent}
button.ad-btn:focus-visible{outline:2px solid var(--mh-accent,#7c3aed);outline-offset:2px}

/* checkout: single column on narrow screens */
@media (max-width:1100px){
.mh-co-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}
.mh-co-grid>*{min-width:0}
.mh-co-grid .panel{min-width:0}
.mh-co-grid .between{gap:12px}
.mh-co-grid .total-line{margin:12px 0 0!important;padding:12px 14px;border-radius:8px}
.mh-co-grid .total-line .price{background:transparent!important;min-height:0!important;margin:0!important;padding:0!important;display:block;width:auto;text-align:left}
.mh-co-grid .between b,.mh-co-grid .between>span:last-child{white-space:nowrap}
.mh-co-grid textarea{width:100%;max-width:100%}
}

/* seller service form */
.sf-wrap{max-width:900px}
.sf-wrap *{min-width:0}
.sf-wrap input:not([type=checkbox]):not([type=file]),.sf-wrap select,.sf-wrap textarea{width:100%;max-width:100%;box-sizing:border-box}
.sf-sec{margin-bottom:14px;scroll-margin-top:72px}
.sf-sec .field{position:relative}
.sf-h{display:flex;align-items:center;gap:10px;font-size:17px;margin:0 0 16px}
.sf-n{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--mh-accent,var(--brand));color:#fff;font-size:13px;font-weight:700;flex:none}
.sf-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:14px;direction:rtl}
.sf-steps a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;font-weight:700;color:var(--ink-2,#444);text-align:center;line-height:1.3}
.sf-steps a span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--brand-soft,#eee);color:var(--mh-accent,var(--brand));font-size:12px}
.sf-errors{background:#fdecec;border:1px solid #f3c4c4;color:#a12727;border-radius:12px;padding:12px 16px;font-size:13px;margin-bottom:14px}
.sf-errors ul{margin:6px 0 0;padding-inline-start:18px}
.sf-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 14px;direction:rtl}
.sf-count{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.sf-c{white-space:nowrap}
.sf-c.is-bad{color:#c0392b}
.sf-err{color:#c0392b;font-size:12px;margin-top:6px}
.sf-bad{outline:2px solid #c0392b!important;outline-offset:1px}
.sf-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border:1px solid var(--line);border-radius:4px;padding:6px 8px;background:#fff;min-height:42px;direction:rtl}
.sf-chips input{flex:1 1 120px;width:auto!important;border:0!important;outline:0;box-shadow:none!important;height:28px!important;padding:0 4px!important;background:transparent!important}
.sf-chip{display:inline-flex;align-items:center;gap:4px;background:var(--brand-soft,#eee);color:var(--mh-accent,var(--brand));border-radius:999px;padding:3px 6px 3px 10px;font-size:13px;font-weight:600}
.sf-chip button{border:0;background:transparent;color:inherit;font-size:16px;line-height:1;cursor:pointer;padding:0 2px}
.sf-drop{display:block;border:2px dashed var(--line);border-radius:10px;padding:10px;text-align:center;cursor:pointer;background:#fafafa}
.sf-drop img{display:block;width:100%;aspect-ratio:5/3;object-fit:cover;border-radius:8px;margin-bottom:8px}
.sf-drop img[hidden]{display:none}
.sf-drop-t{font-size:14px;font-weight:700;color:var(--mh-accent,var(--brand))}
.sf-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0);pointer-events:none}
.sf-gal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}
.sf-gal:empty{display:none}
.sf-gal-i{display:block;font-size:12px}
.sf-gal-i img{display:block;width:100%;aspect-ratio:5/3;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.sf-gal-i span{display:flex;gap:4px;align-items:center;margin-top:4px}
.sf-row{display:grid;gap:8px;margin-bottom:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fcfcfd}
.sf-extra{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;direction:rtl}
.sf-extra input:first-child{grid-column:1/-1}
.sf-faq{grid-template-columns:minmax(0,1fr) 40px;direction:rtl}
.sf-faq textarea{grid-column:1/-1;grid-row:2}
.sf-x{width:36px;height:36px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:20px;line-height:1;cursor:pointer;color:#c0392b}
.sf-prev{max-width:320px;margin:0 auto;pointer-events:none}
.sf-prev .svc-thumb{display:block;aspect-ratio:5/3;background:linear-gradient(135deg,#5a54a4,#8b7fd4);overflow:hidden;position:relative}
.sf-prev .svc-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.sf-prev .svc-thumb img[hidden]{display:none}
.sf-ph{position:absolute;inset:auto 14px 12px auto;color:#fff;font-weight:700;font-size:16px;opacity:.95}
.sf-ph[hidden]{display:none}
.sf-actions{display:flex;flex-direction:column;gap:8px;margin:6px 0 24px}
.sf-actions .btn{width:100%}
@media (min-width:600px){
.sf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sf-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sf-extra{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) 40px}
.sf-extra input:first-child{grid-column:auto}
.sf-actions{flex-direction:row;align-items:center}
.sf-actions .btn{width:auto}
}
@media (max-width:599px){
.sf-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
.sf-grid-3 .field:last-child{grid-column:1/-1}
}

.sf-prev .svc-foot .price{background:transparent!important;min-height:0!important;margin:0!important;padding:0!important;display:inline-block;width:auto;text-align:start;position:static}

.mh-macct a.mh-muser{text-decoration:none;color:#464646;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mh-macct a.mh-muser:hover,.mh-macct a.mh-muser:active{background:#f7f7f7}

/* public profile */
.pp{background:#f8f8f8;padding-bottom:30px;direction:rtl}
.pp-hero{background:#fff;padding:28px 0 20px;text-align:center}
.pp-avwrap{position:relative;width:112px;height:112px;margin:0 auto 12px}
.pp-av{width:112px;height:112px;border-radius:50%;object-fit:cover;display:block;border:3px solid #fff;box-shadow:0 0 0 1px #e6e6e6}
.pp-vbadge{position:absolute;bottom:4px;inset-inline-start:4px;width:24px;height:24px;border-radius:50%;background:#2fb344;border:2px solid #fff;display:flex;align-items:center;justify-content:center}
.pp-vbadge svg{width:13px;height:13px;fill:#fff}
.pp-name{font-size:20px;font-weight:500;margin:0 0 6px;line-height:1.4;color:#222;word-break:break-word}
.pp-sub{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:#6d6d6d;direction:rtl}
.pp-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:12px;direction:rtl}
.pp-level{display:inline-block;background:var(--mh-accent-soft,#efeefa);color:var(--mh-accent,#5a54a4);border-radius:12px;padding:2px 12px;font-size:12px;line-height:20px}
.pp-rate{display:inline-block;border:1px solid #e6e6e6;border-radius:12px;padding:2px 12px;font-size:12px;line-height:20px;color:#464646}
.pp-rate b{color:#f5933b}.pp-rate i{font-style:normal;color:#6d6d6d}
.pp-cta{margin:16px 0 0}
.pp-cta button,.pp-cta a{display:inline-block;min-width:160px;padding:0 22px;height:40px;line-height:40px;border:0;border-radius:3px;background:var(--mh-accent,#5a54a4);color:#fff;font-family:inherit;font-size:14px;text-decoration:none;cursor:pointer;margin:0;min-height:0}
.pp-cta a:hover,.pp-cta button:hover{opacity:.92}
.pp-stats{display:flex;justify-content:center;direction:rtl;background:#fff;border:1px solid #e6e6e6;border-radius:3px;margin:14px 0 0}
.pp-stats>div{flex:1 1 0;min-width:0;text-align:center;padding:12px 4px;border-inline-start:1px solid #e6e6e6}
.pp-stats>div:first-child{border-inline-start:0}
.pp-stats b{display:block;font-size:16px;font-weight:500;color:#222;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-stats span{display:block;font-size:12px;color:#6d6d6d;line-height:18px}
.pp-tabsbar{background:#fff;border-bottom:1px solid #e6e6e6;margin-top:14px}
.pp-tabs{display:flex;direction:rtl;overflow-x:auto;scrollbar-width:none}
.pp-tabs::-webkit-scrollbar{display:none}
.pp-tabs button{flex:0 0 auto;background:none;border:0;border-bottom:3px solid transparent;margin:0;padding:0 18px;height:52px;min-height:0;font-family:inherit;font-size:15px;color:#464646;cursor:pointer;border-radius:0}
.pp-tabs button i{font-style:normal;font-size:12px;color:#6d6d6d;margin-inline-start:4px}
.pp-tabs button.on{border-bottom-color:var(--mh-accent,#5a54a4);color:#222;background:#f8f8f8}
.pp-body{padding-top:16px}
.pp-panel{display:none}.pp-panel.on{display:block}
.pp-grid{display:grid;grid-template-columns:1fr;gap:14px}
.pp-card{background:#fff;border:1px solid #e6e6e6;border-radius:3px;min-width:0}
.pp-card h2{margin:0;padding:0 16px;height:48px;line-height:48px;font-size:15px;font-weight:500;color:#222;border-bottom:1px solid #e6e6e6}
.pp-cb{padding:14px 16px}
.pp-card>.pp-cb:only-child{padding:16px}
.pp-bio{margin:0;white-space:pre-line;font-size:14px;line-height:26px;color:#333;word-break:break-word}
.pp-empty{margin:0;font-size:14px;color:#6d6d6d;line-height:24px}
.pp-skills{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;direction:rtl}
.pp-skills span{background:#f1f1f1;border-radius:12px;padding:2px 10px;font-size:12px;color:#464646}
.pp-rows{padding:6px 16px}
.pp-row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:42px;font-size:14px;color:#464646;border-bottom:1px solid #f0f0f0}
.pp-row:last-child{border-bottom:0}
.pp-row b{font-weight:400;color:#222}.pp-row em{font-style:normal;color:#999;font-size:13px}
.pp-stars{color:#f5933b;letter-spacing:1px}
.pp-pill{display:inline-block;background:#d3f6e3;color:#1e7a4a;border-radius:3px;padding:0 8px;font-size:12px;line-height:20px}
.pp-ok{color:#1e8a4c}
.pp-none{text-align:center;padding:30px 16px}
.pp-none b{display:block;font-size:15px;font-weight:500;color:#333}
.pp-none p{margin:6px 0 0;font-size:13px;color:#6d6d6d}
.pp .review-item:last-of-type{border-bottom:0}
@media(min-width:992px){
 .pp-hero{padding:36px 0 26px}.pp-av,.pp-avwrap{width:128px;height:128px}.pp-name{font-size:22px}
 .pp-stats{max-width:620px;margin-left:auto;margin-right:auto}
 .pp-grid{grid-template-columns:2fr 1fr;align-items:start}
 .pp-grid>.pp-card:first-child{grid-row:span 2}
}

/* mobile service lists: khamsat-style presentation (<=767px) */
@media (max-width:767px){
 .mh-sec.mh-feat,.mh-sec.mh-recent{padding:36px 15px 8px;max-width:none}
 .mh-sec-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;direction:rtl;gap:12px;margin:0 0 22px}
 .mh-sec-head h2{font-size:20px;line-height:30px;font-weight:500;color:#000;text-align:start;margin:0}
 .mh-more,.mh-rec-more{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border:1px solid #222;border-radius:4px;background:transparent;color:#222;font-size:14px;line-height:20px;white-space:nowrap;text-decoration:none;flex:0 0 auto}
 .mh-carousel{position:static}
 .mh-arrow{display:none!important}
 .mh-cards,.mh-cards.mh-cards-sm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;overflow:visible;padding:0;direction:rtl}
 .mh-cards .mh-card,.mh-cards.mh-cards-sm .mh-card{flex:none;width:auto;min-width:0;background:transparent;border:0;margin:0}
 .mh-cards.mh-cards-sm .mh-card:nth-child(n+5){display:none}
 .mh-card .cv>img:first-child{aspect-ratio:286/165;background:#f2f2f2}
 .mh-card .av{inset-inline-start:auto;inset-inline-end:auto;left:8px;right:auto;bottom:8px}
 .mh-card .tt{margin:11px 0 0;font-size:14px;line-height:21px;font-weight:500;min-height:42px;text-align:start}
 .mh-card .sl{margin:3px 0 0;font-size:12px;line-height:24px;text-align:start}
 .mh-card .rt{margin:0;font-size:12px;line-height:24px}
 .mh-card .rt .st{color:#fa9747;letter-spacing:1px}
 .mh-card .rt .st{font-size:14px}
 .mh-card .pr{margin:0 0 4px;font-size:14px;line-height:24px}
 .mh-sec.mh-sol{background:#f8f8f8;max-width:none;padding:44px 15px 48px;margin-top:36px}
 /* lists using the shared service card */
 .service-block .product{background:transparent;border:0;box-shadow:none}
 .service-block .product .product-user{left:8px;right:auto;inset-inline-start:auto;inset-inline-end:auto;bottom:8px}
 .service-block .product .product-body{padding:0 0 4px}
 .service-block .product .product-title{margin:11px 0 0}
 .service-block .product .product-category{font-size:12px;line-height:24px;color:#6d6d6d;margin:3px 0 0}
 .service-block .product .product-rate{margin:0}
 .service-block .product .product-rate .stars{color:#fa9747;font-size:14px;letter-spacing:1px}
 .service-block .product .product-rate .ct{font-size:12px}
 .service-block .product .product-price{margin:0}
 .service-card.service-block{margin-bottom:12px}
 .mh-rec-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;direction:rtl;margin:0 0 16px}
 .mh-rec-head h2{font-size:20px;line-height:30px;font-weight:500;margin:0}
}

@media (max-width:767px){.mh-card .pr b,.service-block .product .product-price b{direction:ltr;unicode-bidi:isolate;display:inline-block}}

@media (max-width:767px){.service-block .product .product-user{left:8px!important;right:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important}}

@media (max-width:767px){.service-block .product .product-user{inset-inline:auto!important;left:8px!important;right:auto!important}}

/* empty messages list hugs its content instead of stretching to the page height */
@media (max-width:991px){.mh-msgs-list:has(.mh-msgs-empty){flex:0 0 auto}}
