/*
Theme Name:   Astra Child — FOG Home
Description:  Font: Inter; replicates the FogStore Angular storefront home page.
              Only the front page is affected (see functions.php).
Author:       FOG
Template:     astra
Text Domain:  astra-child-fog
Version:      1.0.0
*/

/* ---- Scope Master Reset to the home block only ---- */
.fog-home-body,
.fog-home-body #fog-home {
	font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
	letter-spacing: 0;
	line-height: 1.5;
	color: #0f172a;
	-webkit-font-smoothing: antialiased;
	moz-osx-font-smoothing: grayscale;
}

.fog-home-body.fog-home-body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	font-size: 14px;
	text-align: start;
}

/* Neutralize Astra/theme classes only while the FOG home is shown */
.fog-home-body #content {
	margin: 0;
	padding: 0;
	max-width: none;
}
.fog-home-body .site,
.fog-home-body .ast-container {
	max-width: none;
	padding: 0;
}
.fog-home-body #primary,
.fog-home-body #secondary {
	width: 100%;
	padding-inline-start: 0;
	float: none;
}

/* Kill blocks outside our control (admin bar, footers injected late) */
.fog-home-body .ast-footer,
.fog-home-body .ast-footer-overlay,
.fog-home-body .ast-header-account-wrap,
.fog-home-body #ast-desktop-header,
.fog-home-body #ast-mobile-header,
.fog-home-body #ast-scroll-top {
	display: none;
}

#fog-home *,
#fog-home *::before,
#fog-home *::after {
	box-sizing: border-box;
}

#fog-home .scrollbar-hide {
	scrollbar-width: none;
	-ms-overflow-style: none;
}
#fog-home .scrollbar-hide::-webkit-scrollbar {
	display: none;
}

#fog-home button {
	font-family: inherit;
}

#fog-home .line-clamp-1 {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
#fog-home .line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ================= Header ================= */
#fog-home .fh-header {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-bottom: 1px solid #e8eaee;
	position: sticky;
	top: 0;
	z-index: 50;
}
#fog-home .fh-header-inner {
	width: 100%;
	max-width: 1220px;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 0 24px;
	height: 68px;
}
#fog-home .fh-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
#fog-home .fh-logo img {
	width: 50px;
	height: auto;
	object-fit: contain;
}
#fog-home .fh-search {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #e8f3fe;
	border: 1px solid #3b9ef1;
	border-radius: 12px;
	min-height: 38px;
	padding-inline-start: 13px;
	padding-inline-end: 2px;
	color: #3b9ef1;
	transition: border-color 0.2s;
}
#fog-home .fh-search:focus-within {
	border-color: #0078d4;
}
#fog-home .fh-search svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
#fog-home .fh-search input {
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	font-family: inherit;
	font-size: 13px;
	color: #0f172a;
	min-height: 36px;
}
#fog-home .fh-search input::placeholder {
	color: #71b7ee;
}

#fog-home .fh-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
#fog-home .fh-tool {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	color: #0f172a;
	font-size: 13px;
	fill: none;
	transition: color 0.2s;
}
#fog-home .fh-tool svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}
#fog-home .fh-tool:hover {
	color: #0078d4;
}
#fog-home .fh-loc {
	position: relative;
	align-items: flex-start;
}
#fog-home .fh-loc-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding: 0 6px;
	line-height: 1.2;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: inherit;
	fill: none;
	transition: color 0.2s;
}
#fog-home .fh-loc-btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-bottom: 2px;
}
#fog-home .fh-loc-btn:hover {
	color: #0078d4;
}
#fog-home .fh-loc-deliver {
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
}
#fog-home .fh-loc-name {
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
#fog-home .fh-tool-bordered {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px 11px;
	font-size: 13px;
	font-weight: 500;
}
#fog-home .fh-market .fh-tool-bordered svg {
	width: 16px;
	height: 16px;
}
#fog-home .fh-lang-en {
	color: #94a3b8;
}
#fog-home .fh-lang-sep {
	color: #cbd5e1;
}
#fog-home .fh-signin span {
	font-weight: 500;
}
#fog-home .fh-icon-btn {
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 18px;
	position: relative;
}
#fog-home .fh-icon-btn .fa-heart {
	animation-duration: 0.8s;
}
#fog-home .fh-icon-btn .fa-cart-shopping {
	animation-duration: 0.8s;
}
#fog-home .fh-cart-badge {
	position: absolute;
	top: -6px;
	inset-inline-end: -6px;
	background: #ff4d4f;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	border-radius: 999px;
	padding: 0 4px;
}
#fog-home .fh-market {
	position: relative;
}
#fog-home .fh-menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 180px;
	padding: 6px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
