/* TV AJAX Search v11 */
.tv-searchbox{position:relative;width:100%;max-width:720px;margin:0 auto}
.tv-searchbox .tv-search-input-wrap{position:relative;width:100%}
.tv-searchbox .tv-search-input{width:100%;padding:15px 50px 15px 16px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.15)!important;background:rgba(255,255,255,.06)!important;color:#F5F0E1!important;font-size:17px!important;outline:none;transition:border-color .3s ease,background .3s ease,box-shadow .3s ease;font-family:'Manrope',sans-serif;font-weight:400;caret-color:#FBE973;box-sizing:border-box;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.tv-searchbox .tv-search-autocomplete{position:absolute;left:0;top:0;width:100%;height:100%;padding:15px 50px 15px 16px;font-size:17px;font-family:'Manrope',sans-serif;font-weight:400;color:rgba(251,233,115,.4);pointer-events:none;white-space:nowrap;overflow:hidden;box-sizing:border-box;line-height:normal;display:flex;align-items:center}
.tv-searchbox .tv-search-input::-webkit-search-cancel-button,.tv-searchbox .tv-search-input::-webkit-search-decoration,.tv-searchbox .tv-search-input::-webkit-search-results-button,.tv-searchbox .tv-search-input::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none;display:none}
.tv-searchbox .tv-search-input::-ms-clear{display:none;width:0;height:0}
.tv-searchbox .tv-search-input:focus{border-color:rgba(251,233,115,.6)!important;background:rgba(255,255,255,.1)!important;box-shadow:0 0 0 3px rgba(251,233,115,.15),0 4px 20px rgba(0,0,0,.2)}
.tv-searchbox .tv-search-input::placeholder{color:rgba(255,255,255,.4)}
.tv-searchbox .tv-search-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:none;background:rgba(255,255,255,.1);color:#F5F0E1;font-size:20px;line-height:1;border-radius:50%;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .2s ease,background .2s ease,transform .2s ease;display:flex;align-items:center;justify-content:center;z-index:3;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.tv-searchbox .tv-search-clear.show{opacity:1;visibility:visible}
.tv-searchbox .tv-search-clear:hover{background:rgba(251,233,115,.25);transform:translateY(-50%) scale(1.1)}
.tv-searchbox .tv-search-clear:active{transform:translateY(-50%) scale(.95)}
.tv-searchbox .tv-search-results{position:absolute;top:calc(100% + 10px);left:0;right:0;background:linear-gradient(180deg,#1e4a42,#1B3B34);border:1px solid rgba(251,233,115,.2);border-radius:18px;overflow:hidden;box-shadow:0 16px 48px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.05) inset;z-index:99999;display:none;max-height:420px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.tv-searchbox .tv-search-results.show{display:block;animation:tvFadeIn .2s ease}
.tv-searchbox .tv-search-results::-webkit-scrollbar{width:6px}
.tv-searchbox .tv-search-results::-webkit-scrollbar-track{background:transparent}
.tv-searchbox .tv-search-results::-webkit-scrollbar-thumb{background:rgba(251,233,115,.3);border-radius:10px}
.tv-searchbox .tv-result-item{display:grid;grid-template-columns:56px 1fr auto;gap:14px;align-items:center;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06);text-decoration:none;color:#F5F0E1;transition:background .2s ease;position:relative}
.tv-searchbox .tv-result-item::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#FBE973,#f0d050);transform:scaleY(0);transition:transform .25s cubic-bezier(.22,1,.36,1);border-radius:0 3px 3px 0}
.tv-searchbox .tv-result-item:hover{background:rgba(251,233,115,.06)}
.tv-searchbox .tv-result-item:hover::before{transform:scaleY(1)}
.tv-searchbox .tv-result-item:active{background:rgba(251,233,115,.1)}
.tv-searchbox .tv-result-item:last-child{border-bottom:none}
.tv-searchbox .tv-result-thumb{position:relative;width:56px;height:56px;flex-shrink:0}
.tv-searchbox .tv-result-item img{width:56px;height:56px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.1);transition:transform .2s ease,border-color .2s ease}
.tv-searchbox .tv-result-item:hover img{transform:scale(1.05);border-color:rgba(251,233,115,.3)}
.tv-searchbox .tv-result-badge{position:absolute;top:-4px;left:-4px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:9px;font-weight:800;padding:2px 6px;border-radius:6px;text-transform:uppercase;letter-spacing:.3px;box-shadow:0 2px 6px rgba(220,38,38,.4)}
.tv-searchbox .tv-result-info{min-width:0}
.tv-searchbox .tv-result-name{font-weight:600;font-size:14px;line-height:1.35;margin-bottom:3px;transition:color .2s ease;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tv-searchbox .tv-result-item:hover .tv-result-name{color:#FBE973}
.tv-searchbox .tv-result-sku{font-size:12px;color:rgba(255,255,255,.45);font-family:'JetBrains Mono','Courier New',monospace;letter-spacing:.03em}
.tv-searchbox .tv-result-price-wrap{text-align:right;white-space:nowrap}
.tv-searchbox .tv-result-price{font-weight:800;color:#FBE973;font-size:15px;transition:transform .2s ease}
.tv-searchbox .tv-result-price-old{font-size:12px;color:rgba(255,255,255,.4);text-decoration:line-through;margin-bottom:2px}
.tv-searchbox .tv-result-price-from{font-size:11px;color:rgba(255,255,255,.5);font-weight:500;margin-bottom:2px}
.tv-searchbox .tv-result-item:hover .tv-result-price{transform:scale(1.05)}
.tv-searchbox .tv-result-login-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.tv-searchbox .tv-result-login{display:inline-flex;align-items:center;gap:5px;background:rgba(251,233,115,.08);border:1px solid rgba(251,233,115,.25);color:#FBE973;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:700;text-decoration:none;transition:all .2s ease;cursor:pointer}
.tv-searchbox .tv-result-login svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.tv-searchbox .tv-result-login:hover{background:rgba(251,233,115,.18);border-color:rgba(251,233,115,.45)}
.tv-searchbox .tv-result-login-hint{font-size:10px;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.03em}
.tv-searchbox .tv-popular-header{padding:12px 16px 8px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:rgba(251,233,115,.6);border-bottom:1px solid rgba(255,255,255,.06);font-weight:700}
.tv-searchbox .tv-noresult{padding:24px;color:rgba(255,255,255,.5);text-align:center;font-size:14px}
@keyframes tvFadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:768px){
.tv-searchbox{padding:0 6px}
.tv-searchbox .tv-search-input{font-size:16px!important;padding:13px 50px 13px 14px!important;border-radius:14px!important}
.tv-searchbox .tv-search-autocomplete{padding:13px 50px 13px 14px;font-size:16px}
.tv-searchbox .tv-search-clear{right:10px;width:34px;height:34px;font-size:22px}
.tv-searchbox .tv-search-results{max-height:320px;border-radius:14px}
.tv-searchbox .tv-result-item{grid-template-columns:48px 1fr auto;gap:10px;padding:10px 14px}
.tv-searchbox .tv-result-thumb,.tv-searchbox .tv-result-item img{width:48px;height:48px}
.tv-searchbox .tv-result-item img{border-radius:10px}
.tv-searchbox .tv-result-name{font-size:13px}
.tv-searchbox .tv-result-price{font-size:14px}
.tv-searchbox .tv-result-price-old{font-size:11px}
.tv-searchbox .tv-result-sku{font-size:11px}
.tv-searchbox .tv-result-login{font-size:10px;padding:4px 8px}
.tv-searchbox .tv-result-badge{font-size:8px;padding:2px 4px}
}
