/* EVI.AZ LISTINGS PAGE CSS
   Loaded in <head> before listings markup to prevent mobile restyle flash. */

/* =========================================================
   LISTINGS MOBILE CATEGORY DRAWER — PRO / CONFLICT SAFE
========================================================= */
#listingCatDrawer.listing-cat-drawer{
  position:fixed !important;
  inset:0 !important;
  z-index:100120 !important;
  width:100% !important;
  height:100dvh !important;
  display:flex !important;
  flex-direction:column !important;
  background:#f7f9fa !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateX(100%) !important;
  transition:transform .24s cubic-bezier(.22,.78,.3,1),visibility .24s ease !important;
}

#listingCatDrawer.listing-cat-drawer.active{
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateX(0) !important;
}

body.listing-cat-drawer-open{
  overflow:hidden !important;
}

#listingCatDrawer .listing-cat-drawer-header{
  position:sticky !important;
  top:0 !important;
  z-index:10 !important;
  min-height:68px !important;
  padding:max(10px,env(safe-area-inset-top)) 12px 9px !important;
  display:grid !important;
  grid-template-columns:42px minmax(0,1fr) 42px !important;
  align-items:center !important;
  border-bottom:1px solid #e8edef !important;
  background:rgba(255,255,255,.97) !important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

#listingCatDrawer .listing-cat-drawer-header-left,
#listingCatDrawer .listing-cat-drawer-header-right{
  display:flex !important;
  align-items:center !important;
}

#listingCatDrawer .listing-cat-drawer-header-right{
  justify-content:flex-end !important;
}

#listingCatDrawer .listing-cat-drawer-header-center{
  min-width:0 !important;
  padding:0 7px !important;
  text-align:center !important;
}

#listingCatDrawer .listing-cat-drawer-header-center strong{
  display:block !important;
  overflow:hidden !important;
  color:#20272d !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:950 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

#listingCatDrawer .listing-cat-drawer-header-center span{
  display:block !important;
  margin-top:2px !important;
  overflow:hidden !important;
  color:#929ba2 !important;
  font-size:9px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

#listingCatDrawer .listing-cat-icon-btn{
  width:38px !important;
  height:38px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border:0 !important;
  border-radius:12px !important;
  background:#f1f4f5 !important;
  color:#535d65 !important;
  cursor:pointer !important;
}

#listingCatDrawer .listing-cat-back{
  visibility:hidden !important;
}

#listingCatDrawer.has-parent .listing-cat-back{
  visibility:visible !important;
}

#listingCatDrawer .listing-cat-drawer-content{
  min-width:0 !important;
  min-height:0 !important;
  flex:1 1 auto !important;
  padding:9px 9px max(18px,env(safe-area-inset-bottom)) !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:none;
}

#listingCatDrawer .listing-cat-drawer-content::-webkit-scrollbar{
  display:none;
}

#listingCatDrawer .listing-cat-list{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:7px !important;
}

#listingCatDrawer .listing-cat-item{
  width:100% !important;
  min-width:0 !important;
  min-height:66px !important;
  padding:8px 10px !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  border:1px solid #e8edef !important;
  border-radius:15px !important;
  background:#fff !important;
  color:inherit !important;
  text-align:left !important;
  box-shadow:0 3px 12px rgba(22,34,40,.025);
  cursor:pointer !important;
}

#listingCatDrawer .listing-cat-item:active{
  transform:scale(.988) !important;
  border-color:#cfe2de !important;
  background:#f8fcfb !important;
}

#listingCatDrawer .listing-cat-item > img{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  flex:0 0 48px !important;
  padding:0 !important;
  border-radius:13px !important;
  background:#eef2f3 !important;
  object-fit:cover !important;
}

#listingCatDrawer .listing-cat-text{
  width:0 !important;
  min-width:0 !important;
  flex:1 1 auto !important;
  display:block !important;
  overflow:hidden !important;
}

#listingCatDrawer .listing-cat-title{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
  color:#2c3339 !important;
  font-size:12px !important;
  line-height:1.3 !important;
  font-weight:900 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

#listingCatDrawer .listing-cat-sub{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:13px !important;
  margin-top:4px !important;
  overflow:hidden !important;
  color:#959da4 !important;
  font-size:9px !important;
  line-height:13px !important;
  font-weight:650 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

#listingCatDrawer .listing-cat-arrow{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  flex:0 0 24px !important;
  display:grid !important;
  place-items:center !important;
  color:#a7aeb3 !important;
  font-size:9px !important;
}

#listingCatDrawer .listing-cat-state{
  min-height:220px !important;
  padding:30px 18px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  color:#919aa1 !important;
  text-align:center !important;
}

#listingCatDrawer .listing-cat-spinner{
  width:28px !important;
  height:28px !important;
  margin-bottom:10px !important;
  border:3px solid #dce7e5 !important;
  border-top-color:#009e8e !important;
  border-radius:50% !important;
  animation:listingCatSpin .7s linear infinite;
}

@keyframes listingCatSpin{
  to{transform:rotate(360deg)}
}

.category-modern-grid > button.category-modern-card{
  padding:0 !important;
  font:inherit !important;
  text-align:inherit !important;
  cursor:pointer !important;
}

@media(min-width:768px){
  #listingCatDrawer.listing-cat-drawer{
    display:none !important;
  }
}


.mobile-category-control {
  position: relative;
  margin-bottom: 12px;
}

.mobile-category-button {
  width: 100%;
  min-height: 66px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #fff;
  padding: 10px 46px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: border-color .18s ease, background .18s ease;
}

.mobile-category-control.is-selected .mobile-category-button {
  border-color: #99e3d9;
  background: #effcf9;
}

.mobile-category-button-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.mobile-category-copy {
  min-width: 0;
}

.mobile-category-button small {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-bottom: 3px;
}

.mobile-category-button strong {
  display: block;
  max-width: 235px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
}

.mobile-category-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: rgba(0, 158, 142, .11);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-category-icon img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

.mobile-category-arrow {
  color: #94a3b8;
  font-size: 22px;
}

.mobile-category-control.is-selected .mobile-category-arrow {
  display: none;
}