#fog-home .fh-menu[hidden] {
	display: none;
}
#fog-home .fh-menu button {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 10px;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: #0f172a;
	font-family: inherit;
	font-size: 13px;
	text-align: start;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
#fog-home .fh-menu button:hover {
	background: #e8f3fe;
	color: #0078d4;
}
#fog-home .fh-menu button.on {
	color: #0078d4;
	font-weight: 600;
}

/* ================= Category nav ================= */
#fog-home .fh-catnav {
	display: flex;
	justify-content: center;
	background: #001729;
}
#fog-home .fh-catnav-inner {
	width: 100%;
	max-width: 1220px;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0 24px;
	height: 40px;
	overflow-x: auto;
	white-space: nowrap;
}
#fog-home .fh-catnav-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #cbd5e1;
	text-decoration: none;
	font-size: 13px;
	padding: 8px 10px;
	transition: color 0.2s;
}
#fog-home .fh-catnav-link svg {
	width: 16px;
	height: 16px;
	color: #e2e8f0;
}
#fog-home .fh-catnav-link:hover {
	color: #fff;
}
#fog-home .fh-catnav-link-first {
	color: #ffffff;
	font-weight: 600;
}
#fog-home .fh-catnav-hot {
	color: #ffd166;
	font-weight: 600;
}
#fog-home .fh-sep {
	color: #334155;
	margin-inline: 6px;
}

/* ================= Layout ================= */
#fog-home .fh-main {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

#fog-home .fh-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 14px;
}
#fog-home .fh-section-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	color: #0f172a;
}
#fog-home .fh-viewall {
	color: #0078d4;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
#fog-home .fh-viewall:hover {
	text-decoration: underline;
}

/* ================= Hero ================= */
#fog-home .fh-hero-grid {
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: 12px;
}
#fog-home .fh-hero-item {
	position: relative;
	height: 280px;
	border-radius: 12px;
	overflow: hidden;
	background: #0f172a;
}
#fog-home .fh-hero-item > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#fog-home .fh-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.35) 55%, transparent 100%);
}
#fog-home .fh-hero-content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding-inline-start: 28px;
	padding-inline-end: 28px;
}
#fog-home .fh-hero-box {
	max-width: 420px;
}
#fog-home .fh-hero-title {
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 4px;
}
#fog-home .fh-hero-title-sm {
	font-size: 19px;
}
#fog-home .fh-hero-sub {
	font-size: 14px;
	color: #dbeafe;
	margin: 0 0 16px;
}
#fog-home .fh-hero-label {
	display: inline-block;
	background: rgba(255, 209, 102, 0.18);
	color: #ffd166;
	border: 1px solid rgba(255, 209, 102, 0.5);
	font-size: 11px;
	font-weight: 700;
	border-radius: 5px;
	padding: 1px 8px;
	margin-bottom: 8px;
}
#fog-home .fh-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0078d4;
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 9px 18px;
	cursor: pointer;
	transition: background 0.2s;
}
#fog-home .fh-hero-btn span {
	transition: transform 0.2s;
}
#fog-home .fh-hero-btn:hover {
	background: #005da6;
}
#fog-home .fh-hero-btn:hover span {
	transform: translateX(-3px);
}
#fog-home .fh-hero-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
}
#fog-home .fh-hero-dots span {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
}
#fog-home .fh-hero-dots span.on {
	width: 20px;
	background: #0078d4;
}

/* ================= Popular categories ================= */
#fog-home .fh-cats-track {
	display: flex;
	gap: 34px;
	overflow-x: auto;
	padding-bottom: 4px;
}
#fog-home .fh-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	flex: 0 0 auto;
	width: 74px;
}
#fog-home .fh-cat-ic {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: #f1f5f9;
	border: 1.5px solid transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s, transform 0.2s;
}
#fog-home .fh-cat-ic img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}
#fog-home .fh-cat:hover .fh-cat-ic {
	border-color: #0078d4;
	transform: translateY(-2px);
}
#fog-home .fh-cat-name {
	font-size: 12px;
	color: #334155;
	text-align: center;
	line-height: 1.3;
}

