.kit.product-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--product-card-grid-columns, 3), 1fr);
  gap: 26px;
  color: rgba(var(--color-text));
}

.kit .product-card-grid__item {
  text-decoration: none;
  color: inherit;
}

.product-card-grid__card {
  background: rgba(var(--color-card-background));
  border: 1px solid rgba(var(--color-entry-line), 0.1);
  border-radius: var(--kit-radius);
  overflow: hidden;
}

.product-card-grid__media {
  aspect-ratio: 1 / 1;
  background: rgba(var(--color-media-background));
}

.product-card-grid__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  color: rgba(var(--color-button-text));
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.product-card-grid__badge--highlight {
  background: rgba(var(--color-highlight));
}

.product-card-grid__badge--accent {
  background: rgba(var(--color-button-background));
}

.product-card-grid__body {
  padding: 22px 22px 26px;
}

.product-card-grid__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.product-card-grid__stars {
  color: rgba(var(--color-button-background));
  letter-spacing: 1px;
  font-size: 13px;
}

.product-card-grid__rating-text {
  font-size: 12.5px;
  color: rgba(var(--color-light-text));
}

.kit .product-card-grid__title {
  font-family: var(--kit-font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 6px;
}

.product-card-grid__subtitle {
  font-size: 13.5px;
  color: rgba(var(--color-light-text));
  margin-bottom: 14px;
}

.product-card-grid__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-grid__price {
  font-family: var(--kit-font-display);
  font-weight: 700;
  font-size: 20px;
}

.product-card-grid__compare {
  font-size: 13px;
  color: rgba(var(--color-light-text));
  text-decoration: line-through;
  font-weight: 500;
}

.product-card-grid__button {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--color-button-background));
  color: rgba(var(--color-button-text));
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  transition:
    transform 0.28s var(--kit-ease),
    box-shadow 0.28s var(--kit-ease),
    filter 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .kit-card-hover:hover .product-card-grid__button {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 8px 18px -10px rgba(var(--color-button-background), 0.5);
  }
}

/* Promo / notify card */
.product-card-grid__promo {
  background: rgba(var(--color-background));
  color: rgba(var(--color-text));
  border-radius: var(--kit-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card-grid__promo-glyph {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.85;
}

.product-card-grid__promo-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--color-text), 0.6);
  font-weight: 700;
  margin-bottom: 10px;
}

.kit .product-card-grid__promo-heading {
  font-family: var(--kit-font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.kit .product-card-grid__promo-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(var(--color-text), 0.8);
  margin: 0 0 18px;
}

.product-card-grid__promo-success {
  display: none;
  background: rgba(var(--color-text), 0.12);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.product-card-grid__promo form {
  display: flex;
  gap: 8px;
}

.kit .product-card-grid__promo-input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-family: var(--kit-font-body);
  background: rgba(var(--color-background));
  color: rgba(var(--color-text));
}

.kit .product-card-grid__promo-button {
  padding: 0 20px;
  font-size: 14px;
}

.product-card-grid__promo-error {
  font-size: 13px;
  margin-top: 8px;
  color: rgba(var(--color-text), 0.85);
}

.product-card-grid__promo-error:empty,
.product-card-grid__promo[data-state='success'] .product-card-grid__promo-error {
  display: none;
}

.product-card-grid__promo[data-state='success'] .product-card-grid__promo-success {
  display: block;
}

.product-card-grid__promo[data-state='loading'] .product-card-grid__promo-button {
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 800px) {
  .kit.product-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .kit.product-card-grid {
    grid-template-columns: 1fr;
  }
}
