/* Butonul de căutare din antet. */
body .wd-header-search.whb-s62vgl37p052mdljwdfp > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgb(154 173 184 / 22%);
  border-radius: 8px;
  background: transparent;
  color: #9aadb8;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body .wd-header-search.whb-s62vgl37p052mdljwdfp > a:hover {
  border-color: #315a6b;
  background: #17384b;
  color: #fff;
}

body .wd-header-search.whb-s62vgl37p052mdljwdfp > a:focus-visible {
  outline: 2px solid #0a202c;
  outline-offset: 3px;
}

body .wd-header-search.whb-s62vgl37p052mdljwdfp .wd-tools-icon img {
  width: 18px !important;
  height: 18px !important;
  filter: brightness(0) invert(1);
  opacity: .58;
}

body .wd-header-search.whb-s62vgl37p052mdljwdfp > a:hover .wd-tools-icon img,
body .wd-header-search.whb-s62vgl37p052mdljwdfp > a:focus-visible .wd-tools-icon img {
  opacity: 1;
}

/* When the search is open, WoodMart swaps the magnifier for its close icon. */
html.wd-search-opened body .wd-header-search.whb-s62vgl37p052mdljwdfp .wd-tools-icon img {
  opacity: 0;
}

@media (min-width: 769px) {
  body .wd-search-results .wd-entities-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 768px) {
  body .wd-search-results .wd-entities-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .wd-header-search.whb-s62vgl37p052mdljwdfp > a {
    transition: none;
  }
}
