.home-store-search {
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 22px;
    padding: 16px 18px 14px;
    border: 1px solid #d9e9ed;
    border-radius: 18px;
    background: #f7fbfc;
    box-shadow: 0 10px 28px rgba(49, 92, 111, .055);
}

.home-store-search *, .home-store-search *::before, .home-store-search *::after { box-sizing: border-box; }
.home-store-search form { margin: 0; }
.store-search-empty { padding: 12px 0 34px; }
.store-search-empty .container { padding: 28px; border: 1px solid #d9e9ed; border-radius: 18px; background: #f7fbfc; text-align: center; }
.store-search-empty h2 { margin: 0 0 8px; color: #294755; font-size: 22px; }
.store-search-empty p { margin: 0 0 16px; color: #607487; }
.store-search-empty a { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #23b7c7; color: #fff; font-weight: 700; text-decoration: none; }
.store-search-empty a:hover, .store-search-empty a:focus-visible { background: #168a9d; color: #fff; }
.home-store-search__heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.home-store-search__scope { color: #294755; font-size: 16px; font-weight: 700; }
.home-store-search__hint { color: #71818c; font-size: 13px; }
.home-store-search__main { display: flex; gap: 10px; align-items: stretch; }
.home-store-search__query-wrap { position: relative; min-width: 0; flex: 1 1 auto; }
.home-store-search__input-wrap {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 47px;
    padding: 0 14px;
    border: 1px solid #cddde5;
    border-radius: 11px;
    background: #fff;
    color: #607487;
}
.home-store-search__input-wrap:focus-within { border-color: #25b9c6; box-shadow: 0 0 0 3px rgba(37, 185, 198, .12); }
.home-store-search__input-wrap svg { flex: 0 0 auto; }
.home-store-search__input-wrap input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #283c4b;
    font: inherit;
    font-size: 15px;
}
.home-store-search__input-wrap input::placeholder { color: #899ba6; opacity: 1; }
.home-store-search__suggestions {
    position: absolute;
    z-index: 70;
    top: calc(100% + 5px);
    left: 0;
    width: min(100%, 560px);
    max-height: 290px;
    overflow-y: auto;
    padding: 6px 0;
    border: 1px solid #d2e2e8;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(29, 68, 81, .16);
}
.home-store-search__suggestions[hidden] { display: none; }
.home-store-search__suggestion-heading { padding: 8px 13px 3px; color: #778b96; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.home-store-search__suggestion {
    display: block;
    width: 100%;
    padding: 9px 13px;
    border: 0;
    background: #fff;
    color: #344b58;
    text-align: left;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.home-store-search__suggestion:hover, .home-store-search__suggestion.is-active { background: #e9f7f9; color: #137b89; }
.home-store-search__suggestion-empty { padding: 12px 13px; color: #70838e; font-size: 13px; }
.home-store-search__submit {
    flex: 0 0 auto;
    min-width: 165px;
    padding: 0 19px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(105deg, #1cbfcc, #6f62dd 58%, #d94f9c);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.home-store-search__submit:hover { filter: brightness(1.055); }
.home-store-search__submit:focus-visible, .home-store-search summary:focus-visible,
.home-store-search select:focus-visible { outline: 3px solid #29bdc8; outline-offset: 2px; }
.home-store-search__filters { margin-top: 12px; }
.home-store-search__filters summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #35657a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.home-store-search__filters summary::-webkit-details-marker { display: none; }
.home-store-search__chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.home-store-search__filters[open] .home-store-search__chevron { transform: rotate(225deg) translate(-1px, -1px); }
.home-store-search__fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 10px; padding-top: 11px; }
.home-store-search--marketplace .home-store-search__fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-store-search__field { display: block; min-width: 0; color: #475d68; font-size: 12px; font-weight: 700; }
.home-store-search__field span { display: block; margin-bottom: 5px; }
.home-store-search__field > label { display: block; margin-bottom: 5px; }
.home-store-search__category-control { position: relative; }
.home-store-search__category-trigger { display: none; }
.home-store-search__category-popover[hidden] { display: none; }
.home-store-search__category-options button[hidden] { display: none; }
.home-store-search__field select {
    width: 100%;
    height: 41px;
    padding: 0 28px 0 11px;
    border: 1px solid #d1e1e7;
    border-radius: 8px;
    background: #fff;
    color: #324653;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
}
.home-store-search__field select:disabled { opacity: .55; }
@media (min-width: 768px) {
    .home-store-search--enhanced .home-store-search__category-control > select { display: none; }
    .home-store-search--enhanced .home-store-search__category-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 41px;
        padding: 0 11px;
        border: 1px solid #d1e1e7;
        border-radius: 8px;
        background: #fff;
        color: #324653;
        text-align: left;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
    }
    .home-store-search__category-trigger > span { display: inline; margin: 0 0 3px 8px; font-size: 19px; line-height: 1; }
    .home-store-search__category-trigger:disabled { opacity: .55; cursor: not-allowed; }
    .home-store-search__category-control.is-open .home-store-search__category-trigger { border-color: #25b9c6; }
    .home-store-search__category-popover:not([hidden]) {
        display: block;
        position: absolute;
        z-index: 80;
        top: 100%;
        left: 0;
        width: max(100%, 270px);
        max-width: min(350px, calc(100vw - 32px));
        padding: 7px;
        border: 1px solid #d4e5e9;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 14px 30px rgba(32, 73, 85, .17);
    }
    .home-store-search__category-popover.is-right { left: auto; right: 0; }
    .home-store-search__category-filter {
        width: 100%;
        height: 35px;
        padding: 0 9px;
        border: 1px solid #d9e5e8;
        border-radius: 7px;
        font: inherit;
        font-size: 12px;
    }
    .home-store-search__category-options { max-height: min(48vh, 320px); overflow-y: auto; padding-top: 5px; }
    .home-store-search__category-options button {
        display: block;
        width: 100%;
        padding: 8px 9px;
        border: 0;
        border-radius: 5px;
        background: #fff;
        color: #334a57;
        text-align: left;
        font: inherit;
        font-size: 12px;
        cursor: pointer;
    }
    .home-store-search__category-options button.is-child { padding-left: 23px; }
    .home-store-search__category-options button:hover, .home-store-search__category-options button:focus-visible,
    .home-store-search__category-options button[aria-selected="true"] { background: #eaf7f9; color: #147e8d; }
}
.marketplace-results-search { scroll-margin-top: 20px; padding-top: 4px; }
.marketplace-results-search .home-store-search { margin-bottom: 14px; }
.taggers-results-search { scroll-margin-top: 20px; padding-top: 4px; }
.taggers-results-search .home-store-search { margin-bottom: 14px; }
.home-store-search__sale { display: flex; align-items: center; min-height: 41px; gap: 8px; color: #465f6d; font-size: 13px; font-weight: 700; cursor: pointer; }
.home-store-search__sale input { width: 17px; height: 17px; margin: 0; accent-color: #df548c; }
.home-store-search__sale small { display: block; color: #83939a; font-size: 10px; font-weight: 500; }
@media (max-width: 1050px) {
    .home-store-search__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-store-search--marketplace .home-store-search__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home-store-search { margin: 7px 0 18px; padding: 13px; border-radius: 15px; }
    .home-store-search__heading { margin-bottom: 8px; }
    .home-store-search__hint { display: none; }
    .home-store-search__scope { font-size: 14px; }
    .home-store-search__main { gap: 7px; }
    .home-store-search__input-wrap { height: 44px; padding: 0 10px; }
    .home-store-search__input-wrap input { font-size: 14px; }
    .home-store-search__submit { min-width: 84px; padding: 0 12px; font-size: 13px; }
    .home-store-search__submit-scope { display: none; }
    .home-store-search__filters { margin-top: 10px; }
    .home-store-search__fields, .home-store-search--marketplace .home-store-search__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
    .home-store-search__fields, .home-store-search--marketplace .home-store-search__fields { grid-template-columns: 1fr; }
    .home-store-search__submit { min-width: 72px; padding: 0 9px; }
}
