

body{
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

:root{
  --b24-filter-blue: #1769e0;
  --b24-filter-blue-dark: #0d4fad;
  --b24-filter-blue-soft: #eef6ff;
  --b24-filter-border: #d8e7fb;
  --b24-filter-ink: #14233b;
  --b24-filter-muted: #64748b;
}

@media (min-width: 901px){
  .main-container{
    width: min(1280px, calc(100vw - 32px)) !important;
    max-width: 1280px !important;
    display: grid !important;
    grid-template-columns: 286px minmax(0, 1fr) !important;
    direction: rtl !important;
    align-items: start !important;
    padding: 0 !important;
    margin: 8px auto 32px !important;
  }

  .filter-bar{
    grid-column: 1 !important;
    width: 286px !important;
    min-width: 286px !important;
    max-width: 286px !important;
    max-height: calc(100vh - 24px) !important;
    position: sticky !important;
    top: 12px !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow: auto !important;
    background: linear-gradient(180deg, rgba(23, 105, 224, .06), rgba(255, 255, 255, 0) 130px),
      #fff !important;
    border: 1px solid var(--b24-filter-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 40px rgba(15, 79, 173, .12) !important;
    color: var(--b24-filter-ink) !important;
    z-index: 5 !important;
    scrollbar-color: #8dbdf7 #eef6ff !important;
  }

  .filter-bar::before{
    content: "فلترة النتائج";
    display: block;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--b24-filter-border);
    color: var(--b24-filter-blue-dark);
    font-size: 18px;
    font-weight: 900;
  }

  .filter-bar h2{
    color: var(--b24-filter-blue-dark) !important;
    border-bottom-color: var(--b24-filter-border) !important;
  }

  .filter-group{
    margin-bottom: 13px !important;
    gap: 6px !important;
  }

  .filter-group label{
    color: var(--b24-filter-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .filter-row{
    gap: 8px !important;
  }

  .filter-row input[type="text"],
.filter-row input[type="number"],
.filter-group input,
.filter-group select{
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    border: 1px solid var(--b24-filter-border) !important;
    border-radius: 8px !important;
    background: #f8fbff !important;
    color: var(--b24-filter-ink) !important;
    font-size: 14px !important;
    box-shadow: none !important;
  }

  .filter-row input[type="text"],
.filter-row input[type="number"]{
    text-align: center !important;
  }

  .filter-group input:focus,
.filter-group select:focus{
    border-color: var(--b24-filter-blue) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .12) !important;
  }

  .apply-filter-btn{
    min-height: 44px !important;
    margin-top: 6px !important;
    border-radius: 8px !important;
    background: var(--b24-filter-blue) !important;
    border: 1px solid var(--b24-filter-blue) !important;
    box-shadow: 0 10px 22px rgba(23, 105, 224, .22) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .apply-filter-btn:hover{
    background: var(--b24-filter-blue-dark) !important;
    border-color: var(--b24-filter-blue-dark) !important;
  }

  #sectionResultsContainer{
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #sectionResultsContainer .results-section{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px !important;
    background: #fff !important;
    border: 1px solid var(--b24-filter-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(17, 40, 80, .07) !important;
  }

  #sectionResultsContainer .results-section .ad-card{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border-color: #dde9f7 !important;
    box-shadow: 0 8px 22px rgba(17, 40, 80, .08) !important;
  }

  #sectionResultsContainer .results-section .ad-card:hover{
    box-shadow: 0 14px 32px rgba(23, 105, 224, .16) !important;
  }

  #sectionResultsContainer .ad-price,
#sectionResultsContainer .results-section .ad-card .ad-detail .ad-price{
    color: var(--b24-filter-blue-dark) !important;
  }

  #sectionResultsContainer .ad-meta-bar span{
    background: var(--b24-filter-blue-soft) !important;
    border-color: var(--b24-filter-border) !important;
    color: var(--b24-filter-blue-dark) !important;
  }
}

@media (max-width: 900px){
  .filter-bar{
    width: 100% !important;
    max-width: none !important;
    margin: 8px 0 12px !important;
    padding: 14px !important;
    border: 1px solid var(--b24-filter-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 79, 173, .11) !important;
  }

  .filter-bar::before{
    content: "فلترة النتائج";
    display: block;
    margin-bottom: 12px;
    color: var(--b24-filter-blue-dark);
    font-weight: 900;
  }
}

header{
  background: rgba(255,255,255,0.98);
  padding: 12px 0 7px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 2;
  width: 105vw;
}

.sections-container{
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.top-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 96%;
  max-width: 1100px;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

h1{
  margin: 0;
  font-size: 29px;
  color: #2e7d32;
  font-weight: 800;
  flex-grow: 1;
  text-align: right;
}

.account-buttons{
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-buttons button{
  padding: 8px 15px;
  cursor: pointer;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(44,155,100,0.08);
}

.account-buttons button:hover{
  background: #357a39;
}

#latestAdsSlider,
#seenAdsSlider{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

#profileBtn{
  padding: 8px 14px 8px 6px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}

#profileBtn img{
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

#profileBtn::after{
  content: "▼";
  font-size: 11px;
  margin-right: 3px;
  color: #fff;
}

.search-area{
  background: rgba(243,255,248,0.65);
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 2px 6px rgba(44,155,100,0.06);
}

.search-area input,
.search-area select{
  padding: 10px;
  font-size: 16px;
  border: 1px solid #c3eedb;
  border-radius: 7px;
  background: #f9fffc;
  color: #166d32;
  min-width: 120px;
  transition: box-shadow 0.2s;
}

.search-area .search-btn{
  padding: 10px 18px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(44,155,100,0.07);
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-area .search-btn img{
  width: 20px;
  height: 20px;
}

#searchSuggestions li:hover{
  background-color: #f0f0f0;
  cursor: pointer;
}

#searchSuggestions li.active{
  background-color: #d0eaff;
}

main{
  width: 100vw;
  box-sizing: border-box;
}

.sections-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 18px;
  max-width: 670px;
  margin: 0 auto 18px auto;
  z-index: 1;
  position: relative;
}

.section{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
  text-align: center;
  cursor: pointer;
  padding: 14px 5px 12px 5px;
  transition: box-shadow 0.20s cubic-bezier(.64,09,08,1.01), transform 0.13s;
  min-width: 80px;
  max-width: 100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2.5px solid #f5f6fa;
  position: relative;
}

.section.selected,
.section:hover{
  box-shadow: 0 8px 22px rgba(52,170,100,0.13);
  border: 2.5px solid #22c37d;
  background: #f5fff9;
  transform: translateY(-2px) scale(1.022);
}

.section img{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 7px;
  border: 2px solid #d3f6e3;
  background: #fff;
  transition: box-shadow 0.17s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section p{
  margin: 0;
  font-weight: 700;
  color: #238c41;
  font-size: 13.2px;
  letter-spacing: 0.09px;
  margin-top: 4px;
}

.main-container{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.ad-card{
  margin: 0 auto;
}

.ad-img-wrap{
  min-height: 140px;
}

.ad-title{
  margin: 0 0 3px 0;
}

.ad-meta{
  margin-bottom: 0;
}

.show-more-btn{
  display: block;
  margin: 8px 20px;
  padding: 8px 0;
  width: calc(100% - 40px);
  background: #23c85d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.show-more-btn:hover{
  background: #1fa852;
}

@media (min-width: 901px){
  .section{
    min-width: 0;
    max-width: 90px;
    padding: 10px 4px;
  }

  .section img{
    width: 32px;
    height: 32px;
  }

  .section p{
    font-size: 11px;
    margin-top: 2px;
  }
}

@media (min-width: 901px){

  #addBtn{
    background: #4caf50 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 7px !important;
    padding: 8px 15px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(44,155,100,0.08) !important;
    margin: 0 !important;
  }

  #addBtn:hover{
    background: #357a39 !important;
  }

  .header-actions-row{
    display: flex !important;
    gap: 12px !important;
  }
}

.search-area select#citySelect,
.search-area select#distSelect{
  width: 80px;
  min-width: 0;
}

