:root {
  --cb-product-card-media-height: 9.25rem;
  --cb-product-card-body-padding: 1.125rem;
  --cb-product-card-badges-inset: 0.625rem;
  --cb-product-card-badges-gap: 0.3125rem;
  --cb-product-card-meta-font-size: 0.6563rem;
  --cb-product-card-title-font-size: 0.9688rem;
  --cb-product-card-content-font-size: 0.75rem;
  --cb-product-card-hover-lift: -4px;
}

.cb-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bs-white);
  border: 1px solid var(--cb-pace-lightgray);
  border-radius: var(--bs-border-radius-lg);
  box-shadow: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cb-product-card:hover {
  box-shadow: var(--cb-pace-shadow-lg);
  transform: translateY(var(--cb-product-card-hover-lift));
}
.cb-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--cb-product-card-media-height);
  color: var(--bs-primary);
  overflow: hidden;
  background: var(--bs-light);
}
.cb-product-card__media img {
  width: 100%;
  height: 100%;
  max-height: var(--cb-product-card-media-height);
  object-fit: contain;
}
.cb-product-card__media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-product-card__badges {
  position: absolute;
  z-index: 2;
  top: var(--cb-product-card-badges-inset);
  left: var(--cb-product-card-badges-inset);
  display: flex;
  gap: var(--cb-product-card-badges-gap);
  pointer-events: none;
}
.cb-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--cb-product-card-body-padding);
}
.cb-product-card__meta {
  margin-bottom: 0.3125rem;
  font-size: var(--cb-product-card-meta-font-size);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cb-pace-muted);
}
.cb-product-card__meta :where(p) {
  margin: 0;
}
.cb-product-card__title {
  margin-bottom: 0.375rem;
  font-size: var(--cb-product-card-title-font-size);
  font-weight: 700;
  color: var(--cb-pace-deepest);
}
.cb-product-card__title :where(h1, h2, h3, h4, h5, h6, p, a) {
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
}
.cb-product-card__title-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cb-product-card__content {
  flex: 1;
  margin-bottom: 1rem;
  font-size: var(--cb-product-card-content-font-size);
  line-height: 1.6;
  color: var(--cb-pace-bodytext);
}
.cb-product-card__content :where(p) {
  margin: 0;
  font: inherit;
  color: inherit;
}
.cb-product-card__footer {
  margin-top: auto;
}

.cb-product-card:not(.cb-product-card--catalog) .cb-product-card__footer .btn {
  justify-content: center;
  padding: 0.625rem;
  border-width: 1.5px;
  border-color: var(--cb-pace-deepest);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-pace-deepest);
}
.cb-product-card:not(.cb-product-card--catalog) .cb-product-card__footer .btn:hover, .cb-product-card:not(.cb-product-card--catalog) .cb-product-card__footer .btn:focus {
  border-color: var(--cb-pace-deepest);
  background: var(--cb-pace-deepest);
  color: var(--bs-white);
}

.cb-product-card--catalog .cb-product-card__meta .field__label {
  display: none;
}
.cb-product-card--catalog .field--name-price {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cb-pace-deepest);
}
.cb-product-card--catalog .field--name-price .field__label {
  display: none;
}
.cb-product-card--catalog .field--name-price .field__item,
.cb-product-card--catalog .field--name-price .price {
  font: inherit;
  color: inherit;
}
.cb-product-card--catalog .cb-product-card__footer form {
  display: flex;
  flex-direction: column;
}
.cb-product-card--catalog .cb-product-card__footer .field--name-purchased-entity {
  order: 1;
}
.cb-product-card--catalog .cb-product-card__footer .field--name-quantity {
  order: 2;
}
.cb-product-card--catalog .cb-product-card__footer .form-actions {
  order: 3;
}
.cb-product-card--catalog .cb-product-card__footer .form-item {
  margin-bottom: 0.5rem;
}
.cb-product-card--catalog .cb-product-card__footer .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}
.cb-product-card--catalog .cb-product-card__footer .form-select {
  max-width: 100%;
}
.cb-product-card--catalog .cb-product-card__footer .form-actions {
  margin: 0.75rem 0 0;
}
.cb-product-card--catalog .cb-product-card__footer .form-actions .btn,
.cb-product-card--catalog .cb-product-card__footer input.btn-primary {
  --bs-btn-padding-x: 0.5rem;
  width: 100%;
  white-space: normal;
}

.cb-product-single {
  max-width: 20rem;
}

@media (prefers-reduced-motion: reduce) {
  .cb-product-card {
    --cb-product-card-hover-lift: 0;
  }
}

/*# sourceMappingURL=product_card.css.map */
