/* WMM Header & Footer — مركز صيانة غسالات وإصلاح ثلاجات مكة */
:root{--wmh-primary:#0f7b5f;--wmh-primary-dark:#085941;--wmh-accent:#d4a017;--wmh-accent-dark:#b8880f;--wmh-accent-ink:#ffffff;--wmh-wa:#25d366;--wmh-shadow:0 18px 50px rgba(15,23,42,.12)}
body .wmh-topbar,body .wmh-header,body .wmh-footer{direction:rtl;text-align:right;font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif;line-height:1.7}
body :where(.wmh-topbar,.wmh-header,.wmh-footer) *{box-sizing:border-box;margin:0;padding:0}
body :where(.wmh-topbar,.wmh-header,.wmh-footer) a{text-decoration:none;color:inherit}
body .wmh-header svg,body .wmh-footer svg,body .wmh-topbar svg{display:inline-block;vertical-align:middle}
body .wmh-inner{max-width:1140px;width:100%;margin:0 auto;padding:0 20px;position:relative}
body .wmh-header h4,body .wmh-footer h4{font-weight:800;line-height:1.4}
body .wmh-logo-ic img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
body .wmh-logo-img img{height:58px;width:auto;display:block}
body.admin-bar .wmh-header{top:32px}
@media (max-width:782px){body.admin-bar .wmh-header{top:0}}
  /* ===== TOP BAR + HEADER ===== */
  body .wmh-topbar{background:var(--wmh-primary-dark);color:#cfd5de;font-size:14px}
  body .wmh-topbar .wmh-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px}
  body .wmh-topbar span,body .wmh-topbar a{display:inline-flex;align-items:center;gap:7px}
  body .wmh-topbar svg{width:14px;height:14px;fill:var(--wmh-accent);flex:none}
  body .wmh-topbar a{color:#fff;font-weight:700;direction:ltr}
  body .wmh-topbar a:hover{color:var(--wmh-accent)}
  body .wmh-header{position:sticky;top:0;z-index:9990;background:rgba(15,123,95,.97);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08);transition:box-shadow .3s}
  body .wmh-header.wmh-scrolled{box-shadow:0 10px 30px rgba(0,0,0,.25)}
  body .wmh-header .wmh-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px}
  body .wmh-logo{display:flex;align-items:center;gap:12px;color:#fff}
  body .wmh-logo-ic{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#ffbf47,#f29a0f);color:var(--wmh-accent-ink);display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 6px 18px rgba(245,166,35,.35)}
  body .wmh-logo-ic svg{width:26px;height:26px}
  body .wmh-logo-tx{display:flex;flex-direction:column;line-height:1.3}
  body .wmh-logo-tx b{font-size:21px;font-weight:900;color:#fff}
  body .wmh-logo-tx small{font-size:12.5px;color:#aeb6c2;font-weight:500}
  body .wmh-nav{display:flex;align-items:center;gap:4px}
  body .wmh-nav a{color:#e6e9ee;font-weight:700;font-size:15.5px;padding:8px 13px;border-radius:10px;transition:.2s}
  body .wmh-nav a:hover{color:var(--wmh-accent);background:rgba(255,255,255,.06)}
  body .wmh-nav .wmh-nav-wa{display:none}
  body .wmh-nav svg{width:16px;height:16px;fill:currentColor}
  body .wmh-hd-act{display:flex;align-items:center;gap:10px}
  body .wmh-hd-call{display:inline-flex;align-items:center;gap:8px;background:var(--wmh-accent);color:var(--wmh-accent-ink);font-weight:800;padding:10px 20px;border-radius:50px;transition:.2s;white-space:nowrap}
  body .wmh-hd-call:hover{background:var(--wmh-accent-dark)}
  body .wmh-hd-call span{direction:ltr}
  body .wmh-hd-call svg{width:16px;height:16px;fill:currentColor}
  body .wmh-burger{display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.18);background:transparent;border-radius:12px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
  body .wmh-burger i{display:block;width:20px;height:2px;background:#fff;border-radius:2px;transition:.25s}
  body .wmh-burger[aria-expanded=true] i:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body .wmh-burger[aria-expanded=true] i:nth-child(2){opacity:0}
  body .wmh-burger[aria-expanded=true] i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  #hero,#all-services,#why-us,#google-business,#contact{scroll-margin-top:90px}
  @media (max-width:980px){
    body .wmh-burger{display:flex}
    body .wmh-nav{position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--wmh-primary);padding:8px 20px 18px;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 18px 30px rgba(0,0,0,.3);display:none}
    body .wmh-nav.wmh-open{display:flex}
    body .wmh-nav a{padding:13px 6px;border-bottom:1px solid rgba(255,255,255,.07);border-radius:0}
    body .wmh-nav .wmh-nav-wa{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:12px;background:var(--wmh-wa);color:#fff;border-radius:50px;border:0}
  }
  @media (max-width:600px){
    body .wmh-tb-hide{display:none !important}
    body .wmh-topbar{font-size:12.5px}
    body .wmh-hd-call span{display:none}
    body .wmh-hd-call{padding:0;width:44px;height:44px;justify-content:center}
    body .wmh-logo-tx b{font-size:18px}
    body .wmh-logo-tx small{font-size:11px}
    body .wmh-logo-ic{width:40px;height:40px}
    body .wmh-header .wmh-inner{min-height:66px}
  }

  /* ===== FOOTER ===== */
  body .wmh-footer{background:var(--wmh-primary-dark);color:#b9c0cb;padding-top:60px;font-size:15.5px}
  body .wmh-ft-grid{display:grid !important;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:34px;width:100%}
  body .wmh-ft-about p{margin:16px 0 18px;line-height:1.9}
  body .wmh-ft-col h4{color:#fff;font-size:18px;margin-bottom:16px;position:relative;padding-bottom:10px}
  body .wmh-ft-col h4::after{content:"";position:absolute;right:0;bottom:0;width:42px;height:3px;border-radius:3px;background:var(--wmh-accent)}
  body .wmh-ft-col ul{list-style:none}
  body .wmh-ft-col li{margin-bottom:9px}
  body .wmh-ft-col li a{transition:.2s}
  body .wmh-ft-col li a::before{content:"‹";color:var(--wmh-accent);margin-left:8px;font-weight:900}
  body .wmh-ft-col a:hover{color:var(--wmh-accent)}
  body .wmh-ft-contact a,body .wmh-ft-contact span{display:flex;align-items:center;gap:10px;margin-bottom:12px}
  body .wmh-ft-contact svg{width:16px;height:16px;fill:var(--wmh-accent);flex:none}
  body .wmh-ft-contact .js-num{direction:ltr;display:inline}
  body .wmh-ft-btns{display:flex;gap:10px;flex-wrap:wrap}
  body .wmh-ft-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:50px;font-weight:800;font-size:15px;transition:.2s}
  body .wmh-ft-btn svg{width:16px;height:16px;fill:currentColor}
  body .wmh-ft-call{background:var(--wmh-accent);color:var(--wmh-accent-ink)}
  body .wmh-ft-wa{background:var(--wmh-wa);color:#fff}
  body .wmh-ft-btn:hover{transform:translateY(-2px)}
  body .wmh-ft-bottom{margin-top:44px;border-top:1px solid rgba(255,255,255,.08);padding:18px 0;font-size:14px}
  body .wmh-ft-bottom .wmh-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
  body .wmh-totop{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;transition:.2s}
  body .wmh-totop:hover{background:var(--wmh-accent);color:var(--wmh-accent-ink)}
  @media (max-width:980px){body .wmh-ft-grid{grid-template-columns:1fr 1fr}}
  @media (max-width:560px){body .wmh-ft-grid{grid-template-columns:1fr}body .wmh-footer{padding-bottom:70px}}

/* hide the theme's own header/footer (option) */
body.wmh-hide-theme header#masthead,body.wmh-hide-theme .site-header,body.wmh-hide-theme #site-header,body.wmh-hide-theme .elementor-location-header,body.wmh-hide-theme .ekit-template-content-header,body.wmh-hide-theme header.wp-block-template-part,
body.wmh-hide-theme footer#colophon,body.wmh-hide-theme .site-footer,body.wmh-hide-theme #site-footer,body.wmh-hide-theme .elementor-location-footer,body.wmh-hide-theme .ekit-template-content-footer,body.wmh-hide-theme footer.wp-block-template-part{display:none !important}

/* round shop logo */
body .wmh-logo-ic.wmh-logo-round{width:74px;height:74px;border-radius:50%;background:#fff;padding:0;box-shadow:0 6px 18px rgba(0,0,0,.35)}
body .wmh-logo-ic.wmh-logo-round img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
body .wmh-header .wmh-inner{min-height:90px}
body .wmh-footer .wmh-logo-ic.wmh-logo-round{width:110px;height:110px}
@media (max-width:600px){body .wmh-logo-ic.wmh-logo-round{width:58px;height:58px}body .wmh-header .wmh-logo-tx small{display:none}body .wmh-header .wmh-inner{min-height:70px}body .wmh-footer .wmh-logo-ic.wmh-logo-round{width:96px;height:96px}}

/* v2.2 — logo only in header, bigger */
body .wmh-header .wmh-logo-ic.wmh-logo-round{width:96px;height:96px}
body .wmh-header .wmh-inner{min-height:112px}
body .wmh-header .wmh-logo{padding:8px 0}
@media (max-width:600px){body .wmh-header .wmh-logo-ic.wmh-logo-round{width:72px;height:72px}body .wmh-header .wmh-inner{min-height:88px}}