.search-area{
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input-wrapper{
  position: relative;
  flex: 1;
}

.search-input-wrapper input{
  height: 38px;
  border-radius: 7px;
  font-size: 15.5px;
  background: #f9fffc;
  border: 1.5px solid #c3eedb;
  box-sizing: border-box;
  transition: border 0.16s;
}

.search-input-wrapper .search-btn{
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  background: #4caf50;
  border: none;
  border-radius: 4px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input-wrapper .search-btn img{
  width: 20px;
  height: 20px;
}

.modal-content h3{
  margin-bottom: 16px;
  font-size: 18px;
  color: #238c41;
}

@media (min-width: 901px){
  .sections-container{
    display: grid !important;
    grid-template-columns: repeat(10, max-content) !important;
    justify-content: center !important;
    gap: 12px !important;
    max-width: none !important;
    width: max-content !important;
    margin: 0 auto 24px auto !important;
    overflow-x: unset !important;
    scroll-snap-type: none !important;
  }
}

.filter-bar{
  width: 200px;
  min-width: 100px;
  max-width: 140px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 3px 14px #38eaa414;
  border: 1.5px solid #dff5e9;
  padding: 20px 18px 18px 18px;
  margin: 0;
  position: sticky;
  top: 34px;
  align-self: flex-start;
  display: block;
  z-index: 1;
}

.filter-bar h2{
  font-size: 19px;
  color: #18995a;
  margin: 0 0 18px 0;
  font-weight: 700;
  border-bottom: 1px solid #e7f4ed;
  padding-bottom: 7px;
  letter-spacing: 0.1px;
}

.filter-group{
  margin-bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group label{
  font-size: 14px;
  color: #15804a;
  font-weight: bold;
  margin-bottom: 3px;
}

.filter-row{
  display: flex;
  gap: 8px;
}

.filter-group input,
.filter-group select{
  border: 1.5px solid #e0f3ea;
  border-radius: 7px;
  padding: 7px 8px;
  font-size: 15px;
  font-family: inherit;
  background: #f8fdfa;
  color: #218a4d;
  outline: none;
  margin-bottom: 2px;
  transition: border 0.19s, box-shadow 0.14s;
  box-shadow: 0 1px 4px #b9f8e607;
}

.filter-group input:focus,
.filter-group select:focus{
  border-color: #22c37d;
  background: #fff;
  box-shadow: 0 2px 9px #c3f7e115;
}

.apply-filter-btn{
  width: 100%;
  background: #22c37d;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.14s;
  letter-spacing: 0.15px;
  margin-bottom: 4px;
  box-shadow: 0 2px 13px #22c37d17;
}

.apply-filter-btn:hover{
  background: #1a9657;
}

.filter-group:last-child{
  margin-bottom: 10px;
}

@media (min-width: 901px){
  #priceFromInput,
#priceToInput,
#yearFromInput,
#yearToInput,
#kmFromInput,
#kmToInput{
    width: 50px;
    min-width: 62px;
    max-width: 62px;
    padding: 5px 5px;
    font-size: 13px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    display: inline-block;
    background: #fafdff;
    color: #218a4d;
    border: 1.3px solid #e0f3ea;
    transition: border 0.18s;
  }

  #priceFromInput:focus,
#priceToInput:focus,
#yearFromInput:focus,
#yearToInput:focus,
#kmFromInput:focus,
#kmToInput:focus{
    border: 1.5px solid #22c37d;
    background: #fff;
  }
}

footer a[href$="contact.html"],
footer a[href$="about.html"],
footer a[href$="privacy.html"],
footer a[href$="terms.html"]{
  color: #22c37d;
  text-decoration: none;
}

footer a[href$="contact.html"]:hover,
footer a[href$="about.html"]:hover,
footer a[href$="privacy.html"]:hover,
footer a[href$="terms.html"]:hover{
  text-decoration: underline;
}

@media (min-width: 901px){
  .main-container{
    gap: 10px !important;
    padding-right: 70px !important;
  }

  .filter-bar{
    margin-right: 115px !important;
  }

  #sectionResultsContainer,
.results-section{
    margin-right: 24px !important;
  }
}

#mainAdsSliders{
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 15px;
}

@media (max-width: 900px){
  .sections-container{
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (min-width: 901px){
  body{
    background: #f8fff9;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-container,
#mainAdsSliders,
header,
footer{
    transform: scale(0.95);
    transform-origin: top center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 901px){
  .site-name-row{
    width: 100%;
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
  }
}

@media (min-width: 901px){
  header{
    padding-top: 0px !important;
    padding-bottom: 2px !important;
  }

  .site-name-row{
    margin-bottom: 4px !important;
    margin-top: 0 !important;
  }

  .header-actions-row{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
    min-height: unset !important;
    height: 20px !important;
  }

  .search-area{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #addBtn,
#profileContainer{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
  }
}

@media (min-width: 901px){
  main,
.results-section,
#sectionResultsContainer{
    margin-top: 0px !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 900px){
  header{
    padding: 7px 0 6px 0;
  }

  .top-bar{
    flex-direction: column;
    gap: 7px;
    max-width: 100vw;
  }

  h1{
    font-size: 22px;
  }

  .account-buttons button{
    font-size: 13.7px;
    padding: 7px 11px;
  }

  #profileBtn{
    font-size: 13px;
  }

  .search-area input,
.search-area select{
    font-size: 14px;
    min-width: 80px;
    padding: 8px 6px;
  }

  .search-area .search-btn{
    font-size: 14px;
    padding: 8px 12px;
  }

  .main-container{
    flex-direction: column;
  }

  .ads-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 7px 4px;
  }

  .ad-card{
    max-width: 20vw;
    min-width: 0;
  }

  .ad-img{
    height: 50px;
  }

  .mobile-bottom-bar button{
    font-size: 11.5px;
    color: #238c41;
    cursor: pointer;
  }

  .mobile-bottom-bar button img{
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
  }
}

#mainAdsSliders{
  margin-top: 13px !important;
  margin-bottom: 7px !important;
}

.ads-slider-row{
  margin-bottom: 12px !important;
  border-radius: 14px;
}

main{
  padding: 0 0 30px 0 !important;
  margin-bottom: 0 !important;
}

.mobile-bottom-bar{
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -2px 18px #0001;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 55px;
  padding: 0;
  border-top: 1.5px solid #e0eee7;
}

.mobile-bottom-bar button{
  font-size: 11.5px;
  color: #238c41;
  gap: 1.5px;
  outline: none;
  cursor: pointer;
}

.mobile-bottom-bar button img{
  width: 21px;
  height: 21px;
  margin-bottom: 1px;
}

.mobile-bottom-bar span{
  font-size: 10.6px;
}

body{
  padding-bottom: 65px !important;
}

@media (max-width: 900px){
  .mobile-bottom-bar{
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-bottom-bar button{
    background: none;
    border: none;
    outline: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    min-width: 0;
    font-family: "Cairo", Arial, sans-serif;
  }

  .mobile-bottom-bar svg{
    display: block;
    transition: stroke 0.18s;
  }

  .mobile-bottom-bar span{
    margin-top: 1.5px;
    font-size: 11.2px;
    color: #238c41;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.16;
  }

  .mobile-bottom-bar button.active span,
.mobile-bottom-bar button:active span{
    color: #23c85d;
    font-weight: 700;
  }

  body{
    padding-bottom: 66px !important;
  }
}

@media (max-width: 900px){

  @keyframes fadeInMenu{
    from { opacity: 0; transform: translateY(15px);}
        to   { opacity: 1; transform: translateY(0);}
  }
}

.ads-slider-card{
  min-width: 10vw;
  max-width: 20vw;
}

.ads-slider-img-wrap{
  height: 25px;
}

.ads-slider-title{
  font-size: 10.2px;
  margin-bottom: 1px;
}

.ads-slider-meta{
  font-size: 9.3px;
}

.ads-slider-price{
  font-size: 10px;
  padding: 1.5px 3px;
}

@media (max-width: 900px){
  .search-input-wrapper{
    width: 100%;
  }
}

.mobile-bottom-bar button{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
}

.mobile-bottom-bar button span{
  margin-top: 1.5px;
  font-size: 11.2px;
  color: #238c41;
  font-weight: 500;
  line-height: 1.16;
}

.mobile-bottom-bar button.active span,
.mobile-bottom-bar button:active span{
  color: #23c85d;
  font-weight: 700;
}

@media (max-width: 900px){
  .sections-container{
    display: flex !important;
    overflow-x: auto;
    gap: 6px;
    padding: 0 8px;
    scroll-snap-type: x mandatory;
  }

  .sections-container::-webkit-scrollbar{
    display: none;
  }

  .section{
    flex: 0 0 70px !important;
    min-width: 70px !important;
    scroll-snap-align: start;
    padding: 10px 0 !important;
  }

  .section img{
    width: 60px !important;
    height: 60px !important;
  }

  .section p{
    font-size: 11px !important;
  }
}

@media (min-width: 901px){
  .mobile-bottom-bar{
    display: none !important;
  }
}

#addBtn,
#profileBtn{
  width: auto !important;
  color: #17202a !important;
}

@media (max-width: 900px){
  .mobile-bottom-bar button[onclick*="goToAdd"],
.mobile-bottom-bar #profileMobileBtn{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
  }
}

