/**
 * صفحهٔ عمومی کاتالوگ — هیرو و چیدمان تمام‌عرض.
 */

.st-public-page {
	direction: rtl;
	text-align: right;
}

.st-public-catalog-main {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 1.25rem 2.5rem;
	box-sizing: border-box;
}

.st-public-hero {
	background: linear-gradient(135deg, #c41e3a 0%, #8b1538 42%, #1e293b 100%);
	color: #fff;
	margin: 0 -1.25rem 1.5rem;
	padding: 2.5rem 1.25rem 2.75rem;
	border-radius: 0 0 20px 20px;
	box-shadow: 0 8px 32px rgba(196, 30, 58, 0.25);
	position: relative;
	overflow: hidden;
}

.st-public-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
	pointer-events: none;
}

.st-public-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.st-public-hero__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.5rem, 4.5vw, 2.25rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.st-public-hero__tagline {
	margin: 0;
	font-size: clamp(0.9rem, 2.5vw, 1.05rem);
	opacity: 0.92;
	line-height: 1.65;
	max-width: 36em;
}

.st-public-page__body {
	min-height: 50vh;
}

.st-public-page .st-catalog-root.st-page-layout {
	max-width: none;
	margin: 0;
	border-radius: var(--st-radius, 14px);
	padding: 1.35rem;
	box-shadow: var(--st-shadow, 0 4px 16px rgba(15, 23, 42, 0.08));
}

.st-pub-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding: 0.6rem 0.9rem;
	background: var(--st-surface, #fff);
	border: 1px solid var(--st-border, #e2e8f0);
	border-radius: var(--st-radius-sm, 8px);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--st-muted, #64748b);
}

.st-pub-result-stats:empty {
	display: none;
}

body.st-public-catalog-body .st-public-page {
	padding-top: 0;
}

body.st-public-catalog-body .site-content,
body.st-public-catalog-body .content-area {
	max-width: none;
}

@media (max-width: 600px) {
	.st-public-hero {
		margin-inline: -1rem;
		padding-inline: 1rem;
		border-radius: 0 0 16px 16px;
	}
}
