/* Shared compact gift card link. */
.giftcard-promo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--textMain);
  white-space: normal;
  border-radius: var(--radius-small);
}

.giftcard-promo-card {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 1.586;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, #a471fb 0%, #5b2bb5 100%);
  color: var(--White-500);
  font-family: var(--font);
}

.giftcard-promo-card-brand,
.giftcard-promo-card-label {
  position: absolute;
  left: 10px;
  font-weight: var(--fontweight_heavy);
  line-height: 1;
  letter-spacing: 0.5px;
}

.giftcard-promo-card-brand {
  top: 10px;
  font-size: 9px;
}

.giftcard-promo-card-label {
  bottom: 10px;
  font-size: 7px;
}

.giftcard-promo-card img {
  position: absolute;
  right: 4px;
  bottom: 6px;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .giftcard-promo-link { gap: 12px; }
  .giftcard-promo-card { width: 88px; }
  .giftcard-promo-card img { width: 38px; height: 38px; right: 2px; bottom: 4px; }
  .giftcard-promo-card-brand, .giftcard-promo-card-label { left: 8px; }
  .giftcard-promo-card-brand { top: 8px; font-size: 8px; }
  .giftcard-promo-card-label { bottom: 8px; font-size: 6px; }
}

.giftcard-promo-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.giftcard-promo-title {
  font-size: var(--font_title);
  font-weight: var(--fontweight_heavy);
}

.giftcard-promo-description {
  color: var(--textSecondary);
  font-family: var(--fontInter);
  font-size: var(--font_main);
  line-height: 1.5;
}

.giftcard-promo-arrow {
  flex-shrink: 0;
  color: var(--Purple);
}

.giftcard-promo-link:hover .giftcard-promo-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.giftcard-promo-link:focus-visible {
  outline: 2px solid var(--Purple);
  outline-offset: 4px;
}

/* A single full-width item in the yarn results grid. */
.yarn-giftcard-tile {
  grid-column: 1 / -1;
  min-width: 0;
  list-style: none;
  padding: 20px 16px;
  border-radius: var(--radius-large);
  background: var(--background);
  box-sizing: border-box;
}