.b24-main-actions{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  direction: rtl !important;
}

#addBtn,
#profileBtn{
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  font-family: "Cairo", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}

#addBtn{
  min-width: 126px !important;
  background: #b8f236 !important;
  color: #172000 !important;
  border: 1px solid #a2d929 !important;
  box-shadow: 0 3px 10px rgba(20, 40, 0, .18) !important;
}

#profileBtn{
  width: auto !important;
  min-width: 104px !important;
  background: #fff !important;
  color: #17202a !important;
  border: 1px solid rgba(23, 32, 42, .12) !important;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .14) !important;
}

#addBtn::before,
#addBtn::after,
#profileBtn::before,
#profileBtn::after{
  content: none !important;
  display: none !important;
}

#addBtn > span,
#profileBtn > span{
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

#addBtn > svg,
#profileBtn > svg{
  display: block !important;
  width: 23px !important;
  min-width: 23px !important;
  max-width: 23px !important;
  height: 23px !important;
  min-height: 23px !important;
  max-height: 23px !important;
  margin: 0 !important;
  padding: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

#addBtn:hover,
#profileBtn:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .2) !important;
}

#addBtn:focus-visible,
#profileBtn:focus-visible,
.mobile-bottom-bar button:focus-visible{
  outline: 3px solid rgba(184, 242, 54, .45) !important;
  outline-offset: 2px !important;
}

@media (max-width: 900px){
  .mobile-bottom-bar{
    gap: 14px !important;
    height: 68px !important;
    padding: 7px 18px !important;
    background: #fff !important;
    border-top: 1px solid #e6e8eb !important;
    box-shadow: 0 -5px 20px rgba(16, 24, 40, .1) !important;
  }

  .mobile-bottom-bar button[onclick*="goToAdd"],
.mobile-bottom-bar #profileMobileBtn{
    flex: 1 1 0 !important;
    flex-direction: row !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 180px !important;
    height: 50px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
  }

  .mobile-bottom-bar button[onclick*="goToAdd"]{
    background: #b8f236 !important;
    color: #172000 !important;
    box-shadow: 0 3px 10px rgba(20, 40, 0, .16) !important;
  }

  .mobile-bottom-bar #profileMobileBtn{
    background: #f3f4f6 !important;
    color: #17202a !important;
    border: 1px solid #e1e4e8 !important;
  }

  .mobile-bottom-bar svg{
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
  }

  .mobile-bottom-bar button span:last-child{
    margin: 0 !important;
    color: inherit !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  .mobile-bottom-bar #profileMobileBtn span:last-child::after,
.mobile-bottom-bar button[onclick*="goToAdd"] span:last-child::after{
    color: inherit !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
}

@media (min-width: 901px){
  .header-actions-row{
    justify-content: center !important;
    margin: 0 auto 32px auto !important;
    padding-top: 5px;
    width: 100% !important;
    max-width: 1100px !important;
  }

  .search-area{
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
    width: 420px !important;
    min-width: 280px !important;
    max-width: 600px !important;
    background: #f9fffc !important;
  }

  .search-input-wrapper .search-btn{
    position: absolute;
    top: 50%;
    right: 120px !important;
    transform: translateY(-50%);
  }

  .sections-container{
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }
}

.ads-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 18px 15px !important;
  margin: 0 auto !important;
  width: 100% !important;
  justify-items: stretch !important;
}

.ad-card{
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(30, 55, 65, 0.10) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid #e5e7ea !important;
  max-width: 235px !important;
  min-width: 0 !important;
  position: relative !important;
  transition: box-shadow 0.12s, border 0.12s !important;
  cursor: pointer !important;
}

.ad-card:hover{
  box-shadow: 0 7px 22px #24bb5720 !important;
  border: 1px solid #1fc875 !important;
}

.ad-img-wrap{
  position: relative !important;
  width: 100% !important;
  height: 135px !important;
  background: #f7f9fa !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.ad-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: #fff !important;
  display: block !important;
}

.ad-info{
  padding: 10px 9px 10px 9px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.ad-title{
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin-bottom: 3px !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.ad-meta{
  font-size: 13px !important;
  color: #888 !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  margin-top: 2px !important;
}

@media (max-width: 900px){
  #addBtn{
    display: none !important;
  }
}

@media (max-width: 900px){
  #profileBtn{
    display: none !important;
  }
}

@media (max-width: 900px){
  .search-area{
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 10px 7px 0 7px !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .search-input-wrapper{
    margin: 0 !important;
  }

  .search-input-wrapper input{
    width: 100% !important;
    height: 38px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    padding: 0 12px !important;
    background: #f9fffc !important;
    border: 1px solid #c3eedb !important;
    box-sizing: border-box;
  }
}

@media (max-width: 900px){

  .search-input-wrapper{
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
}

@media (max-width: 900px){
  .search-input-wrapper .search-btn{
    position: absolute;
    top: 50%;
    right: 102px !important;
    transform: translateY(-50%);
  }

  @media (max-width: 900px){
    .search-area{
      flex-direction: row !important;
      align-items: center !important;
      gap: 8px !important;
      width: 100vw !important;
      max-width: 100vw !important;
      padding: 0 !important;
      margin: 0 !important;
      box-sizing: border-box !important;
    }

    .search-input-wrapper{
      flex: 1 1 0 !important;
      min-width: 0 !important;
      margin-left: 0 !important;
      margin-right: 50px !important;
    }

    .search-input-wrapper input{
      width: 100% !important;
      border-radius: 7px !important;
    }
  }

  #distSelect{
    display: none !important;
  }

  @media (max-width: 768px){
    #mainAdsSliders,
.show-more-btn{
      display: none !important;
    }

    #mobileAdsGrid{
      display: grid !important;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      padding: 8px;
    }

    #mobileAdsGrid .ad-card{
      width: 100% !important;
      border-radius: 8px;
      box-shadow: 0 1px 6px rgba(0,0,0,0.08);
      overflow: hidden;
    }

    #mobileAdsGrid .ad-img-wrap{
      position: relative;
    }

    #mobileAdsGrid .ad-price-overlay{
      position: absolute;
      bottom: 6px;
      left: 6px;
      background: #fff;
      color: #24c256;
      padding: 4px 6px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    #mobileAdsGrid .ad-info{
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 8px;
    }

    #mobileAdsGrid .ad-title{
      font-size: 14px;
      font-weight: 600;
      color: #1b6246;
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    #mobileAdsGrid .ad-location-row{
      display: flex;
      align-items: center;
      gap: 4px;
    }

    #mobileAdsGrid .ad-location-icon{
      width: 12px;
      height: 12px;
    }

    #mobileAdsGrid .ad-location-text{
      font-size: 12px;
      color: #555;
    }
  }

  #mobileAdsGrid .ad-img-wrap{
    height: 100px;
    overflow: hidden;
  }

  #mobileAdsGrid .ad-price-overlay{
    background: rgba(36, 194, 86, 0.6) !important;
    color: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
  }

  #mobileAdsGrid .ad-img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  @media (min-width: 901px){
    .main-container{
      display: flex;
      flex-direction: row;
      gap: 24px;
      align-items: flex-start;
      max-width: 1250px;
      margin: 0 auto;
      padding: 0 0 50px 0;
      box-sizing: border-box;
    }

    .filter-bar{
      width: 200px;
      min-width: 100px;
      max-width: 170px;
      background: #fff;
      border-radius: 17px;
      box-shadow: 0 3px 14px #38eaa414;
      border: 1.5px solid #dff5e9;
      padding: 20px 18px 18px 18px;
      margin: 0;
      position: sticky;
      top: 34px;
      align-self: flex-start;
      display: block;
      z-index: 1;
    }

    .filter-bar h2{
      font-size: 19px;
      color: #18995a;
      margin: 0 0 18px 0;
      font-weight: 700;
      border-bottom: 1px solid #e7f4ed;
      padding-bottom: 7px;
      letter-spacing: 0.1px;
    }

    .filter-group{
      margin-bottom: 17px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .filter-group label{
      font-size: 14px;
      color: #15804a;
      font-weight: bold;
      margin-bottom: 3px;
    }

    .filter-row{
      display: flex;
    }

    .filter-group input,
.filter-group select{
      border: 1.5px solid #e0f3ea;
      border-radius: 7px;
      padding: 7px 8px;
      font-size: 15px;
      font-family: inherit;
      background: #f8fdfa;
      color: #218a4d;
      outline: none;
      margin-bottom: 2px;
      transition: border 0.19s, box-shadow 0.14s;
      box-shadow: 0 1px 4px #b9f8e607;
    }

    .filter-group input:focus,
.filter-group select:focus{
      border-color: #22c37d;
      background: #fff;
      box-shadow: 0 2px 9px #c3f7e115;
    }

    .apply-filter-btn{
      width: 100%;
      background: #22c37d;
      color: #fff;
      font-weight: bold;
      font-size: 16px;
      padding: 10px 0;
      border: none;
      border-radius: 8px;
      margin-top: 6px;
      cursor: pointer;
      transition: background 0.14s;
      letter-spacing: 0.15px;
      margin-bottom: 4px;
      box-shadow: 0 2px 13px #22c37d17;
    }

    .apply-filter-btn:hover{
      background: #1a9657;
    }

    .filter-group:last-child{
      margin-bottom: 10px;
    }
  }

  @media (min-width: 901px){
    .filter-row input[type="text"],
.filter-row input[type="number"]{
      width: 25px;
      min-width: 50px;
      max-width: 50px;
      padding: 6px 6px;
      font-size: 8px;
      margin-bottom: 0;
      margin-right: 0;
      margin-left: 0;
      display: inline-block;
      text-align: center;
    }

    .filter-row{
      gap: 6px;
    }
  }

  @media (min-width: 901px){
    #priceFromInput,
#priceToInput,
#yearFromInput,
#yearToInput,
#kmFromInput,
#kmToInput{
      width: 50px;
      min-width: 62px;
      max-width: 62px;
      padding: 5px 5px;
      font-size: 13px;
      border-radius: 6px;
      text-align: center;
      margin-bottom: 0;
      margin-right: 0;
      margin-left: 0;
      display: inline-block;
      background: #fafdff;
      color: #218a4d;
      border: 1.3px solid #e0f3ea;
      transition: border 0.18s;
    }

    #priceFromInput:focus,
