/*
Theme Name: FoneGo
Theme URI: https://fone-go.co/
Author: FoneGo
Description: A responsive multi-page WordPress theme for FoneGo Ghana.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fonego
*/

/* Most page-specific styles are kept inline to preserve the supplied design. */
.fonego-wp-content {
	max-width: 900px;
	margin: 140px auto 80px;
	padding: 0 20px;
}

.fonego-wp-content h1 {
	margin-bottom: 24px;
}

.fonego-notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 8px;
	background: #e7f7f2;
	color: #005a4a;
}

.fonego-notice--error {
	background: #fff0f0;
	color: #9f1239;
}

.blog-image-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e7f7f2, #f3f4f6);
	color: #006d5b;
	font-size: 56px;
}

.product-image {
	position: relative;
}

.product-card[data-url] {
	cursor: pointer;
}

.product-card[data-url]:focus-visible {
	outline: 3px solid #006d5b;
	outline-offset: 4px;
}

.product-badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	padding: 7px 12px;
	border-radius: 7px;
	background: #006d5b;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.product-badge.hot {
	background: #ef4444;
}

.product-badge.new {
	background: #006d5b;
}

.blog-empty {
	max-width: 620px;
	margin: 30px auto;
	padding: 64px 28px;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
	text-align: center;
}

.blog-empty-icon {
	display: flex;
	width: 96px;
	height: 96px;
	margin: 0 auto 24px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #e7f7f2, #f0fdf4);
	color: #006d5b;
	font-size: 42px;
}

.blog-empty h2 {
	margin-bottom: 10px;
	color: #111827;
	font-size: 28px;
}

.blog-empty p {
	margin: 0;
	color: #6b7280;
}

.pagination > .page-numbers {
	display: flex;
	margin: 0;
	padding: 0;
	gap: 8px;
	list-style: none;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	align-items: center;
	justify-content: center;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #374151;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s ease;
}

.pagination .page-numbers a:hover,
.pagination .page-numbers .current {
	border-color: #006d5b;
	background: #006d5b;
	color: #fff;
}

.article-tags a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	background: rgba(0, 109, 91, 0.1);
	color: #006d5b;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.blog-content .blog-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.blog-content .blog-posts {
		grid-template-columns: 1fr;
	}

	.blog-empty {
		padding: 48px 20px;
	}

	.pagination .page-numbers a,
	.pagination .page-numbers span {
		min-width: 38px;
		height: 38px;
		padding: 0 9px;
	}
}

/*
 * Use the available space more effectively on large desktop displays.
 * Article reading columns stay narrower to preserve comfortable line lengths.
 */
@media (min-width: 1600px) {
	.container,
	.header-inner {
		max-width: 1440px !important;
	}

	body.single .article-header .container,
	body.single .article-content .container {
		max-width: 960px !important;
	}
}

/* Shared chrome for WordPress-generated screens such as archives and 404. */
.fonego-system-page {
	margin: 0;
	background: #fff;
	color: #111827;
	font-family: "Roboto", sans-serif;
	line-height: 1.6;
}

.fonego-system-page *,
.fonego-system-page *::before,
.fonego-system-page *::after {
	box-sizing: border-box;
}

.fonego-shell {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-right: 20px;
	padding-left: 20px;
}

/*
 * Keep shared header/footer widths independent from a page template's local
 * `.container` rule. Some legacy templates use 800px/900px content columns,
 * which must not narrow the global site chrome.
 */
.fonego-top-bar .fonego-top-bar-inner.fonego-shell,
.fonego-site-header .fonego-site-header-inner.fonego-shell,
.fonego-site-footer > .fonego-shell {
	max-width: 1200px;
}

.fonego-system-page .container {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}

.fonego-top-bar {
	background: #111827;
	color: #fff;
	font-size: 13px;
}

