/* ══════════════════════════════════════════════
   WOW THEME SLIDER (FounderPicker)
   ══════════════════════════════════════════════ */

.wow-theme-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
  margin-top: 1rem;
}

.wow-theme-slider:not(.swiper) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.wow-theme-slider:not(.swiper) .slide {
  min-width: 0;
}

.wow-theme-slider .swiper-wrapper {
  align-items: stretch;
}

.wow-theme-slider .swiper-slide {
  height: auto;
  cursor: pointer;
}

/* ── Theme card ── */
.wow-theme-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.04);
  height: 100%;
}

.wow-theme-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.wow-theme-card--selected {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.wow-theme-card--selected:hover {
  border-color: #3B82F6;
}

.wow-theme-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 5;
  overflow: hidden;
}

.wow-theme-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.wow-theme-card:hover .wow-theme-card__img-wrap img {
  transform: scale(1.05);
}

.wow-theme-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.25rem;
}

.wow-theme-card__check {
  display: inline-flex;
  flex-shrink: 0;
}

.wow-theme-card__name {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Loading placeholder card ── */
.wow-theme-card--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  cursor: default;
  min-height: 200px;
}

.wow-theme-card--loading .wow-theme-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Arrows ── */
.wow-theme-slider .swiper-button-prev,
.wow-theme-slider .swiper-button-next {
  color: #1e0f3c;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.wow-theme-slider .swiper-button-prev::after,
.wow-theme-slider .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
  color: #1e0f3c;
}

/* ── Dots (hidden — too many slides for pagination to be useful) ── */
.wow-theme-slider .swiper-pagination {
  display: none;
}

.wow-theme-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
}

.wow-theme-slider .swiper-pagination-bullet-active {
  background: #3B82F6;
}

/* ── Match hint ── */
.wow-theme-gallery__match-hint {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
  text-align: left;
}

/* ── Gallery loading ── */
.wow-theme-gallery__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
  opacity: 0.7;
}

/* ── Edge gradient overlays for arrow visibility ── */
.wow-theme-slider::before,
.wow-theme-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}

.wow-theme-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.85), transparent);
}

.wow-theme-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.85), transparent);
}

/* ── Homepage toggle action button ── */
.wow-homepage-toggle__action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  color: #93c5fd;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wow-homepage-toggle__header:hover .wow-homepage-toggle__action {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
}

.wow-homepage-toggle__header--active .wow-homepage-toggle__action {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.wow-homepage-toggle__label {
  font-weight: 500;
}

