/* Card de produto – layout compacto para sementes */

.product-card {
  border-radius: 10px;
  background: transparent;
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: 100%;
}

.product-card-thumb-link {
  display: block;
}

.product-card-thumb {
  height: 300px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
  transition: opacity 0.2s ease;
  position: relative;
}

.product-card-thumb-link:hover .product-card-thumb {
  opacity: 0.9;
}

/* Badges de promoção e premiadas */
.product-card-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card-badge {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.2s ease;
}

.product-card-badge:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .product-card-badges {
    top: 8px;
    right: 8px;
    gap: 4px;
  }

  .product-card-badge {
    width: 36px;
    height: 36px;
  }
}

.product-card-body {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  background: transparent;
  flex: 1;
}

.product-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-card-from {
  font-size: 13px;
  font-weight: 400;
  color: rgb(83, 94, 93);
  margin-top: 0;
}

.product-card-price {
  font-size: 21px;
  line-height: 24px;
  color: #000;
  font-weight: 800;
}

.product-card-price-currency {
  font-size: 14px;
  font-weight: 700;
}

/* Preços em promoção */
.product-card-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.product-card-price-old {
  font-size: 14px;
  line-height: 1.2;
  color: #999;
  font-weight: 500;
  text-decoration: line-through;
}

.product-card-price-old .product-card-price-currency {
  font-size: 11px;
  font-weight: 500;
}

.product-card-price--sale {
  color: #e53935;
}

.product-card-price--sale .product-card-price-currency {
  color: #e53935;
}

.product-card-attrs {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 10px;
  background: #f9f9fb;
  border-radius: 12px;
  padding: 12px 16px;
}

.product-card-attr {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.product-card-attr i {
  color: #a7a7a8;
  font-size: 18px;
}

.product-card-attr-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.product-card-attr-icon-fa {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #535e5d;
}

.product-card-attr-text {
  display: contents;
}

.product-card-attr-text .attr-label {
  font-size: 13px;
  font-weight: 500;
  color: #a7a7a8;
  text-align: left;
}

.product-card-attr-text .attr-value {
  font-size: 13px;
  font-weight: 700;
  color: #535e5d;
  text-align: right;
}

.product-card-actions {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  flex-direction: column;
}

.product-card-btn {
  flex: 1;
  width: 100%;
  border-radius: 999px;
  height: auto;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}

.product-card-btn--primary {
  background: #aaff80;
  color: #000;
  border-color: #aaff80;
}

.product-card-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  background: #000;
  color: #AAFF80;
  border-color: #000;
}

.product-card-btn--ghost {
  background: #000;
  color: #AAFF80;
  border-color: #000;
}

.product-card-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  background: #AAFF80;
  color: #000;
  border-color: #AAFF80;
}

.product-card-cats {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(145, 145, 145);
  line-height: 1.4;
  min-height: 34px;
  max-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .product-card-btn {
    width: 100%;
  }
}