.fonego-top-bar-inner {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.fonego-top-contact,
.fonego-top-social {
	display: flex;
	align-items: center;
	gap: 18px;
}

.fonego-top-contact a,
.fonego-top-social a {
	color: #fff;
	text-decoration: none;
}

.fonego-top-social > a {
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.fonego-top-social > span {
	color: rgba(255, 255, 255, 0.72);
}

.fonego-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	box-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
	transition:
		background-color .3s ease,
		box-shadow .3s ease,
		backdrop-filter .3s ease;
}

.fonego-site-header-inner {
	display: flex;
	min-height: 70px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	transition: min-height .3s ease;
}

.fonego-system-page .fonego-site-header.scrolled {
	background-color: rgba(255, 255, 255, .95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.fonego-system-page .fonego-site-header.scrolled .fonego-site-header-inner {
	min-height: 56px;
}

.fonego-site-logo,
.fonego-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #111827;
	font-family: "Montserrat", sans-serif;
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
}

.fonego-site-logo-icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(135deg, #00856d, #006d5b);
	color: #fff;
}

.fonego-site-logo-image {
	display: block;
	width: 120px;
	height: auto;
}

.fonego-site-header #nav {
	display: flex;
	align-self: stretch;
	align-items: center;
	gap: 32px;
}

.fonego-site-header #nav a {
	position: relative;
	color: #374151;
	font-weight: 500;
	text-decoration: none;
}

.fonego-site-header #nav a:hover,
.fonego-site-header #nav a.active {
	color: #006d5b;
}

.fonego-site-header #nav a.active::after {
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	height: 3px;
	border-radius: 3px;
	background: #006d5b;
	content: "";
}

.fonego-nav-item {
	display: flex;
	align-self: stretch;
	align-items: center;
}

.fonego-phone-menu-toggle {
	display: none;
}

.fonego-phone-mega-menu {
	position: absolute;
	top: calc(100% - 1px);
	right: 0;
	left: 0;
	padding: 28px 0 30px;
	border-top: 1px solid #edf0f2;
	background: #fff;
	box-shadow: 0 18px 34px rgba(17, 24, 39, 0.14);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	visibility: hidden;
}

.fonego-smartphones-nav:hover .fonego-phone-mega-menu,
.fonego-smartphones-nav.is-hover-open .fonego-phone-mega-menu,
.fonego-smartphones-nav:focus-within .fonego-phone-mega-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.fonego-phone-menu-shell {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fonego-phone-menu-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.fonego-site-header #nav .fonego-phone-menu-card {
	display: flex;
	min-width: 0;
	padding: 0;
	flex-direction: column;
	gap: 12px;
	border: 0;
	color: #111827 !important;
	text-align: center;
	text-decoration: none;
}

.fonego-phone-menu-image {
	display: flex;
	width: 100%;
	aspect-ratio: 1.3 / 1;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 12px;
	background: #f7f8f8;
	color: #006d5b;
	font-size: 48px;
}

.fonego-phone-menu-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fonego-site-header #nav .fonego-phone-menu-title {
	display: block;
	overflow: hidden;
	color: #111827;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fonego-phone-menu-card:hover .fonego-phone-menu-title,
.fonego-phone-menu-card:focus .fonego-phone-menu-title {
	color: #006d5b;
}

.fonego-phone-menu-footer {
	display: flex;
	justify-content: flex-end;
}

.fonego-site-header #nav .fonego-phone-menu-all {
	display: inline-flex;
	min-height: 44px;
	padding: 0 20px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid #006d5b;
	border-radius: 8px;
	color: #006d5b !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.fonego-site-header #nav .fonego-phone-menu-all:hover,
.fonego-site-header #nav .fonego-phone-menu-all:focus {
	background: #006d5b;
	color: #fff !important;
}

.fonego-header-cta,
.fonego-primary-action {
	display: inline-flex;
	min-height: 48px;
	padding: 0 24px;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #006d5b;
	box-shadow: 0 5px 18px rgba(0, 109, 91, 0.22);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.fonego-menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: #111827;
	cursor: pointer;
	font-size: 24px;
}

.fonego-archive-hero {
	padding: 76px 0 70px;
	background: linear-gradient(135deg, #0a0b37 0%, #006d5b 68%, #005a4a 100%);
	color: #fff;
	text-align: center;
}

.fonego-archive-hero h1 {
	margin: 0 0 14px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	line-height: 1.15;
}

.fonego-archive-hero p {
	max-width: 700px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.84);
	font-size: 18px;
}

.fonego-brand-main {
	padding: 72px 0 84px;
	background: #f9fafb;
}

.fonego-brand-results {
	margin: 0 0 28px;
	color: #6b7280;
	font-size: 16px;
}

.fonego-brand-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.fonego-brand-products .product-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #edf0f2;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(17, 24, 39, .06);
	color: #111827;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease;
}

