.wa-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--section-space-s);
  background-color: var(--white);
  border-radius: var(--radius-l);
  padding: var(--space-s);
  transition: 0.2s all ease-in-out;
  position: relative;
  height: 100%;
}
.wa-product-card.selected {
  border-color: var(var(--primary)) !important;
  background-color: var(--primary) !important;
}
.wa-product-card.selected .wa-secondary-heading__title {
  color: var(--white) !important;
}
.wa-product-card.selected .wa-product-card-item, .wa-product-card.selected .wa-product-card__price {
  color: var(--white) !important;
}
.wa-product-card * {
  text-align: center;
  align-items: center;
  justify-content: center;
}
.wa-product-card-wrapper {
  height: 100%;
}
.wa-product-card:has(.wa-secondary-heading span) {
  background-color: var(--primary);
}
.wa-product-card:has(.wa-secondary-heading span) .wa-secondary-heading span {
  color: var(--action);
}
.wa-product-card:has(.wa-secondary-heading span) .wa-secondary-heading__title {
  color: var(--white);
}
.wa-product-card:has(.wa-secondary-heading span) .wa-product-card-item, .wa-product-card:has(.wa-secondary-heading span) .wa-product-card__price {
  color: var(--white);
}
.wa-product-card:not(:has(.wa-secondary-heading span)) .wa-secondary-heading__title {
  margin-top: calc(var(--text-xl) * 0.9);
}
.wa-product-card-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
}
.wa-product-card-top .wa-product-card__price {
  display: none;
}
.wa-product-card-inner {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.wa-product-card-contains {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-xs) * 0.5);
}
.wa-product-card-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(var(--space-xs) * 0.7);
  color: var(--base);
}
.wa-product-card-item path {
  fill: var(--action);
}
.wa-product-card-bottom {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--space-xs);
}
.wa-product-card__price {
  color: var(--primary);
}
.wa-product-card__price amount {
  font-family: Podkova;
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 0.9;
}
.wa-product-card .wa-button::after {
  content: "";
  position: absolute;
  inset: 0;
}
.wa-product-card:has(.wa-button:hover) {
  transform: scale(1.01);
}

.fluentform .wa-product-card, .wa-checkout .wa-product-card {
  border: 1px solid var(--primary-light);
  cursor: pointer;
}
.fluentform .wa-product-card:hover, .wa-checkout .wa-product-card:hover {
  border-color: var(--primary);
}
.fluentform .wa-product-card-container, .wa-checkout .wa-product-card-container {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.fluentform .wa-product-card-container.wa-product-is-required .wa-product-card, .wa-checkout .wa-product-card-container.wa-product-is-required .wa-product-card {
  border: 1px solid #d50101;
  background: rgba(255, 0, 0, 0.03);
}
.fluentform .wa-product-card-container.wa-product-is-required .wa-product-card__price, .wa-checkout .wa-product-card-container.wa-product-is-required .wa-product-card__price {
  color: #d50101;
}
.fluentform .wa-product-card .wa-secondary-heading__title, .wa-checkout .wa-product-card .wa-secondary-heading__title {
  margin-top: 0 !important;
}
.fluentform .wa-product-card-top, .wa-checkout .wa-product-card-top {
  align-items: flex-start;
}
.fluentform .wa-product-card-top .wa-product-card__price, .wa-checkout .wa-product-card-top .wa-product-card__price {
  display: block;
}
.fluentform .wa-product-card-inner, .wa-checkout .wa-product-card-inner {
  align-items: flex-end;
  justify-content: space-between;
}
.fluentform .wa-product-card-contains, .wa-checkout .wa-product-card-contains {
  align-items: flex-start;
}
.fluentform .wa-product-card-item svg, .wa-checkout .wa-product-card-item svg {
  max-width: 1.2rem;
}
.fluentform .wa-product-card-bottom, .wa-checkout .wa-product-card-bottom {
  display: none;
}
.fluentform .wa-product-card:has(.wa-secondary-heading span), .wa-checkout .wa-product-card:has(.wa-secondary-heading span) {
  background-color: var(--white);
}
.fluentform .wa-product-card:has(.wa-secondary-heading span) .wa-secondary-heading span, .wa-checkout .wa-product-card:has(.wa-secondary-heading span) .wa-secondary-heading span {
  display: none;
}
.fluentform .wa-product-card:has(.wa-secondary-heading span) .wa-secondary-heading__title, .wa-checkout .wa-product-card:has(.wa-secondary-heading span) .wa-secondary-heading__title {
  color: var(--base);
}
.fluentform .wa-product-card:has(.wa-secondary-heading span) .wa-product-card-item, .wa-checkout .wa-product-card:has(.wa-secondary-heading span) .wa-product-card-item {
  color: var(--base);
}
.fluentform .wa-product-card:has(.wa-secondary-heading span) .wa-product-card__price, .wa-checkout .wa-product-card:has(.wa-secondary-heading span) .wa-product-card__price {
  color: var(--primary);
}
.fluentform .wa-product-card.selected, .wa-checkout .wa-product-card.selected {
  border-color: var(var(--primary)) !important;
  background-color: var(--primary) !important;
}
.fluentform .wa-product-card.selected .wa-secondary-heading__title, .wa-checkout .wa-product-card.selected .wa-secondary-heading__title {
  color: var(--white) !important;
}
.fluentform .wa-product-card.selected .wa-product-card-item, .fluentform .wa-product-card.selected .wa-product-card__price, .wa-checkout .wa-product-card.selected .wa-product-card-item, .wa-checkout .wa-product-card.selected .wa-product-card__price {
  color: var(--white) !important;
}

@media (max-width: 768px) {
  .wa-product-card .wa-secondary-heading__title {
    margin-top: 0 !important;
  }
  .wa-product-card-top {
    align-items: flex-start;
  }
  .wa-product-card-top .wa-product-card__price {
    display: block;
  }
  .wa-product-card-inner {
    align-items: flex-end;
    justify-content: space-between;
  }
  .wa-product-card-contains {
    align-items: flex-start;
  }
  .wa-product-card-item svg {
    max-width: 1.2rem;
  }
  .wa-product-card-bottom .wa-product-card__price {
    display: none;
  }
  .wa-product-card .wa-button {
    width: 100%;
    align-items: center;
  }
}
