/* Facigoo — shared base styles (split from facigoo.css). Tokens live in style.css :root. */
/*
 * Facigoo — design system styles.
 * Mirrors the .pen design tokens (see style.css :root) and component styles.
 */

/* ---------------------------------------------------------------------------
 * Base / reset helpers
 * ------------------------------------------------------------------------- */
.fg-site,
.fg-home {
	background: var(--white);
	color: var(--text-body);
	font-family: var(--font-family);
	-webkit-font-smoothing: antialiased;
}

/* Never let theme/plugin styles paint our interactive elements gray. */
.fg-site a:focus-visible,
.fg-home a:focus-visible,
.fg-site button:focus-visible,
.fg-home button:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 2px;
}

.fg-site .fg-btn:active,
.fg-home .fg-btn:active,
.fg-site .fg-btn:focus,
.fg-home .fg-btn:focus,
.fg-site .fg-filter-btn:active,
.fg-home .fg-filter-btn:active,
.fg-site .fg-filter-btn:focus,
.fg-home .fg-filter-btn:focus,
.fg-site .fg-carousel-btn:active,
.fg-home .fg-carousel-btn:active,
.fg-site .fg-carousel-btn:focus,
.fg-home .fg-carousel-btn:focus,
.fg-site .fg-back-to-top:active,
.fg-home .fg-back-to-top:active,
.fg-site .fg-back-to-top:focus,
.fg-home .fg-back-to-top:focus {
	filter: none;
	opacity: 1;
}

.fg-site .fg-btn:active,
.fg-home .fg-btn:active {
	transform: translateY(1px);
}

.fg-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

@media (min-width: 1201px) {
	.fg-container {
		padding-left: 0;
		padding-right: 0;
	}
}

.fg-main {
	overflow: hidden;
}

.fg-h2 {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.75px;
	line-height: 1.2;
	color: var(--ink);
	margin: 0;
}

.fg-h4 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ink-strong);
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------- */
.fg-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: relative;
	z-index: 100;
}

.fg-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

@media (min-width: 1201px) {
	.fg-header-inner {
		padding: 0;
	}
}

.fg-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 108px;
}

.fg-header-row > * {
	display: flex;
	align-items: center;
}

.fg-brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.fg-header .fg-brand-link .fg-logo-img,
.fg-footer .fg-footer-logo .fg-logo-img {
	height: 32px;
	width: auto;
	display: block;
	vertical-align: middle;
}

.fg-logo-text {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: var(--ink-strong);
}

.fg-nav-list {
	display: flex;
	align-items: center;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fg-nav-item a {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.7px;
	color: var(--text-body);
	text-decoration: none;
	transition: color 0.2s ease;
}

.fg-nav-item a:hover,
.fg-nav-item.current-menu-item a,
.fg-nav-item-current a {
	color: var(--brand-orange);
	font-weight: 700;
}

.fg-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fg-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 0;
	text-decoration: none;
	color: var(--brand-green);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fg-action-login {
	border: 1px solid var(--brand-green);
}

.fg-action-login:hover,
.fg-action-login:focus,
.fg-action-login:active {
	background: var(--brand-orange);
	border-color: var(--brand-orange);
	color: var(--white);
}

.fg-action-cart {
	background: var(--brand-green);
	color: var(--white);
}

.fg-action-cart:hover,
.fg-action-cart:focus,
.fg-action-cart:active {
	background: var(--brand-orange);
	color: var(--white);
}

.fg-action-cart:hover .fg-cart-badge,
.fg-action-cart:focus .fg-cart-badge,
.fg-action-cart:active .fg-cart-badge {
	background: var(--brand-green);
}

.fg-cart-badge {
	position: absolute;
	top: -7px;
	right: -7px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--brand-orange);
	color: var(--white);
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.fg-menu-toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--ink-strong);
	cursor: pointer;
	padding: 8px;
}

.fg-mobile-menu {
	display: none;
	padding: 12px 20px 20px;
	border-top: 1px solid var(--line);
}

.fg-mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fg-mobile-nav-list a {
	font-size: 15px;
	letter-spacing: 0.7px;
	color: var(--text-body);
	text-decoration: none;
}

@media (max-width: 1023px) {
	.fg-header-row {
		gap: 12px;
		min-height: 64px;
	}
	.fg-brand {
		order: 1;
		flex: 0 0 auto;
		justify-content: flex-start;
		margin-right: auto;
	}
	.fg-nav {
		display: none;
	}
	.fg-header-actions {
		order: 2;
	}
	.fg-menu-toggle {
		order: 3;
		display: inline-flex;
		width: 38px;
		height: 38px;
		border: 1px solid var(--brand-green);
		color: var(--brand-green);
		justify-content: center;
		align-items: center;
		padding: 0;
		border-radius: 0;
		transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	}

	.fg-menu-toggle:hover,
	.fg-menu-toggle:focus,
	.fg-menu-toggle:active,
	.fg-menu-toggle[aria-expanded="true"] {
		background: var(--brand-orange);
		border-color: var(--brand-orange);
		color: var(--white);
	}

	.fg-mobile-nav-list a:hover,
	.fg-mobile-nav-list .current-menu-item > a,
	.fg-mobile-nav-list .fg-nav-item-current a {
		color: var(--brand-orange);
	}
	.fg-mobile-menu.fg-open {
		display: block;
	}
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------- */
.fg-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.4px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1.333;
}

.fg-btn-primary {
	background: var(--brand-green);
	color: var(--white);
	padding: 17px 40px;
	border: 1px solid var(--brand-green);
}

.fg-btn-primary:hover,
.fg-btn-primary:focus,
.fg-btn-primary:active {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: var(--white);
}

