/* Gildata Search - fully self-contained visual system */
.gss-widget{display:inline-block;direction:rtl;font-family:inherit}
.gss-open{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;margin:0;border:0!important;border-radius:0;background:transparent!important;color:#fff!important;box-shadow:none!important;outline:0;cursor:pointer;transition:transform .22s ease,color .22s ease}
.gss-open:hover{transform:scale(1.06);background:transparent!important;color:#fff!important;box-shadow:none!important}
.gss-open-icon{display:flex;align-items:center;justify-content:center;color:#fff!important}
.gss-open-icon svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.gss-field-icon svg,.gss-submit svg,.gss-hero-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.gss-open-label{display:none}
.gss-popup[hidden]{display:none!important}
.gss-popup{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:30px 18px}
.gss-popup-backdrop{position:absolute;inset:0;background:rgba(7,8,12,.72);backdrop-filter:blur(12px);animation:gss-fade .18s ease}
.gss-dialog{position:relative;z-index:2;width:min(820px,100%);max-height:82vh;overflow:auto;background:linear-gradient(180deg,#fff 0%,#fcfcfc 100%);border:1px solid rgba(255,255,255,.6);border-radius:28px;box-shadow:0 35px 100px rgba(0,0,0,.28);padding:34px;animation:gss-up .24s cubic-bezier(.2,.75,.25,1)}
.gss-close{position:absolute;left:18px;top:18px;width:40px;height:40px;border:0!important;border-radius:0;background:transparent!important;color:#000!important;font-size:28px;line-height:1;cursor:pointer;transition:.18s;box-shadow:none!important;outline:0}
.gss-close:hover{background:transparent!important;color:#000!important;transform:rotate(90deg)}
.gss-hero{display:flex;align-items:center;gap:16px;padding:6px 0 25px}
.gss-hero-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:#111;color:#fff;box-shadow:0 13px 30px rgba(0,0,0,.18);flex:none}
.gss-hero-icon svg{width:27px;height:27px}
.gss-kicker{font-size:11px;font-weight:800;letter-spacing:.5px;color:#999;margin-bottom:4px}
.gss-hero h2{margin:0;color:#141414;font-size:29px;line-height:1.35;font-weight:800;letter-spacing:-.4px}
.gss-hero p{margin:6px 0 0;color:#777;font-size:13px;line-height:1.7}
.gss-search-form{position:relative;display:flex;align-items:center;min-height:68px;padding:0 10px 0 12px;border:1px solid #e4e4e4;background:#f8f8f8;border-radius:19px;transition:.2s;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.gss-search-form:focus-within{background:#fff;border-color:#111;box-shadow:0 0 0 4px rgba(0,0,0,.045),0 12px 30px rgba(0,0,0,.06)}
.gss-field-icon{display:flex;align-items:center;justify-content:center;margin:0 10px 0 8px;color:#111}
.gss-search-input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#161616;font:inherit;font-size:16px}
.gss-search-input::placeholder{color:#a4a4a4}
.gss-status{min-height:40px;padding:15px 4px 8px;color:#8a8a8a;font-size:12px}
.gss-results{display:grid;gap:9px}
.gss-result{display:flex;align-items:center;gap:14px;padding:11px;border:1px solid #ececec;border-radius:17px;background:#fff;text-decoration:none!important;box-shadow:0 2px 8px rgba(0,0,0,.025);transition:.2s}
.gss-result:hover{transform:translateX(-4px);border-color:#d7d7d7;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.gss-thumb{width:60px;height:60px;border-radius:13px;overflow:hidden;background:#f2f2f2;flex:none}
.gss-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.gss-result-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.gss-result-meta{display:flex;gap:10px;color:#999;font-size:10px}
.gss-result-content strong{color:#171717;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gss-result-content p{margin:0;color:#777;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gss-result-arrow{font-size:19px;color:#aaa;transition:.2s}
.gss-result:hover .gss-result-arrow{color:#111;transform:translateX(-4px)}
.gss-empty{text-align:center;padding:45px 12px;color:#777}
.gss-empty-icon{display:block;font-size:44px;line-height:1;margin-bottom:9px;color:#111}
.gss-empty strong{font-size:14px}
.gss-loading{display:flex;align-items:center;justify-content:center;gap:7px;padding:42px}
.gss-loading span{width:7px;height:7px;border-radius:50%;background:#111;animation:gss-dot .72s infinite alternate}
.gss-loading span:nth-child(2){animation-delay:.16s}.gss-loading span:nth-child(3){animation-delay:.32s}
.gss-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;color:#a0a0a0;font-size:10px}
.gss-esc{padding:3px 7px;border:1px solid #ddd;border-radius:6px;background:#fafafa;color:#888}
.gss-scroll-lock{overflow:hidden!important}
@keyframes gss-fade{from{opacity:0}to{opacity:1}}
@keyframes gss-up{from{opacity:0;transform:translateY(18px) scale(.975)}to{opacity:1;transform:none}}
@keyframes gss-dot{from{opacity:.25;transform:scale(.75)}to{opacity:1;transform:scale(1.15)}}
@media(max-width:640px){
 .gss-open{width:46px;height:46px}
 .gss-popup{padding:20px 14px;align-items:center;justify-content:center}
 .gss-dialog{width:min(420px,calc(100% - 28px));max-width:420px;max-height:calc(100vh - 40px);height:auto;border-radius:28px;padding:25px 14px 18px;overflow:auto}
 .gss-hero{gap:12px;padding-bottom:19px;padding-left:38px}
 .gss-hero-icon{width:48px;height:48px;border-radius:15px}.gss-hero-icon svg{width:22px;height:22px}
 .gss-hero h2{font-size:22px}.gss-hero p{font-size:12px}
 .gss-search-form{min-height:58px}.gss-result{padding:9px}.gss-thumb{width:52px;height:52px}.gss-result-content p{display:none}
}

/* 2.3.0: close button is a standalone black icon, no fill/border; no clear/search submit buttons. */
.gss-close,.gss-close:hover{border:0!important;background:transparent!important;box-shadow:none!important;color:#000!important;}

/* 2.4.0: modal is mounted directly under body for reliable viewport centering. */
.gss-popup{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100vh!important;min-width:100vw!important;min-height:100vh!important;margin:0!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;isolation:isolate;z-index:2147483647!important}
.gss-popup[hidden]{display:none!important}
.gss-popup-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important}
.gss-dialog{position:relative!important;z-index:1!important;flex:0 1 820px;margin:auto!important;box-sizing:border-box!important}
.gss-scroll-lock{overflow:hidden!important;overscroll-behavior:none!important}
@media(max-width:640px){.gss-dialog{flex:0 1 auto}}
