.filter-section {
  padding: 30px 0 15px;
  background: #fff;
}

.filter-section__top {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.filter-section__search-group {
  position: relative;
  flex: 1;
}
.filter-section__search-group .icon-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.filter-section__search-group .icon-search svg {
  width: 24px;
  height: 24px;
}
.filter-section__search-group .icon-search svg path{
  stroke: currentColor;
}
.filter-section__button {
  background: transparent;
  border: 0;
  padding-right: 20px;
  position: relative;
  cursor: pointer;
}
.filter-section__button .material-icons-outlined {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}
.filter-section__button:hover .material-icons-outlined, .filter-section__button--active .material-icons-outlined {
  transform: translateY(-50%) rotate(180deg);
}

.filter-section__input {
  width: 100%;
  border: none;
  padding: 12px 125px 12px 12px;
  outline: none;
  background: white;
  box-shadow: 0 0 0 1px #ccc inset;
  border-radius: 8px;
  height: 46px;
}
@media (max-width: 992px) {
  .filter-section__input {
    padding-right: 66px;
  }
}

.filter-section__btn--search {
  background: var(--bg-linear);
  color: #fff;
  border: none;
  padding: 0 22px;
  font-weight: bold;
  border-radius: 4px;
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  cursor: pointer;
}

.filter-section__btn--map {
  background: var(--bg-linear);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.filter-section__btn--map .icon-map svg {
  width: 24px;
  height: 24px;
}
.filter-section__btn--map .icon-map svg path {
  stroke: #fff;
}

.filter-section__bottom {
  display: flex;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
}

.filter-section__item {
  border: 1px solid #ccc;
  padding: 4px 15px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}
.filter-section__item.is-choose[data-modal="modal-filter"]::after{
  content: attr(data-number);
  background: var(--color-1);
  border-radius: 6px;
  font-size: 15px;
  color: white;
  padding: 6px;
  position: absolute;
  right: -4px;
  top: -5px;
}
.filter-section__item--toggle {
  align-items: center;
}
.filter-section__item--toggle .filter-section__label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-section__item--toggle .filter-section__label .material-icons-outlined {
  color: var(--color-1);
  font-size: 20px;
}
.filter-section__item .icon-filter {
  line-height: 0;
}
.filter-section__item .icon-check {
  line-height: 0;
  transform: translateY(2px);
  display: inline-block;
}
.filter-section__item .icon-medal {
  line-height: 0;
  transform: translateY(2px);
  display: inline-block;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}
.switch__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}
.switch__slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.switch input {
  opacity: 0;
}
.switch input:checked + .switch__slider {
  background-color: #4caf50;
}
.switch input:checked + .switch__slider:before {
  transform: translateX(14px);
}

/* ===== FILTER BLOCK ===== */
.filter-bar {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.filter-bar__item {
  position: relative;
}

/* Search Input */
.search-input {
  flex: 1;
  min-width: 300px;
  position: relative;
}
.search-input__field {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 16px 8px 40px;
  font-size: 14px;
  height: 40px;
}
.search-input__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  line-height: 0;
}
.search-input__icon svg {
  width: 20px;
  height: 20px;
}

/* Dropdown Panel */
.dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 320px;
  z-index: 1000;
  display: none;
  padding: 20px;
}
.dropdown__panel.is-active {
  display: block;
}
.dropdown__panel--wide {
  min-width: 400px;
}

