/**
 * Wish Lists: the cards. Forked from the signup card family so a wish list
 * and a signup read as siblings; theme-token fallbacks keep the module
 * presentable on any theme.
 */

.rt-wl-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 24px;
  max-width: var(--rt-maxw, 1120px);
  margin: 0 auto;
  justify-content: center;
}
@media (min-width: 760px) {
  .rt-wl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rt-wl-grid.rt-wl-grid--few {
    grid-template-columns: repeat( auto-fit, minmax(300px, 360px) );
  }
}
@media (min-width: 1100px) {
  .rt-wl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rt-wl-card[hidden] {
  display: none;
}

.rt-wl-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--rt-line, #e7e2d6);
  border-radius: var(--rt-radius, 10px);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--rt-shadow, 0 6px 24px rgba(0, 0, 0, 0.12));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rt-wl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rt-shadow-lift, 0 10px 24px rgba(0, 0, 0, 0.12));
}

/* The slim branded strip the signup cards use, with a gift glyph riding it. */
.rt-wl-art {
  flex: none;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rt-black, #141414), var(--rt-primary, #f4b41c));
}
.rt-wl-art i {
  color: var(--rt-on-primary, #ffffff);
  font-size: 1.6rem;
  opacity: 0.9;
}

.rt-wl-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.rt-wl-name {
  margin: 0 0 6px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.rt-wl-desc {
  margin: 0 0 10px;
  color: var(--rt-gray, #6b6b6b);
  font-size: 0.95rem;
}

.rt-wl-items {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 0.92rem;
}
.rt-wl-items li {
  margin: 2px 0;
}

.rt-wl-ctas {
  margin-top: auto;
  padding-top: 12px;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}
@media (min-width: 760px) {
  .rt-wl-ctas {
    justify-content: flex-end;
  }
}

.rt-wl-btn {
  display: inline-block;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--rt-primary, #f4b41c);
  color: var(--rt-on-primary, #141414) !important;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
.rt-wl-btn:hover {
  background: var(--rt-secondary, #d99a00);
}
