
.sorting-filters label {
	margin:0px !important;
}
/* ---------- typeahead (existing, kept) ---------- */
.twitter-typeahead { width:100%; }
.tt-menu{
  width:auto;
  margin-top:5px;
  background:#FFF;
  padding:6px 1px;
  font-size:14px;
  color:#666;
  box-shadow:0 1px 2px rgba(0,0,0,.075) inset;
  border:1px solid #666;
  cursor:pointer;
}
.tt-suggestion{ padding:5px; text-align:left; width:auto; margin:0; }
.tt-suggestion:hover{ background:#E8E8E8; }

/* ---------- Floating Action Button (hidden by default; mobile-only below) ---------- */
.filter-fab{
  position: fixed;
  right: 16px;
  bottom: 88px;                 /* lift above footer */
  z-index: 10020;
  display: none;                 /* desktop/tablet hidden */
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 9999px;
  background: #FF3D00;          /* Airbik orange */
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
  cursor: pointer;
  user-select: none;
}
.filter-fab .fab-icon{ line-height:1; font-size:18px; }
.filter-fab .fab-label{ line-height:1; font-size:14px; }

@media (max-width: 375px){
  .filter-fab{ padding:12px; gap:0; }
  .filter-fab .fab-label{ display:none; }
}

/* Show the FAB only on mobile */
@media (max-width: 768px) {
  .filter-fab { display: inline-flex; }
}

/* ---------- Backdrop ---------- */
#filters-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 10010;
  display: none;                 /* toggled with .show */
}
#filters-backdrop.show{ display: block; }

/* ---------- Bottom Sheet (NO transforms) ---------- */
#filters-sheet{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-height: 85vh;
  min-height: 40vh;
  background: #fff;
  z-index: 10030;
  display: none;                 /* toggled by .open */
  flex-direction: column;
  overflow: hidden;              /* clip to rounded corners */
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -8px 28px rgba(0,0,0,.15);
}

/* 1-px red top border that follows the rounded corners */
#filters-sheet::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:16px;                   /* carrier for radius */
  border-top:1px solid #ff3d00;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events:none;
  z-index:2;
}

#filters-sheet.open{ display: flex; }

.filters-sheet__header{
  position: sticky; top:0;
  background:#fff;
  padding:0px;
  border-bottom:1px solid #eee;
}
.filters-sheet__grabber{
  width:44px; height:5px;
  border-radius:9999px;
  background:#E0E0E0;
  margin:6px auto 10px;
}
.filters-sheet__title{
  margin:0 0 6px 0;
  font-size:16px; font-weight:600; color:#111;
  text-align:center;
}

.filters-sheet__body{
  position: relative;            /* positioning context for menus */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding:12px 16px 20px;
}

/* each row provides a positioning context for absolute menus */
.filters-sheet__body .form-group,
.filters-sheet__body .dropdown,
.filters-sheet__body .dropup,
.filters-sheet__body .btn-group,
.filters-sheet__body .select-wrapper {
  position: relative;
}

/* Footer row inside the bottom sheet */
.filters-sheet__footer{
  position: sticky;          /* stays visible while filters scroll */
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;   /* left + right ends */
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  z-index: 2147482002;
  /* iOS safe area support */
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* Ensure buttons render inline-flex and don’t collapse */
.filters-sheet__footer .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

/* If something overrides layout, force it on mobile */
@media (max-width: 768px){
  #filters-modal .filters-sheet__footer{
    display: flex !important;
    justify-content: space-between !important;
  }
}

/* Menus/dropdowns inside the sheet sit ABOVE content and anchor to their field */
#filters-sheet .dropdown-menu,
#filters-sheet .tt-menu,
#filters-sheet .autocomplete-menu,
#filters-sheet .select2-dropdown{
  position: absolute;            /* not fixed */
  z-index: 10040;
  top: 100% !important;
  left: 0 !important;
  min-width: 100%;
}

/* Prevent body scroll while open (iOS friendly) */
body.filters-open{ overflow: hidden; }


/* --- Radio groups --- */
.rb-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin: 0px;
  padding:5px;
}
.rb-legend {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #111;
}