/* Range Input */
.range-input {
  margin-bottom: 20px;
}
.range-input__header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.range-input__group {
  flex: 1;
}
.range-input__label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.range-input__field {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.range-input__separator {
  align-self: flex-end;
  padding-bottom: 10px;
  font-weight: 500;
}

/* Options List */
.options-list {
  list-style: none;
}
.options-list__item {
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  font-size: 14px;
}
.options-list__item:hover {
  background: #f3f4f6;
}
.options-list__item--selected {
  background: #eff6ff;
  color: va;
  font-weight: 500;
}

/* Checkbox List */
.checkbox-list {
  list-style: none;
  max-height: 400px;
  overflow-y: auto;
}
.checkbox-list__item {
  margin-bottom: 4px;
}
.checkbox-list__label {
  display: flex;
  align-items: center;
  padding: 3px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  font-size: 14px;
}
.checkbox-list__label:hover {
  background: #f3f4f6;
}
.checkbox-list__input {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  cursor: pointer;
}

/* Action Buttons */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.actions__button {
  flex: 1;
  padding: 5px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.actions__button--reset {
  background: white;
  border: 1px solid #e0e0e0;
  color: var(--color-1);
}
.actions__button--reset:hover {
  background: #f3f4f6;
}
.actions__button--apply {
  background: var(--color-1);
  border: none;
  color: white;
}
.actions__button--apply:hover {
  background: var(--color-1);
}

/* Filter Icon */
.filter-icon {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.filter-icon .icon {
  line-height: 0;
}
.filter-icon__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid white;
}
.badge-image {
  border-radius: 8px;
  position: absolute;
  z-index: 2;
  color: #FFF;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  top: 20px;
  left: -8px;
  letter-spacing: 1px;
  border-bottom-left-radius: 0;
}

.badge-image .mask {
  border-left: 6px solid transparent;
    border-top: 6px solid;
    bottom: -6px;
    display: inline-block;
    filter: brightness(.4) opacity(.8);
    left: .2rem;
    position: absolute;
    z-index: -1;
    
}

.badge-image.premium {
  background-color: #FA541C;
}

.badge-image.premium .mask {
  border-top-color: #FA541C;
}

.badge-image.vip {
  background-color: #FFC53D;
}

.badge-image.vip .mask {
  border-top-color: #FFC53D;
}
.real-section {
  padding-bottom: 50px;
}
.real-section__title{
  font-weight: 600;
  color: #333;
}
.real-section__row {
  --gutter: 15px;
  gap: 20px 0;
}
.real-section__header {
  margin-bottom: 15px;
}
.real-section__sidebar .profit-card:not(:last-child) {
  margin-bottom: 15px;
}

.real-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  &:not(:last-child) {
    margin-bottom: 20px;
  }
}

.card-real {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  /* Media Section */
}
.card-real:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card-real__media {
  position: relative;
  padding: 8px;
}
.card-real__gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  grid-template-rows: 120px 120px;
  border-radius: 8px;
  overflow: hidden;
}
.card-real__gallery > *:nth-child(1) {
  grid-area: 1/1/2 span/2 span;
}
.card-real__gallery > *:nth-child(2) {
  grid-area: 1/3/2 span/2 span;
}
.card-real__gallery > *:nth-child(3) {
  grid-column: span 2;
}
.card-real__gallery > *:not(:nth-child(-n+5)) {
  display: none;
}
.card-real__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-real__badge {
  position: absolute;
  top: 10px;
  left: -8px;
  padding: 7px 8px;
  border-radius: 8px 8px 8px 0;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
}
.card-real__badge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 8px;
  height: 5px;
  background-color: #ba8100;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.card-real__badge.is-vip {
  background-color: var(--color-1);
}
.card-real__overlay-bottom {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-real__tag {
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 9px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--color-2);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-real__action {
  display: flex;
  gap: 8px;
}
.card-real__action-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  transition: all 0.3s ease;
}
.card-real__action-btn.btn-like.active{
 background: rgb(234, 96, 96);
  color: white;
}
.card-real__action-btn:hover {
  background: var(--bg-linear);
  color: white;
}
.card-real__action-btn:hover .icon svg,
.card-real__action-btn:hover .icon img {
  fill: #fff;
  filter: brightness(2);
}
.card-real__action-btn .icon {
  line-height: 1;
  font-size:  16px;
}
.card-real__action-btn .icon svg,
.card-real__action-btn .icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.card-real__action-btn.is-share {
  position: absolute;
  right: 15px;
  top: 15px;
}
.card-real__detail {
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px 0;
}
.card-real__detail__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-real__detail__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-real__detail__loan-btn {
  margin-left: 8px;
  padding: 6px 12px;
  background: var(--bg-linear);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.card-real__detail__loan-btn:hover{
  background: white;
  color: var(--color-1);
}
.card-real__detail.is-detail {
  padding: 0;
}
.card-real__features {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 12px;
}
.card-real__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5ff;
  padding: 9px 10px;
  border-radius: 8px;
  font-weight: 500;
}
.card-real__feature svg {
  color: var(--color-1);
}
.card-real__feature--loan {
  background: #eef2ff;
}
.card-real__price {
  margin-bottom: 10px;
}
.card-real__price-main {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-1);
}
.card-real__price-sub {
  margin-left: 8px;
  color: #6b7280;
}
.card-real__location {
  margin-top: 8px;
  display: flex;
  gap: 4px;
}
.card-real__location .icon img,
.card-real__location .icon svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.card-real__location-ct span {
  color: #6b7280;
  margin-bottom: 8px;
}
.card-real__location-ct{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-real__location-ct a {
  color: var(--color-1);
  text-decoration: none;
  margin-left: 6px;
}
.card-real__meta {
  display: flex;
  gap: 20px;
  margin: 8px 0;
  font-weight: 500;
}
.card-real__desc {
  line-height: 1.6;
  color: #374151;
  margin: 0 0 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-real__agent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5ff;
  padding: 8px 16px;
  border-radius: 8px;
  margin: 0 -16px;
}
.card-real__agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.card-real__agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.card-real__agent-action {
  display: flex;
  gap: 12px;
  align-items: center;
}
.card-real__agent-name {
  font-weight: 700;
}
.card-real__agent-desc {
  color: #8c8c8c;
}
.card-real__call {
  background: var(--bg-linear);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.card-real__call svg {
  width: 20px;
  height: 20px;
}
.card-real__call svg path {
  fill: currentColor;
}
.card-real__call:hover{
  background: white;
  color: var(--color-1);
}
.card-real__zalo {
  color: #fff;
  border: none;
  cursor: pointer;
  background: transparent;
  line-height: 0;
  width: 40px;
  height: 40px;
}
.card-real__zalo svg {
  width: 100%;
  height: 100%;
}
.card-real__loan-btn {
  margin-left: 8px;
  padding: 6px 12px;
  background: var(--bg-linear);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.card-real__company {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.card-real__company-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-1);
  margin: 0;
}
.card-real__company-actions {
  display: flex;
  gap: 32px;
}
.card-real__company-action {
  font-size: 12px;
  font-weight: 500;
  color: #9dbbe0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.card-real.is-lease {
  display: flex;
  gap: 15px 0;
  flex-wrap: wrap;
}
.card-real.is-lease .card-real__media {
  width: 292px;
}
.card-real.is-lease .card-real__detail {
  width: calc(100% - 292px);
}
.card-real.is-lease .card-real__gallery {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 92px 92px 92px 92px;
  height: 100%;
}
.card-real.is-lease .card-real__gallery > *:nth-child(1) {
  grid-area: 1/1/3 span/3 span;
}
.card-real.is-lease .card-real__gallery > *:nth-child(2) {
  grid-area: auto;
}
.card-real.is-lease .card-real__gallery > *:nth-child(3) {
  grid-area: auto;
}
.card-real.is-lease .card-real__gallery > *:not(:nth-child(-n+4)) {
  display: none;
}
.card-real.is-lease .card-real__gallery.count-1 {
  /* grid-template-columns: 1fr; */
  /* grid-template-rows: 1fr; */
}
.card-real.is-lease .card-real__gallery.count-1 > *:nth-child(1) {
  grid-area: 1/1/4 span/3 span;
}
.card-real.is-lease .card-real__gallery.count-2 {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
}
.card-real.is-lease .card-real__gallery.count-2 > *:nth-child(1) {
  grid-area: auto;
}
.card-real.is-lease .card-real__gallery.count-3 {
  grid-template-columns: repeat(2, 1fr);
}
.card-real.is-lease .card-real__gallery.count-3 > *:nth-child(1) {
  grid-area: 1/1/3 span/2 span;
}
.real-section__empty img{
  width: 180px;
}
/* Sidebar */
.profit-card {
  padding: 16px;
  background: #f7f7f7;
  border-radius: 16px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}
.profit-card__title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}
.profit-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px 16px;
  max-height: 300px;
  overflow-y: auto;
}
.profit-card__option {
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  padding-left: 20px;
  position: relative;
  transition: all 0.2s ease;
}
.profit-card__option:before{
  content:"";
  position: absolute;
  top: 2px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profit-card__option:after{
  content:"";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: transparent;
  border-radius: 50%;
  transition: all .3s;
}
.profit-card__option:hover, .profit-card__option.is-active {
  color: var(--color-1);
}
.profit-card__option.is-active:after, .profit-card__option:hover:after{
  background: var(--color-1);
}

@media (max-width: 1400px) {
  #page-product .ctnr {
    max-width: 1200px;
  }
  .search-input {
    min-width: 200px;
  }
}
@media (max-width: 992px) {
  .search-input {
    min-width: auto;
  }
}
@media (max-width: 640px) {
  .card-real__gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 90px 90px 90px 90px;
  }
  .card-real__gallery > *:nth-child(1) {
    grid-area: 1/1/3 span/3 span;
  }
  .card-real__gallery > *:nth-child(2) {
    grid-area: auto;
  }
  .card-real__gallery > *:nth-child(3) {
    grid-area: auto;
  }
  .card-real__gallery > *:not(:nth-child(-n+4)) {
    display: none;
  }
  .card-real__features {
    flex-direction: column;
  }
  .card-real__agent {
    flex-direction: column;
    gap: 10px;
  }
  .card-real__agent-action {
    width: 100%;
  }
  .card-real__call {
    flex: 1;
  }
  .card-real__company {
    flex-direction: column;
    gap: 10px;
  }
  .card-real.is-lease {
    gap: 0;
  }
  .card-real.is-lease .card-real__media {
    width: 100%;
  }
  .card-real.is-lease .card-real__detail {
    width: 100%;
  }
}