.fg-btn-ghost-light {
	border: 1px solid var(--white);
	color: var(--white);
	padding: 16px 40px;
	background: transparent;
}

.fg-btn-ghost-light:hover,
.fg-btn-ghost-light:focus,
.fg-btn-ghost-light:active {
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
}

.fg-btn-outline {
	border: 1px solid var(--brand-green);
	color: var(--brand-green);
	padding: 12px 32px;
	background: transparent;
}

.fg-btn-outline:hover,
.fg-btn-outline:focus,
.fg-btn-outline:active {
	background: var(--brand-green);
	color: var(--white);
	border-color: var(--brand-green);
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */
.fg-footer {
	background: var(--surface-mist);
	border-top: 1px solid var(--line-green);
}

.fg-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 20px 48px;
	box-sizing: border-box;
}

@media (min-width: 1201px) {
	.fg-footer-inner {
		padding-left: 0;
		padding-right: 0;
	}
}

.fg-footer-columns {
	display: grid;
	grid-template-columns: 352px 152px 152px 352px;
	gap: 64px;
}

.fg-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fg-footer-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.fg-footer-logo .fg-logo-img {
	height: 64px;
}

.fg-footer-desc {
	font-size: 13px;
	line-height: 1.625;
	color: var(--text-muted);
	margin: 0;
}

.fg-footer-socials {
	display: flex;
	gap: 12px;
	padding-top: 8px;
}

.fg-social {
	width: 40px;
	height: 40px;
	border: 1px solid var(--brand-green);
	color: var(--brand-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.2s ease;
}

.fg-social:hover,
.fg-social:focus {
	background: var(--brand-orange);
	border-color: var(--brand-orange);
	color: var(--white);
}

.fg-footer-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-top: 32px;
}

.fg-footer-heading {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--ink-strong);
	margin: 0;
}

.fg-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fg-footer-links a {
	font-size: 12px;
	line-height: 1.333;
	color: var(--text-muted-2);
	text-decoration: none;
	transition: color 0.2s ease;
}

.fg-footer-links a:hover {
	color: var(--brand-green);
}

.fg-footer-contact {
	background: var(--white);
	border: 1px solid var(--line-green);
	padding: 32px;
	gap: 18px;
}

.fg-footer-contact-row {
	display: flex;
	gap: 14px;
	align-items: center;
}

.fg-footer-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	background: var(--surface-green-soft);
	color: var(--brand-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.fg-footer-icon svg,
.fg-footer-socials .fg-social svg {
	stroke-width: 1.6;
}

.fg-footer-contact-texts {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fg-footer-contact-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: var(--text-muted-3);
}

.fg-footer-contact-value {
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-body);
}

.fg-footer-contact-link {
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-body);
	text-decoration: none;
	transition: color 0.2s ease;
}

.fg-footer-contact-link:hover {
	color: var(--brand-green);
}

.fg-footer-bottom {
	background: var(--brand-green);
}

.fg-footer-bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	box-sizing: border-box;
}

@media (min-width: 1201px) {
	.fg-footer-bottom-inner {
		padding-left: 0;
		padding-right: 0;
	}
}

.fg-footer-copy {
	font-size: 11px;
	color: var(--white);
}

.fg-footer-bottom-links {
	display: flex;
	align-items: center;
	gap: 15px;
}

.fg-footer-bottom-link {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	color: var(--white);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.fg-footer-bottom-link:hover {
	opacity: 0.85;
}

.fg-footer-bottom-link-orange {
	color: var(--brand-orange);
}

.fg-back-to-top {
	width: 40px;
	height: 40px;
	background: var(--brand-orange);
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
	padding: 0;
	line-height: 0;
}

.fg-back-to-top svg {
	color: var(--white);
	display: block;
}

.fg-back-to-top:hover,
.fg-back-to-top:focus,
.fg-back-to-top:active {
	background: var(--brand-orange);
	border-color: var(--white);
	transform: translateY(-2px);
}

@media (max-width: 1200px) {
	.fg-footer-columns {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

@media (max-width: 639px) {
	.fg-footer-columns {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.fg-footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.fg-footer-bottom-links {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 15px;
	}
	.fg-back-to-top {
		margin-left: auto;
	}
}

/* ---------------------------------------------------------------------------
 * Unified icon stroke weight — all line icons match the social icons (1.6).
 * ------------------------------------------------------------------------- */
.fg-action svg,
.fg-menu-toggle svg,
.fg-back-to-top svg,
.fg-carousel-btn svg,
.fg-service-cta svg,
.fg-btn-outline svg,
.fg-hero-pagination svg {
	stroke-width: 1.6;
}

/* ---------------------------------------------------------------------------
 * Mobile forms — font-size >= 16px prevents iOS auto-zoom on focus.
 * Scoped to small screens only; desktop visuals unchanged.
 * ------------------------------------------------------------------------- */
@media (max-width: 639px) {
	.fg-site input[type="text"],
	.fg-site input[type="email"],
	.fg-site input[type="tel"],
	.fg-site input[type="search"],
	.fg-site input[type="url"],
	.fg-site textarea,
	.fg-site select {
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * Mobile touch targets — enlarge small interactive elements on small screens
 * only (>= 40px). Desktop layout is untouched.
 * ------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.fg-filter-btn,
	.fg-range-btn,
	.fg-carousel-btn,
	.fg-radio-row,
	.fg-menu-toggle,
	.fg-map-marker .fg-marker-card {
		min-height: 40px;
	}
	.fg-filter-btn,
	.fg-range-btn {
		align-items: center;
	}
	.fg-pager .fg-page-btn,
	.fg-na-pager .page-numbers li > * {
		min-width: 44px;
		min-height: 44px;
	}
}

