/* Estilos de contenedor de producto página categoría*/


.hover-switch {
  position: relative;
  display: block;
}

.hover-switch .primary-img,
.hover-switch .secondary-img {
  -ms-transition: all 0.7s ease;
  -webkit-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  transition: all 0.7s ease;
}

.secondary-img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
}

.product-card:hover .secondary-img {
  opacity: 1;
  visibility: visible;
}

.product-card:hover .secondary-img+.primary-img {
  opacity: 0;
  visibility: hidden;
}

.product-card {
  margin-top: 40px;
}

.product-card-img {
  position: relative;
  overflow: hidden;
}

.product-card-title,
.product-card-title a {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--title-color);
  text-transform: capitalize;
}

.product-card-title:hover,
.product-card-title a:hover {
  color: var(--secondary-color);
}

.product-card-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

.color-lists+.product-card-title {
  margin-top: 10px;
}

.card-price-regular,
.card-price-compare {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.39;
  color: var(--body-color);
}

.card-price-compare {
  color: var(--secondary-color);
  margin-left: 5px;
}

.card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9;
  background: #fff;
  width: 32px;
  height: 32px;
  opacity: 0;
  visibility: hidden;
  -ms-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -ms-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -ms-display: flex;
  -webkit-display: flex;
  display: -webkit-box;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.card-wishlist .icon-wishlist {
  max-width: 18px;
}

.is-active .icon-wishlist path {
  fill: red;
}

.product-card-action-2 {
  position: absolute;
  z-index: 9;
  left: 0;
  bottom: 0;
  width: 100%;
  -ms-display: flex;
  -webkit-display: flex;
  display: -webkit-box;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.product-card-action-2 .addtocart-btn,
.product-card-action-2 .quickview-btn {
  font-weight: normal;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1.5px;
  width: 49%;
  cursor: pointer;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  -ms-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -ms-transform: translateY(300%);
  -webkit-transform: translateY(300%);
  transform: translateY(300%);
}

.product-card-action-2 .addtocart-btn {
  -ms-transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.product-card:hover .addtocart-btn,
.product-card:hover .quickview-btn {
  opacity: 1;
  visibility: visible;
  -ms-transform: translateY(0%);
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}

.product-card:hover .card-wishlist {
  opacity: 1;
  visibility: visible;
}

.color-swatch {
  position: relative;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #2C2C2C;
  border: 2px solid transparent;
  outline: 1px solid transparent;
  margin: 3px 10px 0 0;
  display: inline-block;
}

.color-swatch.active {
  border-color: #fff;
  outline-color: #000;
}

.swatch-black {
  background-color: #000;
}

.swatch-cyan {
  background-color: #ABE6FF;
}

.swatch-purple {
  background-color: #FFE0E0;
}

.swatch-blue {
  background-color: #0d6efd;
}

.swatch-orange {
  background-color: #fd7e14;
}

.swatch-teal {
  background-color: #20c997;
}

.color-lists {
  margin: 0;
  margin-top: 15px;
}

.color-lists>li {
  line-height: 1;
}

.action-card {
  background: #fefefe;
  width: 48px;
  height: 48px;
  margin: 0 7px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 0;
  visibility: hidden;
}

.action-card:first-child {
  -ms-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.action-card:last-child {
  -ms-transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.action-card:nth-child(2) {
  -ms-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.product-card:hover .action-card {
  opacity: 1;
  visibility: visible;
  -ms-transform: translateY(-65%);
  -webkit-transform: translateY(-65%);
  transform: translateY(-65%);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9;
}

.badge-label {
  font-weight: 400;
  font-size: 13px;
  line-height: 17px;
  text-align: center;
  padding: 4px 12px;
  letter-spacing: 0.03em;
  color: #FEFEFE;
  background-color: var(--primary-color);
  display: block;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.badge-label+.badge-label {
  margin-top: 8px;
  background-color: var(--secondary-color);
}

@media (max-width: 767px) {

  .product-card-title,
  .product-card-title a {
    font-size: 16px;
  }

  .card-price-regular,
  .card-price-compare {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .product-card-action-2 {
    -ms-justify-content: center;
    -webkit-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .product-card-action-2 .addtocart-btn,
  .product-card-action-2 .quickview-btn {
    width: 87%;
    margin-top: 10px;
  }

  .product-card:hover .addtocart-btn,
  .product-card:hover .quickview-btn {
    -ms-transform: translateY(-30%);
    -webkit-transform: translateY(-30%);
    transform: translateY(-30%);
  }
}
