.propertytasker-search {
  --pt-ink: #20222d;
  --pt-soft: #7e8594;
  --pt-line: #e8e9ee;
  --pt-line-strong: #dfe2e9;
  --pt-card: #ffffff;
  --pt-accent: #f16b7f;
  --pt-accent-strong: #ea6277;
  --pt-shadow: 0 22px 60px rgba(32, 34, 45, 0.08);
  color: var(--pt-ink);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.propertytasker-categories-menu {
  position: relative;
  display: inline-block;
  font-family: "Manrope", sans-serif;
}

.propertytasker-categories-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #20222d;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  cursor: pointer;
  padding: 0;
}

.propertytasker-categories-menu__toggle:hover,
.propertytasker-categories-menu__toggle:focus,
.propertytasker-categories-menu__toggle:focus-visible,
.propertytasker-categories-menu.is-open .propertytasker-categories-menu__toggle {
  background: transparent !important;
  color: #f16b7f;
  outline: 0 !important;
  box-shadow: none !important;
}

.propertytasker-categories-menu__caret {
  font-size: 12px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.propertytasker-categories-menu.is-open .propertytasker-categories-menu__caret {
  transform: rotate(180deg);
}

.propertytasker-categories-menu__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(92vw, 280px);
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  overflow: visible;
}

.propertytasker-categories-menu__dropdown[hidden] {
  display: none !important;
}

.propertytasker-categories-menu__list {
  position: relative;
  display: block;
}

.propertytasker-categories-menu__mothers {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
}

.propertytasker-categories-menu__group {
  position: relative;
}

.propertytasker-categories-menu__mother {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: #fff;
  color: #20222d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  white-space: normal;
  word-break: break-word;
}

.propertytasker-categories-menu__mother:hover,
.propertytasker-categories-menu__mother.is-active {
  background: #fff;
  color: #f16b7f;
}

.propertytasker-categories-menu__group-caret {
  font-size: 13px;
  line-height: 1;
  transition: none;
  flex: 0 0 auto;
  margin-left: 10px;
}

.propertytasker-categories-menu__flyout {
  position: absolute;
  left: calc(100% + 4px);
  top: 0;
  width: 280px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.propertytasker-categories-menu__sublist {
  display: flex;
  flex-direction: column;
  max-height: 224px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  background: #fff;
}

.propertytasker-categories-menu__subitem {
  width: 100%;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: #20222d;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
}

.propertytasker-categories-menu__subitem:last-child {
  border-bottom: 0;
}

.propertytasker-categories-menu__subitem:hover {
  background: #fff;
  color: #f16b7f;
}

.propertytasker-categories-menu__item {
  width: 100%;
  padding: 11px 18px;
  border: 0;
  background: #fff;
  color: #20222d;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  cursor: pointer;
}

.propertytasker-categories-menu__item:hover {
  background: transparent;
  color: #f16b7f;
}

.propertytasker-categories-menu__item--muted {
  color: #7d8592;
  cursor: default;
}

@media (max-width: 767px) {
  .propertytasker-categories-menu__dropdown {
    width: min(92vw, 280px);
  }

  .propertytasker-categories-menu__flyout {
    position: static;
    width: 100%;
    margin-top: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.propertytasker-search__shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 18px;
}

.propertytasker-search__search-card,
.propertytasker-search__category-card,
.propertytasker-search__results-block {
  background: var(--pt-card);
  border: 1px solid rgba(232, 233, 238, 0.92);
  border-radius: 26px;
  box-shadow: var(--pt-shadow);
}

.propertytasker-search__search-card {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.propertytasker-search__input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 800px;
  min-height: 86px;
  margin: 0 auto;
  padding: 10px 14px 10px 26px;
  border: 3px solid #e8ebf1;
  border-radius: 18px;
  background: #fff;
}

.propertytasker-search__skill-field {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: visible;
}

.propertytasker-search__search-icon {
  width: 30px;
  height: 30px;
  color: #5f6773;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
}

.propertytasker-search__icon-image {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.propertytasker-search__search-icon .propertytasker-search__icon-image {
  width: 30px;
  height: 30px;
}

.propertytasker-search__search-icon svg,
.propertytasker-search__chip-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.propertytasker-search input.propertytasker-search__input,
.propertytasker-search__input,
.propertytasker-search input.propertytasker-search__input.form-control {
  min-width: 0;
  border: 0 !important;
  border-color: transparent !important;
  border-style: none !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--pt-ink);
  font: inherit;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.propertytasker-search input.propertytasker-search__input:focus,
.propertytasker-search input.propertytasker-search__input:hover,
.propertytasker-search input.propertytasker-search__input:active,
.propertytasker-search__input:focus,
.propertytasker-search__input:hover,
.propertytasker-search__input:active {
  border: 0 !important;
  outline: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  background: transparent !important;
}

.propertytasker-search__input::placeholder {
  color: #9aa3af;
}

.propertytasker-search__button {
  min-height: 56px;
  min-width: 116px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pt-accent) 0%, var(--pt-accent-strong) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.propertytasker-search__button:hover {
  background: #f16b7f;
  filter: none;
}

.propertytasker-search__suggestions {
  position: absolute;
  top: calc(100% + 14px);
  left: -6px;
  right: -6px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.125);
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(15, 23, 42, 0.075);
  max-height: 280px;
  overflow-y: auto;
}

.propertytasker-search__suggestions[hidden] {
  display: none !important;
}

.propertytasker-search__suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0.5rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.125);
  border-radius: 0;
  background: #fff;
  color: var(--pt-ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.propertytasker-search__suggestion:last-child {
  border-bottom: 0;
}

.propertytasker-search__suggestion:hover {
  background: #fef1f4;
  color: #f16b7f;
}

.propertytasker-search__suggestion-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pt-accent);
  flex: 0 0 auto;
}

