.tev-search-is-open {
  overflow: hidden;
}

.tev-product a.added_to_cart.wc-forward {
    display: none !important;
}

.tev-search-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #061341;
  cursor: pointer;
  font: inherit;
  padding: 8px 10px;
}

.tev-search-button__icon,
.tev-search__glass {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.tev-search-button__icon::after,
.tev-search__glass::after {
  content: "";
  width: 8px;
  height: 2px;
  background: currentColor;
  position: absolute;
  right: -7px;
  bottom: -4px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.tev-search[hidden] {
  display: none !important;
}

.tev-search {
  position: fixed;
  inset: 0;
  z-index: 999999;
  color: #020b2f;
  font-family: inherit;
}

.tev-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68);
}

.tev-search__panel {
  position: relative;
  min-height: 72vh;
  max-height: 100vh;
  overflow: auto;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}

.tev-search__header {
  display: grid;
  grid-template-columns: clamp(120px, 12vw, 190px) minmax(0, 1fr) 44px;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(18px, 3vw, 48px) 10px;
}

.tev-search__brand {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.tev-search__brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(44px, 5vw, 74px);
  object-fit: contain;
}

.tev-search__field {
  border-bottom: 1.5px solid #1b3478;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  color: #061341;
}

.tev-search__field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #020b2f;
  font: inherit;
  font-size: 18px;
  background: transparent;
  padding: 10px 0;
}

.tev-search__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.tev-search__close::before,
.tev-search__close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 9px;
  width: 28px;
  height: 3px;
  background: #777;
}

.tev-search__close::before {
  transform: rotate(45deg);
}

.tev-search__close::after {
  transform: rotate(-45deg);
}

.tev-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
  padding: 0 clamp(18px, 3vw, 48px) 22px calc(clamp(18px, 3vw, 48px) + 60px);
}

.tev-search-chip {
  border: 1px solid #a9acb8;
  border-radius: 999px;
  color: #4d5364;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 7px 14px;
}

.tev-search-chip:hover {
  border-color: #1b3478;
  color: #1b3478;
}

.tev-search__body {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 24px;
  padding: 0 clamp(18px, 3vw, 48px) 40px;
}

.tev-search__sidebar {
  display: grid;
  align-content: start;
  gap: 28px;
}

.tev-facet {
  border: 0;
}

.tev-facet summary {
  align-items: center;
  color: #2d160c;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  justify-content: space-between;
  line-height: 1.2;
  margin: 0 0 14px;
  list-style: none;
}

.tev-facet summary::-webkit-details-marker {
  display: none;
}

.tev-facet summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 8px;
  margin-left: 12px;
  transform: rotate(45deg);
  transition: transform .18s ease;
  width: 8px;
}

.tev-facet[open] summary::after {
  transform: rotate(225deg);
}

.tev-facet__content {
  display: block;
}

.tev-facet__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  cursor: pointer;
  color: #061341;
}

.tev-facet__row input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.tev-facet__row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tev-facet__row em {
  color: #687084;
  font-style: normal;
  font-size: 14px;
}

.tev-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tev-price label {
  display: grid;
  gap: 5px;
  color: #687084;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tev-price input {
  width: 100%;
  border: 1px solid #cfd3dc;
  border-radius: 4px;
  color: #061341;
  padding: 8px 10px;
}

.tev-search__main {
  min-width: 0;
}

.tev-search__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tev-search__toolbar strong {
  font-size: 15px;
}

.tev-search__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #061341;
  font-size: 14px;
}

.tev-search__sort select {
  border: 0;
  color: #061341;
  background: transparent;
  font: inherit;
}

.tev-search__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.tev-search .boxprod,
.tev-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #07123f;
  box-shadow: 0 16px 34px rgba(40, 43, 56, .10);
  transition: box-shadow .18s ease, transform .18s ease;
}

.tev-search .boxprod:hover,
.tev-product:hover {
  box-shadow: 0 20px 42px rgba(40, 43, 56, .16);
  transform: translateY(-2px);
}

.tev-search .cntimg {
  position: relative;
  aspect-ratio: 1.38 / 1;
  background: #f1f2f5;
  overflow: hidden;
}

.tev-search .cntimg a {
  display: block;
  width: 100%;
  height: 100%;
}

.tev-search .cntimg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .24s ease;
}

.tev-product:hover .cntimg img {
  transform: scale(1.04);
}

.tev-product__badge {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  background: #77b936;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 9px 12px;
}

.tev-search .cntprod {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  padding: 22px 16px 20px;
}

.tev-search .btnpanier {
  position: absolute;
  right: 14px;
  top: -30px;
  z-index: 2;
}

.tev-search .btnpanier form {
  margin: 0;
}

.tev-search .btnpanier .single_add_to_cart_button {
  width: 58px;
  height: 58px;
  border: 4px solid #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #2c8f23;
  color: #fff;
  box-shadow: 0 8px 18px rgba(44, 143, 35, .32);
  cursor: pointer;
}

.tev-search .btnpanier .single_add_to_cart_button img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tev-search .priceprod,
.tev-product__price {
  color: #2d8f23;
  font-size: 27px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.tev-search .cntprod p {
  min-height: 38px;
  margin: 0;
  color: #060a1c;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.tev-product__notes {
  display: block;
  min-height: 38px;
  color: #001b67;
  font-size: 14px;
  line-height: 1.25;
}

.tev-search .btn-custom {
  width: 100%;
  max-width: 276px;
  margin-top: auto;
  border: 1px solid #6abf00;
  border-radius: 8px;
  background: #fff;
  color: #060a1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .06em;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.tev-search .btn-custom:hover {
  background: #6abf00;
  border-color: #6abf00;
  color: #fff;
}

.tev-search__empty {
  grid-column: 1 / -1;
  color: #687084;
  font-size: 16px;
  margin: 28px 0;
}

@media (max-width: 900px) {
  .tev-search__panel {
    min-height: 100vh;
  }

  .tev-search__header {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .tev-search__brand {
    display: none;
  }

  .tev-search__chips {
    padding-left: clamp(18px, 3vw, 48px);
  }

  .tev-search__body {
    grid-template-columns: 1fr;
  }

  .tev-search__sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tev-search__body {
    gap: 14px;
    padding-bottom: 24px;
  }

  .tev-search__field input {
    font-size: 16px;
  }

  .tev-search__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .tev-search__sidebar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tev-facet {
    border-bottom: 1px solid #e3e6ef;
    padding: 0;
  }

  .tev-facet summary {
    font-size: 17px;
    margin: 0;
    min-height: 44px;
    padding: 7px 0;
  }

  .tev-facet__content {
    padding: 2px 0 12px;
  }

  .tev-facet__row {
    margin: 7px 0;
  }

  .tev-price {
    padding-bottom: 12px;
  }

  .tev-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tev-search .cntprod {
    padding: 10px 8px 13px;
  }

  .tev-search .cntprod p,
  .tev-product__notes {
    font-size: 13px;
  }

  .tev-search .priceprod {
    font-size: 17px;
  }

  .tev-search .btnpanier .single_add_to_cart_button {
    width: 46px;
    height: 46px;
    border-width: 3px;
  }

  .tev-search .btnpanier {
    right: 8px;
    top: -24px;
  }

  .tev-search .btn-custom {
    min-height: 44px;
    font-size: 12px;
  }
}
