/* ─── Search Bar ─────────────────────────────────────────────────────────────── */
.hs-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: visible;
    position: relative;
    font-family: 'DM Sans', sans-serif;
}

/* ─── Fields ─────────────────────────────────────────────────────────────────── */
.hs-field {
    flex: 1;
    position: relative;
}

.hs-divider {
    width: 1px;
    height: 32px;
    background: #e2e2e2;
    flex-shrink: 0;
}

/* ─── Trigger buttons ────────────────────────────────────────────────────────── */
.hs-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    font-family: inherit;
    text-align: left;
    transition: color 0.15s;
    white-space: nowrap;
    height: 3.5rem;
}

.hs-trigger:hover,
.hs-trigger.has-value {
    color: #111;
}

/* ─── Search submit ──────────────────────────────────────────────────────────── */
.hs-submit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    margin: 5px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, gap 0.2s;
    flex-shrink: 0;
}

.hs-submit:hover {
    background: #333;
    gap: 14px;
}

/* ─── Dropdowns ──────────────────────────────────────────────────────────────── */
.hs-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 16px;
    z-index: 100;
    animation: hs-dropdown-in 0.15s ease;
}

.hs-dropdown--wide {
    min-width: 300px;
}

@keyframes hs-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hs-dropdown__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    margin: 0 0 10px;
}

/* ─── Event Type list ────────────────────────────────────────────────────────── */
.hs-type-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hs-type-option {
    padding: 8px 10px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
}

.hs-type-option:hover {
    background: #f5f5f5;
}

.hs-type-option.is-selected {
    background: transparent;
    color: #fff;
}

/* ─── Location ───────────────────────────────────────────────────────────────── */
.hs-location-input {
    background: white;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    margin-bottom: 8px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.hs-location-input:focus {
    border-color: #e1e1e1;
}

.hs-location-list {
    max-height: 220px;
    overflow-y: auto;
}

.hs-location-option {
    display: block;
    width: 100%;
    padding: 8px 10px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13.5px;
    font-family: inherit;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.1s;
}

.hs-location-option:hover {
    background: #f5f5f5;
}

.hs-location-option.is-selected {
    background: #f0f0f0;
    font-weight: 500;
}

.hs-location-option--clear {
    color: #aaa;
    font-size: 12px;
}

.hs-location-empty {
    font-size: 13px;
    color: #aaa;
    padding: 8px 10px;
    margin: 0;
}

/* ─── Guest capacity input ───────────────────────────────────────────────────── */
.hs-guest-input {
    width: 100%;
    background: transparent !important;
    padding: 10px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 8px;
    transition: border-color 0.15s;
}

.hs-guest-input:focus {
    border-color: #e1e1e1;;
}

/* ─── Clear button ───────────────────────────────────────────────────────────── */
.hs-clear {
    width: 100%;
    padding: 7px;
    background: none;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: #888;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.15s;
}

.hs-clear:hover {
    border-color: #111;
    color: #111;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
    .hs-bar {
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;
    }

    .hs-divider {
        width: 100%;
        height: 1px;
    }

    .hs-field {
        width: 100%;
    }

    .hs-trigger {
        padding: 16px 20px;
        height: 3rem;
    }

    .hs-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #f0f0f0;
        border-radius: 0;
        animation: none;
    }

    .hs-submit {
        width: calc(100% - 10px);
        justify-content: center;
        margin: 5px;
        padding: .875rem;
    }
}
