.home-search-panel {
    position: relative;
    z-index: 2;
    margin-top: 4px;
    padding: 24px;
    border: 1px solid rgba(23, 23, 23, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 50px rgba(23, 23, 23, .09);
}

.home-search-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-search-heading .eyebrow {
    margin-bottom: 4px;
}

.home-search-heading h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.03em;
}

.home-search-hint {
    padding-bottom: 2px;
    color: var(--muted);
    font-size: 13px;
}

.home-search-fields {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 12px;
}

.home-search-field {
    min-width: 0;
}

.home-search-field label {
    display: block;
    margin-bottom: 7px;
    color: #454545;
    font-size: 12px;
    font-weight: 700;
}

.home-search-field .form-control,
.home-search-field .form-select {
    min-height: 48px;
    border-color: #e5e7eb;
    border-radius: 7px;
    background-color: #fafafa;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.home-search-field .form-control:focus,
.home-search-field .form-select:focus {
    border-color: #d5a900;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(242, 192, 0, .16);
}

.home-search-field .form-control::placeholder {
    color: #9ca3af;
}

.home-search-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    background: var(--gold);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.home-search-submit:hover {
    transform: translateY(-1px);
    background: #dfb000;
    box-shadow: 0 7px 18px rgba(198, 157, 0, .24);
}

.home-search-submit span:last-child {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 1199px) {
    .home-search-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-search-submit {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .home-search-panel {
        padding: 18px 15px;
        border-radius: 11px;
    }

    .home-search-heading {
        align-items: start;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 15px;
    }

    .home-search-heading h2 {
        font-size: 18px;
    }

    .home-search-hint {
        font-size: 12px;
    }

    .home-search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .home-search-submit {
        grid-column: 1 / -1;
    }
}