.mobile-category-clear {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0f766e;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-category-clear.d-none {
  display: none !important;
}

.mobile-category-all {
  margin-bottom: 10px;
  border: 1px solid #99e3d9 !important;
  border-radius: 14px !important;
  background: #effcf9 !important;
}

.mobile-category-all .mobile-category-row-content strong {
  color: #047857;
}

.mobile-category-drawer {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: #f8fafc;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}

.mobile-category-drawer.active {
  transform: translateX(0);
}

.mobile-category-header {
  min-height: 66px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 6px;
}

.mobile-category-header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 11px;
  background: #f1f5f9;
}

.mobile-category-header strong {
  display: block;
  font-size: 15px;
}

.mobile-category-header small {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 2px;
}

.mobile-category-list {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}

.mobile-category-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
  min-height: 58px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
}

.mobile-category-row:first-child {
  border-radius: 14px 14px 0 0;
}

.mobile-category-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 14px 14px;
}

.mobile-category-row:only-child {
  border-radius: 14px;
}

.mobile-category-row img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
  background: #f8fafc;
}

.mobile-category-row-content {
  min-width: 0;
  flex: 1;
}

.mobile-category-row-content strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.mobile-category-row-content small {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 2px;
}

.mobile-category-row-arrow {
  color: #94a3b8;
  font-size: 21px;
}

.mobile-dynamic-loading {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  margin-bottom: 10px;
}

#mobileActionCount:not(:empty) {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: #009e8e;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 767.98px) {
  #filterDrawer {
    height: min(100dvh, 760px);
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #filterDrawer .drawer-handle,
  #filterDrawer .filter-header,
  #filterDrawer .mobile-filter-count {
    flex: 0 0 auto;
  }

  #mobileFilterForm {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #mobileFilterForm .mobile-filter-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px 20px;
  }

  #mobileFilterForm .filter-footer {
    position: static;
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .07);
  }
}

/* =========================================================
   MOBILE SEARCH + FILTER — MODERN UI
========================================================= */

.mobile-search-form {
  margin: 0;
}

.mobile-search-box-modern {
  width: 100%;
  min-height: 52px;
  padding: 5px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px 46px;
  align-items: center;
  gap: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(15, 23, 42, .07);
}

.mobile-search-leading {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
}

.mobile-search-box-modern input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 6px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a;
  font-size: 15px;
}

.mobile-search-box-modern input::placeholder {
  color: #94a3b8;
}

.mobile-search-submit,
.mobile-search-filter {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-search-submit {
  background: #edf9f7;
  color: #008f82;
}

.mobile-search-filter {
  width: 46px;
  background: linear-gradient(135deg, #0caf9f, #008a7e);
  color: #fff;
  box-shadow: 0 7px 16px rgba(0, 158, 142, .22);
}

.mobile-search-filter #mobileActionCount:not(:empty) {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.mobile-sort-actions {
  justify-content: flex-end;
}

.mobile-sort-button {
  width: auto !important;
  min-width: 112px;
  min-height: 40px;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #e2e8f0 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #475569 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
  font-size: 12px !important;
  font-weight: 750 !important;
}

/* Filter drawer daha səliqəli və footer həmişə görünən olsun */
#filterDrawer {
  background: #f8fafc;
}

#filterDrawer .filter-header {
  min-height: 58px;
  padding: 8px 14px 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

#filterDrawer .filter-header span {
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
}

#filterDrawer .filter-header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: #f1f5f9;
  color: #475569;
}

#mobileFilterForm .mobile-filter-scroll > select,
#mobileFilterForm .mobile-filter-scroll > .price-filter,
#mobileFilterForm #mobileDynamicFields > select,
#mobileFilterForm #mobileDynamicFields > .price-filter,
#mobileFilterForm #mobileDynamicFields > .filter-toggle {
  margin-bottom: 12px !important;
}

#mobileFilterForm .form-select,
#mobileFilterForm .price-inputs input {
  min-height: 48px;
  border: 1px solid #dfe5eb;
  border-radius: 13px;
  background-color: #fff;
  color: #0f172a;
  box-shadow: none;
}

#mobileFilterForm .price-filter {
  padding: 12px;
  border: 1px solid #e5eaf0;
  border-radius: 15px;
  background: #fff;
}

#mobileFilterForm .price-header {
  margin-bottom: 9px;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

#mobileFilterForm .filter-footer {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #dfe5eb;
  background: #fff;
  box-shadow: 0 -10px 28px rgba(15, 23, 42, .10);
}

.mobile-filter-submit {
  min-height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0caf9f, #008a7e) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 9px 20px rgba(0, 158, 142, .20);
}

#mobileFilterForm .filter-footer .btn-light {
  min-height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

/* Köhnə seçilib/seçilməyib mətni göstərilməsin */
.mobile-filter-count {
  display: none !important;
}

@media (max-width: 767.98px) {
  #filterDrawer {
    height: min(100dvh, 760px);
    max-height: 100dvh;
    border-radius: 22px 22px 0 0;
  }

  #mobileFilterForm .mobile-filter-scroll {
    padding-bottom: 24px;
  }
}



/* =========================================================
   MOBILE FILTER BUTTON — VISIBILITY FIX
========================================================= */

.mobile-search-box-modern .mobile-search-filter {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 46px !important;
  height: 42px !important;
  min-width: 46px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0caf9f, #008a7e) !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 7px 16px rgba(0, 158, 142, .24) !important;
}

.mobile-search-box-modern .mobile-search-filter i {
  display: inline-block !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

.mobile-search-box-modern .mobile-search-filter:hover,
.mobile-search-box-modern .mobile-search-filter:focus,
.mobile-search-box-modern .mobile-search-filter:active {
  background: linear-gradient(135deg, #0caf9f, #008a7e) !important;
  color: #fff !important;
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================================
   MOBILE SORT DRAWER — VERTICAL MODERN LIST
========================================================= */

#sortDrawer {
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}

#sortDrawer .filter-header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e8edf2;
  background: #fff;
}

#sortDrawer .filter-header span {
  color: #111827;
  font-size: 16px;
  font-weight: 850;
}

