/**
 * BUSY.mn — shared public marketing UI patterns.
 * Loaded globally after page-specific CSS; keep selectors scoped.
 */

/* ── Unified compact empty state ── */
.public-empty-state {
  border: 1px dashed var(--border-color, #e5e7eb);
  border-radius: 12px;
  background: #fafbfc;
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--text-muted, #6b7280);
}

.public-empty-state-icon {
  display: block;
  font-size: 1.75rem;
  color: #9ca3af;
  margin: 0 auto 0.65rem;
}

.public-empty-state-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main, #111827);
}

.public-empty-state-body {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 0.875rem;
  line-height: 1.5;
}

.public-empty-state-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ── Public page hero (listing pages) ── */
.public-page-hero {
  margin: 1.25rem 0 1.5rem;
}

.public-page-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main, #111827);
}

.public-page-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted, #6b7280);
}

.public-page-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.public-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Company profile: single-column when sidebar hidden (alias) ── */
.layout-grid--solo {
  grid-template-columns: 1fr !important;
}

/* ── Store product cards (listing + profile shop tab) ── */
.store-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e5e7eb);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-product-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.08);
}

.store-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  min-width: 0;
}

.store-product-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main, #111827);
  line-height: 1.35;
  word-break: break-word;
}

.store-product-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted, #6b7280);
}

.store-product-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

@media (min-width: 640px) {
  .store-product-card-footer {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