#priceToInput:focus,
#yearFromInput:focus,
#yearToInput:focus,
#kmFromInput:focus,
#kmToInput:focus{
      border: 1.5px solid #22c37d;
      background: #fff;
    }
  }

  @media (min-width: 901px){
    .results-section{
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: flex-start;
      min-width: 0;
      max-width: 900px;
      margin: 0;
    }

    .ad-card{
      display: flex;
      flex-direction: row-reverse;
      align-items: stretch;
      background: #fff;
      border: 1.2px solid #e1e7e2;
      border-radius: 13px;
      box-shadow: 0 1.5px 12px #90c6a71a;
      width: 100%;
      max-width: 200px;
      min-width: 200px;
      margin: 0 0 14px 0;
      transition: box-shadow .17s, transform .13s;
      overflow: hidden;
      cursor: pointer;
      position: relative;
    }

    .ad-card:hover{
      box-shadow: 0 6px 24px #49d88a26;
      transform: translateY(-3px) scale(1.012);
    }

    .ad-image{
      width: 600px;
      min-width: 200px;
      max-width: 200px;
      height: 600px;
      background: #f3faf6;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-left: none;
      border-right: 1.5px solid #f2f5f5;
      position: relative;
    }

    .ad-image img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0;
      display: block;
    }

    .ad-detail{
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 18px 25px 16px 10px;
      gap: 7px;
      min-width: 0;
      position: relative;
    }

    .ad-location{
      color: #888;
      font-size: 15px;
      margin-bottom: 1.5px;
      display: flex;
      align-items: center;
      gap: 4px;
      font-weight: 500;
    }

    .ad-location img{
      width: 19px;
      height: 19px;
      margin-left: 4px;
      margin-right: 0;
      opacity: 0.8;
    }

    .ad-title{
      margin: 0 0 3px 0;
      font-size: 20px;
      font-weight: bold;
      color: #192a21;
      line-height: 1.14;
      text-align: right;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .ad-desc{
      font-size: 15px;
      color: #3a493b;
      margin-bottom: 2.5px;
      margin-top: 0px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .ad-meta-bar{
      display: flex;
      gap: 8px;
      margin-top: 0px;
      margin-bottom: 2px;
      justify-content: flex-start;
      align-items: center;
    }

    .ad-meta-bar span{
      background: #f5faf8;
      border-radius: 7px;
      padding: 2.5px 13px;
      color: #18411a;
      font-size: 14px;
      font-weight: 600;
      border: 1px solid #d3eede;
      min-width: 68px;
      text-align: center;
      letter-spacing: .1px;
      display: inline-block;
    }

    .ad-price{
      font-size: 25px;
      color: #1ea722;
      font-weight: bold;
      margin-top: 6px;
      margin-bottom: 0;
      background: transparent;
      padding: 0;
      border-radius: 0;
      display: inline-block;
      align-self: flex-start;
      letter-spacing: 0.6px;
    }

    .ad-date{
      font-size: 13.2px;
      color: #90b79a;
      margin-top: 7px;
      text-align: left;
      align-self: flex-start;
      font-weight: 500;
      margin-bottom: 0;
    }

    .ad-img-count{
      position: absolute;
      bottom: 9px;
      right: 16px;
      background: #2e4633e6;
      color: #fff;
      border-radius: 8px;
      font-size: 13px;
      padding: 2px 10px 2px 7px;
      z-index: 4;
      font-family: inherit;
      font-weight: bold;
      letter-spacing: 0.1px;
    }
  }

  .ad-image{
    display: flex;
    flex-direction: column;
  }

  .ad-image img{
    width: 1000%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  .ad-card{
    flex-direction: column;
  }

  @media (min-width: 901px){
    #sectionResultsContainer{
      flex: 1;
      display: block !important;
    }
  }

  @media (min-width: 768px){
    #sectionResultsContainer .results-section .ad-card{
      align-items: flex-start;
      background-color: #ffffff;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail{
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail .ad-location{
      display: flex;
      align-items: center;
      font-size: 13px;
      color: #666;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail .ad-title{
      font-size: 18px;
      font-weight: 400;
      margin: 4px 0;
      line-height: 1.2;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail .ad-desc{
      font-size: 14px;
      color: #444;
      margin-bottom: 8px;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail .ad-meta-bar{
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 8px 0;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail .ad-price{
      font-size: 20px;
      font-weight: bold;
      color: #238c41;
      margin-top: 4px;
    }

    #sectionResultsContainer .results-section .ad-card .ad-detail .ad-date{
      font-size: 12px;
      color: #999;
      text-align: right;
    }
  }

  @media (min-width: 768px){
    #sectionResultsContainer .results-section .ad-card{
      display: flex !important;
      flex-direction: row-reverse !important;
      width: 80% !important;
      max-width: 80% !important;
      min-width: 0 !important;
      margin-bottom: 16px !important;
      padding: 16px !important;
      border-radius: 12px !important;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
      overflow: hidden !important;
    }

    #sectionResultsContainer .results-section .ad-card .ad-image{
      flex: 0 0 170px !important;
      width: 170px !important;
      min-width: 150px !important;
      max-width: 220px !important;
      height: 125px !important;
      margin-left: 16px !important;
      background: #f3faf6 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      overflow: hidden !important;
      border-right: 1.5px solid #f2f5f5 !important;
      position: relative !important;
      border-radius: 8px !important;
    }

    #sectionResultsContainer .results-section .ad-card .ad-image img{
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      display: block !important;
      border-radius: 8px !important;
    }

    :root{
      --b24-blue: #1877f2;
      --b24-blue-dark: #0f5fc4;
      --b24-blue-soft: #eaf3ff;
      --b24-ink: #17202a;
      --b24-muted: #667085;
      --b24-line: #e4e7ec;
      --b24-bg: #f4f5f7;
    }

    html{
      background: var(--b24-bg);
    }

    body{
      background: var(--b24-bg) !important;
      color: var(--b24-ink) !important;
    }

    header{
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 0 16px !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: var(--b24-blue) !important;
      box-shadow: 0 2px 12px rgba(15, 95, 196, .2) !important;
      position: relative;
      z-index: 1000;
    }

    .site-name-row{
      min-height: 88px !important;
      margin: 0 !important;
      padding: 0 max(24px, calc((100% - 1180px) / 2)) !important;
      background: #fff !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
    }

    .bazari-brand{
      direction: ltr;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--b24-blue);
      text-decoration: none;
    }

    .bazari-mark{
      width: 37px;
      height: 43px;
      position: relative;
      display: inline-block;
    }

    .bazari-mark::before,
