.toy-search-wrap{display:block;position:relative;flex:1;min-width:150px;max-width:240px}
.toy-search-wrap .toy-search{width:100%;max-width:none;margin:0}
.toy-search-dropdown[hidden]{display:none}
.toy-search-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:20;width:420px;max-width:calc(100vw - 40px);max-height:min(620px,65dvh);overflow-y:auto;overscroll-behavior:contain;padding:12px;background:#fff;border:1px solid var(--toy-line);border-radius:22px;box-shadow:0 16px 40px #22264920;color:var(--toy-ink)}
.toy-search-dropdown__header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-left:8px}
.toy-search-dropdown .toy-search-heading{margin:0;font:500 22px/1.25 'Fredoka',sans-serif;letter-spacing:0;color:var(--toy-ink)}
.toy-search-close{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:50%;background:none;color:var(--toy-ink);cursor:pointer}
.toy-search-close svg{width:18px;height:18px}
.toy-search-product{display:flex;align-items:center;gap:14px;min-height:84px;padding:10px 8px;border-radius:14px;color:var(--toy-ink);text-decoration:none}
.toy-search-product:hover,.toy-search-product[aria-selected=true]{background:#f0f2ff}
.toy-search-product img{flex:none;width:64px;height:64px;object-fit:contain;border-radius:10px;background:#fff}
.toy-search-product__details{display:grid;gap:5px;min-width:0}
.toy-search-product__title{font:600 14px/1.4 'DM Sans',sans-serif;overflow-wrap:anywhere}
.toy-search-product__price{font:600 16px/1.3 'DM Sans',sans-serif;color:var(--toy-blue)}
.toy-search-product__availability{font-size:12px;color:var(--toy-muted)}
.toy-search-dropdown .toy-search-feedback{margin:8px;font-size:14px;line-height:1.5;color:var(--toy-muted)}
.toy-search-all{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:8px;padding:12px 16px;border:1px solid var(--toy-line);border-radius:100px;color:var(--toy-ink);font:700 14px/1.4 'DM Sans',sans-serif;text-decoration:none;text-align:center}
.toy-search-all:hover,.toy-search-close:hover{background:#f0f2ff}
@media(max-width:989px){.toy-search-wrap{margin-left:auto;max-width:none}}
@media(max-width:749px){.toy-search-wrap{grid-row:2;grid-column:1/-1;width:100%;min-width:0;margin:0}.toy-search-dropdown{width:100%;max-width:none;max-height:55dvh}.toy-search-wrap input{font-size:16px}.toy-search-dropdown .toy-search-heading{font-size:20px}}
