.auction-header .megamenu-wrap {
    position: absolute;
    inset-inline: 0;
    z-index: 1020;
}

.auction-header .auction-search-card {
    display: none;
}

.auction-header .auction-search-result-box:not(:empty) {
    display: block;
}

.auction-header .auction-search-form.is-searching .sh-search__submit {
    pointer-events: none;
}

.auction-header .auction-search-form.is-searching .sh-search__submit i {
    display: none;
}

.auction-header .auction-search-form.is-searching .sh-search__submit::after {
    content: "";
    inline-size: 16px;
    block-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-block-start-color: #ffffff;
    border-radius: 50%;
    animation: auction-search-spin 0.6s linear infinite;
}

.auction-header .auction-search-result-item {
    font-size: 14px;
}

.auction-header .auction-search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 16px;
    text-align: center;
}

.auction-header .auction-search-empty__icon {
    display: grid;
    place-items: center;
    inline-size: 52px;
    block-size: 52px;
    margin-block-end: 8px;
    border-radius: 50%;
    background-color: rgba(var(--sh-primary-rgb, 20, 85, 172), 0.08);
    color: var(--sh-primary, #1455ac);
    font-size: 20px;
    line-height: 1;
}

.auction-header .auction-search-empty__icon i {
    display: block;
    line-height: 1;
}

.auction-header .auction-search-empty__title {
    margin: 0;
    color: var(--sh-ink, #14181f);
    font-size: 14px;
    font-weight: 600;
}

.auction-header .auction-search-empty__hint {
    margin: 0;
    color: var(--sh-muted, #7a8699);
    font-size: 13px;
}

.auction-header .sh-catalog.select-category-button {
    inline-size: auto;
    font-size: 15px;
}

.auction-header .back-to-ecommerce {
    block-size: 40px;
    border-radius: 8px;
}

@media (max-width: 1199.98px) {
    .auction-header .sh-search.search-form-mobile {
        position: fixed;
        inset-block-start: 0;
        inset-inline: 0;
        z-index: 99999;
        display: block !important;
        max-inline-size: none;
        padding: 12px 16px;
        background-color: #ffffff;
        box-shadow: 0 8px 24px rgba(16, 20, 28, 0.12);
        transition: transform 0.3s ease;
    }

    .auction-header .sh-search.search-form-mobile:not(.active) {
        transform: translateY(-120%);
    }

    .auction-header .search-form-mobile .sh-search__control {
        gap: 8px;
        border: 0;
        background-color: transparent;
    }

    .auction-header .search-form-mobile .sh-search__field {
        border: 1px solid var(--sh-line, #eff1f4);
        border-radius: 8px;
        background-color: var(--sh-tint, #f9fafc);
    }

    .auction-header .search-form-mobile .sh-search__submit {
        inline-size: 44px;
        border-radius: 8px;
    }

    .auction-header:has(.search-form-mobile.active) {
        z-index: 1096;
    }

    .auction-header .search-form-mobile .sh-search__control,
    .auction-header .search-form-mobile .sh-search__control:focus-within {
        align-items: center;
        box-shadow: none;
        overflow: visible;
    }

    .auction-header .search-form-mobile .sh-search__field:focus {
        border-color: var(--sh-primary);
    }

    .auction-header .search-form-mobile .sh-search__panel {
        inset-block-start: 100%;
        inset-inline: 0;
        max-block-size: min(60vh, 400px);
        padding: 4px 16px 8px;
        border: 0;
        border-block-start: 1px solid var(--sh-line, #eff1f4);
        border-radius: 0 0 14px 14px;
        box-shadow: 0 16px 28px rgba(16, 20, 28, 0.12);
    }
}