.bazari-mark::after{
      content: "";
      position: absolute;
      border: 3px solid currentColor;
      border-radius: 15px 15px 15px 4px;
      width: 16px;
      height: 34px;
      top: 2px;
    }

    .bazari-mark::before{
      left: 2px;
    }

    .bazari-mark::after{
      left: 15px;
      top: 9px;
      height: 26px;
      transform: rotate(42deg);
    }

    .site-title{
      color: var(--b24-blue) !important;
      font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
      font-size: 31px !important;
      font-weight: 900 !important;
      letter-spacing: -1px;
      margin: 0 !important;
      text-shadow: none !important;
    }

    .header-actions-row{
      width: min(1180px, calc(100% - 32px)) !important;
      max-width: 1180px !important;
      min-height: 50px;
      margin: 16px auto 0 !important;
      gap: 12px !important;
    }

    .search-area{
      min-height: 50px;
      padding: 6px !important;
      gap: 0 !important;
      background: #fff !important;
      border-radius: 27px !important;
      box-shadow: 0 5px 18px rgba(7, 57, 122, .24);
      overflow: visible;
    }

    .search-input-wrapper{
      flex: 1 1 420px !important;
      min-width: 220px;
    }

    .search-input-wrapper input{
      width: 100% !important;
      height: 38px !important;
      padding: 0 48px 0 16px !important;
      border: 0 !important;
      border-radius: 22px !important;
      outline: none !important;
      background: #fff !important;
      color: var(--b24-ink) !important;
    }

    .search-input-wrapper input:focus{
      box-shadow: inset 0 0 0 2px rgba(24,119,242,.18) !important;
    }

    .search-input-wrapper .search-btn{
      right: 5px !important;
      width: 34px !important;
      height: 34px !important;
      padding: 8px !important;
      border-radius: 50% !important;
      background: var(--b24-blue) !important;
    }

    .search-input-wrapper .search-btn:hover{
      background: var(--b24-blue-dark) !important;
    }

    .selected-info{
      background: var(--b24-blue-soft) !important;
      color: var(--b24-blue-dark) !important;
    }

    #loginBtn,
#addBtn,
#freeBtn{
      min-height: 42px !important;
      padding: 0 16px !important;
      border: 2px solid #fff !important;
      border-radius: 22px !important;
      font-weight: 800 !important;
      white-space: nowrap;
    }

    #loginBtn,
#freeBtn{
      background: transparent !important;
      color: #fff !important;
    }

    #profileBtn{
      border-color: #fff !important;
    }

    main{
      max-width: 1180px !important;
      margin: 24px auto !important;
      padding: 0 14px !important;
    }

    .sections-container{
      max-width: 1180px !important;
      width: 100% !important;
      grid-template-columns: repeat(10, minmax(78px, 1fr)) !important;
      gap: 10px !important;
      margin: 0 auto 18px !important;
    }

    .section{
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
      padding: 11px 5px !important;
      border: 1px solid var(--b24-line) !important;
      border-radius: 10px !important;
      box-shadow: 0 2px 9px rgba(29,41,57,.07) !important;
    }

    .section:hover,
.section.selected{
      background: var(--b24-blue-soft) !important;
      border-color: var(--b24-blue) !important;
      box-shadow: 0 7px 18px rgba(24,119,242,.17) !important;
    }

    .section img{
      border-color: #cfe3ff !important;
    }

    .section p{
      color: var(--b24-blue-dark) !important;
    }

    .main-container{
      max-width: 1180px !important;
      gap: 14px !important;
    }

    .ads-slider-row,
.results-section,
.filter-bar{
      background: #fff !important;
      border: 1px solid var(--b24-line) !important;
      border-radius: 10px !important;
      box-shadow: 0 3px 13px rgba(29,41,57,.07) !important;
    }

    .ads-row-header h2,
.results-section h2{
      color: var(--b24-blue-dark) !important;
    }

    .ads-slider-list{
      scrollbar-color: #75aff8 #edf4fd !important;
    }

    .ads-slider-list::-webkit-scrollbar-thumb{
      background: #75aff8 !important;
    }

    .ads-slider-card{
      border-color: #dbe9fb !important;
      box-shadow: 0 2px 9px rgba(24,119,242,.08) !important;
    }

    .ads-slider-card:hover{
      box-shadow: 0 8px 22px rgba(24,119,242,.2) !important;
    }

    .ads-slider-img-wrap{
      background: #f3f7fc !important;
    }

    .ads-slider-title{
      color: #173a67 !important;
    }

    .ads-slider-price{
      color: var(--b24-blue-dark) !important;
      background: var(--b24-blue-soft) !important;
    }

    .apply-filter-btn,
.show-more-btn{
      background: var(--b24-blue) !important;
      border-color: var(--b24-blue) !important;
      color: #fff !important;
    }

    .apply-filter-btn:hover,
.show-more-btn:hover{
      background: var(--b24-blue-dark) !important;
    }

    .modal-content h3#modalCityName{
      color: var(--b24-blue-dark) !important;
    }

    .radius-list li:hover{
      background: var(--b24-blue-soft) !important;
    }

    footer a{
      color: var(--b24-blue-dark) !important;
    }

    @media (max-width: 900px){
      header{
        padding-bottom: 10px !important;
      }

      .site-name-row{
        min-height: 65px !important;
        padding: 0 14px !important;
      }

      .site-title{
        font-size: 25px !important;
      }

      .bazari-mark{
        transform: scale(.82);
        margin-inline: -3px;
      }

      .header-actions-row{
        width: calc(100% - 20px) !important;
        margin-top: 9px !important;
        flex-wrap: wrap !important;
      }

      .search-area{
        order: -1;
        width: 100%;
        flex-basis: 100% !important;
      }

      .sections-container{
        display: flex !important;
        overflow-x: auto !important;
        gap: 9px !important;
        padding-bottom: 7px !important;
      }

      .section{
        min-width: 92px !important;
      }

      main{
        margin-top: 12px !important;
        padding: 0 9px !important;
      }
    }

    @media (max-width: 520px){
      .search-area{
        border-radius: 12px !important;
      }

      #freeBtn{
        display: none !important;
      }

      #loginBtn,
#addBtn{
        min-height: 38px !important;
        font-size: 12px !important;
        padding: 0 11px !important;
      }
    }

    #loginBtn,
#freeBtn{
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }

    .header-actions-row #profileContainer,
#profileContainer{
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      position: relative !important;
      order: 20 !important;
    }

    .header-actions-row #addBtn,
#addBtn{
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      order: 19 !important;
    }

    #addBtn{
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 3px !important;
      width: auto !important;
      height: 50px !important;
      padding: 0 8px !important;
      margin: 0 !important;
      border-radius: 0 !important;
      font-family: "Cairo", Arial, sans-serif !important;
      font-size: 0 !important;
      font-weight: 800 !important;
      line-height: 1.1 !important;
      cursor: pointer !important;
      white-space: nowrap !important;
    }

    #addBtn::before{
      content: "" !important;
      width: 27px !important;
      height: 27px !important;
      display: block !important;
      background-repeat: no-repeat !important;
      background-position: center !important;
      background-size: 27px 27px !important;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 13.5 12 22 2 12V2h10l8.5 8.5a2.12 2.12 0 0 1 0 3Z'/%3E%3Cpath d='M7 7h.01'/%3E%3Cpath d='M16 5v6'/%3E%3Cpath d='M13 8h6'/%3E%3C/svg%3E") !important;
    }

    #addBtn::after{
      content: "أضف للبيع" !important;
      display: block !important;
      color: #111 !important;
      font-size: 13.5px !important;
      font-weight: 800 !important;
      line-height: 1.1 !important;
    }

    #profileBtn{
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 3px !important;
      width: auto !important;
      height: 50px !important;
      padding: 0 8px !important;
      margin: 0 !important;
      border-radius: 0 !important;
      font-family: "Cairo", Arial, sans-serif !important;
      font-size: 0 !important;
      font-weight: 800 !important;
      line-height: 1.1 !important;
      cursor: pointer !important;
      white-space: nowrap !important;
      overflow: visible !important;
    }

    #profileBtn::before{
      content: none !important;
    }

    #profileBtn::after{
      content: "حسابي" !important;
      display: block !important;
      margin: 0 !important;
      color: #111 !important;
      font-size: 13.5px !important;
      font-weight: 800 !important;
      line-height: 1.1 !important;
    }

    #profileBtn #profilePicNav{
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 27px !important;
      height: 27px !important;
      min-width: 27px !important;
      max-width: 27px !important;
      min-height: 27px !important;
      max-height: 27px !important;
      padding: 0 !important;
      margin: 0 !important;
      overflow: hidden !important;
      line-height: 1 !important;
    }

    #profileBtn #profilePicNav svg,