/* ================= Product sections ================= */
#fog-home .fh-prods {
	width: 100%;
}
#fog-home .fh-prod-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}
#fog-home .fh-card {
	background: #fff;
	border: 1px solid #e8eaee;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: box-shadow 0.2s, border-color 0.2s;
}
#fog-home .fh-card:hover {
	box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
	border-color: #d4d8e0;
}
#fog-home .fh-card-media {
	position: relative;
}
#fog-home .fh-card-img {
	background: #f6f7f9;
	border-radius: 8px;
	height: 175px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
#fog-home .fh-card-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
#fog-home .fh-card-btn {
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #0f172a;
	top: 8px;
	transition: color 0.2s, background 0.2s;
}
#fog-home .fh-card-btn svg {
	width: 15px;
	height: 15px;
}
#fog-home .fh-card-btn.heart {
	inset-inline-end: 8px;
}
#fog-home .fh-card-btn.cart {
	inset-inline-start: 8px;
}
#fog-home .fh-card-btn:hover {
	color: #0078d4;
	background: #fff;
}
#fog-home .fh-card-name {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	margin: 4px 0 0;
	min-height: 38px;
}
#fog-home .fh-card-meta {
	font-size: 12px;
	color: #64748b;
	margin: 0;
}
#fog-home .fh-card-part {
	font-size: 11px;
	color: #94a3b8;
	margin: 0;
	direction: ltr;
	text-align: end;
}
#fog-home .fh-card-comp {
	font-size: 12px;
	color: #94a3b8;
	margin: 0;
}
#fog-home .fh-rating {
	display: flex;
	align-items: center;
	gap: 3px;
	direction: rtl;
}
#fog-home .fh-rating svg {
	width: 14px;
	height: 14px;
}
#fog-home .fh-rating svg.on {
	color: #f59e0b;
}
#fog-home .fh-rating svg.off {
	color: #cbd5e1;
}
#fog-home .fh-rating-count {
	font-size: 12px;
	color: #94a3b8;
	margin-inline-start: 2px;
}
#fog-home .fh-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 2px;
}
#fog-home .fh-price-now {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	direction: ltr;
}
#fog-home .fh-price-old {
	font-size: 12px;
	color: #94a3b8;
	text-decoration: line-through;
	direction: ltr;
}

/* ================= Promo banner grid ================= */
#fog-home .fh-promo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
#fog-home .fh-promo-item {
	position: relative;
	height: 200px;
	border-radius: 12px;
	overflow: hidden;
	background: #0f172a;
}
#fog-home .fh-promo-item > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#fog-home .fh-promo-grad1 {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(2, 6, 23, 0.65) 0%, transparent 60%);
}
#fog-home .fh-promo-grad2 {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 6, 23, 0.4) 0%, transparent 70%);
}
#fog-home .fh-promo-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(80px 80px at 80% 15%, rgba(0, 120, 212, 0.55), transparent 70%);
}
#fog-home .fh-promo-content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 18px;
}
#fog-home .fh-promo-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	width: 100%;
}
#fog-home .fh-promo-title {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	max-width: 70%;
}
#fog-home .fh-promo-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: #0f172a;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	cursor: pointer;
	transition: background 0.2s;
}
#fog-home .fh-promo-btn:hover {
	background: #e8f3fe;
}

/* ================= Wide search banner ================= */
#fog-home .fh-wide-box {
	background: #001729;
	border-radius: 16px;
	padding: 22px 28px;
	color: #fff;
}
#fog-home .fh-wide-logos {
	display: flex;
	gap: 34px;
	align-items: center;
	overflow-x: auto;
	padding-bottom: 4px;
	opacity: 0.9;
}
#fog-home .fh-wide-logos .cell {
	flex: 0 0 auto;
	width: 64px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#fog-home .fh-wide-logos img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: grayscale(1) brightness(0) invert(1);
	opacity: 0.95;
}
#fog-home .fh-wide-center {
	max-width: 560px;
	margin: 26px auto 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
#fog-home .fh-wide-title {
	font-size: 26px;
	font-weight: 800;
	margin: 0;
}
#fog-home .fh-wide-sub {
	font-size: 14px;
	color: #94a3b8;
	margin: 0;
}
#fog-home .fh-wide-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 12px;
	min-height: 46px;
	width: 100%;
	max-width: 520px;
	padding-inline-start: 15px;
	padding-inline-end: 6px;
	color: #3b9ef1;
	margin-top: 6px;
}
#fog-home .fh-wide-search svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
#fog-home .fh-wide-search input {
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: #0f172a;
	min-height: 44px;
}
#fog-home .fh-wide-search input::placeholder {
	color: #94a3b8;
}

