/* O.A.K.E Footer Manager — compact, horizontal and always in document flow. */
#oake-smart-footer {
	--oake-footer-bg: #111827;
	--oake-footer-surface: #1f2937;
	--oake-footer-text: #f9fafb;
	--oake-footer-muted: #cbd5e1;
	--oake-footer-accent: #d4a017;
	--oake-footer-width: 1200px;
	--oake-footer-logo-height: 42px;
	--oake-footer-radius: 12px;

	position: static !important;
	inset: auto !important;
	z-index: auto !important;
	transform: none !important;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	clear: both;
	background: var(--oake-footer-bg);
	color: var(--oake-footer-text);
	font: inherit;
	line-height: 1.45;
	isolation: isolate;
}

#oake-smart-footer,
#oake-smart-footer * {
	box-sizing: border-box;
}

#oake-smart-footer .oake-footer__inner {
	width: min(calc(100% - 2rem), var(--oake-footer-width));
	margin-inline: auto;
	padding: clamp(1rem, 1.8vw, 1.45rem) 0 0.7rem;
}

#oake-smart-footer .oake-footer__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
	gap: clamp(1.1rem, 2.4vw, 2rem);
	align-items: start;
}

#oake-smart-footer.oake-footer--without-logos .oake-footer__layout {
	grid-template-columns: minmax(0, 1fr);
}

#oake-smart-footer .oake-footer__content {
	min-width: 0;
}

#oake-smart-footer .oake-footer__brand {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: clamp(0.75rem, 1.5vw, 1.15rem);
}

#oake-smart-footer .oake-footer__logo {
	display: block;
	width: auto;
	max-width: min(25%, 170px);
	height: auto;
	max-height: 54px;
	margin: 0;
	object-fit: contain;
	object-position: left center;
	flex: 0 0 auto;
}

#oake-smart-footer .oake-footer__brand-copy {
	display: flex;
	min-width: 0;
	align-items: baseline;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.22rem 0.9rem;
}

#oake-smart-footer .oake-footer__title,
#oake-smart-footer .oake-footer__heading,
#oake-smart-footer .oake-footer__platforms-title {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--oake-footer-text);
	font-family: inherit;
	font-style: normal;
	text-transform: none;
}

#oake-smart-footer .oake-footer__title {
	font-size: clamp(1.05rem, 1.45vw, 1.3rem);
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.015em;
	white-space: nowrap;
}

#oake-smart-footer .oake-footer__description,
#oake-smart-footer .oake-footer__ownership,
#oake-smart-footer .oake-footer__bottom p {
	margin: 0;
	padding: 0;
}

#oake-smart-footer .oake-footer__description {
	min-width: min(100%, 250px);
	color: var(--oake-footer-muted);
	font-size: 0.86rem;
	flex: 1 1 320px;
}

#oake-smart-footer .oake-footer__ownership {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--oake-footer-text);
	font-size: 0.76rem;
	font-weight: 650;
	white-space: nowrap;
}

#oake-smart-footer .oake-footer__ownership::before {
	width: 0.38rem;
	height: 0.38rem;
	border-radius: 999px;
	background: var(--oake-footer-accent);
	content: "";
	flex: 0 0 auto;
}

#oake-smart-footer .oake-footer__link-rows {
	display: grid;
	gap: 0.34rem;
	margin-top: 0.72rem;
}

#oake-smart-footer .oake-footer__navigation,
#oake-smart-footer .oake-footer__legal {
	display: flex;
	min-width: 0;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.3rem 0.85rem;
}

#oake-smart-footer .oake-footer__heading,
#oake-smart-footer .oake-footer__platforms-title {
	font-size: 0.68rem;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	flex: 0 0 auto;
}

#oake-smart-footer .oake-footer__menu,
#oake-smart-footer .oake-footer__legal-list,
#oake-smart-footer .oake-footer__platform-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#oake-smart-footer .oake-footer__menu,
#oake-smart-footer .oake-footer__legal-list {
	display: flex;
	min-width: 0;
	align-items: center;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.18rem 0.72rem;
}

#oake-smart-footer .oake-footer__menu li,
#oake-smart-footer .oake-footer__legal-list li {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.72rem;
	margin: 0;
	padding: 0;
}

#oake-smart-footer .oake-footer__menu li + li::before,
#oake-smart-footer .oake-footer__legal-list li + li::before {
	color: var(--oake-footer-muted);
	content: "·";
	opacity: 0.7;
}

#oake-smart-footer a {
	color: var(--oake-footer-muted);
	text-decoration: none;
	text-underline-offset: 0.2em;
}

#oake-smart-footer .oake-footer__menu a,
#oake-smart-footer .oake-footer__legal-list a {
	display: inline-block;
	font-size: 0.79rem;
	line-height: 1.35;
	transition: color 150ms ease;
}

#oake-smart-footer .oake-footer__menu a:hover,
#oake-smart-footer .oake-footer__legal-list a:hover {
	color: var(--oake-footer-text);
	text-decoration: underline;
}

#oake-smart-footer a:focus-visible {
	outline: 3px solid var(--oake-footer-accent);
	outline-offset: 3px;
}

#oake-smart-footer .oake-footer__platforms {
	min-width: 0;
	padding-left: clamp(0.8rem, 1.5vw, 1.25rem);
	border-left: 1px solid color-mix(in srgb, var(--oake-footer-text) 14%, transparent);
}

@supports not (color: color-mix(in srgb, white 10%, transparent)) {
	#oake-smart-footer .oake-footer__platforms {
		border-left-color: rgba(255, 255, 255, 0.14);
	}
}

