/* Artist storefront and artists list. Colours come from --storefront-* set per artist theme. */

.storefront {
  --storefront-background: #ffffff;
  --storefront-surface: #f6f6f4;
  --storefront-text: #1d1d1f;
  --storefront-muted: #6e6e73;
  --storefront-accent: #c9a227;
  background: var(--storefront-background);
  color: var(--storefront-text);
  padding-top: 0;
  padding-bottom: 48px;
}

.storefront-hero {
  position: relative;
  background: var(--storefront-surface) center / cover no-repeat;
  padding: 120px 0 32px;
  margin-bottom: 32px;
}

.storefront-hero--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05));
}

.storefront-hero--compact {
  padding: 32px 0;
}

.storefront-hero-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.storefront-hero--cover .storefront-title,
.storefront-hero--cover .storefront-breadcrumb,
.storefront-hero--cover .storefront-breadcrumb a {
  color: #fff;
}

.storefront-avatar,
.artist-card-avatar {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--storefront-accent, #c9a227);
  background: var(--storefront-surface, #f6f6f4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.storefront-avatar img,
.artist-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-card-initial {
  font-size: 40px;
  font-weight: 700;
  color: var(--storefront-accent, #c9a227);
}

.storefront-title {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--storefront-text);
}

.storefront-breadcrumb,
.storefront-breadcrumb a {
  font-size: 13px;
  color: var(--storefront-muted);
}

.storefront-bio {
  max-width: 760px;
  color: var(--storefront-muted);
  line-height: 2;
  margin-bottom: 32px;
}

.storefront-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--storefront-accent);
}

.storefront[data-storefront-theme="dark"] .product-card {
  background: var(--storefront-surface);
  color: var(--storefront-text);
}

.storefront[data-storefront-theme="dark"] .product-card a,
.storefront[data-storefront-theme="dark"] .product-card .price {
  color: var(--storefront-text);
}

.storefront-empty {
  color: var(--storefront-muted);
  padding: 48px 0;
}

/* Artists list */
.artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.artist-card-name {
  color: #1d1d1f;
}

.artist-card-meta {
  font-size: 13px;
  color: #6e6e73;
}

.product-artist-link {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--color-primary, #c9a227);
}

@media (max-width: 575.98px) {
  .storefront-hero {
    padding-top: 80px;
  }

  .storefront-avatar {
    width: 80px;
    height: 80px;
  }
}

.product-exclusive-badge {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--color-dark, #111);
  color: #fff;
  font-size: 12px;
  vertical-align: middle;
}
