/* ========================================
   Croqui Studio — Shop Page Styles v4
   ======================================== */

/* ── Hero ── */
.shop-hero {
  padding: calc(var(--nav-height) + 32px) 0 12px;
  background: var(--color-warm);
  text-align: center;
}
.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.shop-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.shop-hero-inner { display: block; }
.shop-hero-art { display: none; }

/* ── Sections ── */
.shop-main { padding-bottom: 24px; }

.trend-section { padding: 28px 0; }
.trend-section.trend-alt { background: var(--color-warm); }
.trend-supplies {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.trend-header { margin-bottom: 20px; }
.trend-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 6px;
}
.trend-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 6px;
}
.trend-desc {
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.6;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.trend-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-gold);
}
.trend-link:hover { text-decoration: underline; }

/* ── Product Cards: 3-col vertical cards ── */
.trend-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.product-card.product-featured { /* no special treatment */ }

.product-thumb {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
  overflow: hidden;
}
.product-thumb img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
}

.product-info {
  min-width: 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.product-info p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.product-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
  border: 1px solid var(--color-gold);
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.product-card:hover .product-cta {
  background: var(--color-gold);
  color: #fff;
}

/* ── Supplies Grid (same card style as products) ── */
.supplies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.supply-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.supply-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.supply-thumb {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
  overflow: hidden;
}
.supply-thumb img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
}
.supply-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 14px 4px;
}
.supply-card .product-price {
  font-size: 1rem;
  font-weight: 700;
  padding: 0 14px 14px;
  color: var(--color-gold);
}

/* ── Disclosure ── */
.shop-disclosure {
  padding: 24px 0 8px;
  border-top: 1px solid var(--color-border);
  margin-top: 16px;
}
.shop-disclosure p {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .trend-products { grid-template-columns: 1fr 1fr; }
  .supplies-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .trend-products { grid-template-columns: 1fr; }
  .supplies-grid { grid-template-columns: 1fr; }

  .trend-section { padding: 20px 0; }
  .trend-header { margin-bottom: 14px; }

  .product-thumb { height: 160px; }
  .supply-thumb { height: 160px; }
}