#sortDrawer .filter-body {
  width: 100%;
  padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 9px !important;
  background: #f7f9fb;
}

#sortDrawer .sort-item {
  width: 100% !important;
  min-height: 66px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #e4e9ee !important;
  border-radius: 15px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  background: #fff !important;
  color: #1f2937 !important;
  text-align: left !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
}

#sortDrawer .sort-item:active {
  border-color: rgba(0, 158, 142, .35) !important;
  background: #eefaf8 !important;
}

#sortDrawer .sort-item-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf9f7;
  color: #009e8e;
  font-size: 16px;
}

#sortDrawer .sort-item-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#sortDrawer .sort-item-copy strong {
  color: #111827;
  font-size: 13.5px;
  font-weight: 820;
  line-height: 1.2;
}

#sortDrawer .sort-item-copy small {
  margin-top: 3px;
  color: #7b8490;
  font-size: 10.5px;
  line-height: 1.25;
}

#sortDrawer .sort-item-arrow {
  flex: 0 0 auto;
  color: #a3abb4;
  font-size: 11px;
}




/* =========================================================
   LISTINGS V6 — COMPACT / BORDERLESS / VIP STREAM
========================================================= */
.listing-category-shell{
  width:100%;
  overflow:visible;
}

.listing-category-shell .listing-category-strip{
  width:100% !important;
  margin:0 !important;
  padding:1px 0 5px !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(84px,1fr)) !important;
  gap:7px !important;
}

.listing-category-shell .category-modern-card{
  min-width:0 !important;
  min-height:86px !important;
  margin:0 !important;
  padding:2px 3px 4px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:4px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#374047 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

.listing-category-shell .category-modern-card:hover{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}

.listing-category-shell .category-modern-image-wrap{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:15px !important;
  background:#f2f6f6 !important;
  box-shadow:none !important;
}

.listing-category-shell .category-modern-image{
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  object-fit:cover !important;
}

.listing-category-shell .category-modern-title{
  width:100% !important;
  min-width:0 !important;
  min-height:20px !important;
  max-height:20px !important;
  padding:0 1px !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  color:#4f5960 !important;
  font-size:8.6px !important;
  line-height:10px !important;
  font-weight:800 !important;
  text-align:center !important;
  text-overflow:clip !important;
  white-space:normal !important;
}

.listing-category-shell .listing-category-launcher{
  border:0 !important;
  background:transparent !important;
}

@media(max-width:767.98px){
  .listing-category-shell{
    margin-left:-2px;
    margin-right:-2px;
  }

  .listing-category-shell .listing-category-strip{
    width:auto !important;
    max-width:none !important;
    display:flex !important;
    grid-template-columns:none !important;
    gap:8px !important;
    padding:1px 2px 6px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x proximity !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .listing-category-shell .listing-category-strip::-webkit-scrollbar{
    display:none !important;
  }

  .listing-category-shell .category-modern-card{
    width:66px !important;
    min-width:66px !important;
    max-width:66px !important;
    min-height:78px !important;
    flex:0 0 66px !important;
    scroll-snap-align:start !important;
  }

  .listing-category-shell .category-modern-image-wrap{
    width:49px !important;
    height:49px !important;
    min-width:49px !important;
    min-height:49px !important;
    border-radius:14px !important;
  }

  .listing-category-shell .category-modern-title{
    width:66px !important;
    min-height:20px !important;
    max-height:20px !important;
    font-size:8px !important;
    line-height:10px !important;
  }
}

.listing-discount-note{
  width:100%;
  padding:12px 13px;
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  border-radius:15px;
  background:#fff4f2;
  box-shadow:none;
}

.listing-discount-note-icon{
  width:39px;
  height:39px;
  flex:0 0 39px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#ffe8e5;
  color:#d94d44;
}

.listing-discount-note > div{
  min-width:0;
}

.listing-discount-note strong,
.listing-discount-note span{
  display:block;
}

.listing-discount-note strong{
  color:#9f4039;
  font-size:11.5px;
  line-height:1.3;
  font-weight:900;
}

.listing-discount-note > div > span{
  margin-top:3px;
  color:#916965;
  font-size:8.5px;
  line-height:1.4;
  font-weight:650;
}

.listing-breadcrumb{
  min-height:28px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  border:0;
  color:#8b949a;
  font-size:9.5px;
  font-weight:750;
}

.listing-breadcrumb a{
  color:#087d72;
  text-decoration:none;
}

.listing-breadcrumb a:hover{
  text-decoration:underline;
}

.listing-breadcrumb span{
  color:#4f5960;
  font-weight:850;
}

.listing-breadcrumb i{
  color:#bac0c4;
  font-size:6px;
}

.listing-top-toolbar{
  width:100%;
  margin:0 0 8px;
}

.listing-top-toolbar-mobile,
.listing-top-toolbar-desktop{
  width:100%;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}

.listing-toolbar-button{
  min-width:0;
  min-height:38px;
  padding:0 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:0;
  border-radius:12px;
  background:#f2f5f6;
  color:#4d585f;
  font-size:10px;
  font-weight:850;
  box-shadow:none;
}

.listing-toolbar-button:first-child{
  flex:1 1 auto;
  justify-content:flex-start;
}

.listing-toolbar-button:last-child{
  flex:0 0 auto;
}

.listing-toolbar-button > i:first-child{
  color:#009e8e;
}

.listing-toolbar-chevron{
  margin-left:auto;
  color:#9fa7ac !important;
  font-size:7px;
}

.listing-toolbar-select{
  min-height:38px;
  padding:0 9px;
  display:flex;
  align-items:center;
  gap:6px;
  border:0;
  border-radius:11px;
  background:#f3f6f6;
  color:#009e8e;
}

.listing-toolbar-select select{
  min-width:120px;
  height:36px;
  border:0;
  outline:0;
  background:transparent;
  color:#505a61;
  font-size:10px;
  font-weight:800;
  box-shadow:none;
}

#latestList .evi-vip-stream-head{
  grid-column:1 / -1;
  width:100%;
  min-height:35px;
  margin:2px 0 2px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:0;
  background:transparent;
}

.evi-vip-stream-title{
  display:flex;
  align-items:center;
  gap:7px;
}

.evi-vip-stream-icon{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#fff0cf;
  color:#ba7810;
  font-size:10px;
}

.evi-vip-stream-title strong{
  color:#414a50;
  font-size:11.5px;
  font-weight:950;
}

.evi-vip-stream-all{
  min-height:29px;
  padding:0 8px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:0;
  border-radius:9px;
  background:#f3f5f6;
  color:#69737a;
  font-size:8px;
  font-weight:850;
  text-decoration:none;
}

.evi-vip-stream-all:hover{
  color:#087d72;
  background:#edf8f6;
}

#legacyCityDrawer .listing-city-list{
  display:flex !important;
  flex-direction:column !important;
  gap:5px !important;
}