.propertytasker-search__suggestion-label {
  font-size: 14px;
  line-height: 1.3;
}

.propertytasker-search__helper {
  margin: 18px 0 0;
  text-align: center;
  color: #7d8592;
  font-size: 16px;
  line-height: 1.45;
}

.propertytasker-search__category-card {
  max-width: 1220px;
  margin: 18px auto 0;
  padding: 0 0 6px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.propertytasker-search__section-head {
  display: none;
}

.propertytasker-search__section-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.propertytasker-search__status {
  color: var(--pt-soft);
  font-size: 13px;
}

.propertytasker-search__category-slider {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 22px;
  background: transparent !important;
  box-shadow: none !important;
}

.propertytasker-search__nav {
  width: 40px;
  height: 40px;
  border: 1px solid #f1f2f5;
  border-radius: 999px;
  background: #fff;
  color: #eceef3;
  font-size: 44px;
  font-weight: 300;
  line-height: 0.78;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.propertytasker-search__nav:disabled {
  opacity: 0.9;
  cursor: default;
}

.propertytasker-search__viewport {
  overflow: hidden;
  padding: 18px 18px 22px;
  margin: -18px -18px -22px;
  background: transparent !important;
  box-shadow: none !important;
}

.propertytasker-search__categories {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: auto;
  padding: 8px 0 10px;
  background: transparent !important;
  box-shadow: none !important;
}

.propertytasker-search__categories::-webkit-scrollbar {
  display: none;
}

.propertytasker-search__chip {
  flex: 0 0 calc((100% - 144px) / 8);
  min-width: 138px;
  min-height: 98px;
  padding: 18px 10px 14px;
  border: 1px solid #eef1f5 !important;
  border-radius: 12px;
  background: #fff !important;
  text-align: center;
  cursor: pointer;
  box-shadow: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.propertytasker-search__chip:hover,
.propertytasker-search__chip:focus-visible {
  border-color: rgba(241, 107, 127, 0.45) !important;
  background: #fff7f9 !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.propertytasker-search__chip:hover .propertytasker-search__chip-icon,
.propertytasker-search__chip:hover .propertytasker-search__chip-label,
.propertytasker-search__chip:focus-visible .propertytasker-search__chip-icon,
.propertytasker-search__chip:focus-visible .propertytasker-search__chip-label {
  color: #f16b7f !important;
}

.propertytasker-search__chip-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--pt-accent);
}

.propertytasker-search__chip-label {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 500;
  color: #1f2937 !important;
}

.propertytasker-search__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.propertytasker-search__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #f4d7de;
}

.propertytasker-search__dot--active {
  background: var(--pt-accent);
  transform: scale(1.18);
}

.propertytasker-search__results-block {
  max-width: 980px;
  margin: 22px auto 0;
  padding: 18px;
}

.propertytasker-search__modal[hidden] {
  display: none;
}

.propertytasker-search__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.propertytasker-search__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 33, 0.42);
}

