.webccs-no-scroll {
  overflow: hidden;
}
.mainbar-row .search {
  width: 100%;
  max-width: 400px;
  min-width: 150px;
  padding: 0 25px;
}
@media screen and (max-width: 767px) {
  .mainbar-row .search {
    padding: 0 50px 0 15px;
  }
}
.webccs-search {
  position: relative;
  display: inline-block;
  max-height: 35px;
  /* width: 100%;
	max-width: 400px;
	min-width: 150px; */
}
.webccs-search .webccs-search__launcher {
  background: #fff;
  border: 2px solid var(--theme-base);
  color: var(--theme-black);
  font-size: 16px;
  line-height: 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  /* width: 100%;
		max-width: 400px;
		min-width: 150px; */
  text-align: left;
  position: relative;
  width: 35px;
  height: 35px;
  background: #353535;
  border-radius: 50px;
  border: 4px solid #46A6F8;
  padding: 0px;
  transition: all 0.3s ease;
}
.webccs-search .webccs-search__launcher:hover,
.webccs-search .webccs-search__launcher:focus {
  border-color: #E90000;
  background: #353535;
}
.webccs-search .webccs-search__launcher::before {
  content: '';
  position: absolute;
  background-image: url('data:image/svg+xml,%3Csvg width="46" height="46" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30.7193 5.26293C23.7016 -1.75431 12.2797 -1.75431 5.26202 5.26293C-1.75417 12.2817 -1.75417 23.7013 5.26202 30.72C11.5115 36.9676 21.2447 37.6369 28.2578 32.7584C28.4054 33.4567 28.7431 34.1229 29.2862 34.666L39.5063 44.8854C40.9956 46.3716 43.4023 46.3716 44.884 44.8854C46.3718 43.3976 46.3718 40.9911 44.884 39.5079L34.664 29.2856C34.1239 28.7471 33.4561 28.4078 32.7578 28.2603C37.6396 21.2461 36.9703 11.515 30.7193 5.26293ZM27.4926 27.4936C22.2533 32.7326 13.7265 32.7326 8.48868 27.4936C3.2524 22.2546 3.2524 13.7299 8.48868 8.4909C13.7265 3.25344 22.2533 3.25344 27.4926 8.4909C32.732 13.7299 32.732 22.2546 27.4926 27.4936Z" fill="%23FFF"/%3E%3C/svg%3E%0A');
  background-size: contain;
  background-repeat: no-repeat;
  width: 13px;
  height: 13px;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
}
.webccs-search__overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
  padding: 24px;
  height: 100vh;
  height: 100dvh;
  /* para mobile */
  /* Contenedor */
  /* Cargando */
  /* Btn Cerrar */
}
.webccs-search__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.webccs-search__overlay .webccs-search__overlay-inner {
  position: relative;
  width: min(1200px, 100%);
  height: min(92vh, 860px);
  height: min(92dvh, 860px);
  /* para mobile */
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(179, 179, 179, 0.6);
  /* input search */
  /* Popup Footer */
  /* popup body */
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__header {
  padding: 48px 48px 24px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__header .webccs-search__form {
  margin: 0;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__header .webccs-search__form .webccs-search__input {
  width: 100%;
  background: #fff;
  border: none;
  border-bottom: 1px solid #cdcdcd;
  padding: 5px 15px;
  color: var(--theme-black);
  font-size: 16px;
  line-height: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__header .webccs-search__form .webccs-search__input:focus {
  border-bottom: 1px solid #3e3e3e;
  box-shadow: 0 0 0 2px rgba(var(--theme-base-rbg), 0.3);
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__header .webccs-search__form .webccs-search__input::placeholder {
  color: rgba(var(--theme-black-rbg), 0.4);
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__footer {
  padding: 0;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__footer .webccs-search__view-all {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 10px 25px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
  background: #46A6F8;
  color: #ffffff;
  transition: all 0.2s ease;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__footer .webccs-search__view-all:hover,
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__footer .webccs-search__view-all:focus {
  outline: none;
  background-color: #E90000;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__footer .webccs-search__view-all:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 0 48px 24px;
  flex: 1;
  min-height: 0;
  /* categorias */
  /* resultados */
}
@media screen and (max-width: 992px) {
  .webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body {
    grid-template-columns: 1fr;
    padding: 0 24px 18px;
    gap: 18px;
  }
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies {
  border: none;
  border-right: 1px solid #f5f5f5;
  padding: 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* Listado */
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-toggle {
  background: transparent;
  color: var(--theme-black);
  font-size: 14px;
  text-transform: uppercase;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  cursor: pointer;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-toggle .webccs-search__tax-icon {
  font-size: 12px;
  margin-left: 12px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-base) rgba(var(--theme-black-rbg), 0.08);
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list::-webkit-scrollbar {
  width: 6px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list::-webkit-scrollbar-track {
  background: rgba(var(--theme-black-rbg), 0.08);
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list::-webkit-scrollbar-thumb {
  background: var(--theme-base);
  border-radius: 999px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list .webccs-search__tax-item {
  margin-bottom: 10px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list .webccs-search__tax-item:last-child {
  margin-bottom: 0;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list .webccs-search__tax-item a {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: #46A6F8;
  color: #FFF;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 25px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list .webccs-search__tax-item a .webccs-search__tax-icon img {
  width: 30px;
  height: auto;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list .webccs-search__tax-item a:hover,
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__taxonomies .webccs-search__tax-list .webccs-search__tax-item a:focus {
  background: #E90000;
  outline: none;
  color: #fff;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results {
  overflow-y: auto;
  min-height: 0;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card {
  border: 1px solid #f5f5f5;
  transition: all 0.2s ease;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 10px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-card__thumb {
  display: block;
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  position: relative;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-card__thumb--placeholder {
  background: linear-gradient(135deg, rgba(var(--theme-base-rbg), 0.45), rgba(var(--theme-black-rbg), 1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-card__title {
  font-size: 16px;
  line-height: 1.1rem;
  font-weight: 400;
  color: #353535;
  display: block;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-card__title:hover {
  color: #E90000;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
  margin-top: 5px;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-card__cats .webccs-card__cat {
  font-size: 11px;
  background: #f0f0f0;
  color: #666;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card a .webccs-search__empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  padding: 32px 0;
}
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card:hover,
.webccs-search__overlay .webccs-search__overlay-inner .webccs-search__body .webccs-search__results .webccs-search__grid .webccs-card:focus-within {
  border-color: rgba(var(--theme-base-rbg), 0.2);
  box-shadow: 0 16px 30px rgba(var(--theme-base-rbg), 0.2);
}
.webccs-search__overlay.is-loading .webccs-search__overlay-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: webccs-fade 0.3s ease;
}
.webccs-search__overlay.is-loading .webccs-search__overlay-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--theme-base);
  transform: translate(-50%, -50%);
  animation: webccs-spin 0.9s linear infinite;
  z-index: 1;
}
.webccs-search__overlay .webccs-search__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: #353535;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.webccs-search__overlay .webccs-search__close:hover,
.webccs-search__overlay .webccs-search__close:focus {
  background: rgba(var(--theme-base-rbg), 0.7);
  transform: rotate(90deg);
  outline: none;
  color: #353535;
}
.webccs-search__tax-name {
  font-size: 15px;
  font-weight: 600;
}
.webccs-search__tax-slug {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 12px;
}
.webccs-search__tax-empty {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  padding: 12px;
}
@media (max-width: 1200px) {
  /* 	.webccs-search__body {
		grid-template-columns: 240px 1fr;
		gap: 20px;
		padding: 0 32px 24px;
	} */
  /* 	.webccs-search__header {
		padding: 40px 32px 20px;
	} */
  /* 	.webccs-search__footer {
		padding: 16px 32px 32px;
	} */
}
@media (max-width: 900px) {
  .webccs-search__overlay {
    padding: 12px;
  }
  .webccs-search__overlay-inner {
    height: 100%;
  }
  .webccs-search__body {
    grid-template-columns: 1fr;
    padding: 0 24px 18px;
    gap: 18px;
  }
  .webccs-search__taxonomies {
    border: 0;
    padding: 0;
    background: transparent;
  }
  .webccs-search__tax-toggle {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .webccs-search__tax-list {
    margin-top: 12px;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  }
  .webccs-search__taxonomies.is-open .webccs-search__tax-list {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
  }
  /* .webccs-search__results {
		padding: 18px;
	}

	.webccs-search__grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 14px;
	}

	.webccs-card__thumb {
		height: 140px;
	}

	.webccs-search__footer {
		position: sticky;
		bottom: 0;
		background: rgba(0, 0, 0, 0.95);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		padding: 12px 24px 24px;
	} */
}
@media (max-width: 600px) {
  /* .webccs-search__launcher {
		width: 100%;
		text-align: center;
	}

	.webccs-search__header {
		padding: 32px 20px 16px;
	}

	.webccs-search__body {
		padding: 0 20px 16px;
	}

	.webccs-search__results {
		padding: 16px;
	}

	.webccs-search__view-all {
		font-size: 14px;
		letter-spacing: 0.12em;

	} */
}
@keyframes webccs-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes webccs-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* page results */
.webc-search-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media screen and (max-width: 1200px) {
  .webc-search-products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 991px) {
  .webc-search-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .webc-search-products {
    grid-template-columns: repeat(1, 1fr);
  }
}
.webc-search-products .webc-product-item {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  padding: 20px 20px 30px 20px;
  border-color: #E8E8E8;
  text-align: center;
}
@media screen and (max-width: 991px) {
  .webc-search-products .webc-product-item .webc-product-link .webc-product-title {
    font-size: 18px;
    line-height: 22px;
  }
}
.webc-search-products .webc-product-item .webc-product-price .woocommerce-Price-amount {
  color: #46A6F8;
  font-weight: 600;
}
.webc-search-products .webc-product-item .webc-product-addtocart {
  margin-top: 10px;
}
.webc-search-products .webc-product-item .webc-product-addtocart a {
  background: #E90000;
  padding: 10px 20px;
  color: #FFF;
  transition: all 0.2s ease;
}
.webc-search-products .webc-product-item .webc-product-addtocart a:hover {
  background: #46A6F8;
  color: #FFF;
}
.webc-search-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .webc-search-pagination .page-numbers {
    padding-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .webc-search-pagination .page-numbers li .prev.page-numbers {
    font-size: 11px;
  }
  .webc-search-pagination .page-numbers li .next.page-numbers {
    font-size: 11px;
  }
}
.webc-search-pagination .page-numbers li .page-numbers.current {
  font-weight: 500;
}
.webc_cs_copyright {
  padding: 0px;
  padding-right: 10px;
  text-align: center;
  font-size: 10px;
  line-height: 15px;
  opacity: 0.6;
  position: absolute;
  bottom: 5px;
  right: 50%;
  transform: translateX(50%);
  z-index: 10000;
}
.webc_cs_copyright a {
  font-size: 10px;
  line-height: 10px;
  font-weight: 400;
  color: #999;
  text-decoration: none;
}