.listing-city-item{
  width:100%;
  min-height:50px;
  padding:7px 9px;
  display:flex;
  align-items:center;
  gap:9px;
  border:0;
  border-radius:12px;
  background:#fff;
  color:#475159;
  text-align:left;
}

.listing-city-item > span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#edf8f6;
  color:#009e8e;
}

.listing-city-item strong{
  min-width:0;
  flex:1;
  font-size:11px;
  font-weight:850;
}

.listing-city-item > i{
  visibility:hidden;
  color:#009e8e;
  font-size:9px;
}

.listing-city-item.active{
  background:#eef9f7;
  color:#087d72;
}

.listing-city-item.active > i{
  visibility:visible;
}

#listingCatDrawer .listing-cat-drawer-header{
  border-bottom:0 !important;
}

#listingCatDrawer .listing-cat-item,
#listingCatDrawer .listing-cat-item:active{
  border:0 !important;
  box-shadow:none !important;
}

@media(min-width:768px){
  .listing-sidebar .cat-item{
    min-height:43px !important;
    border:0 !important;
  }

  .listing-sidebar .cat-left img{
    width:31px !important;
    height:31px !important;
  }
}



/* =========================================================
   LISTINGS V7 — TOOLBAR ABOVE CATEGORIES + VIP BLOCKS
========================================================= */

/* Şəhər + Çeşidləmə kateqoriya/subcatın üstündə */
.listing-top-toolbar{
  width:100% !important;
  margin:0 0 9px !important;
}

/* MOBILE: EKRANIN YARISI / YARISI */
@media(max-width:767.98px){
  .listing-top-toolbar-mobile{
    width:100% !important;

    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;

    align-items:stretch !important;
    justify-content:stretch !important;

    gap:7px !important;
  }

  .listing-top-toolbar-mobile
  .listing-toolbar-button{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;

    min-height:40px !important;

    flex:none !important;

    padding:0 10px !important;

    justify-content:flex-start !important;
  }

  .listing-top-toolbar-mobile
  .listing-toolbar-button:first-child,
  .listing-top-toolbar-mobile
  .listing-toolbar-button:last-child{
    width:100% !important;
    min-width:0 !important;
    flex:none !important;
  }

  .listing-top-toolbar-mobile
  .listing-toolbar-chevron{
    margin-left:auto !important;
  }
}

/* DESKTOP: eyni ölçülü 2 kompakt blok */
@media(min-width:768px){
  .listing-top-toolbar-desktop{
    width:100% !important;

    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;

    gap:8px !important;
  }

  .listing-top-toolbar-desktop
  .listing-toolbar-select{
    width:100% !important;
    min-width:0 !important;
  }

  .listing-top-toolbar-desktop
  .listing-toolbar-select select{
    width:100% !important;
    min-width:0 !important;
  }
}


/* ---------------------------------------------------------
   CITY DRAWER — GLOBAL CSS-DƏN ASILI OLMASIN
--------------------------------------------------------- */
@media(max-width:767.98px){
  #legacyCityDrawer.filter-drawer{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    z-index:10090 !important;

    width:100% !important;
    max-width:none !important;

    height:min(72dvh,620px) !important;
    max-height:72dvh !important;

    display:flex !important;
    flex-direction:column !important;

    overflow:hidden !important;

    border:0 !important;
    border-radius:22px 22px 0 0 !important;

    background:#f7f9fb !important;

    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;

    transform:translateY(105%) !important;

    transition:
      transform .24s cubic-bezier(.22,.78,.3,1),
      opacity .18s ease,
      visibility .24s ease !important;
  }

  #legacyCityDrawer.filter-drawer.active{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;

    transform:translateY(0) !important;
  }

  #legacyCityDrawer .drawer-handle{
    flex:0 0 auto !important;
  }

  #legacyCityDrawer .filter-header{
    flex:0 0 auto !important;
  }

  #legacyCityDrawer .listing-city-list{
    flex:1 1 auto !important;

    min-height:0 !important;

    padding:10px 12px calc(18px + env(safe-area-inset-bottom)) !important;

    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  #drawerOverlay.active{
    z-index:10080 !important;
  }
}


/* ---------------------------------------------------------
   VIP BLOCK — QIRMIZI VURĞU
--------------------------------------------------------- */
#latestList .evi-vip-stream-head{
  grid-column:1 / -1 !important;

  min-height:38px !important;

  margin:6px 0 3px !important;

  padding:0 !important;

  border:0 !important;
  background:transparent !important;
}

.evi-vip-stream-title{
  gap:7px !important;
}

.evi-vip-stream-icon{
  width:29px !important;
  height:29px !important;

  border-radius:9px !important;

  background:#fff0ef !important;
  color:#e3312d !important;

  font-size:11px !important;
}

.evi-vip-stream-title strong{
  color:#d92d29 !important;

  font-size:12px !important;
  font-weight:950 !important;
}

.evi-vip-stream-all{
  min-height:30px !important;

  padding:0 9px !important;

  border:0 !important;
  border-radius:9px !important;

  background:#fff1f0 !important;
  color:#d92d29 !important;

  font-size:8.5px !important;
  font-weight:900 !important;
}

.evi-vip-stream-all:hover{
  background:#ffe8e6 !important;
  color:#bd211e !important;
}