#profileBtn .menu-icon,
#profileBtn svg{
      width: 27px !important;
      height: 27px !important;
      min-width: 27px !important;
      max-width: 27px !important;
      min-height: 27px !important;
      max-height: 27px !important;
      display: block !important;
      fill: none !important;
      stroke: #111 !important;
      color: #111 !important;
      stroke-width: 2 !important;
      stroke-linecap: round !important;
      stroke-linejoin: round !important;
      transform: none !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    .header-actions-row{
      align-items: center !important;
    }

    .header-actions-row .search-area{
      order: 10 !important;
    }

    @media (max-width: 900px){
      .mobile-bottom-bar{
        position: fixed !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 99999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 42px !important;
        height: 64px !important;
        padding: 0 14px !important;
        background: #b8f236 !important;
        border: 0 !important;
        border-top: 0 !important;
        box-shadow: none !important;
      }

      .mobile-bottom-bar button{
        display: none !important;
      }

      .mobile-bottom-bar button[onclick*="goToAdd"],
.mobile-bottom-bar #profileMobileBtn{
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        width: auto !important;
        min-width: 76px !important;
        height: 60px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #111 !important;
        font-family: "Cairo", Arial, sans-serif !important;
        cursor: pointer !important;
      }

      .mobile-bottom-bar button[onclick*="goToAdd"]{
        order: 1 !important;
      }

      .mobile-bottom-bar #profileMobileBtn{
        order: 2 !important;
      }

      .mobile-bottom-bar svg{
        width: 27px !important;
        height: 27px !important;
        display: block !important;
        fill: none !important;
        stroke: #111 !important;
        color: #111 !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        margin: 0 !important;
        padding: 0 !important;
      }

      .mobile-bottom-bar button span:last-child{
        margin: 0 !important;
        padding: 0 !important;
        color: #111 !important;
        font-size: 0 !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
      }

      .mobile-bottom-bar #profileMobileBtn span:last-child::after{
        content: "حسابي" !important;
        display: block !important;
        color: #111 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
      }

      .mobile-bottom-bar button[onclick*="goToAdd"] span:last-child::after{
        content: "أضف للبيع" !important;
        display: block !important;
        color: #111 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
      }

      body{
        padding-bottom: 68px !important;
      }
    }

    @media (min-width: 901px){
      .mobile-bottom-bar{
        display: none !important;
      }
    }

    .b24-main-actions{
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      direction: rtl !important;
    }

    #addBtn,
#profileBtn{
      display: inline-flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;
      width: auto !important;
      height: 44px !important;
      min-height: 44px !important;
      padding: 0 15px !important;
      border-radius: 999px !important;
      font: 800 14px/1 "Cairo",Arial,sans-serif !important;
      white-space: nowrap !important;
      transition: transform .16s ease,box-shadow .16s ease !important;
    }

    #addBtn{
      min-width: 126px !important;
      background: #b8f236 !important;
      color: #172000 !important;
      border: 1px solid #a2d929 !important;
      box-shadow: 0 3px 10px rgba(20,40,0,.18) !important;
    }

    #profileBtn{
      min-width: 104px !important;
      background: #fff !important;
      color: #17202a !important;
      border: 1px solid rgba(23,32,42,.12) !important;
      box-shadow: 0 3px 10px rgba(16,24,40,.14) !important;
    }

    #addBtn::before,
#addBtn::after,
#profileBtn::before,
#profileBtn::after{
      content: none !important;
      display: none !important;
    }

    #addBtn>span,
#profileBtn>span{
      display: inline !important;
      margin: 0 !important;
      color: inherit !important;
      font-size: 14px !important;
      font-weight: 800 !important;
      line-height: 1 !important;
    }

    #addBtn>svg,
#profileBtn>svg{
      display: block !important;
      width: 23px !important;
      min-width: 23px !important;
      max-width: 23px !important;
      height: 23px !important;
      min-height: 23px !important;
      max-height: 23px !important;
      margin: 0 !important;
      padding: 0 !important;
      fill: none !important;
      stroke: currentColor !important;
      stroke-width: 1.8 !important;
      stroke-linecap: round !important;
      stroke-linejoin: round !important;
    }

    #addBtn:hover,
#profileBtn:hover{
      transform: translateY(-1px) !important;
      box-shadow: 0 5px 14px rgba(16,24,40,.2) !important;
    }

    #addBtn:focus-visible,
#profileBtn:focus-visible,
.mobile-bottom-bar button:focus-visible{
      outline: 3px solid rgba(184,242,54,.45) !important;
      outline-offset: 2px !important;
    }

    @media (max-width:900px){
      .mobile-bottom-bar{
        gap: 14px !important;
        height: 68px !important;
        padding: 7px 18px !important;
        background: #fff !important;
        border-top: 1px solid #e6e8eb !important;
        box-shadow: 0 -5px 20px rgba(16,24,40,.1) !important;
      }

      .mobile-bottom-bar button[onclick*="goToAdd"],
.mobile-bottom-bar #profileMobileBtn{
        display: flex !important;
        flex: 1 1 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 180px !important;
        height: 50px !important;
        padding: 0 14px !important;
        border-radius: 999px !important;
        font-weight: 800 !important;
      }

      .mobile-bottom-bar button[onclick*="goToAdd"]{
        background: #b8f236 !important;
        color: #172000 !important;
        box-shadow: 0 3px 10px rgba(20,40,0,.16) !important;
      }

      .mobile-bottom-bar #profileMobileBtn{
        background: #f3f4f6 !important;
        color: #17202a !important;
        border: 1px solid #e1e4e8 !important;
      }

      .mobile-bottom-bar svg{
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
      }

      .mobile-bottom-bar button span:last-child{
        margin: 0 !important;
        color: inherit !important;
        font-size: 0 !important;
        line-height: 1 !important;
      }

      .mobile-bottom-bar #profileMobileBtn span:last-child::after,
