/**
 * Thuy Bich Vinh Long — Brand Utility CSS
 * File: css/tb-brand-utilities.css
 *
 * Source:
 * - Split from remaining Yellow Pencil legacy in Phase 12F-D.
 *
 * Owner:
 * - Shared legacy brand utility classes used by UX Builder sections.
 * - .tb-eyebrow / .tb-heading / .tb-h1 / .tb-h2 / .tb-h3 / .tb-p / .tb-btn-* groups.
 *
 * Not owner:
 * - Header: css/tb-header.css.
 * - Footer: css/tb-footer.css.
 * - Blog Hub / Blog Single / Blog Archive.
 * - PLP / PDP / Product Card.
 * - Newsletter: intentionally removed.
 *
 * Notes:
 * - This phase is a split only, not a visual redesign.
 * - Values preserve the existing UX Builder look as much as possible.
 * - Future phase can align these tokens to tb-site-common after UAT.
 */

:root {
	--tbv-font-main: var(--tb-font, "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--tbv-text: #1E2320;
	--tbv-text-dark: #060607;
	--tbv-text-muted: rgba(30, 35, 32, 0.72);
	--tbv-primary: #1E2320;
	--tbv-accent: #745a32;
	--tbv-gold: #CDA569;
	--tbv-bg-soft: #f1edec;
	--tbv-surface: #ffffff;
	--tbv-border-soft: #ece8e1;
	--tbv-border-hover: #ddd6cc;
	--tbv-image-bg: #f7faf5;
	--tbv-shadow-soft: 0 12px 24px rgba(0, 0, 0, .06);
}

.tb-eyebrow,
.tb-hero-eyebrow {
	display: block;
	margin: 0;
	padding: 0;
	font-family: var(--tbv-font-main);
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tbv-gold);
}

p.tb-eyebrow,
p.tb-hero-eyebrow {
	margin: 0 !important;
	padding: 0 !important;
}

.tb-heading {
	margin: 0;
	font-family: var(--tbv-font-main);
	color: var(--tbv-text);
	letter-spacing: -0.02em;
}

.tb-h1,
.tb-heading--h1 {
	margin: 0 0 18px;
	font-family: var(--tbv-font-main);
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tbv-text);
}

.tb-h2,
.tb-heading--h2 {
	margin: 0 0 16px;
	font-family: var(--tbv-font-main);
	font-size: 28px;
	line-height: 1.18;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--tbv-text);
}

.tb-h3,
.tb-heading--h3 {
	margin: 0 0 12px;
	font-family: var(--tbv-font-main);
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tbv-text);
}

.tb-p,
.tb-text,
.tb-lead,
.tb-section-desc {
	margin: 0 0 2rem;
	font-family: var(--tbv-font-main);
	font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	color: var(--tbv-text-muted);
}

.tb-btn-solid,
.tb-btn-outline,
a.tb-btn-solid,
a.tb-btn-outline,
button.tb-btn-solid,
button.tb-btn-outline,
.button.tb-btn-solid,
.button.tb-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 0;
	min-height: 44px;
	height: auto;
	padding: 0 22px;
	font-family: var(--tbv-font-main);
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	text-transform: none;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	transition: opacity .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.tb-btn-solid,
a.tb-btn-solid,
button.tb-btn-solid,
.button.tb-btn-solid {
	background: var(--tbv-primary);
	color: #ffffff !important;
	border: 1px solid var(--tbv-primary);
}

.tb-btn-solid:hover,
a.tb-btn-solid:hover,
button.tb-btn-solid:hover,
.button.tb-btn-solid:hover {
	opacity: 0.9;
	color: #ffffff !important;
	border-color: var(--tbv-primary);
	text-decoration: none !important;
}

.tb-btn-outline,
a.tb-btn-outline,
button.tb-btn-outline,
.button.tb-btn-outline {
	background: transparent;
	color: var(--tbv-text-dark) !important;
	border: 1px solid var(--tbv-text-dark);
}

.tb-btn-outline:hover,
a.tb-btn-outline:hover,
button.tb-btn-outline:hover,
.button.tb-btn-outline:hover {
	background: var(--tbv-bg-soft);
	color: var(--tbv-text-dark) !important;
	border-color: var(--tbv-text-dark);
	text-decoration: none !important;
}

.tb-btn-solid:focus-visible,
.tb-btn-outline:focus-visible,
.tb-category-cta:focus-visible {
	outline: 2px solid var(--tbv-primary);
	outline-offset: 3px;
}

.tb-btn-group,
.tb-hero-buttons,
.tb-category-actions,
.tb-section-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.tb-btn-sm {
	min-height: 40px;
	padding: 0 22px;
	font-size: 11px;
	letter-spacing: 0.06em;
}

@media (max-width: 849px) {
	.tb-btn-solid,
	.tb-btn-outline,
	.tb-hero .tb-btn-solid,
	.tb-hero .tb-btn-outline,
	a.tb-btn-solid,
	a.tb-btn-outline,
	button.tb-btn-solid,
	button.tb-btn-outline,
	.button.tb-btn-solid,
	.button.tb-btn-outline {
		min-height: 44px;
		padding: 0 22px;
		font-size: 12px;
		letter-spacing: 0.05em;
	}

	.tb-btn-group,
	.tb-hero .tb-hero-buttons,
	.tb-hero-buttons,
	.tb-category-actions,
	.tb-section-actions {
		gap: 12px;
	}

	.tb-h1,
	.tb-heading--h1 {
		font-size: 34px;
		line-height: 1.1;
	}

	.tb-h2,
	.tb-heading--h2 {
		font-size: 28px;
		line-height: 1.18;
	}

	.tb-h3,
	.tb-heading--h3 {
		font-size: 22px;
		line-height: 1.25;
	}

	.tb-p,
	.tb-text,
	.tb-lead,
	.tb-section-desc {
		font-size: 15px;
		line-height: 1.6;
	}
}
