/* Listing filter additions shared by EN, FA and AR. */
#dnHybridListings .dn-new-only-toggle {
  width: 100%;
  min-height: 68px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ded8ce;
  border-radius: 12px;
  background: #fff;
  color: #202630;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  text-align: start;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

#dnHybridListings .dn-new-only-toggle:hover {
  border-color: #c5a15b;
  box-shadow: 0 7px 20px rgba(15, 29, 45, .07);
}

#dnHybridListings .dn-new-only-toggle > svg {
  width: 22px;
  height: 22px;
  padding: 5px;
  box-sizing: content-box;
  border-radius: 9px;
  background: #f7f1e5;
  stroke: #98711f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#dnHybridListings .dn-new-only-toggle > span {
  min-width: 0;
  display: block;
}

#dnHybridListings .dn-new-only-toggle strong,
#dnHybridListings .dn-new-only-toggle small {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

#dnHybridListings .dn-new-only-toggle strong {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;
}

#dnHybridListings .dn-new-only-toggle small {
  color: #777f8a;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 600;
}

#dnHybridListings .dn-new-only-toggle > i {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8d4cd;
  transition: background-color .16s ease;
}

#dnHybridListings .dn-new-only-toggle > i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 29, 45, .22);
  transition: transform .16s ease;
}

#dnHybridListings .dn-new-only-toggle.active {
  border-color: #0b8f78;
  background: #f1fbf8;
}

#dnHybridListings .dn-new-only-toggle.active > i {
  background: #0b8f78;
}

#dnHybridListings .dn-new-only-toggle.active > i::after {
  transform: translateX(18px);
}

[dir="rtl"] #dnHybridListings .dn-new-only-toggle > i::after {
  left: auto;
  right: 3px;
}

[dir="rtl"] #dnHybridListings .dn-new-only-toggle.active > i::after {
  transform: translateX(-18px);
}

@media (max-width: 720px) {
  #dnHybridListings .dn-new-only-toggle {
    min-height: 64px;
    grid-template-columns: 32px minmax(0, 1fr) 42px;
    gap: 10px;
    padding: 11px 12px;
  }
}