.rb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.rb-item input[type="radio"] {
  appearance: none;
  width: 14px; height: 14px;
  border: 2px solid #9ca3af;  /* gray-400 */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  outline: none;
  margin:0px !important
}
.rb-item input[type="radio"]:checked {
  border-color: #ff3d00;       /* Airbik orange */
}
.rb-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  transform: translate(-50%, -50%);
  background: #ff3d00;
  border-radius: 50%;
}

.rb-item:hover { border-color: #cbd5e1; }
.rb-item:has(input[type="radio"]:checked) {
  border-color: #ff3d00;
}

/* Compact in sheet */
.rb-group--sheet .rb-item { padding: 9px 10px; }

.rb-item-text{
	margin-left:4px;
	margin-bottom:4px;
}

/* Mobile: inline filters hidden, bottom-sheet shows (you already have these patterns) */
@media (max-width: 768px){
  #searchFilterMain { display: none !important; }
}



.listing-link { display:block; }
.overlay-container img { display:block; width:100%; height:auto; }

/* kill hover-only effects on touch so there’s no “first tap = hover” */
@media (hover:none) {
  .overlay-container .overlay { pointer-events:none; } /* decorative only on mobile */
}


html[data-app="AirbikApp"] .hideinapp,
html.inApp .hideinapp {
	display: none !important;
}

html[data-app="AirbikApp"] .showinapp,
html.inApp .showinapp {
   display: flex !important;
}


.searchForm > .form-group {
    margin-bottom: 0px;
}


/* ---------- Search results: modern cards ---------- */
.sr-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:10px;
}

.sr-card{
  display:flex;
  align-items:stretch;
  gap:12px;
  padding:12px;
  border:1px solid #e8e8e8;
  border-radius:14px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .06s ease, box-shadow .06s ease, border-color .06s ease;
}
.sr-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-color:#dcdcdc;
}
.sr-thumb{ flex: 0 0 220px; }
.sr-thumb-inner{ border-radius:12px; overflow:hidden; }
.sr-thumb-img{
  width:100%;
  height:140px;
  object-fit:cover;
  display:block;
}

.sr-body{ flex: 1 1 auto; min-width:0; padding-top:2px; }
.sr-title{
  font-weight:700;
  font-size:16px;
  line-height:1.25;
  margin:0 0 6px 0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sr-sub{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:8px;
}
.sr-price{ font-weight:700; }
.sr-muted{ color:#666; }
.sr-dot{ color:#ff3d00; }
.sr-badge{
  display:inline-block;
  padding:2px 8px;
  border:1px solid #ff3d00;
  border-radius:999px;
  font-size:12px;
  color:#000;
  background:#fafafa;
}
.sr-ratings{
  display:flex;
  align-items:center;
  gap:12px;
  color:#444;
  font-size:13px;
}
.sr-rating i{ margin-right:4px; }
.sr-owner{
  color:#666;
  max-width:40%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sr-cta{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  color:#999;
  font-size:22px;
  padding-left:6px;
}

/* Mobile: keep side-by-side, but tighten everything */
@media (max-width: 768px){
  .sr-card{ padding:10px; gap:10px; border-radius:12px; }
  .sr-thumb{ flex-basis:120px; }
  .sr-thumb-img{ height:92px; }
  .sr-title{ font-size:15px; }
  .sr-owner{ display:none; } /* optional: reduce clutter on small screens */
}

/* ---------- Quick View drawer ---------- */
.sr-detail-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.45);
  z-index: 10050;
}

.sr-detail-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width: min(560px, 92vw);
  background:#fff;
  z-index: 10060;
  transform: translateX(100%);
  transition: transform .18s ease;
  box-shadow: -12px 0 28px rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
}

.sr-detail-drawer.open{ transform: translateX(0); }

.sr-detail-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0px 12px;
  border-bottom:1px solid #eee;
}

.sr-detail-title{
  font-weight:700;
  color:#333;
}

.sr-detail-close{
  border:0;
  background:transparent;
  font-size:20px;
  padding:6px 10px;
  border-radius:10px;
}

