.product-card .product-image,
.product-card:nth-child(2) .product-image,
.product-card:nth-child(3) .product-image,
.product-card:nth-child(4) .product-image {
  background: #fff;
}

.product-card .product-image img,
.product-card:hover .product-image img {
  filter: none;
  mix-blend-mode: normal;
}

.product-card .product-details {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: flex-start;
}

.product-card .product-details > span:last-child {
  align-self: flex-start;
  text-align: left;
}

.product-card__actions {
  margin-top: 1rem;
  position: relative;
}

.product-card__actions--size {
  display: grid;
  gap: 0.75rem;
}

.product-card__button,
.product-card__actions .button {
  align-items: center;
  background: var(--ss-ink);
  border: 1px solid var(--ss-ink);
  color: var(--ss-paper);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--ss-sans);
  font-size: 0.68rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.14em;
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  width: 100%;
}

.product-card__button:hover,
.product-card__button:focus-visible,
.product-card__actions .button:hover,
.product-card__actions .button:focus-visible {
  background: var(--ss-green-dark);
  border-color: var(--ss-green-dark);
  color: var(--ss-paper);
  outline: none;
}

.product-card .ss-favorite-button--card,
.product-card .ss-favorite-button--card:hover {
  background: transparent;
  border-color: transparent;
}

.product-card .ss-favorite-button--card:focus-visible {
  background: transparent;
  border-color: transparent;
  color: var(--ss-ink);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.product-card__selection {
  align-items: center;
  color: rgba(31, 33, 29, 0.72);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__selection-value {
  color: var(--ss-ink);
  font-weight: 700;
}

.product-card__selection-change {
  border-bottom: 1px solid currentColor;
  color: var(--ss-ink);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-left: auto;
  padding-bottom: 0.15rem;
  text-transform: uppercase;
}

.product-card__selection-change:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.product-card__size-popover {
  background: var(--ss-paper);
  border: 1px solid var(--ss-line);
  box-shadow: 0 14px 30px rgba(31, 33, 29, 0.12);
  display: grid;
  gap: 0.8rem;
  left: 0;
  padding: 1rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 15;
}

.product-card__size-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card__size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-card__size-option {
  align-items: center;
  background: var(--ss-paper);
  border: 1px solid var(--ss-line);
  color: var(--ss-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  justify-content: center;
  min-height: 2.8rem;
  min-width: 3rem;
  padding: 0.65rem 0.85rem;
  position: relative;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.product-card__size-option:hover,
.product-card__size-option:focus-visible,
.product-card__size-option[aria-checked="true"] {
  background: var(--ss-ink);
  border-color: var(--ss-ink);
  color: var(--ss-paper);
  outline: none;
}

.product-card__size-option.is-sold-out {
  background: #ebe6de;
  color: rgba(31, 33, 29, 0.45);
  cursor: not-allowed;
}

.product-card__size-option.is-sold-out::after {
  background: currentColor;
  content: "";
  height: 1px;
  left: 12%;
  opacity: 0.7;
  position: absolute;
  right: 12%;
  top: 50%;
  transform: rotate(-18deg);
}

.product-card__size-option.is-sold-out:hover,
.product-card__size-option.is-sold-out:focus-visible {
  background: #ebe6de;
  border-color: var(--ss-line);
  color: rgba(31, 33, 29, 0.45);
  outline: 2px solid rgba(31, 33, 29, 0.35);
  outline-offset: 2px;
}

.product-card__message {
  color: var(--ss-tobacco-dark);
  font-size: 0.78rem;
  line-height: 1.55;
  min-height: 1.25rem;
}

.product-card.is-loading .product-card__button {
  cursor: wait;
  opacity: 0.75;
}

@media (max-width: 720px) {
  .product-card__size-popover {
    padding: 0.9rem;
  }

  .product-card__size-option {
    flex: 1 1 calc(33.333% - 0.5rem);
  }
}
