/* ─── BAC Search Bar — Pixel Perfect Match ───────────────────────────────── */

.bac-sb-wrap {
    width: 100%;
    padding: 10px 12px;
    background: #2a2a2a;
    border-radius: 50px;
    border: 1px solid #3a3a3a;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.bac-sb-bar {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

/* ── Location field ─────────────────────────────────────────────────────── */
.bac-sb-location {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #3d3d3d;
    border-radius: 30px;
    padding: 14px 18px;
    min-width: 0;
    height: 52px;
}

.bac-sb-pin {
    font-size: 16px;
    flex-shrink: 0;
    filter: sepia(1) saturate(3) hue-rotate(5deg);
}

.bac-sb-input {
     background: none;
    border: none;
    outline: none;
    color: #ccc;
    font-size: 14px;
    font-family: inherit;
    flex: 1;
    min-width: 0;
}
.bac-sb-wrap {
    background: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
}
.bac-sb-input {
    color: #ffffff !important;
    background: transparent !important;
}
.bac-sb-location {
    background: #3a3a3a !important;
}

.bac-sb-geo {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: .8;
    transition: opacity .2s;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    filter: sepia(1) saturate(3) hue-rotate(5deg);
}
.bac-sb-geo:hover { opacity: 1; }

/* ── Select fields ──────────────────────────────────────────────────────── */
.bac-sb-select-wrap { flex-shrink: 0; }

.bac-sb-select {
    background: #3d3d3d;
    border: none;
    outline: none;
    color: #ccc;
    font-size: 14px;
    font-family: inherit;
    padding: 0 36px 0 18px;
    border-radius: 30px;
    cursor: pointer;
    appearance: none;
    height: 52px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a84c'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #3d3d3d;
    min-width: 130px;
}
.bac-sb-select option { background: #2a2a2a; color: #fff; }

/* ── Search button ──────────────────────────────────────────────────────── */
.bac-sb-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #c9a84c;
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 0 28px;
    height: 52px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
    letter-spacing: .3px;
}
.bac-sb-btn:hover {
    background: #e8c96a;
    transform: scale(1.02);
}
.bac-sb-btn svg { flex-shrink: 0; }

/* ── Autocomplete ───────────────────────────────────────────────────────── */
.pac-container {
    border-radius: 12px !important;
    border: 1px solid #3a3a3a !important;
    background: #2a2a2a !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.5) !important;
    margin-top: 6px !important;
    font-family: inherit !important;
}
.pac-item {
    color: #ccc !important;
    border-top: 1px solid #3a3a3a !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    background: #2a2a2a !important;
}
.pac-item:hover { background: #333 !important; }
.pac-item-query { color: #c9a84c !important; }
.pac-icon { display: none !important; }

/* ── Remove default sep ─────────────────────────────────────────────────── */
.bac-sb-sep { display: none; }

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .bac-sb-wrap { border-radius: 16px; padding: 12px; }
    .bac-sb-bar { flex-direction: column; align-items: stretch; gap: 8px; }
    .bac-sb-select { width: 100%; }
    .bac-sb-btn { width: 100%; justify-content: center; }
}