/* PSMC 2.92.6 — shared visual refinements, no navigation or booking logic changes. */
:where(a,button,input,select,textarea):focus-visible{outline:2px solid #2388aa;outline-offset:3px}
@media(max-width:820px){
 html.psmc258-ready header .container.navbar.psmc36-navbar{gap:10px!important;padding:9px 0 10px!important;width:calc(100% - 28px)!important}
 html.psmc258-ready header .navbar>.logo img{width:clamp(114px,34vw,158px)!important}
 html.psmc258-ready .topbar .wrap{width:calc(100% - 24px)!important}
 html.psmc258-ready header .psmc35-tools button:not(.psmc255-install){border-radius:12px!important;box-shadow:none!important}
 .psmc258-actions{gap:9px!important}.psmc258-service,.psmc258-book{min-height:48px!important;border-radius:13px!important;font-size:14px!important}
 .psmc258-drawer[open]{width:min(370px,93vw);max-width:93vw;padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(18px + env(safe-area-inset-bottom,0px));gap:12px;border-radius:0 18px 18px 0;overscroll-behavior:contain}
 html[dir=ltr] .psmc258-drawer[open]{border-radius:0 18px 18px 0}html[dir=rtl] .psmc258-drawer[open]{border-radius:18px 0 0 18px}
 .psmc258-head{padding-bottom:12px;border-bottom:1px solid #e0ecf1;position:sticky;top:0;background:#fff;z-index:1}.psmc258-close{border-radius:12px}.psmc258-link,.psmc258-install-link{min-height:48px;border-radius:12px;background:#f7fafc}.psmc258-link:active,.psmc258-install-link:active{background:#e6f3f8}
 #home.hero,html[dir=ltr] #home.hero{padding:24px 0!important}#home .hero-grid{gap:18px!important}#home .hero-title,html[dir=ltr] #home .hero-title{font-size:clamp(27px,5.4vw,39px)!important;line-height:1.4!important}#home .hero-sub{font-size:15px!important;line-height:1.85!important}#home .hero-actions .btn{min-height:48px!important;min-width:0!important;font-size:15px!important;border-radius:13px!important}#home .hero-side-card{border-radius:18px!important;max-width:100%!important;padding:16px!important}#home .hero-side-btn{min-height:48px!important}#home .hero-features-wrap{margin-top:18px!important}#home .premium-feature-cards .feature-card{border-radius:17px!important;min-height:0!important;box-shadow:0 5px 18px #124b700e!important}
 #home .hero-art canvas{max-width:min(300px,75vw)!important}#home .hero-art{min-height:0!important}
 .doctors-search input{font-size:16px!important;min-height:48px}.doctors-filters{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;gap:8px!important;padding:4px 2px 8px!important}.doctors-filters .filter-btn{flex:0 0 auto;min-height:44px;white-space:nowrap}
 .doctors-more-btn{min-height:48px!important}.doctors-grid .doctor-card:not(.hidden):not(.collapsed-by-limit){box-shadow:0 5px 18px #124b700e!important;border-radius:18px!important}.doctors-grid .doctor-name{overflow-wrap:anywhere}
 #psmc-chat .pc-panel{max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px - env(safe-area-inset-bottom,0px))}#psmc-chat .pc-form input{font-size:16px;min-height:44px}#psmc-chat .pc-head button{min-height:38px}
}
@media(max-width:600px){#home .hero-grid{gap:14px!important}#home .container{padding-inline:14px!important}#home .hero-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;width:100%}#home .hero-actions .btn{width:100%;padding:10px 8px!important}#home .hero-trust-row{gap:6px!important}#home .trust-chip{font-size:11px!important}#home .hero-art canvas{max-width:min(190px,50vw)!important}#home .premium-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#home .premium-feature-cards .feature-card{padding:12px 9px!important}#home .feature-card h3{font-size:15px!important;line-height:1.5}#home .feature-card p{font-size:12px!important;line-height:1.65!important}.doctors-grid .doctor-card:not(.hidden):not(.collapsed-by-limit){min-height:106px!important;padding:12px!important;gap:12px!important}.section-title{line-height:1.45!important}.section-sub{line-height:1.8!important}}
@media(max-width:340px){#home .hero-actions,#home .premium-feature-cards{grid-template-columns:1fr!important}html.psmc258-ready header .navbar>.logo img{width:100px!important}html.psmc258-ready header .psmc35-tools{gap:3px!important}}
@media(prefers-reduced-motion:reduce){.psmc258-link,.psmc258-book,.psmc258-service{transition:none!important}}

/* 2.92.150 — compact Services navigation on every page, preserving links and behavior. */
header #servicesDropdownMenu{padding:6px!important;gap:2px!important;}
header #servicesDropdownMenu>a{box-sizing:border-box!important;min-height:36px!important;height:auto!important;margin:0!important;padding:6px 14px!important;line-height:1.45!important;}
@media(max-width:820px){
 header #servicesDropdownMenu>a{min-height:44px!important;padding:8px 12px!important;white-space:normal!important;}
 header #mobileServicesMenu{padding:6px!important;gap:3px!important;margin-top:6px!important;}
 header #mobileServicesMenu>a{box-sizing:border-box!important;min-height:44px!important;height:auto!important;padding:7px 12px!important;margin:0!important;line-height:1.4!important;}
 .psmc258-drawer:is([aria-label="خدماتنا"],[aria-label="Services"]) .psmc258-links{gap:3px;}
 .psmc258-drawer:is([aria-label="خدماتنا"],[aria-label="Services"]) .psmc258-links>.psmc258-link,
 .psmc258-drawer .psmc258-section~.psmc258-link{box-sizing:border-box;min-height:44px;padding:6px 12px;line-height:1.4;margin:0;}
}

/* 2.92.158 — refined desktop top-level navigation; dropdown contents and mobile drawer unchanged. */
@media(min-width:821px){
 header .navbar>.nav-links{gap:clamp(3px,.42vw,8px)!important;align-items:center;}
 header .navbar>.nav-links>a:not(.book-btn),
 header .navbar>.nav-links>.dropdown>.dropdown-toggle{
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:40px;padding:6px clamp(6px,.8vw,15px)!important;margin:0;
  border:1px solid #dce9f1;border-radius:10px!important;background:#f3f8fc;
  color:#2d4350;line-height:1.5;white-space:nowrap;font-weight:700;
  font-size:clamp(11px,1.05vw,15px)!important;text-decoration:none;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
 }
 header .navbar>.nav-links>.dropdown>.dropdown-toggle{gap:6px!important;}
 header .navbar>.nav-links>a:not(.book-btn):hover,
 header .navbar>.nav-links>.dropdown:is(:hover,:focus-within,.open)>.dropdown-toggle{
  background:#e7f2f8;color:#125b77;border-color:#bfd8e5;
  box-shadow:0 3px 9px rgba(18,75,112,.08);
 }
 header .navbar>.nav-links>a:not(.book-btn):is(.active,[aria-current="page"]),
 header .navbar>.nav-links>.dropdown>.dropdown-toggle:is(.active,[aria-current="page"]){
  background:#e4f0f6;color:#0c5f7a;border-color:#bbd6e3;
  box-shadow:inset 0 -2px 0 #0c5f7a;
 }
 header .navbar>.nav-links>a:not(.book-btn):focus-visible,
 header .navbar>.nav-links>.dropdown>.dropdown-toggle:focus-visible{outline:2px solid #2388aa;outline-offset:2px;}
}
@media(min-width:821px) and (max-width:1050px){
 header .navbar>.nav-links>a:not(.book-btn),header .navbar>.nav-links>.dropdown>.dropdown-toggle{min-height:36px;padding-inline:6px!important;font-size:12px!important;}
}
@media(prefers-reduced-motion:reduce){
 header .navbar>.nav-links>a:not(.book-btn),header .navbar>.nav-links>.dropdown>.dropdown-toggle{transition:none!important;}
}