/* ---------------------------------------------------------
   NORMAL "ELANLAR / SON ELANLAR" HEAD
--------------------------------------------------------- */
#latestList .evi-listing-stream-head{
  grid-column:1 / -1 !important;

  width:100% !important;
  min-height:34px !important;

  margin:3px 0 1px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;

  border:0 !important;
  background:transparent !important;
}

.evi-listing-stream-head strong{
  color:#333c42 !important;

  font-size:12px !important;
  font-weight:950 !important;
}

.evi-listing-stream-head span{
  color:#8d969c !important;

  font-size:8.5px !important;
  font-weight:750 !important;
}



/* =========================================================
   LISTINGS V8 — DESKTOP RESTORED / MOBILE BELOW CATEGORIES
========================================================= */

/* Desktop: əvvəlki kimi elan kartlarının dərhal üstündə */
@media(min-width:768px){
  .listing-top-toolbar-mobile-wrap{
    display:none !important;
  }

  .listing-top-toolbar-desktop-wrap{
    display:block !important;
    width:100% !important;
    margin:0 0 8px !important;
  }

  .listing-top-toolbar-desktop{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:7px !important;
  }

  .listing-top-toolbar-desktop .listing-toolbar-select{
    width:auto !important;
    min-width:150px !important;
    flex:0 0 auto !important;
  }

  .listing-top-toolbar-desktop .listing-toolbar-select select{
    width:auto !important;
    min-width:120px !important;
  }
}

/* Mobile: kateqoriyalar/subcat -> sonra Şəhər + Çeşidləmə */
@media(max-width:767.98px){
  .listing-top-toolbar-desktop-wrap{
    display:none !important;
  }

  .listing-top-toolbar-mobile-wrap{
    display:block !important;
    width:100% !important;
    margin:2px 0 9px !important;
  }

  .listing-top-toolbar-mobile{
    width:100% !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:7px !important;
  }

  .listing-top-toolbar-mobile .listing-toolbar-button{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    min-height:40px !important;
    margin:0 !important;
    padding:0 10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
  }

  .listing-top-toolbar-mobile .listing-toolbar-chevron{
    margin-left:auto !important;
  }
}



/* =========================================================
   LISTINGS V9 — DESKTOP CLEAN / BIGGER CATS / MOBILE SHEETS
========================================================= */

/* ---------------------------------------------------------
   DESKTOP: breadcrumb gizli
   Filter panelində kateqoriya yolu artıq var.
--------------------------------------------------------- */
@media(min-width:768px){
  .listing-breadcrumb{
    display:none !important;
  }
}

/* ---------------------------------------------------------
   KATEQORİYA / SUBKATEQORİYA — BİRAZ DAHA BÖYÜK
--------------------------------------------------------- */
@media(min-width:768px){
  .listing-category-shell
  .category-modern-card{
    min-height:96px !important;
    gap:5px !important;
  }

  .listing-category-shell
  .category-modern-image-wrap{
    width:60px !important;
    height:60px !important;
    min-width:60px !important;
    min-height:60px !important;
    border-radius:16px !important;
  }

  .listing-category-shell
  .category-modern-title{
    min-height:25px !important;
    max-height:25px !important;

    font-size:10px !important;
    line-height:12px !important;

    -webkit-line-clamp:2 !important;
  }
}

@media(max-width:767.98px){
  .listing-category-shell
  .category-modern-card{
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
    flex-basis:72px !important;
    min-height:86px !important;
    gap:4px !important;
  }

  .listing-category-shell
  .category-modern-image-wrap{
    width:55px !important;
    height:55px !important;
    min-width:55px !important;
    min-height:55px !important;
    border-radius:15px !important;
  }

  .listing-category-shell
  .category-modern-title{
    width:72px !important;
    min-height:23px !important;
    max-height:23px !important;

    font-size:9.2px !important;
    line-height:11px !important;

    -webkit-line-clamp:2 !important;
  }
}

/* ---------------------------------------------------------
   MOBILE DRAWERS — OVERLAY HƏMİŞƏ ARXADA,
   DRAWER-LAR BOTTOM NAV-IN ÜSTÜNDƏ
--------------------------------------------------------- */
@media(max-width:767.98px){

  #drawerOverlay.drawer-overlay{
    position:fixed !important;
    inset:0 !important;

    z-index:2147482000 !important;

    display:block !important;

    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;

    background:rgba(15,23,42,.38) !important;

    transition:
      opacity .18s ease,
      visibility .18s ease !important;
  }

  #drawerOverlay.drawer-overlay.active{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  /*
   * Filter / Çeşidləmə / Şəhər eyni stacking sistemindədir.
   */
  #filterDrawer.filter-drawer,
  #sortDrawer.filter-drawer,
  #legacyCityDrawer.filter-drawer{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;

    z-index:2147483000 !important;

    width:100% !important;
    max-width:none !important;

    margin:0 !important;

    display:flex !important;
    flex-direction:column !important;

    overflow:hidden !important;

    border:0 !important;
    border-radius:22px 22px 0 0 !important;

    background:#f7f9fb !important;

    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;

    transform:translate3d(0,105%,0) !important;

    transition:
      transform .24s cubic-bezier(.22,.78,.3,1),
      opacity .18s ease,
      visibility .24s ease !important;
  }

  #filterDrawer.filter-drawer.active,
  #sortDrawer.filter-drawer.active,
  #legacyCityDrawer.filter-drawer.active{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;

    transform:translate3d(0,0,0) !important;
  }

  /* Filter daha hündür */
  #filterDrawer.filter-drawer{
    height:min(90dvh,760px) !important;
    max-height:90dvh !important;
  }

  /* Çeşidləmə content qədər, amma bottom nav-dan yuxarı */
  #sortDrawer.filter-drawer{
    height:auto !important;
    max-height:72dvh !important;
    min-height:270px !important;
  }

  /* Şəhər */
  #legacyCityDrawer.filter-drawer{
    height:min(72dvh,620px) !important;
    max-height:72dvh !important;
  }

  #sortDrawer .filter-body,
  #legacyCityDrawer .filter-body{
    min-height:0 !important;
    flex:1 1 auto !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  /*
   * Mobile category picker də bottom navigation arxasında qalmasın.
   */
  #mobileCategoryDrawer.mobile-category-drawer{
    z-index:2147483000 !important;
  }

  #listingCatDrawer.listing-cat-drawer{
    z-index:2147483000 !important;
  }
}



