.search-box {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.search-box__inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .14);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.search-box__inner:focus-within {
    box-shadow: 0 4px 32px rgba(0, 117, 39, .22), 0 0 0 3px rgba(0, 117, 39, .3);
}

.search-box__input:focus,
.search-box__input:focus-visible {
    outline: none;
}

.search-box__icon {
    display: flex;
    align-items: center;
    padding: 0 0 0 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: color 0.2s;
}

.search-box__icon svg {
    display: block;
}

.search-box__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    color: var(--color-dark);
    padding: 1rem 0.75rem;
    font-family: inherit;
    min-width: 0;
}

.search-box__input::placeholder {
    color: #767676;
}

.search-box__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    margin: 4px 4px 4px 0;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.search-box__btn:hover {
    background: #005c1f;
    transform: scale(1.05);
}

.search-box__btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.search-box__btn.is-no-results {
    background: #aaa;
    cursor: not-allowed;
    transform: none;
}

.search-box__btn.is-no-results:hover {
    background: #999;
    transform: none;
}

.search-box__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
    overflow: hidden;
    z-index: 500;
    max-height: 360px;
    overflow-y: auto;
}

.search-box__dropdown.is-open {
    display: block;
}

.search-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
}

.search-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    transition: background 0.12s;
}

.search-dropdown__item:hover,
.search-dropdown__item.is-active {
    background: #f3faf5;
}

.search-dropdown__thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-dropdown__thumb--placeholder {
    background: #e8e8e8;
    display: inline-block;
}

.search-dropdown__label {
    font-size: 0.95rem;
    color: var(--color-dark);
    font-weight: 500;
}

.search-dropdown__label mark {
    background: transparent;
    color: var(--color-primary);
    font-weight: 700;
}

.search-dropdown__empty {
    padding: 1.25rem 1.5rem;
}

.search-dropdown__empty-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.search-dropdown__empty-mascot {
    width: 90px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.search-dropdown__empty-text {
    flex: 1;
    min-width: 0;
}

.search-dropdown__empty-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 0.3rem;
    line-height: 1.4;
}

.search-dropdown__empty-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.search-dropdown__empty-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border: 1.5px solid var(--color-primary);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.search-dropdown__empty-link:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .search-box__input {
        font-size: 1rem;
        padding: 0.85rem 0.5rem;
    }

    .search-box__btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }
}
