
/* YANKEE MOTORS — REAL MOBILE FILTER DESIGN */

.mobile-filter-stack .real-filter-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 77px;
  padding: 13px 18px;
  box-sizing: border-box;
  background: #ffffff;
  border-bottom: 1px solid #e1e7ed;
}

.mobile-filter-stack .real-filter-field label {
  display: block;
  margin: 0 0 6px;
  color: #768aa2;
  font: 700 11px "Inter", sans-serif;
  letter-spacing: 0.065em;
}

.mobile-filter-stack .real-filter-field select,
.mobile-filter-stack .real-filter-field input {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0 32px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #102f4c;
  font: 750 15px "Manrope", sans-serif;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
}

.mobile-filter-stack .real-filter-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Custom blue dropdown indicator */

.mobile-filter-stack .real-filter-field:has(select)::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-25%);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #edf5ff;
  color: #1169c8;
  font-size: 18px;
  pointer-events: none;
}

/* Visual feedback for keyboard focus */

.mobile-filter-stack .real-filter-field:focus-within {
  background: #f7fbff;
  outline: 1px solid #aacdf5;
  outline-offset: -1px;
}

/* Disabled model field before make selection */

.mobile-filter-stack .real-filter-field select:disabled {
  color: #8492a0;
  cursor: not-allowed;
}

/* Distance and ZIP remain side by side */

.mobile-filter-stack .real-filter-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 0;
}

.mobile-filter-stack .real-filter-pair .real-filter-field {
  min-height: 78px;
  border-bottom: none;
}

.mobile-filter-stack .real-filter-pair .real-filter-field:first-child {
  border-right: 1px solid #e1e7ed;
}

/* ZIP input */

.mobile-filter-stack .zip-field input {
  padding-right: 0;
}

.mobile-filter-stack .zip-field input::placeholder {
  color: #102f4c;
  opacity: 1;
}

/* Existing search button styling remains intact */

.mobile-filter-stack .show-matches {
  width: 100%;
  cursor: pointer;
}

@media (max-width: 600px) {
  .mobile-filter-stack .real-filter-field {
    padding: 13px 17px;
  }

  .mobile-filter-stack .real-filter-field select,
  .mobile-filter-stack .real-filter-field input {
    font-size: 14px;
  }
}