/* =========================================================
   LISTINGS V10 — MOBILE SHEETS / DESKTOP FILTER OFFSET
========================================================= */

@media(min-width:768px){
  /*
   * Sol filter paneli təxminən 20px aşağı.
   */
  .listing-sidebar{
    padding-top:20px !important;
  }
}

@media(max-width:767.98px){

  /*
   * Toolbar basıla bilən layer-də qalsın.
   */
  .listing-top-toolbar-mobile-wrap{
    position:relative !important;
    z-index:50 !important;
    pointer-events:auto !important;
  }

  .listing-top-toolbar-mobile
  .listing-toolbar-button{
    position:relative !important;
    z-index:51 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }

  /*
   * Overlay bütün səhifənin üstündədir,
   * amma drawer-dan aşağı z-index-dədir.
   */
  #drawerOverlay.drawer-overlay{
    position:fixed !important;
    inset:0 !important;
    z-index:1000000 !important;
  }

  /*
   * Bütün mobile sheets bottom nav və sticky elementlərin üstündə.
   */
  #filterDrawer.filter-drawer,
  #sortDrawer.filter-drawer,
  #legacyCityDrawer.filter-drawer,
  #mobileCategoryDrawer.mobile-category-drawer{
    z-index:1000010 !important;
  }

  /*
   * FILTER TAM EKRAN.
   */
  #filterDrawer.filter-drawer{
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:0 !important;

    width:100vw !important;
    height:100dvh !important;
    max-width:100vw !important;
    max-height:100dvh !important;
    min-height:100dvh !important;

    border-radius:0 !important;

    padding-top:env(safe-area-inset-top) !important;

    background:#f8fafc !important;
  }

  #filterDrawer .drawer-handle{
    display:none !important;
  }

  #filterDrawer .filter-header{
    min-height:58px !important;
    flex:0 0 auto !important;
  }

  #filterDrawer #mobileFilterForm{
    flex:1 1 auto !important;
    min-height:0 !important;
  }

  /*
   * Şəhər drawer Çeşidləmə ilə eyni görünüş/mexanizm.
   */
  #legacyCityDrawer.filter-drawer{
    min-height:300px !important;
    height:min(72dvh,620px) !important;
    max-height:72dvh !important;
  }

  #legacyCityDrawer .filter-header{
    flex:0 0 auto !important;
  }

  #legacyCityDrawer .listing-city-list{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
  }
}



/* =========================================================
   LISTINGS V13 — TOP CATEGORY STRIP CLEANUP
========================================================= */

/* Axtarışın altındakı ayrıca "Kateqoriyalar" launcher görünməsin */
.listing-category-shell
.listing-category-launcher{
  display:none !important;
}



/* =========================================================
   LISTINGS V14 — CITY BUTTON + DISCOUNT ROUTE FIX
========================================================= */
@media(max-width:767.98px){
  #listingCityButton{
    position:relative !important;
    z-index:60 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
    cursor:pointer !important;
  }

  #listingCityButton *{
    pointer-events:none !important;
  }

  #legacyCityDrawer.filter-drawer.active{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    transform:translate3d(0,0,0) !important;
  }
}



/* =========================================================
   LISTINGS V15 — INDEPENDENT CITY + MOBILE CHOICE DRAWERS
========================================================= */

html,
body{
  overflow-x:hidden !important;
}

/*
 * İlk render zamanı sağdan "qaçan" category drawer görünməsin.
 * Aktivləşənə qədər tam gizlidir.
 */
@media(max-width:767.98px){
  #mobileCategoryDrawer.mobile-category-drawer{
    visibility:hidden !important;
    pointer-events:none !important;
  }

  #mobileCategoryDrawer.mobile-category-drawer.active{
    visibility:visible !important;
    pointer-events:auto !important;
  }
}

/* ---------------------------------------------------------
   MOBILE FILTER — custom choice row
--------------------------------------------------------- */
.mobile-filter-choice-field{
  width:100%;
}

.mobile-filter-choice-button{
  width:100%;
  min-height:58px;
  padding:8px 11px;

  display:flex;
  align-items:center;
  gap:10px;

  border:1px solid #e3e8ed;
  border-radius:15px;

  background:#fff;
  color:#1f2937;

  text-align:left;
}

.mobile-filter-choice-button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.mobile-filter-choice-icon{
  width:39px;
  height:39px;
  flex:0 0 39px;

  display:grid;
  place-items:center;

  border-radius:12px;

  background:#edf9f7;
  color:#009e8e;
}

.mobile-filter-choice-copy{
  min-width:0;
  flex:1;
}

.mobile-filter-choice-copy small,
.mobile-filter-choice-copy strong{
  display:block;
}

.mobile-filter-choice-copy small{
  color:#879199;
  font-size:9px;
  font-weight:700;
}

.mobile-filter-choice-copy strong{
  margin-top:2px;

  overflow:hidden;

  color:#263138;
  font-size:12px;
  font-weight:900;

  text-overflow:ellipsis;
  white-space:nowrap;
}

.mobile-filter-choice-arrow{
  color:#a4adb3;
  font-size:9px;
}

/* ---------------------------------------------------------
   TOOLBAR CITY — sort kimi ayrıca popup/bottom sheet
--------------------------------------------------------- */
#toolbarCityDrawer.toolbar-city-drawer{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;

  z-index:2147483300 !important;

  width:100% !important;
  height:min(76dvh,650px) !important;
  max-height:76dvh !important;

  display:flex !important;
  flex-direction:column !important;

  overflow:hidden !important;

  border-radius:22px 22px 0 0 !important;

  background:#f7f9fb !important;

  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;

  transform:translate3d(0,105%,0) !important;

  transition:
    transform .24s cubic-bezier(.22,.78,.3,1),
    opacity .18s ease,
    visibility .24s ease !important;
}

