﻿.tgd-hero__search-shell{position:relative;z-index:10;width:100%;max-width:540px}.tgd-hero__search-shell .tgd-hero__search{max-width:none}.tgd-hero-search-menu{position:absolute;top:calc(100% + 12px);right:0;left:0;overflow:hidden;border:1px solid rgba(74,56,139,.14);border-radius:22px;background:#fffefa;box-shadow:0 26px 70px -25px rgba(22,13,70,.48);color:#1a1333;text-align:left}.tgd-hero-search-menu[hidden]{display:none}.tgd-hero-search-menu .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.tgd-hero-search-menu__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px 10px;color:#5b526f;font-size:1.1rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.tgd-hero-search-menu__hint{color:#968da8;font-size:1rem;font-weight:500;letter-spacing:0;text-transform:none}.tgd-hero-search-menu__results{max-height:min(390px,52vh);overflow-y:auto;padding:0 8px 5px}.tgd-hero-search-menu__status{margin:0 10px 7px;padding:20px 14px;border-radius:14px;background:#f6f2ff;color:#675d7d;font-size:1.35rem;line-height:1.5;text-align:center}.tgd-hero-search-menu__status.is-loading::before{display:inline-block;width:11px;height:11px;margin-right:9px;border:2px solid #c9bce9;border-top-color:#5b38b8;border-radius:50%;content:"";animation:tgd-search-spin .7s linear infinite}@keyframes tgd-search-spin{to{transform:rotate(360deg)}}.tgd-hero-search-result{display:grid;grid-template-columns:72px minmax(0, 1fr) 22px;align-items:center;gap:13px;min-height:82px;padding:8px;border-radius:15px;color:#1a1333;transition:background-color .16s ease,transform .16s ease}.tgd-hero-search-result+.tgd-hero-search-result{border-top:1px solid #eee9f4}.tgd-hero-search-result:hover,.tgd-hero-search-result.is-active,.tgd-hero-search-result[aria-selected=true]{background:#f1ebff;color:#1a1333;transform:translateX(2px)}.tgd-hero-search-result__image{display:flex;align-items:center;justify-content:center;width:72px;height:62px;overflow:hidden;border-radius:11px;background:linear-gradient(135deg, #e7ddff, #fff0c7);color:#5b38b8;font-size:2rem}.tgd-hero-search-result__image img{width:100%;height:100%;object-fit:cover}.tgd-hero-search-result__content{display:block;min-width:0}.tgd-hero-search-result__meta{display:flex;align-items:center;gap:7px;margin-bottom:3px}.tgd-hero-search-result__type,.tgd-hero-search-result__price{color:#6c4ac4;font-size:1rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.tgd-hero-search-result__price{color:#847a96}.tgd-hero-search-result__price::before{margin-right:7px;color:#c4bbd0;content:"•"}.tgd-hero-search-result__title{display:block;overflow:hidden;color:#20173f;font-size:1.38rem;font-weight:700;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.tgd-hero-search-result__description{display:-webkit-box;overflow:hidden;margin-top:3px;color:#71687f;font-size:1.12rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tgd-hero-search-result__arrow{color:#8a7ba5;font-size:1.5rem}.tgd-hero-search-menu__all{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-top:1px solid #eae4f1;background:#faf7ff;color:#5134a0;font-size:1.25rem;font-weight:700}.tgd-hero-search-menu__all:hover{background:#f3edff;color:#40277f}.tgd-hero-search-menu a:focus-visible{outline:2px solid #6d49cf;outline-offset:-2px}@media(max-width: 575px){.tgd-hero-search-menu{top:calc(100% + 9px);border-radius:18px}.tgd-hero-search-menu__header{padding:12px 13px 9px}.tgd-hero-search-menu__hint{display:none}.tgd-hero-search-menu__results{max-height:min(350px,56vh);padding-right:6px;padding-left:6px}.tgd-hero-search-result{grid-template-columns:60px minmax(0, 1fr) 16px;gap:10px;min-height:76px;padding:7px}.tgd-hero-search-result__image{width:60px;height:58px}.tgd-hero-search-result__title{font-size:1.24rem}.tgd-hero-search-result__description{font-size:1.04rem;-webkit-line-clamp:1}.tgd-hero-search-result__arrow{font-size:1.3rem}}@media(prefers-reduced-motion: reduce){.tgd-hero-search-menu__status.is-loading::before{animation:none}.tgd-hero-search-result{transition:none}}
