/* Both existing Elementor mega-menu widgets. No item IDs or fixed item counts. */
body.shpik-restyle .navbar ul.mega-menu{border:1px solid #e0e7f3;border-top:3px solid var(--sr-blue);border-radius:0 0 20px 20px;background:#fff;box-shadow:0 20px 46px #10264e24;padding:18px 12px}
body.shpik-restyle .navbar ul.mega-menu :is(.megamenu2-box,.megamenu-box){border:0;border-radius:0;box-shadow:none;background:transparent;margin:0;padding:8px;width:100%;min-width:0}
body.shpik-restyle .navbar .mega-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
body.shpik-restyle .navbar .mega-cards a.mega-card{position:relative;display:grid!important;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:14px;align-content:start;align-items:start;width:auto;max-width:none;min-width:0;padding:22px!important;background:#f7f9fd;border:1px solid #edf0f7;border-radius:12px;box-shadow:none;text-decoration:none;transition:background .18s,border-color .18s,box-shadow .18s}
body.shpik-restyle .navbar .mega-cards a.mega-card:hover,body.shpik-restyle .navbar .mega-cards a.mega-card:focus-visible{background:#edf3ff;border-color:#b7ccfa;box-shadow:0 4px 14px #1746ed0b}
body.shpik-restyle .navbar .mega-cards .mega-card .thumb-holder{display:flex;align-items:center;justify-content:center;float:none;align-self:start;grid-column:1;grid-row:1/4;width:44px;height:44px;margin:0;padding:8px;border:1px solid #e0e9fc;border-radius:11px;background:#fff}
body.shpik-restyle .navbar .mega-cards .mega-card .thumb-holder img{display:block;max-width:100%;width:28px;height:28px;object-fit:contain;margin:0}
body.shpik-restyle .navbar .mega-cards .mega-card :is(h5,span,p){grid-column:2;margin-left:0!important;overflow-wrap:anywhere;text-align:left}
body.shpik-restyle .navbar .mega-cards .mega-card h5{font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.025em;margin-top:0;margin-bottom:5px;color:#162340}
body.shpik-restyle .navbar .mega-cards .mega-card>span{display:block;font-size:12px;line-height:1.5;font-weight:500;color:#2855b4;margin-bottom:10px}
body.shpik-restyle .navbar .mega-cards .mega-card p{display:block;font-size:13px;line-height:1.65;color:#5b6980;margin:0!important}
body.shpik-restyle .navbar .mega-cards .mega-card:hover h5{color:var(--sr-blue)}
body.shpik-restyle .navbar .megamenu-box{gap:28px;align-items:stretch}
body.shpik-restyle .navbar .megamenu-box :is(.mega-text,.mega-links,.mega-featured){min-width:0;padding:20px;width:auto;flex:1;border:0}
body.shpik-restyle .navbar .megamenu-box .mega-text{background:#f0f5ff;border-radius:12px}
body.shpik-restyle .navbar .megamenu-box h4{font-size:20px;line-height:1.3;margin-bottom:16px;color:#162340}
body.shpik-restyle .navbar .mega-text p{color:#5b6980;line-height:1.75}
body.shpik-restyle .navbar ul.mega-list li{margin:0;border:0}
body.shpik-restyle .navbar ul.mega-list li a{padding:9px 12px;border-radius:7px;font-size:14px;line-height:1.5;color:#3e4d67}
body.shpik-restyle .navbar ul.mega-list li a:hover{background:#edf3ff;color:var(--sr-blue)}
body.shpik-restyle .navbar .mega-post .thumb-holder{border-radius:10px;overflow:hidden}
body.shpik-restyle .navbar .mega-post h5{font-size:18px;line-height:1.4;margin-top:14px}
@media(min-width:992px){body.shpik-restyle .navbar ul.mega-menu{max-height:calc(100vh - 155px);max-height:calc(100dvh - 155px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}body.shpik-restyle .navbar li:focus-within>ul.mega-menu{visibility:visible;opacity:1;margin-top:0}}
@media(min-width:992px) and (max-width:1199px){body.shpik-restyle .navbar .mega-cards{grid-template-columns:repeat(3,minmax(0,1fr))}body.shpik-restyle .navbar .mega-cards a.mega-card{padding:18px!important;column-gap:10px}}
@media(max-width:991px){body.shpik-restyle .navbar ul.mega-menu{border:0;border-radius:0;padding:4px 0 12px;box-shadow:none;background:transparent}body.shpik-restyle .navbar ul.mega-menu .container{padding:0}body.shpik-restyle .navbar ul.mega-menu :is(.megamenu-box,.megamenu2-box){padding:0}body.shpik-restyle .navbar .mega-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.shpik-restyle .navbar .mega-cards a.mega-card{padding:14px!important;grid-template-columns:36px minmax(0,1fr);column-gap:10px}body.shpik-restyle .navbar .mega-cards .mega-card .thumb-holder{width:36px;height:36px;padding:6px}body.shpik-restyle .navbar .mega-cards .mega-card h5{font-size:16px}body.shpik-restyle .navbar .mega-cards .mega-card p{display:none}body.shpik-restyle .navbar .mega-cards .mega-card>span{margin-bottom:0;font-size:11px}body.shpik-restyle .navbar .megamenu-box .mega-links{padding:8px;flex:1;width:100%}body.shpik-restyle .navbar .megamenu-box{gap:0}}
@media(max-width:575px){body.shpik-restyle .navbar .mega-cards{grid-template-columns:1fr}body.shpik-restyle .navbar .mega-cards a.mega-card{grid-template-columns:36px minmax(0,1fr);padding:12px!important}}
/* Override the legacy mobile rules that hide original service images. */
@media(max-width:991px){body.shpik-restyle .navbar .mega-cards{display:grid!important}body.shpik-restyle .navbar .mega-cards .mega-card .thumb-holder{display:flex!important}body.shpik-restyle .navbar .mega-cards .mega-card>span{display:block!important}body.shpik-restyle .navbar .mega-cards a.mega-card{background:#f7f9fd!important}body.shpik-restyle .navbar .mega-cards .mega-card h5{font-size:16px!important;font-weight:600!important}}
