.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  color: var(--product-card-color);
  background-color: var(--product-card-bg);
  border-radius: 6px;
  overflow: hidden;
  z-index: 3;
  transition: 0.2s ease-in-out;
  border: 1px solid transparent;
  cursor: pointer;
}

.product-card {
  border: 1px solid #eaeaea;
}

.product-card .product-image {
  position: relative;
}

.product-card .space-image {
  display: block;
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
}

.product-card:hover {
  border: 1px solid var(--primary-color);
  box-shadow: 0 2px 6px #00000012;
}

@media (min-width: 768px) {
  [data-prod-line='5'] .space-image.square {
    max-height: 100%;
  }
}

.product-card .space-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  object-position: center;
}

.product-card .space-image img:not(.loaded) {
  width: 100%;
}

.product-card .space-image:after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.product-card .product-tags-circle {
  position: absolute;
  top: 0.475rem;
  left: 0.475rem;
  flex-direction: column;
}

.product-card .product-tags {
  position: absolute;
  right: 0.525rem;
  min-width: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card .product-tags[data-tags-count='1'],
.product-card .product-tags[data-tags-count='2'] {
  top: 6px;
}

.product-tags .tag {
  width: 53px;
  height: 42px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.275rem;
  text-align: center;
  word-wrap: break-word;
  overflow: hidden;
}

.product-card .product-tags .tag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  background: var(--product-tags-bg);
  color: var(--product-tags-color);
  font-size: 0.825em;
  border-radius: 4px;
  padding: 0 0.225rem;
  font-weight: 600;
  margin: 2px;
  border: 1.2px solid var(--product-tags-bg);
  line-height: 20px;
}

[data-prod-line='5'] .product-card .product-tags .tag {
  width: 100%;
  font-size: 0.625em;
}

.product-card .product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.2rem 1.25rem 1.475rem;
}

@media (max-width: 767px) {
  .product-card .product-info {
    padding: 1.075rem 0.625rem 0.625rem;
  }
}

@media (min-width: 768px) {
  .item-actions-fixed .product .product-info {
    padding: 1.4rem 1.2rem 1rem;
  }
}

.product-card .product-info .product-name {
  color: var(--product-card-color);
  flex-grow: 1;
  max-height: 60px;
  font-size: 0.775rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limita o título a duas linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis; /* Trunca o texto com reticências se ultrapassar o limite de linhas */
  word-wrap: break-word; /* Permite que o título do produto quebre para a próxima linha se for muito longo */
}

.product-card .product-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  min-height: 70px;
  transition: 0.2s ease-out;
  color: var(--product-card-color);
  text-align: center;
  margin-top: 1.5rem;
}

.product-card .product-price .price .current-price {
  display: block;
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--product-card-price-color);
}

.old-price-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.1rem;
}

.product-card .product-price .price .old-price {
  font-size: 0.75rem;
  text-decoration: line-through;
}

.tag-discount {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  padding: 1px 3px 1px 3px;
  border-radius: 6px;
  font-size: 0.7rem;
  line-height: 1;
  background-color: var(--product-card-tag-discount-bg);
  color: var(--product-card-tag-discount-color);
  position: relative;
  z-index: 2;
  font-weight: 700;
  text-align: center;
}

.tag-list.tag-discount {
  border-radius: 6px;
  margin-left: 0.475rem;
  top: 0;
}

.tag-list.tag-discount span {
  line-height: 18px;
}

.product-card .tag-ondemand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px 3px 1px 3px;
  border-radius: 6px;
  font-size: 0.7rem;
  background-color: var(--primary-color);
  color: var(--product-card-tag-discount-color);
  position: relative;
  z-index: 2;
  font-weight: 700;
  text-align: center;
  margin-left: 0.475rem;
  top: 0;
  line-height: 18px;
  width: fit-content;
}

.product-card .product-price .product-installments {
  font-size: 0.725rem;
  font-weight: 400;
  display: block;
}

.description-price {
  font-size: 0.75rem;
  color: var(--primary-color);
}

.product-card .actions {
  bottom: 30px;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease-in-out;
  width: 100%;
  left: 0;
  padding: 0 1.25rem;
  background: var(--product-card-bg);
}

@media (min-width: 768px) {
  .product-card .actions.actions-fixed,
  .product-card.show-down:hover .actions-fixed {
    padding-bottom: 5px;
    margin-bottom: 15px;
    visibility: visible;
    transition-delay: 0s;
    opacity: 1;
    bottom: 0;
    position: relative;
  }
}

.actions .product-button,
.actions .product-button--copy {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  height: 42px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  color: var(--product-card-btn-color);
  background-color: var(--product-card-btn-bg);
  transition: 0.2s ease-out;
  border: none;
  width: 100%;
}

.actions .product-button--copy:disabled {
  opacity: 0.85;
  cursor: default;
}

@media (max-width: 767px) {
  .product-card .actions {
    position: static;
    padding: 0 0.625rem 0.625rem;
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 768px) {
  [data-prod-line='5'] .space-image.square {
    max-height: 100%;
  }
}

@media (max-width: 767px) {
  .product-card .actions .prod-options a.botao.wpp-button.btn-pay-wp {
    font-size: 0.525rem;
    height: 26px;
    border-radius: 4px;
    letter-spacing: -0.2px;
    font-weight: 600;
  }
}
