/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 148, 90, 0.12);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.nav-links { display: flex; gap: 28px; }

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--accent); }

/* ===== SHOP HERO ===== */
.shop-hero {
  padding: 80px 24px 60px;
  background: linear-gradient(175deg, var(--bg) 0%, var(--bg-warm) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.35;
}

.shop-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}

.shop-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

/* ===== CATALOG SECTION ===== */
.catalog { padding: 64px 24px 100px; }

.catalog-inner { max-width: 1200px; margin: 0 auto; }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-pill {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(232, 148, 90, 0.25);
  color: var(--fg-muted);
  background: var(--cream);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ===== CATALOG GRID ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== CATALOG CARD ===== */
.catalog-card {
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid rgba(232, 148, 90, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(45, 36, 32, 0.1);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image--placeholder {
  background: linear-gradient(135deg, var(--bg-warm), var(--sage-soft));
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon { font-size: 3.5rem; }

.card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--bg-warm);
  padding: 4px 10px;
  border-radius: 100px;
}

.card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
  /* Show max ~4 lines */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== BUY BUTTONS ===== */
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-buy {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-buy:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-buy--etsy    { background: #F56400; color: white; }
.btn-buy--gumroad { background: #FF90E8; color: #1a1a1a; }
.btn-buy--shopify { background: #96BF48; color: white; }

/* fallback for unknown platforms */
.btn-buy {
  background: var(--accent);
  color: white;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--fg-muted);
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .site-nav { padding: 14px 20px; }
  .shop-hero { padding: 60px 20px 44px; }
  .catalog { padding: 44px 20px 72px; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