.fonego-brand-products .product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(17, 24, 39, .12);
}

.fonego-brand-products .product-image {
	display: flex;
	aspect-ratio: 1 / 1;
	padding: 30px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f9fafb;
}

.fonego-brand-products .product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fonego-brand-products .product-info {
	display: flex;
	padding: 22px;
	flex: 1;
	flex-direction: column;
}

.fonego-brand-products .product-brand {
	width: fit-content;
	margin-bottom: 9px;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(0, 109, 91, .1);
	color: #006d5b;
	font-size: 12px;
	font-weight: 700;
}

.fonego-brand-products .product-name {
	margin: 0 0 8px;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	line-height: 1.35;
}

.fonego-brand-products .product-specs {
	margin: 0 0 14px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.55;
}

.fonego-brand-products .product-price {
	display: flex;
	margin-bottom: 16px;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
}

.fonego-brand-products .price-current {
	color: #006d5b;
	font-size: 24px;
	font-weight: 700;
}

.fonego-brand-products .price-original {
	color: #9ca3af;
	font-size: 14px;
	text-decoration: line-through;
}

.fonego-brand-products .installment-info {
	margin-top: auto;
	margin-bottom: 16px;
	padding: 12px;
	border-radius: 10px;
	background: #f9fafb;
}

.fonego-brand-products .installment-row {
	display: flex;
	padding: 4px 0;
	justify-content: space-between;
	gap: 14px;
	font-size: 13px;
}

.fonego-brand-products .installment-label {
	color: #6b7280;
}

.fonego-brand-products .installment-value {
	color: #111827;
	font-weight: 700;
}

.fonego-brand-products .view-details-btn {
	display: flex;
	width: 100%;
	padding: 12px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 10px;
	background: linear-gradient(135deg, #006d5b, #005a4a);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.fonego-brand-products .view-details-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 109, 91, .25);
}

.fonego-brand-main .pagination {
	display: flex;
	margin-top: 42px;
	justify-content: center;
}

.fonego-system-page .blog-content {
	padding: 72px 0 84px;
	background: #f9fafb;
}

.fonego-system-page .blog-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.fonego-system-page .blog-post {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #edf0f2;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
	color: inherit;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fonego-system-page .blog-post:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 38px rgba(17, 24, 39, 0.12);
}

.fonego-system-page .blog-post-image {
	height: 230px;
	overflow: hidden;
	background: #f3f4f6;
}

.fonego-system-page .blog-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.fonego-system-page .blog-post:hover .blog-post-image img {
	transform: scale(1.04);
}

.fonego-system-page .blog-post-content {
	display: flex;
	padding: 24px;
	flex: 1;
	flex-direction: column;
}

.fonego-system-page .blog-post-category {
	align-self: flex-start;
	margin-bottom: 13px;
	padding: 6px 12px;
	border-radius: 20px;
	background: rgba(0, 109, 91, 0.1);
	color: #006d5b;
	font-size: 12px;
	font-weight: 700;
}

.fonego-system-page .blog-post-title {
	margin: 0 0 12px;
	color: #111827;
	font-family: "Montserrat", sans-serif;
	font-size: 21px;
	line-height: 1.35;
}

.fonego-system-page .blog-post-excerpt {
	margin: 0 0 20px;
	color: #6b7280;
}

.fonego-system-page .blog-post-meta {
	display: flex;
	margin-top: auto;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: #6b7280;
	font-size: 12px;
}

.fonego-site-footer {
	padding: 64px 0 0;
	background: #111827;
	color: rgba(255, 255, 255, 0.72);
}

.fonego-footer-grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 50px;
}

.fonego-footer-logo {
	margin-bottom: 18px;
	color: #fff;
}

.fonego-footer-logo-image {
	display: block;
	width: 120px;
	height: auto;
}

.fonego-footer-grid h2,
.fonego-footer-grid h4 {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
}

