/* ===== Creator Link Public Page Styles ===== */
/* Lightweight styles for the public-facing Creator Link page */

.cl-public-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Creator Profile ──────────────────────────────────────────────────── */
.cl-block-profile {
  text-align: center;
  padding: 32px 0;
}

.cl-profile-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.cl-avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cl-avatar-wrapper .cl-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cl-name {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.cl-bio {
  font-size: 1rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* ── Featured Image ───────────────────────────────────────────────────── */
.cl-block-featured {
  margin: 24px 0;
}

.cl-block-featured img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}

/* ── Product Grid ─────────────────────────────────────────────────────── */
.cl-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.cl-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cl-product-card {
  border: 2px solid #111;
  overflow: hidden;
  transition: transform 0.15s;
  cursor: pointer;
}

.cl-product-card:hover {
  transform: translateY(-2px);
}

.cl-product-card img {
  width: 100%;
  display: block;
}

.cl-product-info {
  padding: 12px;
}

.cl-product-name {
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 0 4px;
}

.cl-product-price {
  font-weight: 600;
  color: #555;
}

/* ── About Section ────────────────────────────────────────────────────── */
.cl-block-about {
  margin: 32px 0;
}

.cl-about-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.cl-about-body {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* ── Social Links ─────────────────────────────────────────────────────── */
.cl-block-social {
  margin: 32px 0;
}

.cl-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cl-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 2px solid #111;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #111;
  background: #fff;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.cl-social-link:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}
