.rh-search-wrap{padding:14px 0 4px}
    .rh-search-box{background:#fff;border:1px solid #e8edf4;border-radius:18px;padding:12px;box-shadow:0 8px 26px rgba(40,58,90,.06)}
    .rh-search-form{display:flex;gap:8px;align-items:center}
    .rh-search-input{position:relative;flex:1;min-width:0}
    .rh-search-input i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#78869a;font-size:16px}
    .rh-search-input input{width:100%;height:48px;border:1px solid #dfe5ed;border-radius:14px;padding:0 14px 0 44px;font-size:15px;color:#253149;background:#f8fafc;outline:none}
    .rh-search-input input:focus{border-color:#415d91;box-shadow:0 0 0 3px rgba(65,93,145,.10);background:#fff}
    .rh-search-btn{height:48px;border:0;border-radius:14px;background:#415d91;color:#fff;padding:0 18px;font-weight:700;white-space:nowrap}

    .rh-category-section{padding:10px 0 2px}
    .rh-category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
    .rh-category-title{margin:0;font-size:18px;font-weight:850;color:#222c3d}
    .rh-category-more{border:0;background:transparent;padding:5px 0;color:#415d91;font-size:13px;font-weight:800;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
    .rh-category-row{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none;scroll-snap-type:x proximity}
    .rh-category-row::-webkit-scrollbar{display:none}
    .rh-category-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex:0 0 112px;height:82px;padding:9px 7px;border:1px solid #e4e9f0;border-radius:14px;background:#fff;color:#344259;text-decoration:none;font-weight:750;font-size:11.5px;text-align:center;line-height:1.15;scroll-snap-align:start;box-shadow:0 3px 12px rgba(38,54,82,.035);overflow:hidden}
    .rh-category-card:hover{color:#415d91;border-color:#cdd7e7;background:#fbfcff}
    .rh-category-card .rh-cat-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:9px;background:#eef4ff;color:#415d91}
    .rh-category-card .rh-cat-icon i{font-size:16px;line-height:1;color:#415d91}
    .rh-category-card span{display:flex;align-items:center;justify-content:center;min-height:27px;max-height:27px;overflow:hidden;white-space:normal;word-break:normal;text-wrap:balance}
    .rh-category-all{display:none;margin-top:4px;padding:10px;border:1px solid #e6ebf2;border-radius:15px;background:#fff}
    .rh-category-all.is-open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
    .rh-category-all .rh-category-card{width:100%;min-width:0;flex:none;height:82px}

    .rh-popular{position:relative;padding:16px;margin-top:20px;margin-bottom:10px;border:1px solid #dce9fa;border-radius:22px;background:linear-gradient(135deg,#f7fbff 0%,#eef6ff 55%,#f6fbff 100%);overflow:hidden;box-shadow:0 8px 26px rgba(50,82,132,.055)}
    .rh-popular:before{content:"";position:absolute;width:180px;height:180px;right:-58px;top:-70px;border-radius:50%;background:radial-gradient(circle,rgba(84,143,225,.12) 0%,rgba(84,143,225,.04) 46%,transparent 70%);pointer-events:none}
    .rh-popular:after{content:"\f3c5";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;right:38px;top:34px;font-size:54px;color:rgba(68,112,181,.075);transform:rotate(8deg);pointer-events:none}
    .rh-popular-head{position:relative;z-index:1;display:flex;align-items:center;gap:11px;margin-bottom:14px}
    .rh-popular-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:14px;background:#e8f1ff;color:#4d75b7;font-size:20px}
    .rh-popular-copy{min-width:0}
    .rh-section-title{font-size:20px;font-weight:850;color:#202c43;margin:0;line-height:1.12}
    .rh-popular-sub{margin:3px 0 0;color:#7f8da2;font-size:12.5px;line-height:1.25}
    .rh-popular .rh-city-grid{position:relative;z-index:2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
    .rh-popular .rh-city{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-width:0!important;min-height:72px!important;padding:11px 12px!important;border:1px solid #dfe7f2!important;border-radius:16px!important;background:#fff!important;color:#344259!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(42,64,100,.06)!important;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease!important;overflow:hidden!important}
    .rh-popular .rh-city:hover{color:#344259!important;border-color:#c9d7eb!important;box-shadow:0 7px 18px rgba(42,64,100,.09)!important;transform:translateY(-1px)}
    .rh-popular .rh-city-main{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;line-height:1.15!important}
    .rh-popular .rh-city strong{display:block!important;max-width:100%!important;font-size:13.5px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#29364d!important}
    .rh-popular .rh-city-count{display:flex!important;align-items:center!important;gap:5px!important;font-size:10.5px!important;color:#8a96a8!important;white-space:nowrap!important}
    .rh-popular .rh-city-count i{font-size:10.5px!important;color:#91a3bd!important}
    .rh-popular .rh-city.is-empty .rh-city-count{color:#a6afbc!important}
    .rh-popular .rh-city-arrow{display:block!important;flex:0 0 auto!important;color:#7f91aa!important;font-size:11px!important}

    /* Kateqoriya və populyar rayon nəticələri üçün üst idarəetmə */
    .rh-context-wrap{padding:13px 0 2px}
    .rh-context-bar{display:flex;align-items:center;gap:8px}
    .rh-context-back{width:44px;height:52px;flex:0 0 44px;border:0;background:transparent;color:#26334a;display:grid;place-items:center;text-decoration:none;font-size:22px}
    .rh-context-box{height:52px;flex:1;min-width:0;background:#fff;border:1px solid #dce3ec;border-radius:17px;padding:0 15px;display:flex;align-items:center;gap:9px;box-shadow:0 4px 14px rgba(48,63,89,.03)}
    .rh-context-box i{color:#78869a}
    .rh-context-text{font-size:16px;font-weight:700;color:#253149;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .rh-tool-btn{position:relative;width:54px;height:52px;flex:0 0 54px;border:1px solid #415d91;border-radius:16px;background:#fff;color:#415d91;display:grid;place-items:center;padding:0}
    .rh-tool-btn svg{width:24px;height:24px;display:block}
    .rh-filter-badge{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e6424d;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}

    .rh-sort-wrap{position:relative;flex:0 0 54px}
    .rh-sort-menu{display:none;position:absolute;right:0;top:60px;z-index:1320;min-width:170px;background:#fff;border:1px solid #e0e6ef;border-radius:14px;padding:6px;box-shadow:0 18px 45px rgba(31,45,75,.16)}
    .rh-sort-wrap.is-open .rh-sort-menu{display:block}
    .rh-sort-option{display:block;padding:11px 12px;border-radius:10px;color:#253149;text-decoration:none;font-size:14px;font-weight:650}
    .rh-sort-option.is-active{background:#edf3ff;color:#405b8d}
    .rh-sort-option:hover{background:#f4f7fb}

    .rh-context-heading{padding:20px 2px 10px}
    .rh-context-heading h1{font-size:25px;line-height:1.2;font-weight:850;margin:0;color:#202a3a}
    .rh-context-heading p{font-size:14px;color:#8791a1;margin:7px 0 0}
    .rh-result-count{padding:7px 2px 14px;font-size:14px;color:#7c8797}

    /* Filtr sheet */
    body.rh-filter-open{overflow:hidden}
    .rh-sheet-backdrop{display:none;position:fixed;inset:0;background:rgba(19,28,43,.46);z-index:1400}
    .rh-sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);width:min(100%,720px);height:min(88vh,820px);background:#f6f8fb;border-radius:24px 24px 0 0;z-index:1410;transition:transform .22s ease;overflow:hidden;box-shadow:0 -18px 50px rgba(28,39,58,.18)}
    body.rh-filter-open .rh-sheet-backdrop{display:block}
    body.rh-filter-open .rh-sheet{transform:translate(-50%,0)}
    .rh-sheet-head{height:72px;background:#fff;border-bottom:1px solid #e3e8ef;display:grid;grid-template-columns:70px 1fr 84px;align-items:center}
    .rh-sheet-head h2{text-align:center;font-size:22px;font-weight:850;margin:0}
    .rh-sheet-close{border:0;background:transparent;color:#253149;font-size:22px;height:100%}
    .rh-sheet-reset{color:#415d91;text-decoration:none;font-weight:700;text-align:center}
    .rh-sheet form{height:calc(100% - 72px);display:flex;flex-direction:column}
    .rh-sheet-body{padding:14px 14px 120px;overflow-y:auto;flex:1}
    .rh-filter-card{background:#fff;border:1px solid #e5eaf1;border-radius:18px;padding:17px;margin-bottom:12px}
    .rh-filter-label{display:block;font-size:15px;font-weight:800;color:#273348;margin-bottom:10px}
    .rh-filter-field{width:100%;height:54px;border:1px solid #dce3ec;border-radius:14px;background:#f9fafc;padding:0 14px;color:#253149;font-size:15px;outline:none}
    .rh-filter-field:focus{border-color:#415d91;box-shadow:0 0 0 3px rgba(65,93,145,.10);background:#fff}
    .rh-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
    .rh-filter-field-full{grid-column:1/-1}
    .rh-sheet-footer{position:absolute;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e1e6ee;padding:12px 14px calc(12px + env(safe-area-inset-bottom))}
    .rh-apply{width:100%;height:58px;border:0;border-radius:16px;background:#415d91;color:#fff;font-size:17px;font-weight:800}

    .rh-errors{margin:10px 0;padding:11px 13px;border-radius:12px;background:#fff0f0;color:#a63131;font-size:13px}

    @media(max-width:767.98px){
        .rh-search-wrap{padding-top:10px}.rh-search-box{border-radius:16px;padding:10px}.rh-search-form{gap:7px}
        .rh-search-input input{height:46px;font-size:14px}.rh-search-btn{width:46px;height:46px;padding:0;font-size:0}.rh-search-btn i{font-size:16px}
        .rh-category-section{padding-top:8px}.rh-category-title{font-size:17px}.rh-category-card{flex-basis:108px;height:80px;font-size:11px}.rh-category-all.is-open{grid-template-columns:repeat(2,minmax(0,1fr))}
        .rh-popular .rh-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.rh-section-title{font-size:18px}
        .rh-popular{padding:14px;margin:18px 12px calc(118px + env(safe-area-inset-bottom));border-radius:20px}
        .rh-popular-head{margin-bottom:12px}.rh-popular-icon{width:40px;height:40px;flex-basis:40px;border-radius:13px;font-size:18px}
        .rh-popular .rh-city{min-height:72px!important;padding:10px 11px!important;border-radius:14px!important}.rh-popular .rh-city strong{font-size:12.5px!important}.rh-popular .rh-city-count{font-size:9.8px!important}.rh-popular .rh-city-arrow{font-size:10px!important}
        .rh-context-wrap{padding:10px 0 0}.rh-context-bar{gap:7px}
        .rh-context-back{width:38px;flex-basis:38px}.rh-context-box{height:50px;padding:0 12px}.rh-context-text{font-size:15px}
        .rh-tool-btn{width:50px;height:50px;flex-basis:50px}.rh-sort-wrap{flex-basis:50px}
        .rh-context-heading{padding-top:18px}.rh-context-heading h1{font-size:23px}
        .rh-sheet{height:calc(100dvh - 78px);max-height:none}
        .rh-sheet-footer{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
        .rh-sheet-body{padding-bottom:185px}
    }

/* REV_AZ_HOME_RESULTS_EXTERNAL_V3 */
html,body{max-width:100%;overflow-x:hidden}
.rv-mobile-list-safe{min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:0!important}
.rv-mobile-list-safe .js-infinite-grid{min-height:0!important;height:auto!important;margin-bottom:0!important}
.rh-popular{clear:both}
.rh-popular .rh-city-grid{display:grid!important}
.rh-popular .rh-city{float:none!important;position:relative!important}
.rh-popular .rh-city-main{width:calc(100% - 18px)!important}

@media(max-width:767.98px){
  .rh-popular{margin-top:22px!important;margin-left:0!important;margin-right:0!important;margin-bottom:calc(104px + env(safe-area-inset-bottom))!important;padding:14px!important}
  .rh-popular .rh-city-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .rh-popular .rh-city{display:flex!important;min-height:78px!important;padding:11px 12px!important;border-radius:15px!important}
  .rh-popular .rh-city strong{font-size:13px!important;line-height:1.15!important}
  .rh-popular .rh-city-count{font-size:10px!important;line-height:1.2!important;white-space:normal!important}
  .rh-popular .rh-city-arrow{font-size:11px!important}

  /* A single result should not leave a narrow half-card and a giant empty row. */
  .js-infinite-grid > .col-6:only-child{
      flex:0 0 100%!important;
      width:100%!important;
      max-width:340px!important;
      margin-left:auto!important;
      margin-right:auto!important;
  }

  /* Filter/sort drawer remains above the fixed bottom navigation. */
  .rh-sheet-backdrop{z-index:2140!important}
  .rh-sheet{z-index:2150!important;width:100%!important;max-width:720px!important;height:calc(100dvh - 58px)!important;border-radius:24px 24px 0 0!important}
  .rh-sheet-head{display:grid!important;grid-template-columns:64px 1fr 76px!important;height:68px!important}
  .rh-sheet-body{display:block!important;padding:14px 14px 190px!important;overflow-y:auto!important}
  .rh-filter-card{display:block!important;width:100%!important;padding:14px!important;margin:0 0 10px!important;border-radius:16px!important}
  .rh-filter-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  .rh-filter-field{display:block!important;width:100%!important;max-width:100%!important;height:52px!important;border:1px solid #dce3ec!important;border-radius:13px!important;padding:0 13px!important;background:#fff!important;color:#253149!important}
  textarea.rh-filter-field{height:auto!important;min-height:100px!important;padding-top:12px!important}
  .rh-sheet-footer{z-index:3!important;padding:10px 14px calc(88px + env(safe-area-inset-bottom))!important}
  .rh-apply{display:block!important;width:100%!important;height:54px!important;border-radius:15px!important}
}


/* REV_AZ_HOME_POPULAR_GAP_V4
   Remove stale reserved height between the product grid and popular regions. */
.rh-results-container{
    min-height:0!important;
    height:auto!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
}
.rh-results-container [data-infinite-products],
.rh-results-container .rv-mobile-list-safe,
.rh-results-container .js-infinite-grid,
.rh-results-container .cs-product-grid{
    min-height:0!important;
    height:auto!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
}
.rh-results-container .js-infinite-pagination{
    min-height:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
.rh-results-container + .rh-popular{
    margin-top:28px!important;
}
@media(max-width:767.98px){
    .rh-results-container{
        min-height:0!important;
        height:auto!important;
        padding-bottom:0!important;
        margin-bottom:0!important;
    }
    .rh-results-container .row.cs-product-grid{
        min-height:0!important;
        height:auto!important;
        align-content:start!important;
    }
    .rh-results-container + .rh-popular{
        margin-top:30px!important;
    }
}