.propertytasker-search__modal-dialog {
  position: relative;
  z-index: 2;
  width: min(94vw, 500px);
  margin: 0;
  padding: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.2);
  overflow: visible;
}

.propertytasker-search__modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 32px;
  line-height: 0.7;
  cursor: pointer;
}

.propertytasker-search__modal-title {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f3;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.propertytasker-search__modal-copy {
  margin: 0;
  padding: 18px 20px 16px;
  color: var(--pt-soft);
  font-size: 14px;
  line-height: 1.55;
}

.propertytasker-search__modal-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 0 20px 20px;
}

.propertytasker-search__modal-field {
  position: relative;
  z-index: 3;
}

.propertytasker-search__modal-input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  background: #fff;
  color: var(--pt-ink);
  font: inherit;
}

.propertytasker-search__modal-input:focus {
  outline: 2px solid rgba(240, 111, 130, 0.18);
  border-color: #f3a8b4;
}

.propertytasker-search__modal-submit {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--pt-accent) 0%, var(--pt-accent-strong) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 22px;
  white-space: nowrap;
}

.propertytasker-search__modal-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.125);
  border-radius: 10px;
  box-shadow: 0 0.125rem 0.25rem rgba(15, 23, 42, 0.075);
  max-height: 220px;
  overflow-y: auto;
}

.propertytasker-search__modal-suggestions[hidden] {
  display: none !important;
}

.propertytasker-search__modal-option {
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: var(--pt-ink);
  cursor: pointer;
}

.propertytasker-search__modal-option:last-child {
  border-bottom: 0;
}

.propertytasker-search__modal-option:hover {
  background: #fef1f4;
  color: #f16b7f;
}

.propertytasker-search__results {
  display: grid;
  gap: 12px;
}

.propertytasker-search__result {
  padding: 16px 18px;
  border: 1px solid var(--pt-line);
  border-radius: 18px;
  background: #fff;
}

.propertytasker-search__result-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.propertytasker-search__result-meta,
.propertytasker-search__result-body,
.propertytasker-search__message {
  margin: 0;
  color: var(--pt-soft);
}

.propertytasker-search__result-body {
  margin-top: 8px;
  line-height: 1.55;
}

.propertytasker-search__message {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 14px;
}

.propertytasker-search__message--error {
  background: #fff1f2;
  color: #be123c;
}

@media (max-width: 1024px) {
  .propertytasker-search__chip {
    flex-basis: calc((100% - 96px) / 6);
    min-width: 124px;
  }
}

@media (max-width: 780px) {
  .propertytasker-search__input-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px 14px 14px 18px;
  }

  .propertytasker-search__button {
    width: 100%;
    min-height: 52px;
  }

  .propertytasker-search__modal-search {
    grid-template-columns: 1fr;
  }

  .propertytasker-search__suggestions {
    left: 0;
    right: 0;
  }

  .propertytasker-search__chip {
    flex-basis: calc((100% - 48px) / 4);
    min-width: 110px;
  }
}

@media (max-width: 520px) {
  .propertytasker-search__shell {
    padding-inline: 10px;
  }

  .propertytasker-search__category-slider {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 12px;
  }

  .propertytasker-search__nav {
    width: 34px;
    height: 34px;
    font-size: 36px;
  }

  .propertytasker-search__chip {
    flex-basis: calc((100% - 24px) / 3);
    min-width: 102px;
    min-height: 92px;
  }
}