#toolbarCityDrawer.toolbar-city-drawer.active{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  transform:translate3d(0,0,0) !important;
}

.toolbar-city-handle{
  width:38px;
  height:4px;
  margin:7px auto 4px;

  flex:0 0 4px;

  border-radius:999px;
  background:#cfd6db;
}

.toolbar-city-head{
  min-height:58px;
  padding:8px 13px 10px;

  display:flex;
  align-items:center;
  gap:10px;

  border-bottom:1px solid #e7ecef;
  background:#fff;
}

.toolbar-city-head > div{
  min-width:0;
  flex:1;
}

.toolbar-city-head strong,
.toolbar-city-head small{
  display:block;
}

.toolbar-city-head strong{
  color:#20292f;
  font-size:15px;
  font-weight:950;
}

.toolbar-city-head small{
  margin-top:2px;
  color:#929ba2;
  font-size:9px;
  font-weight:650;
}

.toolbar-city-head button{
  width:36px;
  height:36px;

  display:grid;
  place-items:center;

  border:0;
  border-radius:11px;

  background:#f1f4f5;
  color:#5d676e;
}

.toolbar-city-search,
.mobile-choice-search{
  position:relative;

  margin:10px 12px 8px;

  flex:0 0 auto;
}

.toolbar-city-search > i,
.mobile-choice-search > i{
  position:absolute;
  top:50%;
  left:14px;

  color:#96a0a7;
  font-size:12px;

  transform:translateY(-50%);
  pointer-events:none;
}

.toolbar-city-search input,
.mobile-choice-search input{
  width:100%;
  height:46px;

  padding:0 14px 0 39px;

  border:1px solid #dfe5e9;
  border-radius:14px;
  outline:0;

  background:#fff;
  color:#253038;

  font-size:14px;
}

.toolbar-city-search input:focus,
.mobile-choice-search input:focus{
  border-color:rgba(0,158,142,.55);
  box-shadow:0 0 0 3px rgba(0,158,142,.08);
}

.toolbar-city-options{
  min-height:0;
  flex:1 1 auto;

  padding:2px 10px max(14px,env(safe-area-inset-bottom));

  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

.toolbar-city-radio-row,
.mobile-choice-radio-row{
  width:100%;
  min-height:56px;

  padding:8px 10px;

  display:flex;
  align-items:center;
  gap:10px;

  border-bottom:1px solid #edf1f3;

  background:#fff;

  cursor:pointer;
}

.toolbar-city-radio-row:first-child,
.mobile-choice-radio-row:first-child{
  border-radius:14px 14px 0 0;
}

.toolbar-city-radio-row:last-child,
.mobile-choice-radio-row:last-child{
  border-bottom:0;
  border-radius:0 0 14px 14px;
}

.toolbar-city-radio-row input,
.mobile-choice-radio-row input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.toolbar-city-radio-ui,
.mobile-choice-radio-ui{
  width:21px;
  height:21px;
  flex:0 0 21px;

  display:grid;
  place-items:center;

  border:2px solid #cfd7dc;
  border-radius:50%;

  background:#fff;
}

.toolbar-city-radio-row input:checked + .toolbar-city-radio-ui,
.mobile-choice-radio-row input:checked + .mobile-choice-radio-ui{
  border-color:#009e8e;
  box-shadow:inset 0 0 0 5px #fff;
  background:#009e8e;
}

.toolbar-city-radio-copy,
.mobile-choice-radio-copy{
  min-width:0;
  flex:1;
}

.toolbar-city-radio-copy strong,
.toolbar-city-radio-copy small,
.mobile-choice-radio-copy strong,
.mobile-choice-radio-copy small{
  display:block;
}

.toolbar-city-radio-copy strong,
.mobile-choice-radio-copy strong{
  color:#2b343a;
  font-size:12px;
  font-weight:900;
}

.toolbar-city-radio-copy small,
.mobile-choice-radio-copy small{
  margin-top:2px;
  color:#969fa5;
  font-size:8.5px;
  font-weight:650;
}

/* ---------------------------------------------------------
   FILTER SELECT PICKER — soldan sağa açılan tam ekran
--------------------------------------------------------- */
#mobileChoiceDrawer.mobile-choice-drawer{
  position:fixed !important;
  inset:0 !important;

  z-index:2147483600 !important;

  width:100vw !important;
  height:100dvh !important;

  display:flex !important;
  flex-direction:column !important;

  overflow:hidden !important;

  background:#f7f9fb !important;

  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;

  transform:translate3d(-100%,0,0) !important;

  transition:
    transform .24s cubic-bezier(.22,.78,.3,1),
    opacity .16s ease,
    visibility .24s ease !important;
}

#mobileChoiceDrawer.mobile-choice-drawer.active{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  transform:translate3d(0,0,0) !important;
}

.mobile-choice-head{
  min-height:66px;

  padding:
    max(10px,env(safe-area-inset-top))
    10px
    9px;

  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  gap:7px;

  border-bottom:1px solid #e5eaed;
  background:#fff;
}

.mobile-choice-back{
  width:38px;
  height:38px;

  display:grid;
  place-items:center;

  border:0;
  border-radius:12px;

  background:#f1f4f5;
  color:#566169;
}

.mobile-choice-head > div{
  min-width:0;
  text-align:center;
}