/* ================= Footer ================= */
#fog-home .fh-footer {
	background: #ffffff;
	border-top: 1px solid #e8eaee;
	margin-top: 20px;
}
#fog-home .fh-footer-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 40px 24px 24px;
}
#fog-home .fh-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
	gap: 32px;
}
#fog-home .fh-footer-brand img {
	width: 50px;
	margin-bottom: 10px;
}
#fog-home .fh-footer-sub {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
}
#fog-home .fh-footer-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}
#fog-home .fh-footer h4 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #0f172a;
}
#fog-home .fh-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
#fog-home .fh-footer li {
	font-size: 13px;
	color: #64748b;
}
#fog-home .fh-footer a {
	color: #64748b;
	text-decoration: none;
	font-size: 13px;
}
#fog-home .fh-footer a:hover {
	color: #0078d4;
}
#fog-home .fh-footer-copy {
	border-top: 1px solid #e8eaee;
	margin-top: 32px;
	padding-top: 18px;
	font-size: 12px;
	color: #94a3b8;
	text-align: center;
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
	#fog-home .fh-hero-grid { grid-template-columns: 1fr; }
	#fog-home .fh-prod-grid { grid-template-columns: repeat(3, 1fr); }
	#fog-home .fh-promo-grid { grid-template-columns: 1fr; }
	#fog-home .fh-hero-item { height: 240px; }
	#fog-home .fh-catnav-inner { padding-inline-start: 16px; }
	#fog-home .fh-footer-grid { grid-template-columns: 1fr 1fr; }
	#fog-home .fh-loc { display: none; }
	#fog-home .fh-header-inner { gap: 12px; padding: 0 16px; }
	#fog-home .fh-main { padding: 16px; gap: 26px; }
}
@media (max-width: 640px) {
	#fog-home .fh-prod-grid { grid-template-columns: repeat(2, 1fr); }
	#fog-home .fh-signin span { display: none; }
	#fog-home .fh-lang, #fog-home .fh-market { display: none; }
	#fog-home .fh-icon-btn { width: 36px; height: 36px; }
	#fog-home .fh-card-img { height: 150px; }
	#fog-home .fh-wide-box { padding: 20px 16px; }
	#fog-home .fh-wide-title { font-size: 20px; }
}
/* ================= Shop / archives / favorites (v2) ================= */
#fog-home .fh-search {
	margin: 0;
}
#fog-home .fh-lang .on {
	color: #0f172a;
	font-weight: 700;
}
#fog-home .fh-catnav-link.on {
	color: #ffffff;
	font-weight: 600;
}
#fog-home .fh-fav-badge {
	background: #0078d4;
}

#fog-home .fh-page-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
}
#fog-home .fh-page-count {
	font-size: 13px;
	color: #64748b;
}

/* ---- Filter chips ---- */
#fog-home .fh-filters {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	border-bottom: 1px solid #e8eaee;
}
#fog-home .fh-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#fog-home .fh-chip:hover {
	background: #e8f3fe;
	color: #0078d4;
}
#fog-home .fh-chip.on {
	background: #0078d4;
	border-color: #0078d4;
	color: #fff;
}
#fog-home .fh-chip-n {
	font-size: 11px;
	opacity: 0.7;
}
#fog-home .fh-chip-sep {
	flex: 0 0 auto;
	width: 1px;
	height: 22px;
	background: #e2e8f0;
	margin-inline: 4px;
}
#fog-home .fh-chip-sale {
	background: #fff7e6;
	color: #b45309;
	font-weight: 600;
}
#fog-home .fh-chip-sale.on {
	background: #f59e0b;
	border-color: #f59e0b;
	color: #fff;
}

/* ---- Empty state ---- */
#fog-home .fh-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 56px 20px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
}
#fog-home .fh-empty-ic {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #e8f3fe;
	color: #0078d4;
	display: flex;
	align-items: center;
	justify-content: center;
}
#fog-home .fh-empty-ic svg {
	width: 26px;
	height: 26px;
}
#fog-home .fh-empty-title {
	font-size: 18px;
	font-weight: 700;
	margin: 6px 0 0;
	color: #0f172a;
}
#fog-home .fh-empty-sub {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 10px;
}
#fog-home .fh-loading {
	grid-column: 1 / -1;
	text-align: center;
	color: #64748b;
	font-size: 14px;
	padding: 30px 0;
}