.fonego-footer-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fonego-footer-grid a:not(.fonego-footer-logo) {
	display: block;
	margin-bottom: 11px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.fonego-footer-grid a:hover {
	color: #51f0af;
}

.fonego-footer-grid .footer-contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.fonego-footer-grid .footer-contact a,
.fonego-footer-grid .footer-contact span {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: rgba(255, 255, 255, .72);
}

.fonego-footer-bottom {
	margin-top: 48px;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
}

.fonego-footer-bottom .footer-bottom-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.fonego-footer-bottom .footer-app,
.fonego-footer-bottom .social-links {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fonego-footer-bottom .footer-app {
	padding: 0;
	border-radius: 0;
	background: transparent;
}

.fonego-footer-bottom .footer-app:hover {
	background: transparent;
}

.fonego-google-play-image {
	display: block;
	width: 150px;
	height: auto;
}

.fonego-footer-bottom .footer-app-info {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.fonego-footer-bottom .social-link {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	text-decoration: none;
}

.fonego-footer-bottom .footer-copyright-row {
	margin-top: 20px;
}

.fonego-footer-bottom p {
	margin: 0;
}

.fonego-global-actions {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 300;
	display: flex;
	align-items: center;
	gap: 0;
}

.fonego-global-action {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	transition: transform .2s ease;
}

.fonego-global-action:hover,
.fonego-global-action:focus-visible {
	transform: translateY(-3px) scale(1.04);
}

.fonego-global-action img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fonego-global-action + .fonego-global-action {
	margin-left: -12px;
}

.fonego-back-to-top {
	position: fixed;
	bottom: 18px;
	left: 18px;
	z-index: 300;
	display: flex;
	width: 48px;
	height: 48px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #374151;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
	visibility: hidden;
}

.fonego-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.fonego-back-to-top:hover,
.fonego-back-to-top:focus-visible {
	background: #111827;
	transform: translateY(-2px);
}

.fonego-page-main {
	padding: 64px 0 80px;
}

.fonego-page-card {
	max-width: 960px;
	margin: 0 auto;
	padding: 42px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.fonego-page-card img {
	max-width: 100%;
	height: auto;
}

.fonego-error {
	max-width: 720px;
	margin: 0 auto;
	padding: 76px 24px;
	text-align: center;
}

.fonego-error-icon {
	display: inline-flex;
	width: 112px;
	height: 112px;
	margin-bottom: 26px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e7f7f2;
	color: #006d5b;
	font-size: 48px;
}

.fonego-error h1 {
	margin: 0 0 14px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(40px, 7vw, 72px);
	line-height: 1;
}

.fonego-error p {
	margin: 0 0 26px;
	color: #6b7280;
	font-size: 18px;
}

.fonego-error-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.fonego-secondary-action {
	display: inline-flex;
	min-height: 48px;
	padding: 0 24px;
	align-items: center;
	border: 2px solid #006d5b;
	border-radius: 9px;
	color: #006d5b;
	font-weight: 700;
	text-decoration: none;
}

@media (min-width: 1600px) {
	.fonego-shell,
	.fonego-system-page .container {
		max-width: 1440px;
	}

	.fonego-top-bar .fonego-top-bar-inner.fonego-shell,
	.fonego-site-header .fonego-site-header-inner.fonego-shell,
	.fonego-site-footer > .fonego-shell {
		max-width: 1440px;
	}
}

@media (max-width: 1024px) {
	.fonego-brand-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fonego-site-header #nav {
		gap: 18px;
	}

	.fonego-system-page .blog-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fonego-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.fonego-brand-main {
		padding: 48px 0 60px;
	}

	.fonego-brand-products {
		grid-template-columns: 1fr;
	}

	.fonego-top-contact {
		display: none;
	}

	.fonego-top-bar-inner {
		justify-content: flex-end;
	}

	.fonego-site-header-inner {
		min-height: 78px;
	}

	.fonego-site-header #nav {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		padding: 20px;
		flex-direction: column;
		align-items: stretch;
		background: #fff;
		box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
		max-height: calc(100vh - 78px);
		overflow-y: auto;
	}

	.fonego-site-header #nav.active {
		display: flex;
	}

	.fonego-site-header #nav a.active::after {
		display: none;
	}

	.fonego-nav-item {
		position: relative;
		display: block;
		width: 100%;
	}

	.fonego-smartphones-nav > .nav-link {
		display: block;
		padding-right: 38px;
	}

	.fonego-phone-menu-toggle {
		position: absolute;
		top: -7px;
		right: 0;
		display: inline-flex;
		width: 34px;
		height: 34px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		color: #6b7280;
		cursor: pointer;
	}

	.fonego-phone-mega-menu {
		position: static;
		margin-top: 14px;
		padding: 0;
		border: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		visibility: visible;
	}

	.fonego-smartphones-nav.is-collapsed .fonego-phone-mega-menu {
		display: none;
	}

	.fonego-phone-menu-shell {
		gap: 16px;
	}

	.fonego-phone-menu-products {
		display: flex;
		margin-right: -20px;
		padding: 0 20px 20px 0;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.fonego-site-header #nav .fonego-phone-menu-card {
		flex: 0 0 112px;
		gap: 8px;
		scroll-snap-align: start;
	}

	.fonego-phone-menu-image {
		aspect-ratio: 1 / 1;
		border-radius: 7px;
	}

	.fonego-site-header #nav .fonego-phone-menu-title {
		font-size: 11px;
	}

	.fonego-phone-menu-footer {
		display: block;
		margin-top: 8px;
	}

	.fonego-site-header #nav .fonego-phone-menu-all {
		width: 100%;
		min-height: 40px;
		border: 0;
		border-radius: 999px;
		background: #f0f1f2;
		color: #111827 !important;
		font-size: 12px;
	}

	.fonego-header-cta {
		display: none;
	}

	.fonego-menu-toggle {
		display: block;
	}

	.fonego-archive-hero {
		padding: 56px 0;
	}

	.fonego-system-page .blog-posts {
		grid-template-columns: 1fr;
	}

	.fonego-system-page .blog-content {
		padding: 48px 0 60px;
	}

	.fonego-footer-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.fonego-page-card {
		padding: 26px 20px;
	}

	.fonego-error-actions {
		flex-direction: column;
	}

	.fonego-error-actions a {
		justify-content: center;
	}

	.fonego-global-actions {
		right: 8px;
		bottom: 10px;
	}

	.fonego-global-action {
		width: 58px;
		height: 58px;
	}

	.fonego-global-action + .fonego-global-action {
		margin-left: -10px;
	}

	.fonego-back-to-top {
		bottom: 14px;
		left: 10px;
		width: 44px;
		height: 44px;
	}
}
/* Product-card colors managed by FoneGo Core. */
.product-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.product-colors .color-dot {
	display: block;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 2px solid #e5e7eb;
	border-radius: 50%;
	background: var(--fonego-color);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}

