/**
 * ShopTop Design System — Tipografia
 * ------------------------------------------------------------------
 * Define a fonte base e a hierarquia de títulos usadas em todo o
 * site. Nenhuma fonte externa é carregada nesta etapa — apenas a
 * pilha de fontes de sistema definida em tokens.css.
 *
 * Depende de: tokens.css, variables.css
 */

body {
	font-family: var(--shoptop-font-family-base);
	font-size: var(--shoptop-font-size-base);
	line-height: var(--shoptop-line-height-base);
	color: var(--shoptop-color-text);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--shoptop-font-family-base);
	font-weight: var(--shoptop-font-weight-bold);
	color: var(--shoptop-color-text);
	line-height: var(--shoptop-line-height-tight);
	letter-spacing: -0.01em;
	margin: 0 0 var(--shoptop-space-3) 0;
}

h1 {
	font-size: var(--shoptop-font-size-3xl);
}

h2 {
	font-size: var(--shoptop-font-size-2xl);
}

h3 {
	font-size: var(--shoptop-font-size-xl);
	line-height: var(--shoptop-line-height-snug);
}

h4 {
	font-size: var(--shoptop-font-size-lg);
	line-height: var(--shoptop-line-height-snug);
	font-weight: var(--shoptop-font-weight-semibold);
}

h5 {
	font-size: var(--shoptop-font-size-md);
	font-weight: var(--shoptop-font-weight-semibold);
}

h6 {
	/* Usado como "eyebrow" acima de títulos de seção (ex.: "OFERTAS") */
	font-size: var(--shoptop-font-size-sm);
	font-weight: var(--shoptop-font-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--shoptop-color-text-secondary);
}

p {
	margin: 0 0 var(--shoptop-space-3) 0;
}

small, .shoptop-text-sm {
	font-size: var(--shoptop-font-size-sm);
}

.shoptop-text-xs {
	font-size: var(--shoptop-font-size-xs);
}

a {
	color: var(--shoptop-color-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--shoptop-color-link-hover);
}

/* "Eyebrow" acima de título de seção (ex.: "CATEGORIAS"). É um <p>, não um
 * heading — dá contexto visual rápido sem inflar a hierarquia H1-H6.
 * Reaproveita o mesmo estilo já usado em h6. */
.shoptop-eyebrow {
	font-size: var(--shoptop-font-size-sm);
	font-weight: var(--shoptop-font-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--shoptop-color-secondary-600);
	margin: 0 0 var(--shoptop-space-1) 0;
}

/* Texto secundário reutilizável (ex.: descrição de card, meta-informação) */
.shoptop-text-secondary {
	color: var(--shoptop-color-text-secondary);
}

.shoptop-text-muted {
	color: var(--shoptop-color-text-muted);
}