#oake-smart-footer .oake-footer__platforms-title {
	margin-bottom: 0.45rem;
}

#oake-smart-footer .oake-footer__platform-list {
	display: flex;
	gap: 0.55rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 0 0.28rem;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--oake-footer-muted) transparent;
	scrollbar-width: thin;
}

#oake-smart-footer .oake-footer__platform-card {
	min-width: 0;
	margin: 0;
	padding: 0.55rem;
	border: 1px solid color-mix(in srgb, var(--oake-footer-text) 12%, transparent);
	border-radius: var(--oake-footer-radius);
	background: var(--oake-footer-surface);
	flex: 0 0 100%;
	scroll-snap-align: start;
}

@supports not (color: color-mix(in srgb, white 10%, transparent)) {
	#oake-smart-footer .oake-footer__platform-card {
		border-color: rgba(255, 255, 255, 0.12);
	}
}

#oake-smart-footer .oake-footer__platform-identity {
	display: flex;
	min-width: 0;
	min-height: var(--oake-footer-logo-height);
	align-items: center;
	gap: 0.55rem;
	color: var(--oake-footer-text);
}

#oake-smart-footer a.oake-footer__platform-identity:hover span {
	text-decoration: underline;
}

#oake-smart-footer .oake-footer__platform-logo {
	display: block;
	width: auto;
	max-width: 48%;
	height: auto;
	max-height: var(--oake-footer-logo-height);
	margin: 0;
	object-fit: contain;
	flex: 0 1 auto;
}

#oake-smart-footer .oake-footer__platform-identity > span {
	min-width: 0;
	overflow: hidden;
	color: var(--oake-footer-text);
	font-size: 0.79rem;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
}

#oake-smart-footer .oake-footer__stores {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.38rem;
	margin-top: 0.45rem;
}

#oake-smart-footer .oake-store-badge {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 34px;
	align-items: center;
	gap: 0.3rem;
	padding: 0.27rem 0.34rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	background: #080b0f;
	color: #fff;
	line-height: 1;
	overflow: visible;
	transition: border-color 150ms ease, transform 150ms ease;
}

#oake-smart-footer a.oake-store-badge:hover {
	border-color: var(--oake-footer-accent);
	color: #fff;
	transform: translateY(-1px);
}

#oake-smart-footer .oake-store-badge__icon {
	display: block;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
}

#oake-smart-footer .oake-store-badge__copy {
	display: block;
	min-width: 0;
}

#oake-smart-footer .oake-store-badge__copy small,
#oake-smart-footer .oake-store-badge__copy strong {
	display: block;
	overflow: hidden;
	color: inherit;
	font-family: inherit;
	line-height: 1.05;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#oake-smart-footer .oake-store-badge__copy small {
	margin-bottom: 2px;
	font-size: 0.45rem;
	font-weight: 500;
	opacity: 0.76;
}

#oake-smart-footer .oake-store-badge__copy strong {
	font-size: 0.61rem;
	font-weight: 700;
}

#oake-smart-footer .oake-store-badge--coming-soon {
	border-color: #7b8189;
	background: #6a7078;
	filter: grayscale(1);
	opacity: 0.58;
	cursor: default;
}

#oake-smart-footer .oake-store-badge__soon {
	position: absolute;
	top: -6px;
	right: -4px;
	padding: 2px 4px;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 999px;
	background: #4b5057;
	color: #fff;
	font-size: 0.43rem;
	font-weight: 750;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
}

#oake-smart-footer .oake-footer__bottom {
	margin-top: 0.68rem;
	padding-top: 0.5rem;
	border-top: 1px solid color-mix(in srgb, var(--oake-footer-text) 12%, transparent);
	color: var(--oake-footer-muted);
	font-size: 0.7rem;
	line-height: 1.35;
}

@supports not (color: color-mix(in srgb, white 10%, transparent)) {
	#oake-smart-footer .oake-footer__bottom {
		border-top-color: rgba(255, 255, 255, 0.12);
	}
}

@media (max-width: 767px) {
	#oake-smart-footer.oake-footer--hide-mobile {
		display: none !important;
	}

	#oake-smart-footer .oake-footer__inner {
		width: min(calc(100% - 1.25rem), var(--oake-footer-width));
		padding-top: 0.9rem;
	}

	#oake-smart-footer .oake-footer__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.8rem;
	}

	#oake-smart-footer .oake-footer__brand {
		align-items: flex-start;
	}

	#oake-smart-footer .oake-footer__logo {
		max-width: 92px;
		max-height: 46px;
	}

	#oake-smart-footer .oake-footer__platforms {
		padding: 0.7rem 0 0;
		border-top: 1px solid color-mix(in srgb, var(--oake-footer-text) 14%, transparent);
		border-left: 0;
	}

	#oake-smart-footer .oake-footer__platform-card {
		flex-basis: min(270px, 88vw);
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	#oake-smart-footer.oake-footer--hide-tablet {
		display: none !important;
	}

	#oake-smart-footer .oake-footer__layout {
		grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr);
	}
}

@media (min-width: 1024px) {
	#oake-smart-footer.oake-footer--hide-desktop {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#oake-smart-footer a {
		transition: none;
	}
}

@media print {
	#oake-smart-footer {
		--oake-footer-bg: transparent;
		--oake-footer-surface: transparent;
		--oake-footer-text: #000;
		--oake-footer-muted: #333;
		background: transparent;
		color: #000;
	}

	#oake-smart-footer .oake-footer__platforms {
		display: none;
	}
}
