:root {
    --gold: #C9A96E;
}

/* Search Bar Widget */
.sb-wrap {
    background: transparent;
    max-width: 900px;
    margin: 0 auto;
}

.sb-tabs {
    display: flex;
    gap: 0;
    align-items: flex-end;
}

.sb-tab {
    padding: 10px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    border-bottom: 3px solid transparent;
    margin-right: 3px;
    transition: all 0.18s;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.sb-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.sb-tab.active {
    background: #fff;
    color: #1a1a1a;
    border-bottom-color: var(--gold);
    font-weight: 600;
}

.sb-row {
    background: #fff;
    border-radius: 0 4px 4px 4px;
    display: flex;
    align-items: stretch;
    height: 58px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.sb-divider {
    width: 1px;
    background: #e8e8e8;
    align-self: stretch;
    flex-shrink: 0;
}

.sb-city {
    flex: 1.6;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 10px;
    cursor: text;
}

.sb-city svg {
    width: 18px;
    height: 18px;
    color: #999;
    flex-shrink: 0;
}

.sb-city-input {
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: transparent;
    width: 100%;
}

.sb-city-input::placeholder {
    color: #aaa;
}

.sb-type {
    flex: 1.2;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    position: relative;
}

.sb-type-select {
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    color: #1a1a1a;
    background: transparent;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 22px;
}

.sb-type::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #999;
    pointer-events: none;
}

.sb-btn {
    flex-shrink: 0;
    width: 130px;
    background: var(--gold);
    border: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s;
}

.sb-btn:hover {
    background: #b8932e;
}

.sb-btn svg {
    width: 17px;
    height: 17px;
}

.sb-quick {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.5);
}

.sb-quick-link {
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: color 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.sb-quick-link:hover {
    color: #fff;
    text-decoration: underline;
}

.sb-quick-sep {
    color: rgba(255, 255, 255, 0.3);
}

.sb-quick-link.owner-link {
    color: var(--gold);
    font-weight: 500;
}

.sb-quick-link.owner-link:hover {
    color: #e0c070;
}

@media (max-width: 640px) {
    .sb-tabs {
        flex-wrap: wrap;
        gap: 3px;
    }

    .sb-tab {
        padding: 8px 14px;
        font-size: 0.76rem;
    }

    .sb-row {
        flex-wrap: wrap;
        height: auto;
    }

    .sb-city,
    .sb-type {
        flex: 1 1 100%;
        height: 50px;
        border-bottom: 1px solid #eee;
    }

    .sb-divider {
        display: none;
    }

    .sb-btn {
        flex: 1 1 100%;
        height: 48px;
        width: 100%;
        border-radius: 0;
    }

    .sb-tab.active {
        border-radius: 4px 4px 0 0;
    }
}

@media (max-width: 480px) {
    .sb-tab {
        font-size: 0.72rem !important;
        padding: 7px 10px !important;
    }
}