.mobile-bottom-bar button[onclick*="goToAdd"] span:last-child::after{
        color: inherit !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
      }
    }

    :root{
      --b24-filter-blue: #1769e0;
      --b24-filter-blue-dark: #0d4fad;
      --b24-filter-blue-soft: #eef6ff;
      --b24-filter-border: #d8e7fb;
      --b24-filter-ink: #14233b;
      --b24-filter-muted: #64748b;
    }

    @media (min-width: 901px){
      .main-container{
        width: min(1280px, calc(100vw - 32px)) !important;
        max-width: 1280px !important;
        display: grid !important;
        grid-template-columns: 286px minmax(0, 1fr) !important;
        gap: 22px !important;
        direction: rtl !important;
        align-items: start !important;
        padding: 0 !important;
        margin: 8px auto 32px !important;
      }

      .filter-bar{
        grid-column: 1 !important;
        width: 286px !important;
        min-width: 286px !important;
        max-width: 286px !important;
        max-height: calc(100vh - 24px) !important;
        position: sticky !important;
        top: 12px !important;
        align-self: start !important;
        margin: 0 !important;
        padding: 16px !important;
        overflow: auto !important;
        background: linear-gradient(180deg, rgba(23, 105, 224, .06), rgba(255, 255, 255, 0) 130px), #fff !important;
        border: 1px solid var(--b24-filter-border) !important;
        border-radius: 12px !important;
        box-shadow: 0 18px 40px rgba(15, 79, 173, .12) !important;
        color: var(--b24-filter-ink) !important;
        z-index: 5 !important;
        scrollbar-color: #8dbdf7 #eef6ff !important;
      }

      .filter-bar::before{
        content: "فلترة النتائج";
        display: block;
        margin: 0 0 12px;
        padding: 0 0 12px;
        border-bottom: 1px solid var(--b24-filter-border);
        color: var(--b24-filter-blue-dark);
        font-size: 18px;
        font-weight: 900;
      }

      .filter-bar h2{
        color: var(--b24-filter-blue-dark) !important;
        border-bottom-color: var(--b24-filter-border) !important;
      }

      .filter-group{
        margin-bottom: 13px !important;
        gap: 6px !important;
      }

      .filter-group label{
        color: var(--b24-filter-ink) !important;
        font-size: 13px !important;
        font-weight: 800 !important;
      }

      .filter-row{
        gap: 8px !important;
      }

      .filter-row input[type="text"],
.filter-row input[type="number"],
.filter-group input,
.filter-group select{
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 40px !important;
        padding: 8px 10px !important;
        border: 1px solid var(--b24-filter-border) !important;
        border-radius: 8px !important;
        background: #f8fbff !important;
        color: var(--b24-filter-ink) !important;
        font-size: 14px !important;
        box-shadow: none !important;
      }

      .filter-row input[type="text"],
.filter-row input[type="number"]{
        text-align: center !important;
      }

      .filter-group input:focus,
.filter-group select:focus{
        border-color: var(--b24-filter-blue) !important;
        background: #fff !important;
        box-shadow: 0 0 0 4px rgba(23, 105, 224, .12) !important;
      }

      .apply-filter-btn{
        min-height: 44px !important;
        margin-top: 6px !important;
        border-radius: 8px !important;
        background: var(--b24-filter-blue) !important;
        border: 1px solid var(--b24-filter-blue) !important;
        box-shadow: 0 10px 22px rgba(23, 105, 224, .22) !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 900 !important;
      }

      .apply-filter-btn:hover{
        background: var(--b24-filter-blue-dark) !important;
        border-color: var(--b24-filter-blue-dark) !important;
      }

      #sectionResultsContainer{
        grid-column: 2 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
      }

      #sectionResultsContainer .results-section{
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 16px !important;
        background: #fff !important;
        border: 1px solid var(--b24-filter-border) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(17, 40, 80, .07) !important;
      }

      #sectionResultsContainer .results-section .ad-card{
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        border-color: #dde9f7 !important;
        box-shadow: 0 8px 22px rgba(17, 40, 80, .08) !important;
      }

      #sectionResultsContainer .results-section .ad-card:hover{
        box-shadow: 0 14px 32px rgba(23, 105, 224, .16) !important;
      }

      #sectionResultsContainer .ad-price,
#sectionResultsContainer .results-section .ad-card .ad-detail .ad-price{
        color: var(--b24-filter-blue-dark) !important;
      }

      #sectionResultsContainer .ad-meta-bar span{
        background: var(--b24-filter-blue-soft) !important;
        border-color: var(--b24-filter-border) !important;
        color: var(--b24-filter-blue-dark) !important;
      }
    }

    @media (max-width: 900px){
      .filter-bar{
        width: 100% !important;
        max-width: none !important;
        margin: 8px 0 12px !important;
        padding: 14px !important;
        border: 1px solid var(--b24-filter-border) !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(15, 79, 173, .11) !important;
      }

      .filter-bar::before{
        content: "فلترة النتائج";
        display: block;
        margin-bottom: 12px;
        color: var(--b24-filter-blue-dark);
        font-weight: 900;
      }
    }
  }
}




@media (min-width: 901px){
  html body #sectionsContainer.sections-container{
    display: grid !important;
    grid-template-columns: repeat(10, max-content) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 22px !important;
    width: max-content !important;
    max-width: none !important;
    margin: 24px auto 30px auto !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  html body #sectionsContainer.sections-container > .section{
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    text-align: center !important;
    cursor: pointer !important;
    transform: none !important;
    transition: transform .18s ease !important;
  }

  html body #sectionsContainer.sections-container > .section:hover,
html body #sectionsContainer.sections-container > .section.selected{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-3px) !important;
  }

  html body #sectionsContainer.sections-container > .section > svg.section-icon,
html body #sectionsContainer.sections-container > .section > .section-icon{
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    box-sizing: border-box !important;
    padding: 13px !important;
    margin: 0 auto !important;
    border-radius: 999px !important;
    border: 1.5px solid #bfdbfe !important;
    background: #eff6ff !important;
    color: #1877f2 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    box-shadow: 0 7px 18px rgba(24,119,242,.11) !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
  }

  html body #sectionsContainer.sections-container > .section:hover > svg.section-icon,
html body #sectionsContainer.sections-container > .section.selected > svg.section-icon,
html body #sectionsContainer.sections-container > .section:hover > .section-icon,
html body #sectionsContainer.sections-container > .section.selected > .section-icon{
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(24,119,242,.24) !important;
    transform: scale(1.04) !important;
  }

  html body #sectionsContainer.sections-container > .section > p{
    margin: 0 !important;
    padding: 0 !important;
    color: #075db8 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    transition: color .18s ease !important;
  }

  html body #sectionsContainer.sections-container > .section:hover > p,
html body #sectionsContainer.sections-container > .section.selected > p{
    color: #1877f2 !important;
  }
}

@media (max-width: 900px){
  html body #sectionsContainer.sections-container{
    display: flex !important;
    gap: 18px !important;
    padding: 0 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body #sectionsContainer.sections-container > .section{
    flex: 0 0 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    scroll-snap-align: start !important;
  }

  html body #sectionsContainer.sections-container > .section > svg.section-icon,
html body #sectionsContainer.sections-container > .section > .section-icon{
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
    border: 1.5px solid #bfdbfe !important;
    background: #eff6ff !important;
    color: #1877f2 !important;
    fill: none !important;
    stroke: currentColor !important;
    box-shadow: 0 6px 16px rgba(24,119,242,.11) !important;
  }

  html body #sectionsContainer.sections-container > .section > p{
    margin: 0 !important;
    color: #075db8 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
}


@media (min-width: 901px){
  html body #sectionsContainer.sections-container{
    display: grid !important;
    grid-template-columns: repeat(10, 50px) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 65px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto 30px auto !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  html body #sectionsContainer.sections-container > .section{
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    min-height: 94px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    transform: none !important;
  }

  html body #sectionsContainer.sections-container > .section:hover,
html body #sectionsContainer.sections-container > .section.selected{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-4px) !important;
  }

  html body #sectionsContainer.sections-container > .section > svg.section-icon,
html body #sectionsContainer.sections-container > .section > .section-icon{
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    box-sizing: border-box !important;
    padding: 15px !important;
    margin: 0 auto !important;
    border-radius: 999px !important;
    border: 1.7px solid #bfdbfe !important;
    background: #eff6ff !important;
    color: #1877f2 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    box-shadow: 0 9px 22px rgba(24, 119, 242, .14) !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
  }

  html body #sectionsContainer.sections-container > .section:hover > svg.section-icon,
html body #sectionsContainer.sections-container > .section.selected > svg.section-icon,
html body #sectionsContainer.sections-container > .section:hover > .section-icon,
html body #sectionsContainer.sections-container > .section.selected > .section-icon{
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(24, 119, 242, .26) !important;
    transform: scale(1.05) !important;
  }

  html body #sectionsContainer.sections-container > .section > p{
    margin: 0 !important;
    padding: 0 !important;
    color: #075db8 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    transition: color .18s ease !important;
  }

  html body #sectionsContainer.sections-container > .section:hover > p,
html body #sectionsContainer.sections-container > .section.selected > p{
    color: #1877f2 !important;
  }
}

@media (max-width: 900px){
  html body #sectionsContainer.sections-container{
    gap: 18px !important;
    padding: 0 14px !important;
  }

  html body #sectionsContainer.sections-container > .section{
    flex: 0 0 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    min-height: 96px !important;
    gap: 9px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body #sectionsContainer.sections-container > .section > svg.section-icon,
html body #sectionsContainer.sections-container > .section > .section-icon{
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    padding: 14px !important;
  }

  html body #sectionsContainer.sections-container > .section > p{
    font-size: 13.5px !important;
    font-weight: 800 !important;
  }
}


@media (min-width: 901px){
  html body #sectionsContainer.sections-container{
    margin-top: 230px !important;
    margin-bottom: 14px !important;
  }

  html body #mainAdsSliders{
    width: min(1120px, calc(100% - 32px)) !important;
    margin: 0 auto 28px auto !important;
  }
}