.mobile-choice-head strong,
.mobile-choice-head small{
  display:block;

  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.mobile-choice-head strong{
  color:#20292f;
  font-size:15px;
  font-weight:950;
}

.mobile-choice-head small{
  margin-top:2px;
  color:#929ba2;
  font-size:8.8px;
  font-weight:650;
}

.mobile-choice-options{
  min-height:0;
  flex:1 1 auto;

  padding:2px 10px max(14px,env(safe-area-inset-bottom));

  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

.mobile-choice-empty{
  min-height:220px;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#929ba1;
  font-size:11px;
  font-weight:700;
}

/*
 * Page load zamanı gizli drawer-lar transition etməsin.
 * Transition yalnız ilk frame-dən sonra aktivləşir.
 */
body:not(.evi-listing-ui-ready)
#filterDrawer,
body:not(.evi-listing-ui-ready)
#sortDrawer,
body:not(.evi-listing-ui-ready)
#mobileCategoryDrawer,
body:not(.evi-listing-ui-ready)
#toolbarCityDrawer,
body:not(.evi-listing-ui-ready)
#mobileChoiceDrawer{
  transition:none !important;
}



/* =========================================================
   LISTINGS V16 — FULL CITY + SUBCATEGORY STRIP
========================================================= */

@media(max-width:767.98px){

  /*
   * Toolbar şəhər seçimi artıq bottom-sheet deyil.
   * Tam ekran açılır.
   */
  #toolbarCityDrawer.toolbar-city-drawer{
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:0 !important;

    width:100vw !important;
    height:100dvh !important;
    min-height:100dvh !important;
    max-height:100dvh !important;

    border-radius:0 !important;

    padding-top:env(safe-area-inset-top) !important;

    transform:translate3d(100%,0,0) !important;
  }

  #toolbarCityDrawer.toolbar-city-drawer.active{
    transform:translate3d(0,0,0) !important;
  }

  #toolbarCityDrawer .toolbar-city-handle{
    display:none !important;
  }

  #toolbarCityDrawer .toolbar-city-head{
    min-height:62px !important;
    flex:0 0 auto !important;
  }

  #toolbarCityDrawer .toolbar-city-options{
    min-height:0 !important;
    flex:1 1 auto !important;
  }

  /*
   * Əsas kateqoriya "Hamısı" seçildikdən sonra
   * subcategory-lər sağa-sola horizontal scroll olur.
   */
  .mobile-selected-subcategories{
    width:100%;
    margin:0 0 12px;
    overflow:hidden;
  }

  .mobile-selected-subcategories.d-none{
    display:none !important;
  }

  .mobile-selected-subcategories-track{
    width:100%;

    display:flex;
    align-items:stretch;
    gap:8px;

    padding:1px 1px 4px;

    overflow-x:auto;
    overflow-y:hidden;

    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }

  .mobile-selected-subcategories-track::-webkit-scrollbar{
    display:none;
  }

  .mobile-subcategory-chip{
    width:78px;
    min-width:78px;
    max-width:78px;

    flex:0 0 78px;

    padding:5px 4px 6px;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;

    border:1px solid #e5eaee;
    border-radius:14px;

    background:#fff;
    color:#4d5860;

    text-align:center;

    scroll-snap-align:start;
  }

  .mobile-subcategory-chip.active{
    border-color:rgba(0,158,142,.42);
    background:#edf9f7;
    color:#087d72;
  }

  .mobile-subcategory-chip-image{
    width:45px;
    height:45px;

    display:block;

    overflow:hidden;

    border-radius:12px;

    background:#f1f5f6;
  }

  .mobile-subcategory-chip-image img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;
  }

  .mobile-subcategory-chip > span:last-child{
    width:100%;
    min-height:22px;

    overflow:hidden;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    font-size:9px;
    line-height:11px;
    font-weight:800;

    white-space:normal;
  }

  /*
   * Parent kateqoriyalarda "14 alt kateqoriya"
   * tipli second-line artıq yoxdur.
   */
  #mobileCategoryList
  .mobile-category-row-content
  small:empty{
    display:none !important;
  }
}



/* =========================================================
   LISTINGS V19 — EMPTY / END STATE
========================================================= */

.listing-empty-state{
  grid-column:1 / -1;

  width:100%;
  min-height:250px;

  padding:30px 18px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;

  border:1px solid #e8edef;
  border-radius:18px;

  background:#fff;

  text-align:center;

  box-shadow:0 5px 18px rgba(19,32,38,.035);
}

.listing-empty-icon{
  width:58px;
  height:58px;

  display:grid;
  place-items:center;

  border-radius:18px;

  background:#edf9f7;
  color:#009e8e;

  font-size:22px;
}

.listing-empty-copy{
  max-width:430px;
}

.listing-empty-copy strong,
.listing-empty-copy span{
  display:block;
}

.listing-empty-copy strong{
  color:#253038;

  font-size:15px;
  line-height:1.3;
  font-weight:950;
}

.listing-empty-copy span{
  margin-top:6px;

  color:#8b959b;

  font-size:10px;
  line-height:1.55;
  font-weight:650;
}

.listing-empty-button{
  min-height:42px;

  padding:0 15px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;

  border-radius:13px;

  background:#009e8e;
  color:#fff;

  text-decoration:none;

  font-size:10px;
  font-weight:900;

  box-shadow:0 8px 18px rgba(0,158,142,.18);
}

.listing-empty-button:hover{
  background:#008f82;
  color:#fff;
}

.listing-empty-button i{
  font-size:11px;
}

/* ---------------------------------------------------------
   INFINITE SCROLL END
--------------------------------------------------------- */
#loadMoreTrigger{
  grid-column:1 / -1;
  width:100%;
}

.listing-end-state{
  width:100%;

  padding:16px 0 18px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;

  color:#8e979d;

  text-align:center;
}

.listing-end-line{
  width:46px;
  height:3px;

  display:block;

  border-radius:999px;

  background:#e6ebed;
}

.listing-end-copy{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  color:#7f898f;

  font-size:9.5px;
  font-weight:750;
}

.listing-end-copy i{
  color:#009e8e;
}

.listing-end-state a{
  color:#087d72;

  font-size:9px;
  font-weight:900;

  text-decoration:none;
}

.listing-end-state a:hover{
  text-decoration:underline;
}

@media(max-width:767.98px){
  .listing-empty-state{
    min-height:220px;

    padding:25px 15px;

    border-radius:16px;
  }

  .listing-empty-icon{
    width:52px;
    height:52px;

    border-radius:16px;

    font-size:20px;
  }

  .listing-empty-copy strong{
    font-size:13.5px;
  }

  .listing-empty-copy span{
    font-size:9px;
  }

  .listing-empty-button{
    min-height:40px;
    padding:0 13px;
  }

  .listing-end-state{
    padding-top:14px;
    padding-bottom:16px;
  }
}