.btn-auto-post {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px 0 4px;
    height: 34px;
    border-radius: 999px;
    border: 1.5px solid #d1d5db;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    user-select: none;
}
.btn-auto-post:hover {
    border-color: #9ca3af;
    background: #e9eaec;
}
.btn-auto-post__track {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 1.5px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0;
}
.btn-auto-post__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.25s;
}
.btn-auto-post__thumb .material-icons-outlined {
    font-size: 15px;
    transition: transform 0.5s ease, color 0.25s;
}
.btn-auto-post__label {
    transition: color 0.25s;
    letter-spacing: 0.01em;
}
/* Active */
.btn-auto-post--active {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #16a34a;
}
.btn-auto-post--active:hover {
    background: #dcfce7;
    border-color: #16a34a;
}
.btn-auto-post--active .btn-auto-post__track {
    background: #22c55e;
    border-color: #16a34a;
}
.btn-auto-post--active .btn-auto-post__thumb {
    color: #ffffff;
}
.btn-auto-post--active .btn-auto-post__thumb .material-icons-outlined {
    animation: autopost-spin-once 0.5s cubic-bezier(.4,0,.2,1);
}
/* Loading */
.btn-auto-post--loading {
    pointer-events: none;
    opacity: 0.7;
}
.btn-auto-post--loading .btn-auto-post__thumb .material-icons-outlined {
    animation: autopost-spin-loop 0.7s linear infinite !important;
}
@keyframes autopost-spin-once {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes autopost-spin-loop {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/*# sourceMappingURL=maps/product.css.map */
