/* filter__item */
.home-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.375rem;
  background: #fff;
}
.home-filter .btn-apply-filter {
  display: flex;
  padding: 0.68181rem;
  justify-content: flex-end;
  align-items: center;
  border-radius: 0.25rem;
  background: var(--Green, #0b6836);
  margin-left: 1.5rem;
}
.home-filter .btn-apply-filter svg {
  width: 1.63638rem;
  height: 1.63638rem;
  object-fit: contain;
}

.filter__item {
  display: flex;
  min-width: 19rem;
  align-items: center;
  margin-right: 2.5rem;
}
.filter__icon {
  padding: var(--Spacing-System-3, 0.75rem) var(--12, 0.75rem);
  border-radius: 0.25rem;
  background: #f0f0f0;
}
.filter__icon img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}
.filter__content {
  flex: 1;
  margin: 0 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}
.fillter__title {
  color: var(--text-body-60, rgba(46, 46, 46, 0.6));
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 1.3125rem */
  letter-spacing: -0.03125rem;
}
.fillter__value {
  color: var(--Text-Body-T1, #2e2e2e);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 1.6rem */
  letter-spacing: -0.01563rem;
  text-align: left;
  text-wrap: nowrap;
}
.fillter__arrow {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

/* picker__item */

.location-picker-container,
.budget-picker-container,
.duration-picker-container {
  position: relative;
  display: inline-block;
}
.location-picker,
.budget-picker,
.duration-picker {
  border-radius: 1rem;
  border: 1px solid #e9ecf3;
  background: #fefdff;
  box-shadow: 0px 3px 40px 1px rgba(214, 214, 221, 0.4);
  padding: 1rem;
  width: 14.5625rem;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.location-picker.show,
.budget-picker.show,
.duration-picker.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-0.5rem);
}

.picker-item {
  display: flex;
  align-items: center;
  color: var(--text-body-75, rgba(46, 46, 46, 0.75));
  font-size: 0.875rem;
  cursor: pointer;
}
.picker-item:not(:last-child) {
  margin-bottom: 0.625rem;
}

.picker-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  background-image: url('/wp-content/uploads/2025/05/check.svg');
  background-size: cover;
  background-repeat: no-repeat;
}
.picker-item.active .picker-item__icon {
  background-image: url('/wp-content/uploads/2025/05/check-icon.svg');
}

.filter__header,
.filter__btn-apply {
  display: none;
}

@media (max-width: 639.98px) {
  /* filter__item */
  .home-filter {
    display: flex;
    width: 20.9375rem;
    padding: 0.75rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 0.375rem;
    background: #fff;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.12);
  }
  .home-filter .btn-apply-filter {
    display: flex;
    padding: 0.625rem;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 1.4rem */
    letter-spacing: -0.03125rem;
    margin-top: 0.5rem;
    margin-left: 0;
    width: 100%;
  }
  .home-filter .btn-apply-filter svg {
    width: 0.875rem;
    height: 0.875rem;
    object-fit: contain;
    margin-left: 0.5rem;
  }

  .filter__item {
    display: flex;
    width: 100%;
    align-items: center;
    margin-right: 0;
  }
  .filter__icon {
    padding: 0.625rem;
    width: 2.5rem;
  height: 2.5rem;
    display: flex;
  align-items: center;
  justify-content: center;
  }
  .filter__icon img {
    width: 1.25rem;
    height: 1.25rem;
  }
  .filter__content {
    flex: 1;
    margin: 0 0.625rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
  }
  .fillter__title {
    font-size: 0.75rem;
    letter-spacing: -0.01563rem;
  }
  .fillter__value {
    font-size: 0.875rem;
    letter-spacing: -0.03125rem;
  }

  /* picker__item */
  .location-picker-container,
  .budget-picker-container,
  .duration-picker-container {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }
  .location-picker,
  .budget-picker,
  .duration-picker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0.25rem 0rem 0.75rem 0rem;
    border-radius: 0.75rem 0.75rem 0rem 0rem;
    border: 1px solid #dcdcdc;
    background: #fff;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.04);
    transform: translateX(0) translateY(100%);
    margin-bottom: 0;
  }

  .location-picker.show,
  .budget-picker.show,
  .duration-picker.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
  }

  .picker-item {
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    border-radius: 0;

    color: var(--Body-text, #333);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 1.4rem */
    letter-spacing: -0.03125rem;
    transition: all 0.3s ease;
  }
  .picker-item:not(:last-child) {
    margin-bottom: 0.625rem;
  }
  .picker-item.active {
    color: var(--Green, #0b6836);
    background: #edf8f2;
  }
  .picker-item__icon {
    display: none;
  }

  .filter__header {
    display: flex;
    padding: 0rem 1.25rem;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(223, 222, 222, 0.37);
    color: var(--titile, #1c1c1c);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.01125rem;
    margin-bottom: 1.25rem;
    height: 3.1875rem;
  }
  .filter__header .btn-close {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
  }

  .filter__btn-apply {
    display: flex;
    margin: 1.25rem;
    margin-bottom: 0;
    width: calc(100% - 2.5rem);
  }
}



.banner {
  position: relative;
  width: 100%;
  height: 51.625rem;
}
.banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-filter {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
@media (max-width: 639.98px) {
  .banner {
    height: 30.625rem;
  }
  .home-filter {
    position: absolute;
    bottom: -10rem;
    left: 1.25rem;
    transform: none;
  }
}
