.store-header__search {
    display: grid;
    width: min(100%, 300px);
    min-width: 0;
    height: 44px;
    grid-template-columns: minmax(0, 1fr) 44px;
    justify-self: start;
    overflow: hidden;
    border: 1px solid var(--betel-border-strong);
    border-radius: 5px;
    background: var(--betel-surface);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.store-header__search:focus-within {
    border-color: var(--betel-accent);
    box-shadow: 0 0 0 3px var(--betel-focus);
}

.store-header__search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 0;
    padding: 0 4px 0 12px;
    background: transparent;
    color: var(--betel-text);
    font: inherit;
    font-size: 0.88rem;
    outline: 0;
}

.store-header__search input::placeholder {
    color: var(--betel-text-subtle);
    opacity: 1;
}

.store-header__search input::-webkit-search-cancel-button {
    cursor: pointer;
}

.store-header__search button {
    display: grid;
    width: 44px;
    height: 42px;
    border: 0;
    padding: 0;
    place-items: center;
    background: transparent;
    color: var(--betel-brand);
    cursor: pointer;
    transition:
        color 160ms ease,
        background-color 160ms ease;
}

.store-header__search button:focus-visible {
    outline: 2px solid var(--betel-accent);
    outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
    .store-header__search button:hover {
        background: var(--betel-accent-soft);
        color: var(--betel-accent-hover);
    }
}

@media (max-width: 900px) {
    .store-header__search {
        width: min(100%, 230px);
    }
}

@media (max-width: 620px) {
    .store-header__search {
        height: 40px;
        grid-template-columns: minmax(0, 1fr) 40px;
    }

    .store-header__search input,
    .store-header__search button {
        height: 38px;
    }

    .store-header__search button {
        width: 40px;
    }

    .store-header__search input {
        padding-left: 9px;
        font-size: 0.8rem;
    }
}

.catalog-empty .catalog-empty__suggestion {
    margin-top: 16px;
    color: var(--betel-brand);
    font-size: 0.9rem;
    font-weight: 500;
}

.catalog-empty__suggestion a {
    color: var(--betel-accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.catalog-empty__suggestion a:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--betel-accent);
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-empty__suggestion a:hover {
        color: var(--betel-accent-hover);
    }
}
