/* Exact search-result reference layer. Keeps the real AdForest search/filter backend and global Tormami shell. */
body.tormami-search-reference{
  --tmr-orange:#ff5a0a;
  --tmr-orange-2:#ff7623;
  --tmr-navy:#0d2b57;
  --tmr-navy-2:#173a66;
  --tmr-blue:#2f76ee;
  --tmr-text:#586c87;
  --tmr-muted:#8a9aae;
  --tmr-line:#dce5ef;
  --tmr-soft:#f5f9fe;
  --tmr-white:#fff;
  --tmr-shadow:0 8px 24px rgba(21,52,87,.055);
  background:#f5f9fe!important;
  color:var(--tmr-navy)!important;
}

/* Remove legacy page-title/breadcrumb chrome. The global header remains untouched. */
body.tormami-search-reference .page-header,
body.tormami-search-reference .page-header-area,
body.tormami-search-reference .page-title,
body.tormami-search-reference .page-title-area,
body.tormami-search-reference .breadcrumb-area,
body.tormami-search-reference .breadcrumb-section,
body.tormami-search-reference .theme-breadcrumb,
body.tormami-search-reference .sb-breadcrumbs,
body.tormami-search-reference .tormami-breadcrumbs{display:none!important}

body.tormami-search-reference .adt-ads-with-filters{
  padding:0 0 28px!important;
  margin:0!important;
  background:linear-gradient(180deg,#f7fbff 0%,#f4f8fd 100%)!important;
}

/* Reference hero */
body.tormami-search-reference .tmr-search-hero{
  position:relative;
  overflow:hidden;
  min-height:118px;
  padding:35px 0 27px;
  background:linear-gradient(110deg,#fff 0%,#fbfdff 52%,#eff7ff 100%);
  border-bottom:1px solid #edf2f7;
}
body.tormami-search-reference .tmr-search-hero:before,
body.tormami-search-reference .tmr-search-hero:after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
body.tormami-search-reference .tmr-search-hero:before{
  width:278px;height:278px;right:21%;top:-112px;
  background:rgba(255,111,34,.105);
}
body.tormami-search-reference .tmr-search-hero:after{
  width:340px;height:340px;right:5.5%;top:-106px;
  background:rgba(62,142,255,.065);
}
body.tormami-search-reference .tmr-search-hero-inner{
  position:relative;z-index:2;
  width:min(954px,calc(100% - 38px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
body.tormami-search-reference .tmr-search-hero h1{
  margin:0 0 4px!important;
  color:#0b2b57!important;
  font:900 31px/1.08 Manrope,Inter,system-ui,sans-serif!important;
  letter-spacing:-.045em!important;
}
body.tormami-search-reference .tmr-search-hero p{
  margin:0!important;
  color:#657a96!important;
  font:500 14px/1.5 Manrope,Inter,system-ui,sans-serif!important;
}
body.tormami-search-reference .tmr-search-signature{
  position:relative;
  margin-right:48px;
  color:#153763;
  font-family:"Comic Sans MS","Bradley Hand",cursive;
  font-size:22px;
  line-height:1.02;
  font-weight:700;
  font-style:italic;
  text-align:center;
  transform:rotate(-5deg);
  white-space:nowrap;
}
body.tormami-search-reference .tmr-search-signature b{
  display:block;
  position:relative;
  width:48px;height:12px;
  margin:5px 0 0 auto;
  color:var(--tmr-orange);
  font-size:0;
}
body.tormami-search-reference .tmr-search-signature b:before,
body.tormami-search-reference .tmr-search-signature b:after{
  content:"";position:absolute;right:0;height:2px;border-radius:4px;background:var(--tmr-orange);transform-origin:right center
}
body.tormami-search-reference .tmr-search-signature b:before{width:46px;top:3px;transform:rotate(-17deg)}
body.tormami-search-reference .tmr-search-signature b:after{width:28px;top:7px;right:5px;transform:rotate(-11deg)}

/* Main exact-width canvas */
body.tormami-search-reference .adt-ads-with-filters>.container,
body.tormami-search-reference .adt-ads-with-filters>.adt-container,
body.tormami-search-reference .adt-ads-with-filters .container.adt-container{
  width:min(954px,calc(100% - 38px))!important;
  max-width:954px!important;
  margin:0 auto!important;
  padding:18px 0 0!important;
}
body.tormami-search-reference .adt-ads-with-filters>.container>.row,
body.tormami-search-reference .adt-ads-with-filters>.adt-container>.row,
body.tormami-search-reference .adt-ads-with-filters .container.adt-container>.row{
  margin:0!important;
}
body.tormami-search-reference .adt-ads-with-filters>.container>.row>[class*=col-],
body.tormami-search-reference .adt-ads-with-filters>.adt-container>.row>[class*=col-],
body.tormami-search-reference .adt-ads-with-filters .container.adt-container>.row>[class*=col-]{
  padding:0!important;
}
body.tormami-search-reference .adt-ads-filter-content-wrapper{
  display:grid!important;
  grid-template-columns:228px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}
body.tormami-search-reference .adt-ads-filter-content{min-width:0!important}

/* Filter sidebar */
body.tormami-search-reference .adt-ads-filter-sidebar{
  position:sticky!important;
  top:96px!important;
  max-height:calc(100vh - 112px)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  padding:0!important;
  border:1px solid #e1e8f0!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(20,55,92,.055)!important;
  scrollbar-width:thin;
  scrollbar-color:#d8e1eb transparent;
  z-index:30!important;
}
body.admin-bar.tormami-search-reference .adt-ads-filter-sidebar{top:128px!important;max-height:calc(100vh - 144px)!important}
body.tormami-search-reference .adt-ads-filter-sidebar::-webkit-scrollbar{width:5px}
body.tormami-search-reference .adt-ads-filter-sidebar::-webkit-scrollbar-thumb{background:#d8e1eb;border-radius:10px}
body.tormami-search-reference .tm-search-filter-close{display:none!important}
body.tormami-search-reference .tmr-filter-head{
  position:sticky;top:0;z-index:3;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-height:48px;
  padding:11px 13px!important;
  border-bottom:1px solid #ebf0f5!important;
  background:rgba(255,255,255,.98)!important;
  backdrop-filter:blur(8px);
}
body.tormami-search-reference .tmr-filter-head-icon{
  width:25px;height:25px;border-radius:7px;
  display:grid;place-items:center;
  background:#edf5ff;color:#285f9f;
}
body.tormami-search-reference .tmr-filter-head-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.tormami-search-reference .tmr-filter-head strong{color:#102e58;font-size:12px;font-weight:900}
body.tormami-search-reference .tmr-filter-reset{margin-left:auto;display:inline-flex;align-items:center;gap:4px;color:var(--tmr-orange)!important;font-size:8.5px;font-weight:800;text-decoration:none!important}
body.tormami-search-reference .tmr-filter-reset svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}

body.tormami-search-reference .adt-ads-filter-sidebar .accordion,
body.tormami-search-reference .adt-ads-filter-sidebar #accordionPanelsStayOpenExample{background:#fff!important}
body.tormami-search-reference .adt-ads-filter-sidebar .panel,
body.tormami-search-reference .adt-ads-filter-sidebar .widget,
body.tormami-search-reference .adt-ads-filter-sidebar .sidebar,
body.tormami-search-reference .adt-ads-filter-sidebar .form-group-wrapper,
body.tormami-search-reference .adt-ads-filter-sidebar .accordion-item{
  margin:0!important;
  padding:12px 13px!important;
  border:0!important;
  border-bottom:1px solid #edf1f5!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.tormami-search-reference .adt-ads-filter-sidebar .panel:last-child,
body.tormami-search-reference .adt-ads-filter-sidebar .widget:last-child,
body.tormami-search-reference .adt-ads-filter-sidebar .accordion-item:last-child{border-bottom:0!important}
body.tormami-search-reference .adt-ads-filter-sidebar h2,
body.tormami-search-reference .adt-ads-filter-sidebar h3,
body.tormami-search-reference .adt-ads-filter-sidebar h4,
body.tormami-search-reference .adt-ads-filter-sidebar h5,
body.tormami-search-reference .adt-ads-filter-sidebar .widget-title,
body.tormami-search-reference .adt-ads-filter-sidebar .panel-title,
body.tormami-search-reference .adt-ads-filter-sidebar .accordion-header{
  margin:0 0 8px!important;
  color:#15345d!important;
  font-size:10.5px!important;
  line-height:1.25!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
}
body.tormami-search-reference .adt-ads-filter-sidebar .accordion-button{
  min-height:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;color:#15345d!important;font-size:10.5px!important;font-weight:850!important
}
body.tormami-search-reference .adt-ads-filter-sidebar label,
body.tormami-search-reference .adt-ads-filter-sidebar li,
body.tormami-search-reference .adt-ads-filter-sidebar a{font-family:Manrope,Inter,system-ui,sans-serif!important}
body.tormami-search-reference .adt-ads-filter-sidebar ul{margin:0!important;padding:0!important;list-style:none!important}
body.tormami-search-reference .adt-ads-filter-sidebar li{margin:0!important;border:0!important}
body.tormami-search-reference .adt-ads-filter-sidebar li>a,
body.tormami-search-reference .adt-ads-filter-sidebar li>label{
  width:100%!important;
  min-height:25px!important;
  padding:3px 0!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  color:#536983!important;
  font-size:8.8px!important;
  line-height:1.2!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body.tormami-search-reference .adt-ads-filter-sidebar li>a:hover{color:var(--tmr-orange)!important}
body.tormami-search-reference .adt-ads-filter-sidebar .count,
body.tormami-search-reference .adt-ads-filter-sidebar .badge,
body.tormami-search-reference .adt-ads-filter-sidebar li small,
body.tormami-search-reference .adt-ads-filter-sidebar li span.count{
  margin-left:auto!important;
  min-width:29px!important;
  padding:3px 5px!important;
  border-radius:6px!important;
  background:#f2f6fa!important;
  color:#8191a5!important;
  font-size:7.6px!important;
  font-weight:750!important;
  text-align:center!important;
}
body.tormami-search-reference .adt-ads-filter-sidebar input[type=checkbox],
body.tormami-search-reference .adt-ads-filter-sidebar input[type=radio]{accent-color:var(--tmr-orange)!important;width:14px!important;height:14px!important}
body.tormami-search-reference .adt-ads-filter-sidebar input[type=text],
body.tormami-search-reference .adt-ads-filter-sidebar input[type=search],
body.tormami-search-reference .adt-ads-filter-sidebar input[type=number],
body.tormami-search-reference .adt-ads-filter-sidebar select,
body.tormami-search-reference .adt-ads-filter-sidebar .select2-selection--single{
  width:100%!important;
  height:35px!important;
  min-height:35px!important;
  padding:0 10px!important;
  border:1px solid #dce5ef!important;
  border-radius:8px!important;
  background:#fbfdff!important;
  color:#4b617d!important;
  font-size:8.8px!important;
  box-shadow:none!important;
  outline:0!important;
}
body.tormami-search-reference .adt-ads-filter-sidebar input::placeholder{color:#9aa8ba!important}
body.tormami-search-reference .adt-ads-filter-sidebar input:focus,
body.tormami-search-reference .adt-ads-filter-sidebar select:focus{border-color:#ffb48d!important;box-shadow:0 0 0 2px rgba(255,90,10,.07)!important}
body.tormami-search-reference .adt-ads-filter-sidebar .select2-selection__rendered{line-height:33px!important;padding:0!important;font-size:8.8px!important;color:#4b617d!important}
body.tormami-search-reference .adt-ads-filter-sidebar .select2-selection__arrow{height:33px!important}
body.tormami-search-reference .adt-ads-filter-sidebar .ui-slider,
body.tormami-search-reference .adt-ads-filter-sidebar input[type=range]{accent-color:var(--tmr-orange)!important}
body.tormami-search-reference .adt-ads-filter-sidebar .ui-slider-range{background:linear-gradient(90deg,var(--tmr-orange),var(--tmr-orange-2))!important}
body.tormami-search-reference .adt-ads-filter-sidebar .ui-slider-handle{width:13px!important;height:13px!important;border:2px solid #fff!important;border-radius:50%!important;background:var(--tmr-orange)!important;box-shadow:0 2px 6px rgba(255,90,10,.25)!important}
body.tormami-search-reference .adt-ads-filter-sidebar button[type=submit],
body.tormami-search-reference .adt-ads-filter-sidebar input[type=submit],
body.tormami-search-reference .adt-ads-filter-sidebar .btn-theme,
body.tormami-search-reference .adt-ads-filter-sidebar .btn-primary,
body.tormami-search-reference .adt-ads-filter-sidebar .adt-button-dark{
  width:100%!important;
  min-height:35px!important;
  margin-top:7px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:8px!important;
  background:linear-gradient(135deg,var(--tmr-orange),var(--tmr-orange-2))!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:850!important;
  box-shadow:0 7px 16px rgba(255,90,10,.16)!important;
}
body.tormami-search-reference .tmr-clear-filters{
  display:block!important;
  margin:8px 0 2px!important;
  color:#75879d!important;
  font-size:8px!important;
  font-weight:650!important;
  text-align:center!important;
  text-decoration:none!important;
}
body.tormami-search-reference .tmr-category-more{margin-top:4px!important;color:#556b84!important;font-size:8px!important;font-weight:750!important;cursor:pointer!important}
body.tormami-search-reference .tmr-category-hidden{display:none!important}

/* Toolbar */
body.tormami-search-reference .adt-ads-sort-box{
  min-height:60px!important;
  margin:0 0 12px!important;
  padding:10px 12px 10px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border:1px solid #e1e8f0!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 6px 19px rgba(22,51,83,.045)!important;
}
body.tormami-search-reference .adt-ads-sort-box h1,
body.tormami-search-reference .adt-ads-sort-box h2,
body.tormami-search-reference .adt-ads-sort-box h3,
body.tormami-search-reference .adt-ads-sort-box .title{
  margin:0!important;
  color:#102e58!important;
  font-size:16px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
}
body.tormami-search-reference .adt-ads-sort-box h3>a,
body.tormami-search-reference .adt-ads-sort-box .filterAdType-count{display:none!important}
body.tormami-search-reference .tmr-results-subtitle{display:block!important;margin-top:3px!important;color:#91a0b3!important;font-size:8px!important;font-weight:600!important;letter-spacing:0!important}
body.tormami-search-reference .adt-sort-filters{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important}
body.tormami-search-reference .adt-sort-filters form{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important}
body.tormami-search-reference .tmr-sort-label{color:#71839a!important;font-size:8px!important;font-weight:750!important;white-space:nowrap!important}
body.tormami-search-reference .adt-ads-sort-box select,
body.tormami-search-reference .adt-ads-sort-box .select2-selection--single{
  width:145px!important;
  min-height:35px!important;
  height:35px!important;
  border:1px solid #dce5ef!important;
  border-radius:8px!important;
  background:#fbfdff!important;
  color:#50647e!important;
  font-size:8.5px!important;
  box-shadow:none!important;
}
body.tormami-search-reference .adt-ads-sort-box .select2-selection__rendered{line-height:33px!important;font-size:8.5px!important;color:#50647e!important}
body.tormami-search-reference .adt-ads-sort-box .select2-selection__arrow{height:33px!important}
body.tormami-search-reference .adt-change-view-box{display:flex!important;gap:7px!important;align-items:center!important}
body.tormami-search-reference .adt-ads-sort-box .icon-box,
body.tormami-search-reference .adt-ads-sort-box .grid,
body.tormami-search-reference .adt-ads-sort-box .list,
body.tormami-search-reference .adt-ads-sort-box a[class*=grid],
body.tormami-search-reference .adt-ads-sort-box a[class*=list]{
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  padding:0!important;
  display:grid!important;place-items:center!important;
  border:1px solid #dce5ef!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#24496f!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.tormami-search-reference .adt-ads-sort-box .icon-box i{font-size:14px!important}
body.tormami-search-reference .adt-ads-sort-box .icon-box.active,
body.tormami-search-reference .adt-ads-sort-box .grid.active,
body.tormami-search-reference .adt-ads-sort-box .list.active,
body.tormami-search-reference .adt-ads-sort-box .active[class*=grid],
body.tormami-search-reference .adt-ads-sort-box .active[class*=list]{background:linear-gradient(135deg,var(--tmr-orange),var(--tmr-orange-2))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 7px 15px rgba(255,90,10,.19)!important}
body.tormami-search-reference .tag-search{margin:0 0 10px!important;padding:0!important;background:transparent!important;border:0!important}
body.tormami-search-reference .tag-search .sb_tag{border-radius:999px!important;background:#fff!important;color:#52677f!important;border:1px solid #e1e8f0!important;font-size:8px!important}
body.tormami-search-reference .alert-for-topbar,.tormami-search-reference .ad-alert-box{display:none!important}

/* Listing grid */
body.tormami-search-reference .adt-search-ads-grid{
  display:grid!important;
  gap:10px!important;
  align-items:stretch!important;
  margin:0!important;
}
body.tormami-search-reference .adt-search-ads-grid:not(.list-view):not(.list):not(.adt-list-view){grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.tormami-search-reference .adt-search-ads-grid.list-view,
body.tormami-search-reference .adt-search-ads-grid.list,
body.tormami-search-reference .adt-search-ads-grid.adt-list-view{grid-template-columns:1fr!important}
body.tormami-search-reference .adt-search-ads-grid>[class*=col-]{width:auto!important;max-width:none!important;float:none!important;flex:none!important;padding:0!important;margin:0!important}
body.tormami-search-reference .adt-search-ads-grid .item,
body.tormami-search-reference .adt-search-ads-grid .ad-listing,
body.tormami-search-reference .adt-search-ads-grid .ad-listing-modern,
body.tormami-search-reference .adt-search-ads-grid .category-grid-box,
body.tormami-search-reference .adt-search-ads-grid .ads-list-archive,
body.tormami-search-reference .adt-search-ads-grid article,
body.tormami-search-reference .tmr-card-host{
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid #e1e8ef!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 4px 13px rgba(20,52,87,.04)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.tormami-search-reference .adt-search-ads-grid .item:hover,
body.tormami-search-reference .adt-search-ads-grid .ad-listing:hover,
body.tormami-search-reference .adt-search-ads-grid .category-grid-box:hover,
body.tormami-search-reference .adt-search-ads-grid article:hover{transform:translateY(-2px)!important;border-color:#ffc7aa!important;box-shadow:0 10px 24px rgba(22,52,86,.09)!important}
body.tormami-search-reference .adt-search-ads-grid .image,
body.tormami-search-reference .adt-search-ads-grid .img-box,
body.tormami-search-reference .adt-search-ads-grid .ad-img,
body.tormami-search-reference .adt-search-ads-grid .category-grid-img,
body.tormami-search-reference .adt-search-ads-grid .ad-listing-img,
body.tormami-search-reference .adt-search-ads-grid .image-container,
body.tormami-search-reference .adt-search-ads-grid figure{
  position:relative!important;
  width:100%!important;
  min-height:0!important;
  aspect-ratio:1.15/1!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:9px 9px 0 0!important;
  background:#edf2f7!important;
}
body.tormami-search-reference .adt-search-ads-grid .image img,
body.tormami-search-reference .adt-search-ads-grid .img-box img,
body.tormami-search-reference .adt-search-ads-grid .ad-img img,
body.tormami-search-reference .adt-search-ads-grid .category-grid-img img,
body.tormami-search-reference .adt-search-ads-grid .ad-listing-img img,
body.tormami-search-reference .adt-search-ads-grid .image-container img,
body.tormami-search-reference .adt-search-ads-grid figure img{
  width:100%!important;height:100%!important;object-fit:cover!important;min-height:0!important;max-height:none!important;filter:none!important
}
body.tormami-search-reference .adt-search-ads-grid .content,
body.tormami-search-reference .adt-search-ads-grid .ad-info,
body.tormami-search-reference .adt-search-ads-grid .category-grid-box-1,
body.tormami-search-reference .adt-search-ads-grid .short-description-1,
body.tormami-search-reference .adt-search-ads-grid .ad-listing-content{padding:8px 9px 9px!important}
body.tormami-search-reference .adt-search-ads-grid h2,
body.tormami-search-reference .adt-search-ads-grid h3,
body.tormami-search-reference .adt-search-ads-grid h4,
body.tormami-search-reference .adt-search-ads-grid .title,
body.tormami-search-reference .adt-search-ads-grid .ad-title{
  margin:4px 0 5px!important;
  color:#17365e!important;
  font-size:10.5px!important;
  line-height:1.38!important;
  font-weight:760!important;
  letter-spacing:-.015em!important;
}
body.tormami-search-reference .adt-search-ads-grid h2 a,
body.tormami-search-reference .adt-search-ads-grid h3 a,
body.tormami-search-reference .adt-search-ads-grid h4 a,
body.tormami-search-reference .adt-search-ads-grid .title a,
body.tormami-search-reference .adt-search-ads-grid .ad-title a{color:#17365e!important;text-decoration:none!important}
body.tormami-search-reference .adt-search-ads-grid .category,
body.tormami-search-reference .adt-search-ads-grid .cat-name,
body.tormami-search-reference .adt-search-ads-grid [class*=category]:not(.category-grid-box):not(.category-grid-img){display:inline-flex!important;align-items:center!important;width:auto!important;min-height:18px!important;padding:2px 6px!important;border-radius:5px!important;background:#edf4fb!important;color:#5d7490!important;font-size:7.5px!important;font-weight:700!important}
body.tormami-search-reference .adt-search-ads-grid p,
body.tormami-search-reference .adt-search-ads-grid li,
body.tormami-search-reference .adt-search-ads-grid .location,
body.tormami-search-reference .adt-search-ads-grid .date,
body.tormami-search-reference .adt-search-ads-grid .ad-meta,
body.tormami-search-reference .adt-search-ads-grid [class*=location],
body.tormami-search-reference .adt-search-ads-grid [class*=date]{color:#8392a5!important;font-size:7.6px!important;line-height:1.45!important}
body.tormami-search-reference .adt-search-ads-grid .price,
body.tormami-search-reference .adt-search-ads-grid [class*=price]{color:var(--tmr-orange)!important;font-size:10.5px!important;font-weight:900!important}
body.tormami-search-reference .adt-search-ads-grid .ad-status,
body.tormami-search-reference .adt-search-ads-grid .ad-type,
body.tormami-search-reference .adt-search-ads-grid .badge{border-radius:6px!important;background:#f1f4f8!important;color:#718399!important;font-size:7px!important;font-weight:700!important}
body.tormami-search-reference .adt-search-ads-grid .ad-favourited,
body.tormami-search-reference .adt-search-ads-grid .ad-favorite,
body.tormami-search-reference .adt-search-ads-grid .ad-favourite,
body.tormami-search-reference .adt-search-ads-grid .fav-ad,
body.tormami-search-reference .adt-search-ads-grid [class*=favorite],
body.tormami-search-reference .adt-search-ads-grid [class*=favourite]{border-radius:50%!important}

/* Save search occupies the last two columns like the reference. */
body.tormami-search-reference .tmr-save-search{
  grid-column:span 2!important;
  min-height:274px!important;
  border:1.5px dashed #cbd8e6!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#fff,#fbfdff)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:24px!important;
}
body.tormami-search-reference .tmr-save-search-inner{max-width:270px!important}
body.tormami-search-reference .tmr-save-icon{width:48px;height:48px;margin:0 auto 11px;display:grid;place-items:center;color:var(--tmr-orange)}
body.tormami-search-reference .tmr-save-icon svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.tormami-search-reference .tmr-save-search h3{margin:0 0 6px!important;color:#0f2d59!important;font-size:15px!important;line-height:1.22!important;font-weight:900!important}
body.tormami-search-reference .tmr-save-search p{margin:0 0 14px!important;color:#60748f!important;font-size:9px!important;line-height:1.5!important}
body.tormami-search-reference .tmr-save-search a{min-width:188px;min-height:38px;padding:0 19px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(135deg,var(--tmr-orange),var(--tmr-orange-2));color:#fff!important;font-size:9px;font-weight:850;text-decoration:none!important;box-shadow:0 8px 17px rgba(255,90,10,.18)}
body.tormami-search-reference .tmr-save-search a svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9}

/* Pagination summary + controls */
body.tormami-search-reference .tmr-pagination-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:20px!important;clear:both!important}
body.tormami-search-reference .tmr-pagination-summary{color:#778aa1!important;font-size:8.5px!important;font-weight:600!important;white-space:nowrap!important}
body.tormami-search-reference .tmr-pagination-bar .pagination,
body.tormami-search-reference .tmr-pagination-bar .nav-links,
body.tormami-search-reference .pagination,
body.tormami-search-reference .nav-links{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important}
body.tormami-search-reference .pagination a,
body.tormami-search-reference .pagination span,
body.tormami-search-reference .nav-links a,
body.tormami-search-reference .nav-links span{min-width:31px!important;height:31px!important;padding:0 7px!important;border:1px solid #dce5ef!important;border-radius:7px!important;background:#fff!important;color:#536a84!important;display:grid!important;place-items:center!important;font-size:8.5px!important;font-weight:800!important;text-decoration:none!important}
body.tormami-search-reference .pagination .current,
body.tormami-search-reference .nav-links .current{background:linear-gradient(135deg,var(--tmr-orange),var(--tmr-orange-2))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 6px 13px rgba(255,90,10,.16)!important}
body.tormami-search-reference .pagination-item:empty{display:none!important}

/* Mobile filters from the functional base layer. */
body.tormami-search-reference .tm-search-mobile-actions{display:none!important}
body.tormami-search-reference .tm-search-filter-backdrop{z-index:100060!important}

/* Global footer remains global; only remove extra search spacing. */
body.tormami-search-reference .tormami-global-footer{margin-top:0!important;padding-top:0!important}
body.tormami-search-reference .tormami-global-footer .tmf-cta-wrap{padding-top:20px!important;background:#f5f9fe!important}

/* Category/location modals */
body.tormami-search-reference.modal-open{padding-right:0!important;overflow:hidden!important}
body.tormami-search-reference .modal-backdrop{z-index:100040!important;background:#0c1d33!important;opacity:.52!important}
body.tormami-search-reference .modal{z-index:100050!important;padding:94px 18px 24px!important;overflow-y:auto!important}
body.admin-bar.tormami-search-reference .modal{padding-top:126px!important}
body.tormami-search-reference .modal-dialog{width:min(760px,calc(100vw - 36px))!important;max-width:760px!important;margin:0 auto!important}
body.tormami-search-reference .modal-content{max-height:calc(100vh - 122px)!important;overflow:hidden!important;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 28px 80px rgba(7,28,53,.30)!important}
body.tormami-search-reference .modal-header{min-height:62px!important;padding:16px 20px!important;border-bottom:1px solid #e8edf3!important;background:#fff!important}
body.tormami-search-reference .modal-title{margin:0!important;color:var(--tmr-navy)!important;font-size:18px!important;font-weight:900!important}
body.tormami-search-reference .modal-body{padding:18px 20px!important;overflow:auto!important;background:#fff!important}
body.tormami-search-reference .modal-body ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px!important;margin:0!important;padding:0!important;list-style:none!important}
body.tormami-search-reference .modal-body li{margin:0!important;border:0!important}
body.tormami-search-reference .modal-body li a,
body.tormami-search-reference .modal-body li label{min-height:42px!important;padding:9px 11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border:1px solid #e6ecf2!important;border-radius:9px!important;background:#fbfdff!important;color:#2d4564!important;font-size:10px!important;text-decoration:none!important}
body.tormami-search-reference .modal-footer{padding:13px 20px!important;border-top:1px solid #e8edf3!important;background:#fbfcfe!important}
body.tormami-search-reference .modal-footer .btn,
body.tormami-search-reference .modal-footer button{min-height:39px!important;border-radius:8px!important;background:linear-gradient(135deg,var(--tmr-orange),var(--tmr-orange-2))!important;border:0!important;color:#fff!important;font-size:9.5px!important;font-weight:850!important}

@media(max-width:1180px){
  body.tormami-search-reference .tmr-search-signature{margin-right:10px}
  body.tormami-search-reference .adt-ads-filter-content-wrapper{grid-template-columns:220px minmax(0,1fr)!important;gap:15px!important}
  body.tormami-search-reference .adt-search-ads-grid:not(.list-view):not(.list):not(.adt-list-view){grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.tormami-search-reference .tmr-save-search{grid-column:span 2!important}
}
@media(max-width:960px){
  body.tormami-search-reference .tmr-search-hero{padding:25px 0 22px;min-height:0}
  body.tormami-search-reference .tmr-search-hero-inner,
  body.tormami-search-reference .adt-ads-with-filters>.container,
  body.tormami-search-reference .adt-ads-with-filters>.adt-container,
  body.tormami-search-reference .adt-ads-with-filters .container.adt-container{width:min(100% - 28px,954px)!important}
  body.tormami-search-reference .tmr-search-hero h1{font-size:27px!important}
  body.tormami-search-reference .tmr-search-signature{display:none}
  body.tormami-search-reference .adt-ads-filter-content-wrapper{display:block!important}
  body.tormami-search-reference .adt-ads-filter-sidebar{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(340px,88vw)!important;max-height:none!important;
    border-radius:0 18px 18px 0!important;z-index:100080!important;transform:translateX(-105%)!important;transition:transform .24s ease!important
  }
  body.tormami-search-reference.tm-search-filters-open .adt-ads-filter-sidebar{transform:translateX(0)!important}
  body.tormami-search-reference .tm-search-filter-close{display:flex!important;position:sticky;top:0;z-index:5;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 15px;border:0;border-bottom:1px solid #e8edf3;background:#fff;color:#17365e;font-size:13px;font-weight:900}
  body.tormami-search-reference .tmr-filter-head{top:52px}
  body.tormami-search-reference .tm-search-mobile-actions{display:flex!important;margin:0 0 12px!important}
  body.tormami-search-reference .tm-search-mobile-filter-button{min-height:42px!important;border-radius:9px!important;background:#fff!important;border:1px solid #dce5ef!important;color:#17365e!important}
  body.tormami-search-reference .adt-ads-sort-box{margin-bottom:9px!important}
  body.tormami-search-reference .adt-search-ads-grid:not(.list-view):not(.list):not(.adt-list-view){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:720px){
  body.tormami-search-reference .tmr-search-hero h1{font-size:24px!important}
  body.tormami-search-reference .tmr-search-hero p{font-size:12px!important}
  body.tormami-search-reference .adt-ads-sort-box{align-items:flex-start!important;flex-direction:column!important}
  body.tormami-search-reference .adt-sort-filters{width:100%!important;margin-left:0!important;justify-content:space-between!important}
  body.tormami-search-reference .adt-sort-filters form{min-width:0!important;flex:1!important}
  body.tormami-search-reference .adt-ads-sort-box select,
  body.tormami-search-reference .adt-ads-sort-box .select2-container{width:100%!important;max-width:220px!important}
  body.tormami-search-reference .adt-search-ads-grid:not(.list-view):not(.list):not(.adt-list-view){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.tormami-search-reference .tmr-save-search{grid-column:span 2!important;min-height:220px!important}
  body.tormami-search-reference .tmr-pagination-bar{align-items:flex-start!important;flex-direction:column!important}
}
@media(max-width:480px){
  body.tormami-search-reference .tmr-search-hero-inner,
  body.tormami-search-reference .adt-ads-with-filters>.container,
  body.tormami-search-reference .adt-ads-with-filters>.adt-container,
  body.tormami-search-reference .adt-ads-with-filters .container.adt-container{width:calc(100% - 20px)!important}
  body.tormami-search-reference .tmr-search-hero{padding:20px 0 18px}
  body.tormami-search-reference .tmr-search-hero h1{font-size:22px!important}
  body.tormami-search-reference .adt-search-ads-grid:not(.list-view):not(.list):not(.adt-list-view){grid-template-columns:1fr!important}
  body.tormami-search-reference .tmr-save-search{grid-column:auto!important}
  body.tormami-search-reference .adt-change-view-box{flex:0 0 auto!important}
  body.tormami-search-reference .tmr-sort-label{display:none!important}
  body.tormami-search-reference .modal-body ul{grid-template-columns:1fr!important}
}
