.crp45-storefront .crp45-campaign-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.crp45-storefront .crp45-offer-card {
  display: flex;
  padding: 0;
  overflow: hidden;
}

.crp45-storefront .crp45-offer-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: var(--color-text);
  text-decoration: none;
}

.crp45-storefront .crp45-offer-card__link:focus-visible {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: calc(var(--focus-width) * -1);
}

.crp45-offer-card__media {
  display: block;
  background: var(--color-surface-cream);
  overflow: hidden;
}

.crp45-offer-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--ratio-learn);
  object-fit: cover;
}

.crp45-offer-card__media--plain {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--ratio-learn);
  padding: var(--space-4);
  background: var(--color-mint);
  box-sizing: border-box;
}

.crp45-offer-card__plain-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--step-title-lines);
  overflow: hidden;
  color: var(--color-brand-strong);
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: var(--weight-heading);
  line-height: var(--heading-line);
  text-align: center;
}

.crp45-offer-card__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
}

.crp45-offer-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.crp45-offer-card__dates {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.crp45-offer-card__tag {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--color-maroon);
  color: var(--color-surface);
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.crp45-storefront .crp45-offer-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--step-title-lines);
  margin: 0;
  overflow: hidden;
  color: var(--color-ink);
  font-size: var(--step-1);
  line-height: 1.3;
}

.crp45-storefront .crp45-offer-card__link:hover .crp45-offer-card__title {
  text-decoration: underline;
}

.crp45-offer-card__summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--step-title-lines);
  max-width: var(--measure-width);
  overflow: hidden;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.crp45-campaign-page__banner {
  background: var(--color-surface-cream);
}

.crp45-campaign-page__image {
  display: block;
  width: 100%;
  height: auto;
}

.crp45-campaign-page__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-block: var(--space-6);
}

.crp45-campaign-page__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.crp45-campaign-page__title {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--step-4);
  line-height: var(--heading-line);
}

.crp45-campaign-page__dates {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--step-0);
}

.crp45-campaign-page__ended {
  margin: 0;
  font-size: var(--step-1);
}

.crp45-campaign-page__offer {
  max-width: var(--measure-width);
}

.crp45-campaign-page__action {
  margin: 0;
}

.crp45-storefront a.crp45-btn {
  text-decoration: none;
}

.crp45-campaign-products__title {
  margin: 0 0 var(--space-4);
}

.crp45-storefront .crp45-campaign-products__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.crp45-storefront .crp45-campaign-products__list::before,
.crp45-storefront .crp45-campaign-products__list::after {
  display: none;
}

.crp45-storefront .crp45-campaign-products__list li.product {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
}

.crp45-storefront .crp45-campaign-products__list--few {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.crp45-storefront .crp45-campaign-products__list--few li.product {
  flex: 1 1 var(--column-min);
  max-width: calc(var(--column-min) * 1.5);
}

.crp45-campaign-products__names {
  margin: 0;
  padding-left: var(--space-5);
  line-height: 1.8;
}

.crp45-campaign-terms {
  max-width: var(--measure-width);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.crp45-campaign-terms__summary {
  min-height: var(--control-size);
  padding-block: var(--space-3);
  color: var(--color-ink);
  font-family: var(--font-label);
  font-weight: var(--weight-label);
  cursor: pointer;
}

.crp45-campaign-terms__summary:focus-visible {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: var(--focus-offset);
}

.crp45-campaign-terms__body {
  padding-bottom: var(--space-4);
  color: var(--color-text-muted);
}

@media (min-width: 600px) {
  .crp45-storefront .crp45-campaign-list--pair,
  .crp45-storefront .crp45-campaign-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .crp45-storefront .crp45-campaign-list--single .crp45-offer-card__link {
    flex-direction: row;
  }

  .crp45-storefront .crp45-campaign-list--single .crp45-offer-card__media {
    flex: 5;
  }

  .crp45-storefront .crp45-campaign-list--single .crp45-offer-card__text {
    flex: 7;
    justify-content: center;
    padding: var(--space-5);
  }

  .crp45-campaign-page__body {
    padding-block: var(--space-7);
  }

  .crp45-campaign-page__title {
    font-size: var(--step-5);
  }
}

@media (min-width: 1024px) {
  .crp45-storefront .crp45-campaign-list--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crp45-storefront .crp45-campaign-products__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
  }
}
