
/* V20 Search dropdown: overlay stays anchored to input and above page content */
body:has(#heroSearchDropdown.active) .v19-hero{z-index:100!important;isolation:auto!important}
body:has(#heroSearchDropdown.active) .v19-hero-grid{z-index:101!important}
body:has(#heroSearchDropdown.active) .v19-hero-left{z-index:102!important}
body:has(#heroSearchDropdown.active) .v18-stats{z-index:1!important}
.v19-hero .hero-search-wrapper{position:relative!important;overflow:visible!important;isolation:visible!important}
.v19-hero .search-dropdown{
 position:absolute!important;top:calc(100% + 7px)!important;left:0!important;right:auto!important;
 width:100%!important;max-width:650px!important;height:auto!important;max-height:min(490px,65vh)!important;
 overflow-y:auto!important;overscroll-behavior:contain!important;z-index:99999!important;
 border:1px solid #d9e7ff!important;border-radius:17px!important;background:#fff!important;
 box-shadow:0 22px 60px #123d8d36!important;text-align:left!important;
 padding:7px 0!important;box-sizing:border-box!important;
}
.v19-hero .search-dropdown:not(.active){display:none!important}
.v19-hero .search-dropdown.active{display:block!important}
.search-dropdown-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 17px 8px;border-bottom:1px solid #edf2fa;color:#122753;font-size:.82rem}
.search-dropdown-heading span{color:#6a7f9f;font-size:.75rem}
.search-dropdown .search-result-item{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 15px!important;min-height:60px!important;border-bottom:1px solid #edf2fa!important;text-decoration:none!important;background:#fff!important}
.search-dropdown .search-result-item:hover,.search-dropdown .search-result-item:focus-visible{background:#f1f7ff!important;outline:0!important}
.search-dropdown .search-result-icon{width:41px!important;height:41px!important;flex-shrink:0!important;display:grid!important;place-items:center!important;border-radius:11px!important;color:#fff!important;background:#ef4253!important}
.search-dropdown .search-result-icon[data-category="image"]{background:#1685ef!important}
.search-dropdown .search-result-icon[data-category="text"]{background:#8b45eb!important}
.search-dropdown .search-result-icon[data-category="utility"]{background:#10b98b!important}
.search-dropdown .search-result-icon[data-category="calculator"]{background:#f49a1c!important}
.search-dropdown .search-result-icon[data-category="developer"]{background:#16a7d6!important}
.search-dropdown .search-result-icon[data-category="seo"]{background:#875ce8!important}
.search-dropdown .search-result-icon svg{width:23px!important;height:23px!important}
.search-dropdown .search-result-info{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:3px!important}
.search-dropdown .search-result-title{display:block!important;color:#0e214c!important;font-size:.87rem!important;font-weight:750!important;line-height:1.25!important}
.search-dropdown .search-result-description{display:block!important;color:#5c7296!important;font-size:.76rem!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.search-dropdown .search-result-category{background:#e8f1ff!important;color:#1e63d4!important;font-size:.67rem!important;border-radius:99px!important;padding:4px 9px!important;font-weight:750!important}
.search-dropdown .search-result-arrow{flex-shrink:0;color:#2563eb}
.search-dropdown .search-view-all{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 17px!important;text-decoration:none!important;color:#145ce0!important;font-weight:750;font-size:.82rem;background:#f7faff!important}
.search-dropdown .search-view-all:hover{background:#e9f2ff!important}
.search-dropdown .search-empty-state{padding:23px!important;color:#53678e!important}
.v19-hero .hero-search-clear{z-index:6!important;right:125px!important}
.v19-hero .v18-search-go{z-index:7!important}
@media(max-width:700px){
 .v19-hero .search-dropdown{width:100%!important;max-height:50vh!important;border-radius:14px!important}
 .search-dropdown .search-result-item{padding:9px 10px!important;gap:8px!important}
 .search-dropdown .search-result-icon{width:34px!important;height:34px!important}
 .search-dropdown .search-result-category{display:none!important}
 .search-dropdown .search-result-description{font-size:.71rem!important}
 .v19-hero .hero-search-clear{right:92px!important}
}

/* Tool icons visible and consistent across home, category and all-tools cards */
.tool-icon-wrapper,.tool-card .tool-icon-wrapper{
 display:grid!important;place-items:center!important;min-width:48px!important;min-height:48px!important;
 width:48px!important;height:48px!important;border-radius:14px!important;
 color:#fff!important;background:#2563eb!important;
 box-shadow:0 8px 18px #2563eb2a!important;flex-shrink:0!important;
}
.tool-icon-wrapper svg,.tool-card .tool-icon-wrapper svg{display:block!important;width:26px!important;height:26px!important;stroke:currentColor!important}
.tool-card[data-category="pdf"] .tool-icon-wrapper{background:#f43f5e!important}
.tool-card[data-category="image"] .tool-icon-wrapper{background:#1685f9!important}
.tool-card[data-category="text"] .tool-icon-wrapper{background:#8b5cf6!important}
.tool-card[data-category="developer"] .tool-icon-wrapper{background:#0ea5e9!important}
.tool-card[data-category="seo"] .tool-icon-wrapper{background:#f59e0b!important}
.tool-card[data-category="calculator"] .tool-icon-wrapper{background:#10b981!important}
.tool-card[data-category="utility"] .tool-icon-wrapper{background:#7c3aed!important}
.category-card-icon svg,.v18-cat-icon svg{display:block!important;stroke:currentColor!important;width:28px!important;height:28px!important}
@media(max-width:640px){.tool-icon-wrapper,.tool-card .tool-icon-wrapper{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}}
