/* ── Search bar ───────────────────────────────────────────────────────────── */
.st-search-bar-outer { display: flex; justify-content: center; padding: 30px 10px; z-index: 99; }
.st-search-bar-main { display: flex; align-items: center; background: #fff; border-radius: 100px; padding: 8px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05); width: 100%; max-width: 900px; border: 1px solid #ddd; position: relative; box-sizing: border-box; }
.st-field-wrapper { display: flex; align-items: center; flex: 1; position: relative; padding: 10px 25px; transition: all .2s ease-in-out; box-sizing: border-box; }
.st-field-wrapper.has-divider::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 25px; background: #ddd; }
.st-field-wrapper:focus-within { background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.1); border-radius: 50px; z-index: 10; }
.st-field-wrapper:focus-within::after, .st-field-wrapper:focus-within + .has-divider::after { display: none; }
.st-field-icon { margin-right: 12px; color: #5e6d77; display: flex; align-items: center; flex-shrink: 0; }
.st-field-info { display: flex; flex-direction: column; }
.st-field-info label { font-size: 15px; font-weight: 700; color: #1a2b48; margin: 0; line-height: 1.2; }
.st-field-info select, .st-field-info input { border: none !important; padding: 0 !important; font-size: 14px; color: #5e6d77; background: transparent !important; outline: none !important; box-shadow: none !important; width: 100%; }
.st-button-section { padding-left: 10px; }
#mtc-search { background: #25abe2; color: #fff; border: none; padding: 14px 40px; border-radius: 100px; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .3s; }
#mtc-search:hover { filter: brightness(1.09); }
.pd { padding-left: 13px; }

/* ── Top filter bar ───────────────────────────────────────────────────────── */
.top-filter { padding: 0 10px 20px; }
.top-filter ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.price-range-wrap { padding: 10px 0; }
.min-max-value { display: flex; justify-content: space-between; font-size: 13px; margin-top: 8px; }
.price-action { display: flex; justify-content: space-between; margin-top: 10px; }
.clear-price { font-size: 13px; color: #999; cursor: pointer; }

/* ── Filter loader ────────────────────────────────────────────────────────── */
#mtc-loader-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.75); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .st-search-bar-main { display: grid; grid-template-columns: 1fr 1fr; border-radius: 25px; padding: 0; overflow: hidden; }
    .st-field-wrapper:nth-of-type(1) { grid-column: span 2; border-bottom: 1px solid #eee; padding: 20px; }
    .st-field-wrapper:nth-of-type(2), .st-field-wrapper:nth-of-type(3) { grid-column: span 1; padding: 15px 20px; }
    .st-field-wrapper:nth-of-type(2) { border-right: 1px solid #eee; }
    .st-button-section { grid-column: span 2; padding: 0; margin: 0; }
    #mtc-search { width: 100%; border-radius: 0; padding: 18px; font-size: 18px; }
    .st-field-wrapper.has-divider::after { display: none; }
    .st-field-wrapper:focus-within { box-shadow: none; border-radius: 0; }
}
