/*
Theme Name: FBTops Child
Theme URI: /
Description: Child theme of Kadence for FBTops — independent TikTok Shop / Fulfilled by TikTok (FBT) reimbursement recovery service (US). Homepage content is editable in Gutenberg/Kadence; structured data is managed in HFCM.
Author: FBTops
Template: kadence
Version: 0.1.0
Requires at least: 6.3
Text Domain: fbtops-child
*/

/* Global child overrides. Homepage sections remain in assets/css/home.css. */

/* Sticky, always-opaque header: prevents nav overlapping content on scroll. */
#masthead {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 #e3e8ef;
}

.admin-bar #masthead { top: 32px; }

@media (max-width: 782px) {
	.admin-bar #masthead { top: 46px; }
}

/* Header container: proper gutters and width. */
#masthead .site-header-row-container-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 22px;
}

/* Brand wordmark: Inter + gradient mark instead of default serif text. */
#masthead .site-branding { padding: 14px 0; }

#masthead .site-branding a.brand { text-decoration: none; }

#masthead .site-branding .site-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.025em;
	color: #1a2230;
}

#masthead .site-branding .site-title::before {
	content: "";
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http:/www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='32' y2='32'%3E%3Cstop offset='0' stop-color='%230f3a5a'/%3E%3Cstop offset='.55' stop-color='%2316507b'/%3E%3Cstop offset='1' stop-color='%231a7f4b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='32' height='32' rx='8' fill='url(%23g)'/%3E%3Cpath d='M8 21.5 14.5 15l4 4L25 11.5' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20.5 11h4.5v4.5' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='24.5' r='1.6' fill='%2352bd86'/%3E%3C/svg%3E") center/cover no-repeat;
	box-shadow: 0 2px 8px rgba(15, 58, 90, .35);
}

/* Header navigation typography aligned with the design system. */
#masthead .main-navigation .primary-menu-container > ul > li > a {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 14.5px;
	font-weight: 600;
	color: #4a5568;
}

#masthead .main-navigation .primary-menu-container > ul > li > a:hover {
	color: #16507b;
}

.main-navigation .menu-cta > a,
.mobile-navigation .menu-cta > a {
	background: #16507b;
	color: #fff !important;
	border-radius: 9px;
	padding: 10px 16px !important;
}

.main-navigation .menu-cta > a:hover,
.mobile-navigation .menu-cta > a:hover {
	background: #0f3a5a;
}

/* Footer credit typography aligned with the design system. */
.site-footer .footer-html,
.site-footer .site-footer-bottom {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #4a5568;
}