.sr-detail-opennew{
  margin-left:auto;
  font-size:13px;
  text-decoration:none;
}

.sr-detail-framewrap{ flex:1 1 auto; }
#srDetailFrame{
  width:100%;
  height:100%;
  border:0;
}

/* Make the drawer full screen on small phones */
@media (max-width: 768px){
  .sr-detail-drawer{ width:100vw; }
}

/* prevent background scroll while drawer is open */
body.sr-detail-open{ overflow:hidden; }


/* ---------- Hover behavior: keep card lift only (no "link red/underline") ---------- */
/* Many themes have global a:hover styles. Force neutral colors for sr-card only. */
a.sr-card,
a.sr-card:visited,
a.sr-card:hover,
a.sr-card:focus{
  color: #111 !important;
  text-decoration: none !important;
}

a.sr-card:hover .sr-title,
a.sr-card:hover .sr-price{
  color: #111 !important;
  text-decoration: none !important;
}

a.sr-card:hover .sr-muted{ color:#666 !important; }
a.sr-card:hover .sr-badge{ color:#555 !important; }
a.sr-card:hover .sr-cta{ color:#999 !important; }

/* ===========================
   Search Results: Next/Prev only
   (prevents global link hover styles from turning text red)
   =========================== */
a.sr-nav-btn,
a.sr-nav-btn:visited{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  color: #222 !important;
  text-decoration: none !important;
  transition: transform .08s ease, box-shadow .08s ease, border-color .08s ease;
}

a.sr-nav-btn:hover,
a.sr-nav-btn:focus{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.18);
  color: #222 !important;
  text-decoration: none !important;
}

a.sr-nav-btn:active{
  transform: translateY(0px);
  box-shadow: 0 4px 10px rgba(0,0,0,.10);
}

a.sr-nav-btn:focus-visible{
  outline: 2px solid rgba(13,110,253,.35);
  outline-offset: 2px;
}

a.sr-nav-btn i{
  font-size: 14px;
  opacity: .85;
}

/* Keep icons/text from inheriting global a:hover red color */
a.sr-nav-btn:hover *{
  color: inherit !important;
}



/* ---------- Search results pager (Prev / Next) ---------- */
.sr-pagerbar{
  display:flex;
  justify-content:flex-end;
  margin: 10px 0 14px;
}

.sr-pagerbar--bottom{
  justify-content:center;
  margin: 16px 0 6px;
}

.sr-pager{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px;
  border-radius:9999px;
  background:#fff;
  border:1px solid #eee;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.sr-page-btn{
  appearance:none;
  border:1px solid #e5e7eb;
  background:#fafafa;
  color:#111;
  border-radius:9999px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  user-select:none;
  transition: transform .08s ease, box-shadow .08s ease, background .08s ease, border-color .08s ease;
}

.sr-page-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  background:#f5f5f5;
  border-color:#dcdcdc;
}

.sr-page-btn:active{
  transform: translateY(0);
  box-shadow:none;
}

.sr-page-btn i{ font-size: 14px; }

.sr-page-btn.is-disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none !important;
  transform:none !important;
}

.sr-page-indicator{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
}

.sr-page-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 12px;
  border-radius:9999px;
  background:#111;
  color:#fff;
  font-size:12px;
  letter-spacing:.2px;
}

/* Mobile: pager becomes full-width and easy to tap */
@media (max-width: 768px){
  .sr-pagerbar{ justify-content:stretch; }
  .sr-pager{
    width:100%;
    justify-content:space-between;
    border-radius:16px;
  }
  .sr-page-btn{
    padding:12px 12px;
    flex: 1 1 0;
  }
  .sr-page-indicator{ padding: 0 6px; }
}

/* --- FIX: prevent off-canvas drawer shadow from showing as a right-edge "gradient" when closed --- */
.sr-detail-drawer{
  box-shadow: none !important; /* shadow only when open */
  transform: translateX(calc(100% + 40px)) !important; /* push a bit farther out so nothing peeks */
}
.sr-detail-drawer.open{
  transform: translateX(0) !important;
  box-shadow: -12px 0 28px rgba(0,0,0,.18) !important;
}