.design-showcase {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.88)),
    radial-gradient(circle at 20% 0%, rgba(94, 234, 212, 0.18), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(196, 181, 253, 0.2), transparent 34%);
  color: #f8fafc;
}

.design-showcase .section-head h2,
.design-showcase .section-head p,
.design-showcase .eyebrow {
  color: inherit;
}

.design-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.design-gallery--landing {
  margin-top: 1.25rem;
}

.design-gallery__footer {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
}

.design-gallery__toggle {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(15, 23, 42, 0.42);
  color: #f8fafc;
}

.design-gallery__toggle:hover,
.design-gallery__toggle:focus-visible {
  border-color: #5eead4;
  background: rgba(15, 23, 42, 0.62);
  color: #f8fafc;
}

.design-card__media .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 1rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.design-gallery--picker {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.design-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
  text-align: left;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.design-card:hover,
.design-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.8);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
  outline: none;
}

.design-card.is-selected {
  border-color: #5eead4;
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.25), 0 24px 70px rgba(15, 23, 42, 0.34);
}

.design-card__media {
  position: absolute;
  inset: 0;
  background: #111827;
}

.design-card__media img,
.design-card__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.design-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.78));
}

.design-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 260px;
  padding: 1rem;
}

.design-card__category {
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
}

.design-card__title {
  margin-top: auto;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.design-card__tone {
  margin: 0.4rem 0 0;
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.design-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  color: #5eead4;
  font-size: 0.78rem;
  font-weight: 800;
}

.design-picker {
  margin-bottom: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
}

.design-picker__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.design-picker__head h3 {
  margin: 0;
}

.design-picker__head p,
.design-picker__selected {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.design-picker__selected {
  font-size: 0.9rem;
  font-weight: 700;
}

.design-gallery__empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .design-gallery,
  .design-gallery--picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .design-gallery,
  .design-gallery--picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .design-gallery,
  .design-gallery--picker {
    grid-template-columns: 1fr;
  }

  .design-picker__head {
    display: block;
  }
}
