/* Updated responsive mega-menu inspired by the side-by-side Ortho/Gynae reference */
.card-link{display:inline-flex;align-items:center;gap:8px}
.card-link svg{display:inline-block;width:15px!important;height:15px!important;flex:none;vertical-align:middle;stroke:currentColor;stroke-width:2;fill:none}
.mega-panel.mega-luxe{z-index:130;text-align:left;overflow:hidden;border-radius:20px;border:1px solid #eee4ef;background:#fff;box-shadow:0 24px 65px rgba(49,32,63,.18);padding:0;align-items:stretch}
.mega-luxe[hidden]{display:none!important}
.luxe-topline{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:16px 24px;background:linear-gradient(97deg,#faf8fd,#fff9fb);border-bottom:1px solid #f0e5ec}
.luxe-top-pill{font-size:10px;letter-spacing:1.35px;color:#84539c;font-weight:900;white-space:nowrap}
.luxe-top-copy{font-size:12px;color:#8c8391}
.luxe-see-doctors{margin-left:auto;color:#764995!important;font-size:12px!important;font-weight:800!important;white-space:nowrap}
.luxe-duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.luxe-dept{min-width:0;padding:19px 24px 18px}
.luxe-dept+.luxe-dept{border-left:1px solid #ece6ef}
.luxe-dept-head{display:flex;align-items:center;gap:12px;min-height:81px;margin-bottom:11px}
.luxe-dept-symbol{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:16px;font-size:28px;line-height:1;background:#efe5f9;color:#7950a0}
.luxe-gynae .luxe-dept-symbol{background:#fce7f1;color:#bf4481}
.luxe-dept-title{min-width:0;flex:1}
.luxe-dept-title strong{display:block;font-size:17px;line-height:1.22;color:#643f83;font-weight:850;letter-spacing:-.35px}
.luxe-gynae .luxe-dept-title strong{color:#ad3b73}
.luxe-dept-title small{display:block;font-size:11.5px;color:#817685;margin-top:4px;line-height:1.35}
.luxe-photo{height:86px;width:78px;object-fit:cover;object-position:center;border-radius:14px;box-shadow:0 7px 15px rgba(55,30,55,.10)}
.luxe-services{display:grid;grid-template-columns:1fr;gap:1px}
.luxe-link{min-height:37px;display:flex;gap:10px;align-items:center;padding:7px 6px!important;border-radius:9px;border-bottom:1px solid #f5f0f5;color:#4c435a!important;font-size:12.5px!important;font-weight:650!important;white-space:normal!important;line-height:1.35;transition:background .18s,color .18s,transform .18s}
.luxe-link:hover,.luxe-link:focus-visible{background:#f7f0fc;color:#663f8a!important;transform:translateX(2px)}
.luxe-gynae .luxe-link:hover,.luxe-gynae .luxe-link:focus-visible{background:#fff0f6;color:#b84178!important}
.luxe-bullet{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#f1e9fa;color:#7954a0;font-size:16px;line-height:1}
.luxe-gynae .luxe-bullet{background:#fce8f1;color:#c34e86}
.luxe-mini-arrow{margin-left:auto;color:#bcaac8;font-size:17px;line-height:1;font-weight:500}
.luxe-gynae .luxe-mini-arrow{color:#e2b2c7}
.luxe-view{display:inline-flex!important;align-items:center;gap:9px;margin:13px 0 0;padding:9px 18px!important;background:#f1e7fb;border-radius:99px;color:#6b428e!important;font-size:12px!important;font-weight:850!important}
.luxe-view-gynae{background:#fde8f2;color:#ac386f!important}
.luxe-view span{font-size:14px}
.luxe-bottom{min-height:62px;padding:13px 24px;background:#fbfafc;border-top:1px solid #ede8f0;display:flex;align-items:center;justify-content:space-between;gap:13px}
.luxe-bottom>span{color:#7d7b86;font-size:11.5px;line-height:1.4}
.luxe-call{display:inline-flex!important;align-items:center;gap:8px;padding:10px 16px!important;border-radius:24px;background:#0d6070;color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}
.luxe-call:hover{background:#094b58}
.luxe-mobile-other{display:none!important}
.mega-nav-item .mega-trigger[aria-expanded="true"]{background:#f3e9f9!important;color:#75479b!important}
.mega-nav-item[data-mega="gynae"] .mega-trigger[aria-expanded="true"]{background:#fcebf2!important;color:#ac4b7c!important}
.doctor-photo .portrait-fallback{position:absolute;inset:0;display:block;z-index:0}
.doctor-photo .portrait-fallback .ai-fallback-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.doctor-photo .ai-fallback-caption{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:1;display:block;max-width:96%;width:max-content;white-space:nowrap;border-radius:30px;background:#ffffffee;padding:7px 10px;color:#975175;text-align:center;font-size:10px;box-shadow:0 4px 12px rgba(10,50,45,.08)}
.doctor-ai-photo>img.gynae-ai-image{z-index:1;object-fit:cover;object-position:center 38%;opacity:1!important}
.doctor-ai-photo .pending-photo-label{z-index:5;background:rgba(255,255,255,.96);color:#944a72;box-shadow:0 4px 16px rgba(43,23,31,.12);font-size:10px;letter-spacing:.1px}
@media(max-width:960px){
 .mega-panel.mega-luxe{position:static!important;transform:none!important;animation:none!important;display:block!important;width:100%!important;box-shadow:0 4px 15px rgba(29,40,48,.05)!important;border-radius:15px;margin:8px 0 13px}
 .mega-panel.mega-luxe[hidden]{display:none!important}
 .luxe-topline{padding:12px 15px;gap:5px}
 .luxe-top-copy{display:none}
 .luxe-see-doctors{font-size:11px!important}
 .luxe-duo{display:block}
 .luxe-dept{padding:14px 15px 16px}
 .luxe-dept+.luxe-dept{border:0;border-top:1px solid #f1e6ec}
 .mega-ortho .luxe-gynae,.mega-gynae .luxe-ortho{display:none}
 .luxe-dept-head{min-height:65px;margin-bottom:6px;gap:10px}
 .luxe-dept-symbol{height:39px;width:39px;border-radius:12px;font-size:23px}
 .luxe-dept-title strong{font-size:14px}
 .luxe-dept-title small{font-size:11px}
 .luxe-photo{width:67px;height:60px;border-radius:10px}
 .luxe-link{min-height:43px;font-size:12px!important;padding:9px 4px!important}
 .luxe-view{font-size:12px!important;margin-top:11px}
 .luxe-bottom{padding:14px;flex-wrap:wrap;gap:12px}
 .luxe-bottom>span{flex-basis:100%}
 .luxe-call{font-size:11px!important}
 .luxe-mobile-other{display:inline-flex!important;font-size:11px!important;color:#865b98!important;font-weight:800!important}
}
@media(min-width:961px){
 .mega-panel.mega-luxe{width:min(915px,calc(100vw - 32px))!important;grid-template-columns:1fr!important;display:block;top:calc(100% - 1px);left:50%;transform:translateX(-50%)!important}
 .mega-panel.mega-luxe[hidden]{display:none!important}
 .luxe-dept{padding:21px 26px 19px}
 .luxe-dept-head{min-height:84px}
}
@media(max-width:375px){.luxe-topline{padding:11px}.luxe-dept{padding:12px}.luxe-bottom{padding:12px}.luxe-photo{width:55px;height:58px}.luxe-dept-title strong{font-size:13.5px}}
@media(prefers-reduced-motion:reduce){.luxe-link{transition:none}}