@media (max-width: 900px){
  html body #sectionsContainer.sections-container{
    margin-top: 92px !important;
    margin-bottom: 12px !important;
  }
}

html body .ads-slider-row{
  background: #fff !important;
  border: 1px solid #e5efff !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(24, 119, 242, .07) !important;
  padding: 18px 18px 16px 18px !important;
  margin-bottom: 18px !important;
  direction: rtl !important;
}

html body .ads-row-header{
  justify-content: flex-start !important;
  padding: 0 0 14px 0 !important;
  text-align: right !important;
}

html body .ads-row-header h2,
html body .ads-row-header h2.active{
  color: #1877f2 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

html body .ads-slider-list{
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 0 0 8px 0 !important;
  direction: rtl !important;
  overflow-x: auto !important;
  scrollbar-color: #1877f2 #eef5ff !important;
}

html body .ads-slider-list::-webkit-scrollbar-thumb{
  background: #1877f2 !important;
}

html body .ads-slider-list::-webkit-scrollbar-track{
  background: #eef5ff !important;
}

html body .ads-slider-card{
  flex: 0 0 230px !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  min-height: 268px !important;
  background: #fff !important;
  border: 1px solid #d8e9ff !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(24, 119, 242, .08) !important;
  overflow: hidden !important;
}

html body .ads-slider-card:hover{
  box-shadow: 0 12px 30px rgba(24, 119, 242, .16) !important;
  transform: translateY(-2px) !important;
}

html body .ads-slider-img-wrap{
  width: 100% !important;
  height: 170px !important;
  background: #eef6ff !important;
  overflow: hidden !important;
}

html body .ads-slider-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

html body .ads-slider-info{
  padding: 10px 12px 12px 12px !important;
  background: #fff !important;
}

html body .ads-slider-title{
  color: #0b4fa8 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  min-height: 40px !important;
}

html body .ads-slider-meta{
  color: #64748b !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

html body .ads-slider-price,
html body .ad-price,
html body .ad-price-overlay{
  color: #1877f2 !important;
  background: #edf5ff !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
}

html body .ads-slider-price{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 9px !important;
  padding: 4px 8px !important;
  font-size: 13px !important;
}



@media (min-width: 901px){
  html body .header-actions-row{
    padding-top: 17px !important;
    padding-bottom: 7px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: 1550px !important;
    margin-bottom: 10px !important;
  }

  html body #mainAdsSliders{
    margin-top: 0 !important;
  }
}

@media (max-width: 900px){
  html body #sectionsContainer.sections-container{
    margin-top: 66px !important;
    margin-bottom: 10px !important;
  }
}

html body .ads-slider-list{
  justify-content: flex-start !important;
  direction: rtl !important;
}

html body .ads-slider-img-wrap,
html body .ad-img-wrap{
  background: #eef6ff !important;
}

html body .ads-slider-img,
html body .ad-img-wrap img,
html body .ad-main-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

html body .ad-main-img{
  max-width: none !important;
  min-height: 220px !important;
  border-radius: 10px !important;
}

html body .ads-slider-price,
html body .ad-price,
html body .ad-price-overlay{
  color: #1877f2 !important;
  background: #edf5ff !important;
  border: 1px solid #cfe3ff !important;
}


html body .b24-home-ad-slot{
  width: min(1120px, calc(100% - 32px)) !important;
  margin: 18px auto 16px auto !important;
  direction: rtl !important;
}

html body .b24-ad-placeholder{
  min-height: 104px !important;
  border: 1px dashed #9cc7ff !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 100%) !important;
  box-shadow: 0 10px 28px rgba(24,119,242,.08) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-align: center !important;
  color: #0b4fa8 !important;
}

html body .b24-ad-placeholder .b24-ad-badge{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  background: #1877f2 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body .b24-ad-placeholder strong{
  font-size: 19px !important;
  font-weight: 900 !important;
  color: #075db8 !important;
}

html body .b24-ad-placeholder small{
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

@media (min-width: 901px){
  html body .header-actions-row{
    padding-top: 18px !important;
    padding-bottom: 6px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: 14px !important;
    margin-bottom: 18px !important;
  }

  html body #mainAdsSliders{
    width: min(1120px, calc(100% - 32px)) !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
  }
}

@media (max-width: 900px){
  html body .b24-home-ad-slot{
    width: calc(100% - 24px) !important;
    margin: 12px auto 12px auto !important;
  }

  html body .b24-ad-placeholder{
    min-height: 84px !important;
    border-radius: 14px !important;
    padding: 10px !important;
  }

  html body .b24-ad-placeholder strong{
    font-size: 16px !important;
  }

  html body .b24-ad-placeholder small{
    font-size: 12px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: 10px !important;
    margin-bottom: 14px !important;
  }
}



html body .b24-home-ad-slot{
  margin: 10px auto 4px auto !important;
}

@media (min-width: 901px){
  html body .header-actions-row{
    padding-top: 14px !important;
    padding-bottom: 4px !important;
  }

  html body .b24-home-ad-slot{
    margin-top: 10px !important;
    margin-bottom: 4px !important;
  }

  html body .b24-ad-placeholder{
    min-height: 92px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: -8px !important;
    margin-bottom: 8px !important;
  }

  html body #mainAdsSliders{
    margin-top: -2px !important;
    margin-bottom: 24px !important;
  }
}

@media (max-width: 900px){
  html body .b24-home-ad-slot{
    margin-top: 8px !important;
    margin-bottom: 4px !important;
  }

  html body .b24-ad-placeholder{
    min-height: 78px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: -4px !important;
    margin-bottom: 8px !important;
  }
}



html body,
html body button,
html body input,
html body select,
html body textarea,
html body a,
html body p,
html body span,
html body div,
html body label,
html body h1,
html body h2,
html body h3,
html body h4,
html body li{
  font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif !important;
}



@media (min-width: 901px){
  html body .header-actions-row{
    margin-bottom: 6px !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }

  html body .b24-home-ad-slot{
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body .b24-ad-placeholder{
    min-height: 66px !important;
    padding: 8px 16px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: -30px !important;
    margin-bottom: 2px !important;
  }

  html body #mainAdsSliders{
    margin-top: -18px !important;
    margin-bottom: 20px !important;
  }

  html body .ads-slider-row{
    margin-bottom: 10px !important;
  }
}

@media (max-width: 900px){
  html body .b24-home-ad-slot{
    margin-top: 5px !important;
    margin-bottom: 0 !important;
  }

  html body .b24-ad-placeholder{
    min-height: 64px !important;
    padding: 7px 10px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: -20px !important;
    margin-bottom: 4px !important;
  }

  html body #mainAdsSliders{
    margin-top: -10px !important;
  }
}



:root{
  --b24-ui-font: "Noto Kufi Arabic", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --b24-listing-font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

html body,
html body button,
html body input,
html body select,
html body textarea,
html body label,
html body .site-title,
html body .brand-name,
html body .brand-number,
html body .b24-header-action-btn,
html body .b24-category-trigger,
html body .b24-menu-main button,
html body .b24-menu-sub button,
html body .section p,
html body .ads-row-header h2,
html body .b24-ad-placeholder,
html body .b24-ad-placeholder *{
  font-family: var(--b24-ui-font) !important;
}

html body .ads-slider-card,
html body .ads-slider-card *,
html body .ad-card,
html body .ad-card *,
html body .result-card,
html body .result-card *,
html body .ads-slider-title,
html body .ads-slider-meta,
html body .ads-slider-price{
  font-family: var(--b24-listing-font) !important;
}

@media (min-width: 901px){
  html body header .header-actions-row{
    margin-bottom: 0 !important;
  }

  html body .b24-home-ad-slot{
    margin-top: -16px !important;
    margin-bottom: -18px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body .b24-ad-placeholder{
    min-height: 52px !important;
    padding: 5px 14px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: -42px !important;
    margin-bottom: -8px !important;
  }

  html body #mainAdsSliders{
    margin-top: -28px !important;
    margin-bottom: 16px !important;
  }

  html body .ads-slider-row{
    margin-bottom: 8px !important;
  }
}

@media (max-width: 900px){
  html body .b24-home-ad-slot{
    margin-top: -8px !important;
    margin-bottom: -10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body .b24-ad-placeholder{
    min-height: 54px !important;
    padding: 5px 10px !important;
  }

  html body #sectionsContainer.sections-container{
    margin-top: -28px !important;
    margin-bottom: 0 !important;
  }

  html body #mainAdsSliders{
    margin-top: -16px !important;
  }
}