/* ---- Pagination ---- */
#fog-home .fh-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 8px;
}
#fog-home .fh-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
}
#fog-home .fh-pagination .page-numbers:hover {
	border-color: #0078d4;
	color: #0078d4;
}
#fog-home .fh-pagination .page-numbers.current {
	background: #0078d4;
	border-color: #0078d4;
	color: #fff;
}
#fog-home .fh-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ---- Product card links / interactive states ---- */
#fog-home .fh-card-name a {
	color: inherit;
	text-decoration: none;
}
#fog-home .fh-card-name a:hover {
	color: #0078d4;
}
#fog-home .fh-card-img {
	text-decoration: none;
}
#fog-home .fh-card-btn.on {
	color: #ff4d4f;
	border-color: #ffc9ca;
	background: #fff5f5;
}
#fog-home .fh-card-btn.on svg {
	fill: #ff4d4f;
}
#fog-home .fh-card-btn.loading {
	opacity: 0.6;
	pointer-events: none;
}
#fog-home .fh-card-btn.done {
	color: #16a34a;
	border-color: #bbf7d0;
	background: #f0fdf4;
}

/* ---- Live search dropdown ---- */
#fog-home .fh-search-wrap {
	position: relative;
}
#fog-home .fh-search-results {
	position: absolute;
	top: calc(100% + 6px);
	inset-inline-start: 0;
	inset-inline-end: 0;
	min-width: 320px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(2, 6, 23, 0.14);
	z-index: 60;
	overflow: hidden;
	padding: 6px;
	direction: inherit;
}
#fog-home .fh-sr-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 9px;
	text-decoration: none;
	color: #0f172a;
}
#fog-home .fh-sr-item:hover {
	background: #f1f7fe;
}
#fog-home .fh-sr-img {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #f6f7f9;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
#fog-home .fh-sr-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
#fog-home .fh-sr-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	text-align: start;
}
#fog-home .fh-sr-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
#fog-home .fh-sr-sku {
	font-size: 11px;
	color: #94a3b8;
	direction: ltr;
	text-align: start;
}
#fog-home .fh-sr-price {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	direction: ltr;
}
#fog-home .fh-sr-price s {
	font-size: 11px;
	font-weight: 400;
	color: #94a3b8;
}
#fog-home .fh-sr-empty {
	padding: 14px;
	text-align: center;
	font-size: 13px;
	color: #64748b;
}
#fog-home .fh-sr-all {
	display: block;
	padding: 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: #0078d4;
	text-decoration: none;
	border-top: 1px solid #eef1f5;
	margin-top: 4px;
}
#fog-home .fh-sr-all:hover {
	background: #f1f7fe;
}

/* ---- Brand pills in the wide banner ---- */
#fog-home .fh-wide-logos {
	gap: 10px;
}
#fog-home .fh-wide-logos .brand {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #e2e8f0;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.06);
	filter: none;
	opacity: 1;
	transition: background 0.2s, border-color 0.2s;
}
#fog-home .fh-wide-logos .brand:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.4);
}

/* ---- Toast ---- */
#fog-toast.fh-toast {
	position: fixed;
	bottom: 24px;
	inset-inline-start: 50%;
	transform: translate(50%, 12px);
	background: #0f172a;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 11px 18px;
	border-radius: 10px;
	box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
	z-index: 9999;
}
#fog-toast.fh-toast.show {
	opacity: 1;
	transform: translate(50%, 0);
}

/* ---- English / LTR mode ---- */
.fog-lang-en #fog-home {
	direction: ltr;
}
.fog-lang-en #fog-home .fh-card-part,
.fog-lang-en #fog-home .fh-price,
.fog-lang-en #fog-home .fh-sr-sku,
.fog-lang-en #fog-home .fh-sr-price {
	text-align: start;
}

/* ---- Badge visibility helper ---- */
#fog-home [hidden],
.fog-home-body [hidden] {
	display: none !important;
}

@media (max-width: 640px) {
	#fog-home .fh-search-results {
		min-width: 0;
	}
	#fog-home .fh-page-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
}