.product-colors .color-dot:hover {
	transform: scale(1.12);
}

.product-colors .color-dot.active {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007b69;
}

.product-colors .color-dot.is-out-of-stock {
	cursor: not-allowed;
	opacity: .38;
}

.fonego-card-image {
	transition: opacity .18s ease;
}

/*
 * Shared compact state for every fixed-header theme template.
 * The body class keeps this from affecting WordPress core screens or
 * unrelated headers rendered by plugins.
 */
body.fonego-fixed-header-layout #header {
	position: fixed;
	top: 50px;
	right: 0;
	left: 0;
	z-index: 100;
	padding-top: 15px;
	padding-bottom: 15px;
	transition:
		padding .3s ease,
		background-color .3s ease,
		box-shadow .3s ease,
		backdrop-filter .3s ease;
}

body.fonego-fixed-header-layout #header.scrolled {
	padding-top: 8px;
	padding-bottom: 8px;
	background-color: rgba(255, 255, 255, .95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

body.fonego-fixed-header-layout {
	padding-top: 120px;
}

body.fonego-fixed-header-layout .fonego-top-bar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 9999;
	height: 50px;
	padding: 0;
}

body.fonego-fixed-header-layout .fonego-top-bar-inner {
	height: 50px;
	min-height: 50px;
}

body.fonego-fixed-header-layout .fonego-site-header-inner {
	min-height: 40px;
}

@media screen and (max-width: 768px) {
	.fonego-system-page .fonego-site-header-inner {
		min-height: 56px;
	}
}

/*
 * WordPress adds 32px/46px to the document when the admin bar is visible.
 * Only fixed-header templates need that amount removed from their own
 * 110px body offset.
 */
@media screen and (min-width: 783px) {
	body.admin-bar.fonego-fixed-header-layout {
		padding-top: 88px;
	}

	body.admin-bar.fonego-system-page .fonego-site-header {
		top: 32px;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar.fonego-fixed-header-layout {
		padding-top: 74px;
	}

	body.admin-bar.fonego-system-page .fonego-site-header {
		top: 46px;
	}
}
