.ht-keyword{display:flex;align-items:stretch;max-width:38rem;width:100%;margin:.7rem 0;gap:.35rem}
.ht-keyword input{flex:1;min-width:0;padding:.7rem .85rem;border:1px solid #a9becb;border-radius:.75rem;background:white;color:#182c38;font:inherit}
.ht-keyword button{border:0;border-radius:.7rem;padding:.6rem .9rem;background:#164965;color:white;cursor:pointer}
.ht-suggest{position:fixed;z-index:2147483000;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;background:#fff;color:#17374a;border:1px solid #b9cbd3;border-radius:.75rem;box-shadow:0 8px 28px #17374a30;padding:.3rem}
.ht-suggest a,.ht-suggest p{display:flex;align-items:center;gap:.65rem;margin:0;padding:.45rem;color:inherit;text-decoration:none;font:500 .95rem/1.3 system-ui}
.ht-suggest a:hover,.ht-suggest a:focus{background:#eaf5fa}
.ht-suggest img{width:2.8rem;height:2.8rem;object-fit:contain;flex:none}
.ht-suggest small{display:block;color:#366078}

/* Homepage only: each shelf has a full-width search aligned with its cards. */
#main:has(.ht-hero-search) .ht-keyword{width:100%;max-width:none;box-sizing:border-box}
#main>.home-mood-section,#main>.home-more-categories,#main>.home-gadget-products{width:100%!important;max-width:none!important;margin-inline:0!important;border-inline:0;border-radius:0!important;box-sizing:border-box}
#main>.home-mood-section{background:#fff2e2!important}
#main>.home-more-categories{background:#eff7f1!important}
#main>.home-gadget-products{background:#edf4fc!important}
#main .ht-hero-search,#main .hero-category-shortcuts,#main>.hero-product-rail,#main>.hero-product-rail>.shell{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box;border-radius:0!important}
#main .ht-hero-search .ht-keyword,#main .hero-category-shortcuts{margin-block:0!important;gap:0!important}
#main .ht-hero-search :is(input,button),#main .hero-category-shortcuts a{border-radius:0!important}
#main .hero-category-shortcuts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));padding-block:0!important}
#main .hero-category-shortcuts a>span{font-size:0}
#main .hero-category-shortcuts a>span::before{font-size:1rem;content:'🧩'}
#main .hero-category-shortcuts a:nth-child(2)>span::before{content:'🎧'}
#main .hero-category-shortcuts a:nth-child(3)>span::before{content:'📚'}
#main .hero-category-shortcuts a:nth-child(4)>span::before{content:'🏷️'}
#main .hero-product-mini-copy small::before{content:'◆ ';color:#237080}
@media(max-width:540px){#main .hero-category-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
