.search-form {
  width: 100%;
}
.search-form > div {
  position: relative;
  height: 48px;
  background: #fff;
  border: 1px solid var(--lm-color-black);
  border-bottom: 0;
}
.search-form button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50px;
}
.search-form input {
  width: calc(100% - 50px);
  height: 100%;
  font-family: var(--lm-font-mediumsss);
  font-size: 18px;
  border: 0 none;
  padding: 0 20px;
  outline: 0;
}

.filters-trigger span {
  display: none;
}

.filters-section {
  border-top: 1px solid var(--lm-color-black);
  border-bottom: 1px solid var(--lm-color-black);
  background: var(--lm-bg-1);
  position: sticky;
  top: 100px;
  z-index: 2;
}
.filters-section .filters-group {
  display: flex;
  align-items: center;
}
.filters-section .filters {
  display: flex;
}
.filters-section .filters .filter {
  position: relative;
  border-right: 1px solid var(--lm-color-black);
  padding: 10px 16px;
  cursor: pointer;
}
.filters-section .filters .filter:nth-child(1) {
  border-left: 1px solid var(--lm-color-black);
}
.filters-section .filters .filter .filter-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.filters-section .filters .filter .filter-title span {
  font-family: var(--lm-font-bold);
  font-size: 16px;
}
.filters-section .filters .filter-dropdown {
  position: absolute;
  left: -1px;
  top: calc(100% + 1px);
  width: 220px;
  background: #fff;
  border: 1px solid var(--lm-color-black);
  border-top: 0;
  padding: 15px 10px;
  display: grid;
  gap: 10px;
  display: none;
}
.filters-section .filters .filter-dropdown li {
  font-size: 14px;
  margin: 4px 0px;
}

.products {
  margin-top: 30px;
}
.products .product {
  border: 1px solid #707070;
  padding: 25px;
  position: relative;
}
.products .product:hover .infos > div:before {
  opacity: 1;
  visibility: visible;
}
.products .product:hover > a {
  opacity: 1;
  visibility: visible;
}
.products .product .heading {
  margin-bottom: 15px;
}
.products .product .heading h3 {
  font-family: var(--lm-font-bold);
}
.products .product .logo {
  margin-top: 30px;
}
.products .product .logo > img {
  width: 100px;
  display: block;
  margin-left: auto;
}
.products .product .infos {
  display: flex;
  gap: 20px;
}
.products .product .infos > div {
  position: relative;
}
.products .product .infos > div:before {
  content: "";
  position: absolute;
  top: 60px;
  left: -2px;
  width: 105%;
  height: calc(100% - 60px);
  backdrop-filter: blur(1.7px);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
}
.products .product .infos img {
  width: 93px;
  height: 93px;
  border-radius: 50%;
}
.products .product .infos .specification {
  color: #707070;
}
.products .product > a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 49px;
  gap: 15px;
  padding: 0 20px;
  transition: all 0.3s;
  width: max-content;
  opacity: 0;
  visibility: hidden;
}

.active-filters-wrap {
  display: flex;
  margin-bottom: 30px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 11px;
  /* width */
  /* Track */
  /* Handle */
}
.active-filters-wrap::-webkit-scrollbar {
  height: 6px;
}
.active-filters-wrap::-webkit-scrollbar-track {
  background: var(--lm-bg-1);
}
.active-filters-wrap::-webkit-scrollbar-thumb {
  background: var(--lm-color-primary);
  border-radius: 3px;
}
.active-filters-wrap .active-filters {
  display: flex;
  gap: 25px;
}
.active-filters-wrap .active-filters .active-filter {
  display: flex;
  gap: 25px;
  background: var(--lm-bg-1);
  border-radius: 50px;
  padding: 9px 20px;
  min-width: max-content;
}

.filters-wrap > button {
  display: none;
}

.pagination {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}
.pagination li {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lm-bg-1);
  display: grid;
  place-items: center;
  font-family: var(--lm-font-bold);
  cursor: pointer;
}
.pagination li.active {
  background: var(--lm-color-primary);
  color: #fff;
}

@media (max-width: 1340px) {
  header.no-z-index {
    z-index: 2;
  }

  .active-filters-wrap {
    padding: 0 15px 8px 15px;
  }

  .filters-section .filters-group {
    height: 43px;
    border-left: 1px solid var(--lm-color-black);
    border-right: 1px solid var(--lm-color-black);
    justify-content: center;
  }
  .filters-section .filters {
    padding-top: 50px;
    position: relative;
  }
  .filters-section .filters:before {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    background: url("../../../images/x.svg") no-repeat center center/contain;
    width: 17px;
    height: 17px;
  }

  .filters-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .filters-trigger span {
    display: block;
  }

  .filters-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    background: linear-gradient(275deg, black 0%, rgba(255, 255, 255, 0) 73%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s;
    overflow-x: hidden;
  }
  .filters-wrap.active {
    opacity: 1;
    visibility: visible;
  }
  .filters-wrap.active .filters, .filters-wrap.active button {
    transform: translateX(0);
  }
  .filters-wrap > button {
    width: 400px;
    margin-left: auto;
    background: #fff;
    display: block;
    transform: translateX(110%);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .filters-section .filters {
    display: flex;
    background: #fff;
    width: 400px;
    margin-left: auto;
    height: 100%;
    flex-direction: column;
    display: block;
    transform: translateX(110%);
    transition: all 0.8s;
  }
  .filters-section .filters .filter {
    border-right: 0 none;
    border-top: 1px solid var(--lm-color-black);
  }
  .filters-section .filters .filter:nth-child(1) {
    border-left: 0 none;
    border-top: 0 none;
  }
  .filters-section .filters .filter .filter-dropdown {
    position: relative;
    top: unset;
    left: unset;
    border: 0 none;
  }
  .filters-section .filters .filter .filter-title {
    justify-content: space-between;
  }
}
@media (max-width: 1024px) {
  .filters-section {
    top: 80px;
  }
}
@media (max-width: 600px) {
  .filters-wrap > button {
    width: 100%;
  }

  .filters-section .filters {
    width: 100%;
  }

  .products .product {
    padding: 20px;
    border-left: 0;
    border-right: 0;
  }
  .products .product .infos img {
    width: 65px;
    height: 65px;
  }

  .active-filters-wrap .active-filters {
    gap: 10px;
  }
  .active-filters-wrap .active-filters .active-filter {
    gap: 15px;
    padding: 3px 16px;
  }
}