/**
 * KH Max Platform — Public Styles
 * Mobile-first, premium SaaS design with deep blue palette.
 */

:root {
	--khmax-bg-deep: #0a0e1a;
	--khmax-bg-card: rgba(15, 23, 42, 0.72);
	--khmax-bg-glass: rgba(255, 255, 255, 0.04);
	--khmax-primary: #0066ff;
	--khmax-accent: #00b4ff;
	--khmax-neon: #00f0ff;
	--khmax-text: #e2e8f0;
	--khmax-text-muted: #94a3b8;
	--khmax-border: rgba(255, 255, 255, 0.08);
	--khmax-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
	--khmax-radius: 12px;
	--khmax-radius-lg: 20px;
	--khmax-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--khmax-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--khmax-header-h: 64px;
	--khmax-space-xs: 0.5rem;
	--khmax-space-sm: 0.75rem;
	--khmax-space-md: 1rem;
	--khmax-space-lg: 1.5rem;
	--khmax-space-xl: 2rem;
	--khmax-space-2xl: 3rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.khmax-body {
	font-family: var(--khmax-font);
	background: var(--khmax-bg-deep);
	color: var(--khmax-text);
	line-height: 1.6;
	min-height: 100vh;
	overflow-x: hidden;
}

body.khmax-body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.15), transparent),
		radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 180, 255, 0.08), transparent);
	pointer-events: none;
	z-index: 0;
}

.khmax-app {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header */
.khmax-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 14, 26, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--khmax-border);
}

.khmax-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--khmax-space-md);
	height: var(--khmax-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--khmax-space-md);
}

.khmax-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--khmax-text);
	transition: opacity var(--khmax-transition), transform 0.2s ease;
}

.khmax-header__brand:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

/* Premium brand logo */
.khmax-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}
.khmax-brand__mark {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.35));
}
.khmax-brand--compact .khmax-brand__mark {
	width: 30px;
	height: 30px;
}
.khmax-brand__text {
	display: inline-flex;
	align-items: baseline;
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}
.khmax-brand--compact .khmax-brand__text {
	font-size: 0.9375rem;
}
.khmax-brand__kh {
	background: linear-gradient(135deg, #ffffff 0%, #a5d8ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.khmax-brand__max {
	background: linear-gradient(135deg, #0066ff 0%, #00e5ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.35));
}

.khmax-header__nav {
	display: none;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	white-space: nowrap;
	gap: var(--khmax-space-xs);
	min-width: 0;
}

.khmax-header__link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
	padding: var(--khmax-space-xs) var(--khmax-space-md);
	color: var(--khmax-text-muted);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 8px;
	transition: color var(--khmax-transition), background var(--khmax-transition);
}

.khmax-header__link:hover,
.khmax-header__link.is-active {
	color: var(--khmax-accent);
	background: var(--khmax-bg-glass);
}

.khmax-header__actions {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.5rem;
}

/* Faz 11 Op3 — compact header wallet pill */
.khmax-wallet-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	color: #d6ecff;
	background: rgba(0, 102, 255, 0.14);
	border: 1px solid rgba(0, 180, 255, 0.32);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 2px 12px rgba(0, 102, 255, 0.12);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.khmax-wallet-pill:hover {
	color: #fff;
	background: rgba(0, 120, 255, 0.26);
	border-color: rgba(0, 200, 255, 0.5);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(0, 102, 255, 0.28);
}

.khmax-wallet-pill__icon {
	flex-shrink: 0;
	color: #4dc3ff;
	opacity: 0.95;
}

.khmax-wallet-pill__balance {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.khmax-wallet-pill__sep {
	opacity: 0.45;
	font-weight: 400;
}

.khmax-wallet-pill__tl {
	color: #e8f4ff;
}

.khmax-wallet-pill__coin {
	color: #7dd3fc;
}

.khmax-header__side-toggle,
.khmax-header__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	width: 44px;
	height: 44px;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: 10px;
	cursor: pointer;
	padding: 0;
	transition: border-color var(--khmax-transition), background 0.2s ease;
}

.khmax-header__toggle-icon {
	width: 22px;
	height: 22px;
}

.khmax-burger-line {
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
	transform-origin: center;
}

.khmax-header__toggle.is-open .khmax-burger-line--top,
.khmax-header__side-toggle.is-open .khmax-burger-line--top {
	transform: translateY(5px) rotate(45deg);
}

.khmax-header__toggle.is-open .khmax-burger-line--mid,
.khmax-header__side-toggle.is-open .khmax-burger-line--mid {
	opacity: 0;
	transform: scaleX(0);
}

.khmax-header__toggle.is-open .khmax-burger-line--bot,
.khmax-header__side-toggle.is-open .khmax-burger-line--bot {
	transform: translateY(-5px) rotate(-45deg);
}

.khmax-header__nav.is-open {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: var(--khmax-header-h);
	left: 0;
	right: 0;
	background: rgba(10, 14, 26, 0.95);
	backdrop-filter: blur(16px);
	padding: var(--khmax-space-md);
	border-bottom: 1px solid var(--khmax-border);
}

/* Main */
.khmax-main {
	flex: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--khmax-space-lg) var(--khmax-space-md);
}

/* Hero */
.khmax-hero {
	position: relative;
	text-align: center;
	padding: var(--khmax-space-2xl) 0;
}

.khmax-hero__glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(0, 180, 255, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.khmax-hero__content {
	position: relative;
}

.khmax-hero__badge {
	display: inline-block;
	padding: 0.375rem 1rem;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--khmax-accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--khmax-space-lg);
}

.khmax-hero__title {
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 800;
	line-height: 1.15;
	background: linear-gradient(135deg, #fff 0%, var(--khmax-accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: var(--khmax-space-md);
}

.khmax-hero__desc {
	font-size: 1.0625rem;
	color: var(--khmax-text-muted);
	max-width: 560px;
	margin: 0 auto var(--khmax-space-xl);
}

.khmax-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--khmax-space-md);
	justify-content: center;
}

/* Buttons */
.khmax-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0.75rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--khmax-radius);
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: transform var(--khmax-transition), box-shadow var(--khmax-transition), background var(--khmax-transition);
}

.khmax-btn--primary {
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	color: #fff;
	box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
}

.khmax-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(0, 180, 255, 0.45);
}

.khmax-btn--ghost {
	background: var(--khmax-bg-glass);
	color: var(--khmax-text);
	border: 1px solid var(--khmax-border);
}

.khmax-btn--ghost:hover {
	border-color: var(--khmax-accent);
	color: var(--khmax-accent);
}

/* Features */
.khmax-features {
	padding: var(--khmax-space-xl) 0;
}

.khmax-features__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
}

.khmax-feature-card {
	background: var(--khmax-bg-card);
	backdrop-filter: blur(12px);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
	transition: transform var(--khmax-transition), border-color var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-feature-card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 180, 255, 0.3);
	box-shadow: var(--khmax-shadow);
}

.khmax-feature-card__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 102, 255, 0.15);
	border-radius: 12px;
	margin-bottom: var(--khmax-space-md);
	color: var(--khmax-primary);
}

.khmax-feature-card__icon svg {
	width: 24px;
	height: 24px;
}

.khmax-feature-card__icon--accent {
	background: rgba(0, 180, 255, 0.15);
	color: var(--khmax-accent);
}

.khmax-feature-card__icon--neon {
	background: rgba(0, 240, 255, 0.1);
	color: var(--khmax-neon);
}

.khmax-feature-card h3 {
	font-size: 1.125rem;
	margin-bottom: var(--khmax-space-xs);
}

.khmax-feature-card p {
	font-size: 0.9375rem;
	color: var(--khmax-text-muted);
}

/* CTA */
.khmax-cta {
	padding: var(--khmax-space-2xl) 0;
}

.khmax-cta__inner {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
	text-align: center;
}

.khmax-cta__inner h2 {
	font-size: 1.5rem;
	margin-bottom: var(--khmax-space-sm);
}

.khmax-cta__inner p {
	color: var(--khmax-text-muted);
}

/* Page */
.khmax-page {
	padding: var(--khmax-space-lg) 0;
}

.khmax-page__header {
	margin-bottom: var(--khmax-space-xl);
}

.khmax-page__header h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	margin-bottom: var(--khmax-space-sm);
}

.khmax-page__header p {
	color: var(--khmax-text-muted);
}

.khmax-page--404 {
	text-align: center;
	padding: var(--khmax-space-2xl) 0;
}

.khmax-page--404 h1 {
	font-size: 5rem;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-neon));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Info grid */
.khmax-info-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
}

.khmax-info-card {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	padding: var(--khmax-space-lg);
	transition: border-color var(--khmax-transition);
}

.khmax-info-card:hover {
	border-color: rgba(0, 180, 255, 0.25);
}

.khmax-info-card h3 {
	font-size: 1rem;
	margin-bottom: var(--khmax-space-xs);
	color: var(--khmax-accent);
}

.khmax-info-card p {
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

/* Placeholder */
.khmax-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--khmax-space-md);
	padding: var(--khmax-space-2xl);
	background: var(--khmax-bg-card);
	border: 1px dashed var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	color: var(--khmax-text-muted);
}

.khmax-placeholder svg {
	width: 48px;
	height: 48px;
	opacity: 0.5;
}

/* Contact form */
.khmax-contact-card {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
	max-width: 560px;
}

.khmax-form__group {
	margin-bottom: var(--khmax-space-lg);
}

.khmax-form__group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: var(--khmax-space-xs);
	color: var(--khmax-text-muted);
}

.khmax-form__group input,
.khmax-form__group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--khmax-border);
	border-radius: 8px;
	color: var(--khmax-text);
	font-family: inherit;
	font-size: 0.9375rem;
	transition: border-color var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-form__group input:focus,
.khmax-form__group textarea:focus {
	outline: none;
	border-color: var(--khmax-accent);
	box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.15);
}

.khmax-form__group textarea {
	resize: vertical;
	min-height: 120px;
}

/* Footer */
.khmax-footer {
	border-top: 1px solid var(--khmax-border);
	padding: var(--khmax-space-lg) var(--khmax-space-md);
	margin-top: auto;
}

.khmax-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--khmax-space-sm);
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-footer__version {
	opacity: 0.6;
}

/* Tablet+ */
@media (min-width: 768px) {
	.khmax-header__nav {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}

	.khmax-header__link {
		padding: var(--khmax-space-xs) 0.625rem;
		font-size: 0.8125rem;
	}

	.khmax-header__toggle {
		display: none;
	}

	.khmax-features__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.khmax-info-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.khmax-main {
		padding: var(--khmax-space-2xl) var(--khmax-space-xl);
	}
}

/* Faz 2 — Sections & Grids */
.khmax-section {
	padding: var(--khmax-space-xl) 0;
}

.khmax-section__header {
	margin-bottom: var(--khmax-space-lg);
}

.khmax-section__header h2,
.khmax-section__title {
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: var(--khmax-space-xs);
}

.khmax-section__header p {
	color: var(--khmax-text-muted);
	font-size: 0.9375rem;
}

.khmax-page__header--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--khmax-space-md);
}

.khmax-feed-grid,
.khmax-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
}

.khmax-feed-card,
.khmax-product-card,
.khmax-ad-card {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	transition: transform var(--khmax-transition), border-color var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-feed-card:hover,
.khmax-product-card:hover,
.khmax-ad-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 180, 255, 0.25);
	box-shadow: var(--khmax-shadow);
}

.khmax-feed-card__thumb img,
.khmax-product-card__thumb img,
.khmax-ad-card__img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.khmax-feed-card__body,
.khmax-product-card__body,
.khmax-ad-card__body {
	padding: var(--khmax-space-lg);
}

.khmax-feed-card__source {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--khmax-accent);
	font-weight: 600;
}

.khmax-feed-card__title {
	font-size: 1rem;
	margin: var(--khmax-space-xs) 0;
}

.khmax-feed-card__title a {
	color: var(--khmax-text);
	text-decoration: none;
}

.khmax-feed-card__title a:hover {
	color: var(--khmax-accent);
}

.khmax-feed-card__excerpt {
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
	margin-bottom: var(--khmax-space-sm);
}

.khmax-feed-card__tags,
.khmax-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.khmax-tag {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	font-size: 0.6875rem;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: 100px;
	color: var(--khmax-text-muted);
}

.khmax-tag--lg {
	padding: 0.375rem 0.75rem;
	font-size: 0.8125rem;
}

.khmax-tag em {
	font-style: normal;
	opacity: 0.6;
}

.khmax-product-card__title {
	font-size: 1rem;
	margin: var(--khmax-space-sm) 0;
}

.khmax-product-card__title a {
	color: var(--khmax-text);
	text-decoration: none;
}

.khmax-product-card__price,
.khmax-detail__price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--khmax-accent);
	margin: var(--khmax-space-sm) 0;
}

.khmax-btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.8125rem;
}

.khmax-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	margin-left: 4px;
	background: var(--khmax-accent);
	color: #0a0e1a;
	font-size: 0.6875rem;
	font-weight: 700;
	border-radius: 100px;
}

.khmax-header__cart {
	display: inline-flex;
	align-items: center;
}

/* Stars */
.khmax-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: var(--khmax-space-xs) 0;
}

.khmax-stars__star {
	background: none;
	border: none;
	padding: 0;
	cursor: default;
	color: var(--khmax-border);
	width: 18px;
	height: 18px;
}

.khmax-stars--interactive .khmax-stars__star {
	cursor: pointer;
}

.khmax-stars__star.is-filled {
	color: #fbbf24;
}

.khmax-stars__star svg {
	width: 18px;
	height: 18px;
}

.khmax-stars__count {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
	margin-left: 0.375rem;
}

/* Detail pages */
.khmax-detail__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-xl);
}

.khmax-detail__media img {
	width: 100%;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
}

.khmax-detail__info h1 {
	font-size: clamp(1.5rem, 4vw, 2rem);
	margin: var(--khmax-space-sm) 0;
}

.khmax-detail__content {
	color: var(--khmax-text-muted);
	margin: var(--khmax-space-lg) 0;
}

.khmax-detail__stats {
	display: flex;
	gap: var(--khmax-space-md);
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
	margin-bottom: var(--khmax-space-md);
}

.khmax-detail__info .khmax-btn {
	margin-right: var(--khmax-space-sm);
	margin-top: var(--khmax-space-sm);
}

/* Cart */
.khmax-cart {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-xl);
}

.khmax-cart-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--khmax-space-md);
	padding: var(--khmax-space-md);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	margin-bottom: var(--khmax-space-sm);
}

.khmax-cart-item__info h3 {
	font-size: 0.9375rem;
	margin-bottom: 0.25rem;
}

.khmax-cart-item__info span {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-cart__summary {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
}

.khmax-cart__total {
	font-size: 1.125rem;
	margin-bottom: var(--khmax-space-lg);
}

.khmax-btn--danger {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Ads */
.khmax-ads {
	margin: var(--khmax-space-md) 0;
}

.khmax-ad-card--vip {
	border: 1px solid rgba(0, 240, 255, 0.3);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 240, 255, 0.04));
}

.khmax-ad-card__link {
	display: inline-block;
	margin-top: var(--khmax-space-sm);
	font-size: 0.8125rem;
	color: var(--khmax-accent);
	text-decoration: none;
	font-weight: 600;
}

.khmax-ad-card__link:hover {
	text-decoration: underline;
}

.khmax-badge--vip {
	background: rgba(0, 240, 255, 0.12);
	color: var(--khmax-neon);
}

/* Tags page */
.khmax-tags-cloud {
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-xl);
}

.khmax-tags-group h3 {
	font-size: 1rem;
	margin-bottom: var(--khmax-space-md);
	color: var(--khmax-accent);
}

@media (min-width: 640px) {
	.khmax-feed-grid,
	.khmax-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.khmax-detail__grid {
		grid-template-columns: 1fr 1fr;
	}

	.khmax-cart {
		grid-template-columns: 1.5fr 1fr;
	}
}

@media (min-width: 1024px) {
	.khmax-feed-grid,
	.khmax-product-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Faz 3 — Auth, Profile, Wallet, Stories, Messages, Support */
.khmax-auth__card {
	max-width: 420px;
	margin: 0 auto;
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
}

.khmax-auth__card h1 {
	font-size: 1.5rem;
	margin-bottom: var(--khmax-space-xs);
}

.khmax-auth__footer {
	margin-top: var(--khmax-space-lg);
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
	text-align: center;
}

.khmax-auth__footer a {
	color: var(--khmax-accent);
}

.khmax-profile-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
}

.khmax-profile-card {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
}

.khmax-profile-card--wide {
	grid-column: 1 / -1;
}

.khmax-profile-list {
	list-style: none;
}

.khmax-profile-list li {
	display: flex;
	justify-content: space-between;
	padding: var(--khmax-space-sm) 0;
	border-bottom: 1px solid var(--khmax-border);
	font-size: 0.875rem;
}

.khmax-profile-list span {
	color: var(--khmax-text-muted);
}

.khmax-wallet-stats,
.khmax-wallet-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--khmax-space-md);
}

.khmax-wallet-stat,
.khmax-wallet-card {
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	padding: var(--khmax-space-lg);
	text-align: center;
}

.khmax-wallet-stat strong,
.khmax-wallet-card strong {
	display: block;
	font-size: 1.75rem;
	color: var(--khmax-accent);
	margin-top: var(--khmax-space-xs);
}

.khmax-wallet-card--coins strong {
	color: var(--khmax-neon);
}

.khmax-panel-inline {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
	margin-top: var(--khmax-space-lg);
}

.khmax-form--inline {
	display: flex;
	gap: var(--khmax-space-sm);
	flex-wrap: wrap;
	align-items: center;
}

.khmax-wallet-log,
.khmax-ticket-list,
.khmax-earn-list {
	list-style: none;
}

.khmax-wallet-log li,
.khmax-ticket-list li {
	display: flex;
	flex-wrap: wrap;
	gap: var(--khmax-space-sm);
	align-items: center;
	padding: var(--khmax-space-sm) 0;
	border-bottom: 1px solid var(--khmax-border);
	font-size: 0.875rem;
}

.khmax-wallet-log em,
.khmax-ticket-list em {
	color: var(--khmax-text-muted);
	font-style: normal;
	margin-left: auto;
}

/* Stories */
.khmax-stories__track {
	display: flex;
	gap: var(--khmax-space-md);
	overflow-x: auto;
	padding: var(--khmax-space-sm) 0;
	scrollbar-width: none;
}

.khmax-stories__track::-webkit-scrollbar {
	display: none;
}

.khmax-stories__item {
	flex: 0 0 auto;
	background: none;
	border: none;
	cursor: pointer;
	text-align: center;
	width: 72px;
	padding: 0;
}

.khmax-stories__ring {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-neon));
	margin: 0 auto var(--khmax-space-xs);
}

.khmax-stories__ring img,
.khmax-stories__placeholder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--khmax-bg-deep);
	color: var(--khmax-accent);
	font-weight: 700;
}

.khmax-stories__label {
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.khmax-story-viewer,
.khmax-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.khmax-story-viewer[hidden],
.khmax-modal[hidden] {
	display: none;
}

.khmax-story-viewer__backdrop,
.khmax-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
}

.khmax-story-viewer__content,
.khmax-modal__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	max-width: 420px;
	width: calc(100% - 2rem);
	padding: var(--khmax-space-xl);
}

.khmax-story-viewer__content {
	max-width: 360px;
	padding: 0;
	overflow: hidden;
}

.khmax-story-viewer__img {
	width: 100%;
	max-height: 60vh;
	object-fit: cover;
	display: block;
}

.khmax-story-viewer__footer {
	padding: var(--khmax-space-lg);
}

.khmax-story-viewer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--khmax-space-sm);
	margin-top: var(--khmax-space-sm);
}

.khmax-story-viewer__close,
.khmax-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	background: none;
	border: none;
	color: var(--khmax-text);
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 1;
}

/* Messages */
.khmax-messages {
	margin-top: var(--khmax-space-xl);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-xl);
}

.khmax-messages__hint {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-messages__hint a {
	color: var(--khmax-accent);
}

.khmax-message-item {
	display: flex;
	gap: 0.65rem;
	padding: var(--khmax-space-md);
	background: var(--khmax-bg-glass);
	border-radius: var(--khmax-radius);
	margin-bottom: var(--khmax-space-sm);
}
.khmax-message-item.is-pending { opacity: 0.85; }
.khmax-message-item--own .khmax-message-item__body { border-left: 3px solid var(--khmax-accent); padding-left: 0.65rem; }
.khmax-message-item__avatar {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--khmax-accent), #00b4ff);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.875rem;
}
.khmax-message-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
.khmax-message-item__body { flex: 1; min-width: 0; }
.khmax-message-item__body header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
}
.khmax-message-item__body strong { font-size: 0.875rem; }
.khmax-message-item__body time { font-size: 0.6875rem; color: var(--khmax-text-muted); }
.khmax-message-item__content { font-size: 0.875rem; color: var(--khmax-text-muted); line-height: 1.5; }

.khmax-messages__form {
	margin-top: var(--khmax-space-md);
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-sm);
}

.khmax-badge--success {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
}

@media (min-width: 768px) {
	.khmax-profile-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Faz 4 — UI enhancements */

body.khmax-has-bottom-nav {
	padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.khmax-bottom-nav {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background: rgba(10, 14, 26, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid var(--khmax-border);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 768px) {
	.khmax-bottom-nav {
		display: none;
	}

	body.khmax-has-bottom-nav {
		padding-bottom: 0;
	}
}

.khmax-bottom-nav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 0.5rem 0.25rem;
	color: var(--khmax-text-muted);
	text-decoration: none;
	font-size: 0.6875rem;
	transition: color var(--khmax-transition), transform var(--khmax-transition);
}

.khmax-bottom-nav__item.is-active {
	color: var(--khmax-accent);
}

.khmax-bottom-nav__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.khmax-bottom-nav__item.is-active .khmax-bottom-nav__icon {
	transform: translateY(-2px);
}

/* Preloader */
.khmax-preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--khmax-bg-deep);
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.khmax-preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.khmax-preloader__inner {
	text-align: center;
}

.khmax-preloader__logo {
	width: 56px;
	height: 56px;
	animation: khmax-pulse 1.5s ease-in-out infinite;
}

.khmax-preloader__bar {
	width: 120px;
	height: 3px;
	background: var(--khmax-border);
	border-radius: 3px;
	margin-top: 1rem;
	overflow: hidden;
}

.khmax-preloader__bar span {
	display: block;
	height: 100%;
	width: 40%;
	background: linear-gradient(90deg, var(--khmax-primary), var(--khmax-accent));
	border-radius: 3px;
	animation: khmax-preloader-bar 1.2s ease-in-out infinite;
}

@keyframes khmax-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes khmax-preloader-bar {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(350%); }
}

/* Skeleton loader */
.khmax-main--skeleton {
	position: relative;
	min-height: 40vh;
}

.khmax-main--skeleton::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.03) 0%,
		rgba(255, 255, 255, 0.08) 50%,
		rgba(255, 255, 255, 0.03) 100%
	);
	background-size: 200% 100%;
	animation: khmax-skeleton 1.2s ease-in-out infinite;
	border-radius: var(--khmax-radius);
	pointer-events: none;
	z-index: 5;
}

@keyframes khmax-skeleton {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Page transitions */
.khmax-main {
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.khmax-main--exit {
	opacity: 0;
	transform: translateY(8px);
}

body.khmax-transitions .khmax-header__nav a,
body.khmax-transitions .khmax-btn,
body.khmax-transitions .khmax-card,
body.khmax-transitions .khmax-bottom-nav__item {
	transition: color var(--khmax-transition), background var(--khmax-transition), transform var(--khmax-transition), box-shadow var(--khmax-transition), border-color var(--khmax-transition);
}

body.khmax-transitions .khmax-btn:hover,
body.khmax-transitions .khmax-card:hover {
	transform: translateY(-2px);
}

body.khmax-transitions .khmax-header__nav a:hover {
	color: var(--khmax-accent);
}

/* KH AI chat widget */
.khmax-ai {
	/* Panel kendi fixed konumunu kullanır; wrapper sadece markup kökü. */
}

.khmax-action-dock__btn--ai.is-active {
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.35), 0 12px 36px rgba(79, 70, 229, 0.5);
}

.khmax-ai__toggle {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: none;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	color: #fff;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-ai__toggle svg {
	width: 26px;
	height: 26px;
}

.khmax-ai__toggle:hover {
	transform: scale(1.06);
	box-shadow: 0 12px 32px rgba(0, 102, 255, 0.5);
}

.khmax-ai__pulse {
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--khmax-accent);
	opacity: 0;
	animation: khmax-ai-pulse 2.5s ease-out infinite;
	pointer-events: none;
}

@keyframes khmax-ai-pulse {
	0% { transform: scale(1); opacity: 0.6; }
	100% { transform: scale(1.4); opacity: 0; }
}

.khmax-ai__panel {
	position: fixed;
	right: 1rem;
	bottom: calc(var(--khmax-bottom-nav-h, 72px) + 5.5rem + env(safe-area-inset-bottom, 0px));
	width: min(360px, calc(100vw - 2rem));
	max-height: min(480px, 70vh);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
	display: none;
	flex-direction: column;
	overflow: hidden;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 9992;
	opacity: 0;
	transform: translateY(16px) scale(0.96);
	pointer-events: none;
	transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
	.khmax-ai__panel {
		bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
	}
}

.khmax-ai__panel.is-open {
	display: flex;
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.khmax-ai__panel[hidden] {
	display: none !important;
}

.khmax-ai__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--khmax-space-md) var(--khmax-space-lg);
	border-bottom: 1px solid var(--khmax-border);
	background: rgba(0, 102, 255, 0.08);
}

.khmax-ai__header strong {
	display: block;
	font-size: 0.9375rem;
}

.khmax-ai__header span {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-ai__close {
	background: rgba(255, 255, 255, 0.06);
	border: none;
	color: var(--khmax-text-muted);
	font-size: 1.25rem;
	cursor: pointer;
	line-height: 1;
	padding: 0.35rem 0.5rem;
	border-radius: var(--khmax-radius);
	min-width: 36px;
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.khmax-ai__close:hover {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

.khmax-ai__messages {
	flex: 1;
	max-height: 320px;
	overflow-y: auto;
	padding: var(--khmax-space-md);
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-sm);
}

.khmax-ai__msg {
	max-width: 85%;
	padding: 0.625rem 0.875rem;
	border-radius: var(--khmax-radius);
	font-size: 0.875rem;
	line-height: 1.5;
}

.khmax-ai__msg--bot {
	align-self: flex-start;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
}

.khmax-ai__msg--user {
	align-self: flex-end;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	color: #fff;
}

.khmax-ai__msg--typing {
	opacity: 0.6;
}

.khmax-ai__form {
	display: flex;
	gap: var(--khmax-space-xs);
	padding: var(--khmax-space-md);
	border-top: 1px solid var(--khmax-border);
}

.khmax-ai__form input {
	flex: 1;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	padding: 0.625rem 0.875rem;
	color: var(--khmax-text);
	font-size: 0.875rem;
	outline: none;
}

.khmax-ai__form input:focus {
	border-color: var(--khmax-accent);
}

.khmax-ai__send {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: var(--khmax-radius);
	background: var(--khmax-primary);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background var(--khmax-transition);
}

.khmax-ai__send svg {
	width: 18px;
	height: 18px;
}

.khmax-ai__send:hover {
	background: var(--khmax-accent);
}

/* Phase-Fix — Blog grid, profile dashboard, contact, toast */

.khmax-hero--compact {
	padding: var(--khmax-space-xl) var(--khmax-space-lg);
	min-height: auto;
}

.khmax-hero--compact .khmax-hero__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.khmax-blog-section {
	margin-top: var(--khmax-space-xl);
}

.khmax-blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
}

@media (min-width: 640px) {
	.khmax-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.khmax-blog-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.khmax-blog-card {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--khmax-shadow);
	transition: transform var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.khmax-blog-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--khmax-bg-glass);
}

.khmax-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.khmax-blog-card__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--khmax-text-muted);
}

.khmax-blog-card__media--placeholder svg {
	width: 48px;
	height: 48px;
	opacity: 0.5;
}

.khmax-blog-card__body {
	padding: var(--khmax-space-lg);
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: var(--khmax-space-sm);
}

.khmax-blog-card__meta {
	display: flex;
	justify-content: space-between;
	gap: var(--khmax-space-sm);
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-blog-card__source {
	color: var(--khmax-accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.khmax-blog-card__title {
	font-size: 1.0625rem;
	line-height: 1.4;
}

.khmax-blog-card__title a {
	color: var(--khmax-text);
	text-decoration: none;
}

.khmax-blog-card__title a:hover {
	color: var(--khmax-accent);
}

.khmax-blog-card__excerpt {
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
	flex: 1;
}

.khmax-blog-card .khmax-btn svg {
	width: 16px;
	height: 16px;
	margin-left: 0.35rem;
}

.khmax-empty-state {
	padding: var(--khmax-space-2xl);
	text-align: center;
	color: var(--khmax-text-muted);
	background: var(--khmax-bg-card);
	border-radius: var(--khmax-radius-lg);
	border: 1px dashed var(--khmax-border);
}

/* MAX Profile dashboard */
.khmax-profile-dashboard .khmax-page__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--khmax-space-lg);
	flex-wrap: wrap;
}

.khmax-profile-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--khmax-space-md);
	margin-bottom: var(--khmax-space-xl);
}

@media (min-width: 768px) {
	.khmax-profile-stats {
		grid-template-columns: repeat(4, 1fr);
	}
}

.khmax-profile-stat {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-lg);
}

.khmax-profile-stat span {
	display: block;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	margin-bottom: var(--khmax-space-xs);
}

.khmax-profile-stat strong {
	font-size: 1.5rem;
	color: var(--khmax-accent);
}

.khmax-profile-dashboard__grid {
	display: grid;
	gap: var(--khmax-space-lg);
}

@media (min-width: 768px) {
	.khmax-profile-dashboard__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.khmax-profile-card--wide {
	grid-column: 1 / -1;
}

.khmax-order-list,
.khmax-ad-stats-list,
.khmax-wallet-log {
	list-style: none;
}

.khmax-order-list li,
.khmax-ad-stats-list li,
.khmax-wallet-log li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--khmax-space-md);
	padding: var(--khmax-space-sm) 0;
	border-bottom: 1px solid var(--khmax-border);
	font-size: 0.875rem;
}

.khmax-order-list li div,
.khmax-ad-stats-list li {
	flex-direction: column;
	align-items: flex-start;
}

.khmax-order-list li span,
.khmax-ad-stats-list li span {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-muted {
	color: var(--khmax-text-muted);
	font-size: 0.875rem;
	margin-bottom: var(--khmax-space-md);
}

/* Contact — floating labels */
.khmax-contact-layout {
	display: grid;
	gap: var(--khmax-space-xl);
}

@media (min-width: 900px) {
	.khmax-contact-layout {
		grid-template-columns: 1.4fr 0.8fr;
		align-items: start;
	}
}

.khmax-form--floating .khmax-field {
	position: relative;
	margin-bottom: var(--khmax-space-lg);
}

.khmax-form--icons .khmax-field__icon {
	position: absolute;
	left: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.125rem;
	height: 1.125rem;
	color: var(--khmax-text-muted);
	z-index: 1;
	pointer-events: none;
	transition: color 0.2s ease;
}
.khmax-form--icons .khmax-field__icon--top { top: 1.125rem; transform: none; }
.khmax-form--icons .khmax-field__icon svg { width: 100%; height: 100%; }

.khmax-form--floating input,
.khmax-form--floating textarea,
.khmax-form--floating select {
	width: 100%;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	padding: 1.125rem 0.875rem 0.625rem;
	color: var(--khmax-text);
	font-size: 0.9375rem;
	outline: none;
	transition: border-color var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-form--icons .khmax-field input,
.khmax-form--icons .khmax-field textarea,
.khmax-form--icons .khmax-field select {
	padding-left: 2.75rem;
}

.khmax-form--floating select {
	appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.875rem center;
	padding-right: 2.5rem;
}

.khmax-form--floating .khmax-field--select label {
	top: 0.45rem;
	transform: none;
	font-size: 0.6875rem;
	color: var(--khmax-accent);
}

.khmax-form--floating textarea {
	min-height: 140px;
	resize: vertical;
}

.khmax-form--floating label {
	position: absolute;
	left: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.9375rem;
	color: var(--khmax-text-muted);
	pointer-events: none;
	transition: all 0.2s ease;
}

.khmax-form--floating .khmax-field--textarea label {
	top: 1rem;
	transform: none;
}

.khmax-form--floating input:focus,
.khmax-form--floating textarea:focus,
.khmax-form--floating select:focus,
.khmax-form--floating input:not(:placeholder-shown),
.khmax-form--floating textarea:not(:placeholder-shown) {
	border-color: var(--khmax-accent);
	box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.12);
}

.khmax-form--floating input:focus ~ .khmax-field__icon,
.khmax-form--floating textarea:focus ~ .khmax-field__icon,
.khmax-form--floating select:focus ~ .khmax-field__icon {
	color: var(--khmax-accent);
}

.khmax-field.is-invalid input,
.khmax-field.is-invalid textarea,
.khmax-field.is-invalid select {
	border-color: #f87171;
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.khmax-form--floating input:focus + label,
.khmax-form--floating textarea:focus + label,
.khmax-form--floating input:not(:placeholder-shown) + label,
.khmax-form--floating textarea:not(:placeholder-shown) + label {
	top: 0.45rem;
	transform: none;
	font-size: 0.6875rem;
	color: var(--khmax-accent);
}

.khmax-form--floating .khmax-field--textarea input:focus + label,
.khmax-form--floating .khmax-field--textarea textarea:focus + label,
.khmax-form--floating .khmax-field--textarea textarea:not(:placeholder-shown) + label {
	top: 0.45rem;
}

.khmax-field__error {
	display: block;
	font-size: 0.75rem;
	color: #f87171;
	margin-top: 0.35rem;
	min-height: 1rem;
}

.khmax-btn--block {
	width: 100%;
	justify-content: center;
}

.khmax-contact-aside {
	display: grid;
	gap: var(--khmax-space-md);
}

.khmax-contact-info {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-lg);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.khmax-contact-info__icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 102, 255, 0.1);
	color: var(--khmax-accent);
	margin-bottom: 0.25rem;
}
.khmax-contact-info__icon svg { width: 1.125rem; height: 1.125rem; }

.khmax-contact-info h3 {
	font-size: 0.9375rem;
	font-weight: 800;
	margin-bottom: 0;
}

.khmax-contact-info p {
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

/* Toast notifications */
.khmax-toast-stack {
	position: fixed;
	top: calc(var(--khmax-header-h) + 1rem);
	right: 10px;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: calc(100% - 20px);
	max-width: 400px;
	box-sizing: border-box;
	pointer-events: none;
}

.khmax-toast {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.875rem 1rem;
	border-radius: var(--khmax-radius-lg);
	font-size: 0.875rem;
	color: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	animation: khmax-toast-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: auto;
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	box-sizing: border-box;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.khmax-toast__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.1rem;
}
.khmax-toast__body strong {
	display: block;
	font-size: 0.8125rem;
	font-weight: 800;
	margin-bottom: 0.15rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.khmax-toast__body {
	min-width: 0;
	flex: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.khmax-toast__body p {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	opacity: 0.95;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.khmax-btn__loader {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: khmax-spin 0.7s linear infinite;
}
@keyframes khmax-spin {
	to { transform: rotate(360deg); }
}
.khmax-btn.is-loading .khmax-btn__label { opacity: 0; }
.khmax-btn.is-loading .khmax-btn__loader { display: inline-block; position: absolute; }

.khmax-toast--success {
	background: linear-gradient(135deg, #059669, #10b981);
}

.khmax-toast--error {
	background: linear-gradient(135deg, #dc2626, #ef4444);
}

.khmax-toast--info {
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
}

.khmax-toast.is-leaving {
	opacity: 0;
	transform: translateX(12px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes khmax-toast-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Action dock — İletişim + KH AI */
.khmax-action-dock {
	position: fixed;
	right: 1rem;
	bottom: calc(var(--khmax-bottom-nav-h, 0px) + 5.5rem);
	z-index: 9990;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.khmax-action-dock__btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--khmax-shadow-lg);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.khmax-action-dock__btn svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.khmax-action-dock__btn--contact {
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
}

.khmax-action-dock__btn--ai {
	background: linear-gradient(135deg, #4f46e5, #06b6d4);
	box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
}

.khmax-action-dock__btn--ai:hover {
	box-shadow: 0 12px 36px rgba(6, 182, 212, 0.5);
	transform: translateY(-2px) scale(1.04);
}

.khmax-action-dock__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
	.khmax-action-dock__btn span { display: none; }
	.khmax-action-dock__btn { padding: 0.875rem; border-radius: 50%; }
}

/* Side navigation */
.khmax-side-nav { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.khmax-side-nav.is-open { pointer-events: auto; }
.khmax-side-nav__backdrop {
	position: absolute; inset: 0; background: rgba(0,0,0,0.45);
	opacity: 0; transition: opacity 0.25s ease;
}
.khmax-side-nav.is-open .khmax-side-nav__backdrop { opacity: 1; }
.khmax-side-nav__panel {
	position: absolute; top: 0; left: 0; width: min(300px, 85vw); height: 100%;
	background: var(--khmax-bg-card); border-right: 1px solid var(--khmax-border);
	transform: translateX(-100%); transition: transform 0.28s ease;
	display: flex; flex-direction: column;
}
.khmax-side-nav.is-open .khmax-side-nav__panel { transform: translateX(0); }
.khmax-side-nav__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: var(--khmax-space-md) var(--khmax-space-lg);
	border-bottom: 1px solid var(--khmax-border);
}
.khmax-side-nav__links { flex: 1; overflow-y: auto; padding: var(--khmax-space-sm); }
.khmax-side-nav__brand {
	display: inline-flex;
	text-decoration: none;
}
.khmax-side-nav__close {
	background: rgba(255, 255, 255, 0.05);
	border: none;
	width: 36px;
	height: 36px;
	border-radius: var(--khmax-radius);
	color: var(--khmax-text-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}
.khmax-side-nav__close svg { width: 1.125rem; height: 1.125rem; }
.khmax-side-nav__close:hover { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.khmax-side-nav__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.875rem;
	margin-bottom: 0.25rem;
	color: var(--khmax-text-muted);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 10px;
	border: 1px solid transparent;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
}
.khmax-side-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	flex-shrink: 0;
	transition: background 0.22s ease, color 0.22s ease;
}
.khmax-side-nav__icon svg { width: 1.125rem; height: 1.125rem; opacity: 0.85; }
.khmax-side-nav__label { flex: 1; }
.khmax-side-nav__link:hover,
.khmax-side-nav__link.is-active {
	background: linear-gradient(135deg, rgba(0, 55, 150, 0.85), rgba(0, 102, 255, 0.75));
	border-color: rgba(0, 180, 255, 0.35);
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 70, 200, 0.25);
	transform: translateX(2px);
}
.khmax-side-nav__link:hover .khmax-side-nav__icon,
.khmax-side-nav__link.is-active .khmax-side-nav__icon {
	background: rgba(255, 255, 255, 0.15);
}
.khmax-side-nav__link:hover .khmax-side-nav__label,
.khmax-side-nav__link.is-active .khmax-side-nav__label {
	text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}
.khmax-side-nav__foot { padding: var(--khmax-space-md) var(--khmax-space-lg); border-top: 1px solid var(--khmax-border); }

/* Video cards */
.khmax-tube-grid {
	display: grid;
	gap: var(--khmax-space-md);
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.khmax-video-card {
	background: var(--khmax-bg-card); border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg); overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.khmax-video-card:hover { transform: translateY(-3px); box-shadow: var(--khmax-shadow-lg); }
.khmax-video-card__media,
.khmax-video-card__thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--khmax-bg-muted, #0f172a); }
.khmax-video-card__media img,
.khmax-video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.khmax-video-card:hover .khmax-video-card__media img { transform: scale(1.04); }
.khmax-video-card__duration {
	position: absolute; right: 0.5rem; bottom: 0.5rem;
	padding: 0.2rem 0.45rem; border-radius: 4px;
	background: rgba(0, 0, 0, 0.75); color: #fff;
	font-size: 0.6875rem; font-weight: 700; z-index: 2;
}
.khmax-video-card__play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,0.25); transition: background 0.2s;
}
.khmax-video-card__play svg { width: 3rem; height: 3rem; color: #fff; opacity: 0.9; }
.khmax-video-card:hover .khmax-video-card__play { background: rgba(0,0,0,0.4); }
.khmax-video-card__body { padding: var(--khmax-space-md); }
.khmax-video-card__meta {
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
	margin-bottom: 0.35rem; font-size: 0.75rem; color: var(--khmax-text-muted);
}
.khmax-video-card__source {
	font-weight: 700; color: var(--khmax-accent); text-transform: uppercase; letter-spacing: 0.04em;
}
.khmax-video-card__title { font-size: 0.9375rem; margin-bottom: 0.35rem; font-weight: 700; }
.khmax-video-card__title a { color: inherit; text-decoration: none; }
.khmax-video-card__title a:hover { color: var(--khmax-accent); }
.khmax-video-card__excerpt { font-size: 0.8125rem; color: var(--khmax-text-muted); margin-bottom: 0; line-height: 1.5; }

/* Ad fixed aspect frames */
.khmax-ad-card__frame {
	width: 100%; overflow: hidden; border-radius: var(--khmax-radius);
	background: var(--khmax-bg-muted, #0f172a);
}
.khmax-ad-card__frame .khmax-ad-card__img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Corporate home sections */
.khmax-corp-hero { text-align: center; padding: var(--khmax-space-xl) 0; }
.khmax-corp-grid {
	display: grid; gap: var(--khmax-space-md);
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.khmax-section-head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: var(--khmax-space-md); flex-wrap: wrap; gap: 0.5rem;
}
.khmax-section-head h2 { font-size: 1.25rem; margin: 0; }
.khmax-badge--stock {
	display: inline-block; font-size: 0.6875rem; padding: 0.2rem 0.5rem;
	background: rgba(16,185,129,0.15); color: #10b981; border-radius: 999px; margin-bottom: 0.5rem;
}
.khmax-product-card__price del { opacity: 0.55; margin-right: 0.35rem; font-size: 0.8125rem; }
.khmax-product-card__price strong { color: var(--khmax-accent); }

/* Footer grid */
.khmax-footer__grid {
	display: grid; gap: var(--khmax-space-lg);
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin-bottom: var(--khmax-space-lg);
}
.khmax-footer__col h4 { font-size: 0.875rem; margin-bottom: var(--khmax-space-sm); color: var(--khmax-text); }
.khmax-footer__col a {
	display: block; font-size: 0.8125rem; color: var(--khmax-text-muted);
	text-decoration: none; padding: 0.25rem 0; transition: color 0.15s;
}
.khmax-footer__brand { margin-bottom: 0.5rem; }

/* Contact layout polish */
.khmax-contact-layout {
	display: grid; gap: var(--khmax-space-lg);
	grid-template-columns: 1fr minmax(240px, 320px);
}
@media (max-width: 768px) {
	.khmax-contact-layout { grid-template-columns: 1fr; }
}
.khmax-contact-card {
	background: var(--khmax-bg-card); border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg); padding: var(--khmax-space-xl);
	box-shadow: var(--khmax-shadow);
}

/* Service cards — corporate */
.khmax-service-card {
	position: relative;
	background: linear-gradient(145deg, rgba(0,180,255,0.04), transparent);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.khmax-service-card:hover { transform: translateY(-3px); box-shadow: var(--khmax-shadow-lg); }
.khmax-service-card__icon {
	width: 2.5rem; height: 2.5rem; border-radius: 50%;
	background: rgba(0,180,255,0.12); color: var(--khmax-accent);
	display: flex; align-items: center; justify-content: center;
}
.khmax-service-card__icon svg { width: 1.25rem; height: 1.25rem; }
.khmax-service-card__thumb { display: block; border-radius: var(--khmax-radius); overflow: hidden; aspect-ratio: 16/9; }
.khmax-service-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.khmax-service-card__title { font-size: 1.0625rem; margin: 0; }
.khmax-service-card__duration { font-size: 0.8125rem; color: var(--khmax-accent); margin: 0; }
.khmax-service-card__excerpt { font-size: 0.875rem; color: var(--khmax-text-muted); margin: 0; line-height: 1.5; }
.khmax-service-card__price { font-size: 1.125rem; font-weight: 700; color: var(--khmax-text); margin: 0; }
.khmax-service-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.khmax-badge--service { background: rgba(99,102,241,0.15); color: #818cf8; }
.khmax-badge--sku { background: rgba(148,163,184,0.15); color: var(--khmax-text-muted); font-size: 0.6875rem; }
.khmax-badge--out { background: rgba(239,68,68,0.15); color: #f87171; }
.khmax-btn--accent { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; border: none; }

/* Detail layout + reviews panel */
.khmax-detail__layout {
	display: grid;
	gap: var(--khmax-space-lg);
	grid-template-columns: 1fr minmax(280px, 340px);
	align-items: start;
}
@media (max-width: 960px) {
	.khmax-detail__layout { grid-template-columns: 1fr; }
}
.khmax-detail__sku { font-size: 0.8125rem; color: var(--khmax-text-muted); }
.khmax-detail__sku span { font-weight: 600; }
.khmax-detail__duration { font-size: 0.875rem; color: var(--khmax-accent); }
.khmax-detail__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--khmax-space-md); }

.khmax-reviews-panel {
	position: sticky;
	top: calc(var(--khmax-header-h) + 1rem);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	box-shadow: var(--khmax-shadow);
}
.khmax-reviews-panel__tabs {
	display: flex;
	border-bottom: 1px solid var(--khmax-border);
}
.khmax-reviews-panel__tab {
	flex: 1;
	padding: 0.75rem 0.5rem;
	border: none;
	background: transparent;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--khmax-text-muted);
	cursor: pointer;
	transition: color 0.15s, background 0.15s;
}
.khmax-reviews-panel__tab.is-active {
	color: var(--khmax-accent);
	background: rgba(0,180,255,0.06);
	box-shadow: inset 0 -2px 0 var(--khmax-accent);
}
.khmax-reviews-panel__pane { padding: var(--khmax-space-md); display: none; }
.khmax-reviews-panel__pane.is-active { display: block; }
.khmax-reviews-panel__hint { font-size: 0.8125rem; color: var(--khmax-text-muted); margin-top: 0.5rem; }
.khmax-reviews-panel .khmax-messages { border: none; padding: 0; }
.khmax-reviews-panel .khmax-messages__header h3 { display: none; }

/* Vitrine cards — homepage */
.khmax-vitrine {
	display: grid;
	gap: var(--khmax-space-md);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin: var(--khmax-space-xl) 0;
}
.khmax-vitrine-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: var(--khmax-space-lg);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--khmax-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.khmax-vitrine-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--khmax-shadow-lg);
	border-color: rgba(0,180,255,0.35);
}
.khmax-vitrine-card__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,180,255,0.12);
	color: var(--khmax-accent);
}
.khmax-vitrine-card__icon svg { width: 1.35rem; height: 1.35rem; }
.khmax-vitrine-card h2 { font-size: 1.125rem; margin: 0; }
.khmax-vitrine-card p { font-size: 0.875rem; color: var(--khmax-text-muted); margin: 0; }
.khmax-vitrine-card__cta { font-size: 0.8125rem; font-weight: 600; color: var(--khmax-accent); margin-top: auto; }
.khmax-vitrine-card--mini { padding: var(--khmax-space-md); text-align: center; font-weight: 600; }

/* Pricing cards — ads page */
.khmax-page__header--center { text-align: center; }
.khmax-page__header--center p { max-width: 640px; margin-left: auto; margin-right: auto; }

.khmax-pricing-grid {
	display: grid;
	gap: var(--khmax-space-lg);
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	align-items: stretch;
}
.khmax-pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	box-shadow: var(--khmax-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.khmax-pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--khmax-shadow-lg);
}
.khmax-pricing-card--featured {
	border-color: rgba(0, 180, 255, 0.45);
	background: linear-gradient(160deg, rgba(0, 102, 255, 0.06) 0%, var(--khmax-bg-card) 55%);
	box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
}
.khmax-pricing-card__badge {
	position: absolute;
	top: 0.875rem;
	right: 0.875rem;
	z-index: 2;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.khmax-pricing-card__head {
	text-align: center;
	padding: var(--khmax-space-lg) var(--khmax-space-lg) var(--khmax-space-md);
}
.khmax-pricing-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 800;
	text-align: center;
	letter-spacing: -0.02em;
	color: var(--khmax-text);
}
.khmax-pricing-card__tagline {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--khmax-text-muted);
	text-align: center;
	line-height: 1.5;
}
.khmax-pricing-card__frame {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 100px;
	margin: 0 var(--khmax-space-lg);
	border-radius: var(--khmax-radius);
	border: 1px dashed rgba(0, 180, 255, 0.25);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 180, 255, 0.04));
	backdrop-filter: blur(8px);
}
.khmax-pricing-card__size {
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--khmax-accent);
	text-align: center;
}
.khmax-pricing-card__location {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--khmax-text-muted);
	text-align: center;
}
.khmax-pricing-card__metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	padding: var(--khmax-space-md) var(--khmax-space-lg) 0;
}
.khmax-pricing-card__metric {
	text-align: center;
	padding: 0.65rem 0.5rem;
	border-radius: var(--khmax-radius);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--khmax-border);
}
.khmax-pricing-card__metric span {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--khmax-text-muted);
	margin-bottom: 0.2rem;
}
.khmax-pricing-card__metric strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--khmax-accent);
}
.khmax-pricing-card__features {
	list-style: none;
	padding: var(--khmax-space-md) var(--khmax-space-lg);
	margin: 0;
	flex: 1;
}
.khmax-pricing-card__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--khmax-text-muted);
	padding: 0.4rem 0;
	line-height: 1.45;
}
.khmax-pricing-card__tick {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.1rem;
	border-radius: 50%;
	background: rgba(0, 180, 255, 0.12);
	color: var(--khmax-accent);
}
.khmax-pricing-card__tick svg {
	width: 0.7rem;
	height: 0.7rem;
}
.khmax-pricing-card__actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0 var(--khmax-space-lg) var(--khmax-space-lg);
	margin-top: auto;
}
.khmax-ads-cta {
	text-align: center;
	margin-top: var(--khmax-space-xl);
	padding: var(--khmax-space-xl);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 180, 255, 0.04));
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	backdrop-filter: blur(12px);
}
.khmax-ads-cta h2 {
	font-weight: 800;
	margin-bottom: 0.5rem;
}
.khmax-ads-cta p {
	color: var(--khmax-text-muted);
	max-width: 520px;
	margin: 0 auto var(--khmax-space-md);
}

/* Profile SaaS panel */
.khmax-profile-saas {
	display: grid;
	gap: var(--khmax-space-lg);
	grid-template-columns: minmax(220px, 260px) 1fr;
}
@media (max-width: 900px) {
	.khmax-profile-saas { grid-template-columns: 1fr; }
}
.khmax-profile-saas__sidebar {
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	padding: var(--khmax-space-lg);
}
.khmax-profile-saas__user { text-align: center; margin-bottom: var(--khmax-space-md); }
.khmax-profile-saas__avatar {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 auto 0.5rem;
	overflow: hidden;
}
.khmax-profile-saas__avatar img { width: 100%; height: 100%; object-fit: cover; }
.khmax-profile-tabs { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--khmax-space-md); }
.khmax-profile-tabs__btn {
	display: block;
	text-align: left;
	text-decoration: none;
	padding: 0.65rem 0.875rem;
	border: none;
	border-radius: var(--khmax-radius);
	background: transparent;
	color: var(--khmax-text-muted);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	border-left: 3px solid transparent;
	transition: all 0.15s;
}
.khmax-profile-tabs__btn.is-active,
.khmax-profile-tabs__btn:hover {
	background: rgba(0,180,255,0.08);
	color: var(--khmax-accent);
	border-left-color: var(--khmax-accent);
}
.khmax-profile-tabs__pane { display: none; }
.khmax-profile-tabs__pane.is-active { display: block; }
.khmax-profile-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: var(--khmax-space-md); }
.khmax-profile-stats--saas { margin-bottom: var(--khmax-space-lg); }

/* Community drawer — slide from right */
.khmax-community { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9988; }
.khmax-community__toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 0.5rem 0.75rem 1rem;
	border: none;
	border-radius: 999px 0 0 999px;
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-right: none;
	color: var(--khmax-text);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--khmax-shadow);
	writing-mode: horizontal-tb;
}
.khmax-community__drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(380px, 92vw);
	height: 100vh;
	background: var(--khmax-bg-card);
	border-left: 1px solid var(--khmax-border);
	box-shadow: -8px 0 32px rgba(0,0,0,0.2);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 9991;
	display: flex;
	flex-direction: column;
}
.khmax-community.is-open .khmax-community__drawer { transform: translateX(0); }
.khmax-community__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--khmax-space-sm) var(--khmax-space-md);
	border-bottom: 1px solid var(--khmax-border);
}
.khmax-community__close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--khmax-text-muted);
}
.khmax-community__body { flex: 1; overflow-y: auto; padding: var(--khmax-space-sm); }

/* Header home link */
.khmax-header__link.is-active { position: relative; }
.khmax-header__link.is-active::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--khmax-accent);
	border-radius: 2px;
}

/* KH AI pulse + link buttons */
.khmax-action-dock__btn--pulse { position: relative; }
.khmax-action-dock__btn--pulse::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	border: 2px solid rgba(99,102,241,0.5);
	animation: khmax-pulse 2s ease infinite;
	pointer-events: none;
}
@keyframes khmax-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0; transform: scale(1.08); }
}
.khmax-ai__link-btn {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.4rem 0.75rem;
	background: var(--khmax-accent);
	color: #fff;
	border-radius: var(--khmax-radius);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 600;
}
.khmax-blog-section { margin-bottom: var(--khmax-space-xl); }

/* Mini cart dropdown */
.khmax-header__cart { position: relative; }
.khmax-cart-badge {
	cursor: pointer;
}
.khmax-cart-badge.is-pulse {
	animation: khmax-badge-pulse 0.6s ease;
}
@keyframes khmax-badge-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.15); }
}
.khmax-mini-cart {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	width: min(320px, calc(100vw - 2rem));
	background: var(--khmax-surface, rgba(12, 18, 32, 0.96));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--khmax-radius-lg, 12px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	padding: 0.875rem;
	z-index: 9990;
	backdrop-filter: blur(12px);
}
.khmax-mini-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.khmax-mini-cart__head a {
	font-size: 0.8125rem;
	color: var(--khmax-accent);
	text-decoration: none;
	font-weight: 600;
}
.khmax-mini-cart__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 220px;
	overflow-y: auto;
}
.khmax-mini-cart__list li {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.8125rem;
}
.khmax-mini-cart__list em { color: var(--khmax-accent); font-style: normal; font-weight: 600; }
.khmax-mini-cart__empty,
.khmax-cart-empty { color: var(--khmax-text-muted); font-size: 0.875rem; margin: 0; }
.khmax-mini-cart__total { margin: 0.75rem 0 0; text-align: right; font-size: 0.9375rem; }

/* Faz 8 Op1 — form select contrast, payment, mini ads */
.khmax-form--floating select,
.khmax-form--floating select option {
	background-color: #0c1528;
	color: #e8f0ff;
}
.khmax-form--floating select:focus {
	color: #fff;
}
.khmax-form--floating select option:checked,
.khmax-form--floating select option:hover {
	background-color: #0a3d8f;
	color: #fff;
}

.khmax-payment-methods {
	border: none;
	margin: 0 0 var(--khmax-space-lg);
	padding: 0;
	display: grid;
	gap: 0.5rem;
}
.khmax-payment-methods legend {
	font-weight: 700;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}
.khmax-payment-method {
	display: block;
	cursor: pointer;
}
.khmax-payment-method input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.khmax-payment-method__box {
	display: block;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--khmax-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.khmax-payment-method__box strong {
	display: block;
	font-size: 0.875rem;
}
.khmax-payment-method__box em {
	display: block;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
	font-style: normal;
	margin-top: 0.15rem;
}
.khmax-payment-method input:checked + .khmax-payment-method__box {
	border-color: var(--khmax-accent);
	background: rgba(0, 102, 255, 0.1);
	box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.12);
}

.khmax-pricing-grid--home { margin-bottom: 0; }
.khmax-pricing-card--home { padding-bottom: var(--khmax-space-md); }
.khmax-pricing-card__metrics--compact { padding-top: 0; }
.khmax-pricing-card__features--compact { padding-top: 0.5rem; padding-bottom: 0.75rem; }

.khmax-mini-ad-grid {
	column-count: 2;
	column-gap: var(--khmax-space-md);
}
@media (min-width: 640px) { .khmax-mini-ad-grid { column-count: 3; } }
@media (min-width: 1024px) { .khmax-mini-ad-grid { column-count: 4; } }

.khmax-mini-ad-card {
	break-inside: avoid;
	margin-bottom: var(--khmax-space-md);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.khmax-mini-ad-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--khmax-shadow-lg);
}
.khmax-mini-ad-card__media {
	display: block;
	position: relative;
	overflow: hidden;
}
.khmax-mini-ad-card__media img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.35s ease;
}
.khmax-mini-ad-card:hover .khmax-mini-ad-card__media img { transform: scale(1.05); }
.khmax-mini-ad-card__placeholder {
	min-height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(0,180,255,0.06));
	color: var(--khmax-accent);
	font-weight: 700;
	font-size: 0.8125rem;
	text-align: center;
	padding: 1rem;
}
.khmax-mini-ad-card__overlay {
	position: absolute;
	right: 0.5rem;
	top: 0.5rem;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
}
.khmax-mini-ad-card__overlay svg { width: 1rem; height: 1rem; color: #fff; }
.khmax-mini-ad-card:hover .khmax-mini-ad-card__overlay { opacity: 1; }
.khmax-mini-ad-card__body { padding: 0.65rem 0.75rem 0.75rem; }
.khmax-mini-ad-card__tag {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--khmax-accent);
}
.khmax-mini-ad-card__body h3 {
	font-size: 0.8125rem;
	font-weight: 700;
	margin-top: 0.2rem;
	line-height: 1.35;
}

/* ── Share2Earn ── */
.khmax-share {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.65rem;
	flex-wrap: wrap;
}
.khmax-share__label {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--khmax-text-muted);
}
.khmax-share__actions { display: flex; gap: 0.35rem; }
.khmax-share__btn {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-card);
	color: var(--khmax-text);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}
.khmax-share__btn svg { width: 1rem; height: 1rem; }
.khmax-share__btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--khmax-shadow-sm);
}
.khmax-share__btn--wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.khmax-share__btn--x:hover { background: #000; color: #fff; border-color: #000; }
.khmax-share__btn--in:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }

/* ── Notification bell ── */
.khmax-notify { position: relative; }
.khmax-notify__toggle {
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--khmax-border);
	border-radius: 50%;
	background: var(--khmax-bg-card);
	color: var(--khmax-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}
.khmax-notify__toggle svg { width: 1.1rem; height: 1.1rem; }
.khmax-notify__toggle:hover { box-shadow: var(--khmax-shadow-sm); }
.khmax-notify__badge {
	position: absolute;
	top: 0.15rem;
	right: 0.15rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--khmax-accent);
	border: 2px solid var(--khmax-bg);
}
.khmax-notify__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 0.5rem);
	width: min(20rem, calc(100vw - 20px));
	max-width: 400px;
	box-sizing: border-box;
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	box-shadow: var(--khmax-shadow-lg);
	z-index: 120;
	backdrop-filter: blur(12px);
	word-wrap: break-word;
	overflow-wrap: break-word;
}

@media (max-width: 480px) {
	.khmax-notify__panel {
		position: fixed;
		right: 10px;
		left: 10px;
		width: calc(100% - 20px);
		max-width: 400px;
		top: calc(var(--khmax-header-h) + 0.5rem);
	}
}
.khmax-notify__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--khmax-border);
}
.khmax-notify__mark {
	font-size: 0.75rem;
	border: none;
	background: transparent;
	color: var(--khmax-accent);
	cursor: pointer;
	font-weight: 600;
}
.khmax-notify__list {
	max-height: 18rem;
	overflow-y: auto;
	padding: 0.5rem;
}
.khmax-notify__item {
	padding: 0.65rem 0.75rem;
	border-radius: var(--khmax-radius-md);
}
.khmax-notify__item + .khmax-notify__item { border-top: 1px solid var(--khmax-border); }
.khmax-notify__item strong { display: block; font-size: 0.8125rem; }
.khmax-notify__item time { font-size: 0.6875rem; color: var(--khmax-text-muted); }
.khmax-notify__item p { margin: 0.35rem 0 0; font-size: 0.8125rem; line-height: 1.45; }
.khmax-notify__empty,
.khmax-notify__loading { padding: 1rem; text-align: center; color: var(--khmax-text-muted); font-size: 0.8125rem; }

/* ── Earnings dashboard ── */
.khmax-earnings-summary {
	margin: 1rem 0 1.25rem;
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: linear-gradient(135deg, rgba(0,102,255,0.06), rgba(0,180,255,0.03));
}
.khmax-earnings-summary__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
	font-size: 0.875rem;
}
.khmax-earnings-summary__bar,
.khmax-earnings-task__bar {
	height: 0.5rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.08);
	overflow: hidden;
}
.khmax-earnings-summary__bar span,
.khmax-earnings-task__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--khmax-accent), #00b4ff);
	transition: width 0.4s ease;
}
.khmax-earnings-tasks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}
.khmax-earnings-task {
	padding: 0.85rem 1rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-card);
}
.khmax-earnings-task.is-done { opacity: 0.85; }
.khmax-earnings-task__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}
.khmax-earnings-task__meta {
	margin: 0.4rem 0 0;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

/* ── Verified badge ── */
.khmax-verified-badge {
	display: inline-flex;
	align-items: center;
	color: var(--khmax-accent);
	vertical-align: middle;
}
.khmax-verified-badge svg { width: 0.95rem; height: 0.95rem; }

.khmax-badge--pending {
	background: rgba(245, 158, 11, 0.15);
	color: #d97706;
	font-size: 0.625rem;
}

/* ── Avatar upload ── */
.khmax-avatar-upload {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding: 1rem;
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	background: var(--khmax-bg-card);
}
.khmax-avatar-upload__preview {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, var(--khmax-accent), #00b4ff);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	flex-shrink: 0;
}
.khmax-avatar-upload__preview img { width: 100%; height: 100%; object-fit: cover; }
.khmax-avatar-upload__actions { display: flex; flex-direction: column; gap: 0.35rem; }

/* ── Live ticket chat ── */
.khmax-live-ticket {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	min-height: 22rem;
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	background: var(--khmax-bg-card);
}
@media (min-width: 768px) {
	.khmax-live-ticket { grid-template-columns: 16rem 1fr; }
}
.khmax-live-ticket__list {
	border-right: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
	padding: 0.75rem;
}
.khmax-live-ticket__list-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}
.khmax-live-ticket__items { list-style: none; margin: 0; padding: 0; }
.khmax-live-ticket__item {
	width: 100%;
	text-align: left;
	border: 1px solid transparent;
	background: transparent;
	border-radius: var(--khmax-radius-md);
	padding: 0.65rem 0.75rem;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.khmax-live-ticket__item:hover,
.khmax-live-ticket__item.is-active {
	background: rgba(0, 102, 255, 0.08);
	border-color: rgba(0, 102, 255, 0.2);
}
.khmax-live-ticket__item strong { display: block; font-size: 0.8125rem; line-height: 1.35; }
.khmax-live-ticket__item em { display: block; font-size: 0.6875rem; color: var(--khmax-text-muted); font-style: normal; margin-top: 0.2rem; }
.khmax-live-ticket__chat { display: flex; flex-direction: column; min-height: 20rem; }
.khmax-live-ticket__chat-head {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--khmax-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
}
.khmax-live-ticket__messages {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-height: 24rem;
}
.khmax-live-ticket__composer {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--khmax-border);
	align-items: flex-end;
}
.khmax-live-ticket__composer textarea {
	flex: 1;
	resize: vertical;
	min-height: 2.5rem;
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-md);
	padding: 0.5rem 0.75rem;
	background: var(--khmax-bg);
	color: var(--khmax-text);
}

/* Chat bubbles (ticket + shared) */
.khmax-chat-bubble {
	display: flex;
	gap: 0.5rem;
	max-width: 92%;
}
.khmax-chat-bubble--own,
.khmax-chat-bubble--user { align-self: flex-start; }
.khmax-chat-bubble--admin { align-self: flex-end; flex-direction: row-reverse; }
.khmax-chat-bubble--admin .khmax-chat-bubble__body {
	background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(0,180,255,0.08));
	border-color: rgba(0,102,255,0.25);
}
.khmax-chat-bubble.is-pending { opacity: 0.88; }
.khmax-chat-bubble__avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--khmax-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
}
.khmax-chat-bubble__avatar img { width: 100%; height: 100%; object-fit: cover; }
.khmax-chat-bubble__body {
	padding: 0.65rem 0.85rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}
.khmax-chat-bubble__body header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem;
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
}
.khmax-chat-bubble__body header time { color: var(--khmax-text-muted); font-size: 0.6875rem; }
.khmax-chat-bubble__text { font-size: 0.875rem; line-height: 1.45; }
.khmax-badge--open { background: rgba(16,185,129,0.15); color: #10b981; }
.khmax-badge--closed { background: rgba(107,114,128,0.15); color: #6b7280; }

/* ── Header live search ── */
.khmax-header-search { position: relative; flex: 1; max-width: 18rem; margin: 0 0.75rem; }
.khmax-search-field {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--khmax-border);
	border-radius: 999px;
	background: var(--khmax-bg-glass);
}
.khmax-search-field svg { width: 1rem; height: 1rem; color: var(--khmax-text-muted); flex-shrink: 0; }
.khmax-search-field input {
	border: none;
	background: transparent;
	color: var(--khmax-text);
	width: 100%;
	font-size: 0.8125rem;
	outline: none;
}
.khmax-search-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 0.35rem);
	background: var(--khmax-bg-card);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-lg);
	box-shadow: var(--khmax-shadow-lg);
	z-index: 130;
	overflow: hidden;
}
.khmax-search-dropdown__item {
	display: block;
	padding: 0.6rem 0.75rem;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid var(--khmax-border);
}
.khmax-search-dropdown__item:hover { background: rgba(0,102,255,0.06); }
.khmax-search-dropdown__type { font-size: 0.625rem; text-transform: uppercase; color: var(--khmax-accent); font-weight: 700; display: block; }
.khmax-search-dropdown__item strong { display: block; font-size: 0.8125rem; }
.khmax-search-dropdown__item em { font-size: 0.75rem; color: var(--khmax-accent); }
.khmax-search-dropdown__empty { padding: 0.75rem; text-align: center; color: var(--khmax-text-muted); font-size: 0.8125rem; }
.khmax-search-dropdown__all { display: block; padding: 0.55rem 0.75rem; text-align: center; font-size: 0.75rem; color: var(--khmax-accent); text-decoration: none; }

/* Search page */
.khmax-search-page__form { margin-bottom: 1.25rem; }
.khmax-search-field--page { max-width: 32rem; border-radius: var(--khmax-radius-lg); padding: 0.55rem 0.85rem; }
.khmax-search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.khmax-search-results__item a {
	display: grid;
	grid-template-columns: 4rem 1fr;
	gap: 0.75rem;
	padding: 0.75rem;
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-md);
	text-decoration: none;
	color: inherit;
	background: var(--khmax-bg-card);
	transition: box-shadow 0.2s;
}
.khmax-search-results__item a:hover { box-shadow: var(--khmax-shadow-sm); }
.khmax-search-results__item img { width: 4rem; height: 4rem; object-fit: cover; border-radius: var(--khmax-radius-sm); }
.khmax-search-results__placeholder { width: 4rem; height: 4rem; border-radius: var(--khmax-radius-sm); background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,180,255,0.05)); }
.khmax-search-results__type { font-size: 0.625rem; text-transform: uppercase; color: var(--khmax-accent); font-weight: 700; }
.khmax-search-results__item strong { display: block; font-size: 0.9375rem; }
.khmax-search-results__item p { margin: 0.2rem 0 0; font-size: 0.8125rem; color: var(--khmax-text-muted); }
.khmax-search-results__item em { font-size: 0.8125rem; color: var(--khmax-accent); }

/* Top donors */
.khmax-top-donors__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.khmax-top-donors__item {
	display: grid;
	grid-template-columns: 2rem 2.5rem 1fr auto;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius-md);
	background: var(--khmax-bg-card);
}
.khmax-top-donors__rank {
	font-weight: 800;
	color: var(--khmax-accent);
	font-size: 0.875rem;
	text-align: center;
}
.khmax-top-donors__avatar {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, var(--khmax-accent), #00b4ff);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
.khmax-top-donors__avatar img { width: 100%; height: 100%; object-fit: cover; }
.khmax-top-donors__meta span { display: block; font-size: 0.6875rem; color: var(--khmax-text-muted); }
.khmax-top-donors__amount { font-weight: 700; color: var(--khmax-accent); font-style: normal; }

/* Donation page */
.khmax-donation-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.khmax-donation-layout { grid-template-columns: 1.2fr 0.8fr; }
}
.khmax-donation-form { max-width: 100%; }

@media (max-width: 900px) {
	.khmax-header-search { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   Faz 9 — Operasyon 1: UI/UX kusursuzluk & mobil optimizasyon
   ══════════════════════════════════════════════════════════════ */

.khmax-main,
.khmax-page,
.khmax-vitrine,
.khmax-product-grid,
.khmax-pricing-grid,
.khmax-tube-grid,
.khmax-blog-grid,
.khmax-mini-ad-grid {
	max-width: 100%;
	min-width: 0;
}

.khmax-vitrine-card,
.khmax-product-card,
.khmax-side-nav__link,
.khmax-header__link,
.khmax-notify__toggle {
	min-height: 44px;
}

.khmax-btn {
	min-height: 44px;
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
}

.khmax-header__side-toggle {
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: 10px;
	cursor: pointer;
	padding: 0;
	color: var(--khmax-text);
	transition: border-color var(--khmax-transition), background 0.2s ease, box-shadow 0.2s;
}

.khmax-header__side-toggle:hover {
	border-color: rgba(0, 180, 255, 0.35);
	box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.08);
}

/* Corporate footer */
.khmax-footer--corp {
	background: linear-gradient(180deg, #0c1224 0%, #070b14 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: var(--khmax-space-2xl) var(--khmax-space-md) var(--khmax-space-lg);
	margin-top: auto;
}

.khmax-footer--corp .khmax-footer__inner {
	display: block;
	max-width: 1200px;
	margin: 0 auto;
}

.khmax-footer--corp .khmax-footer__grid {
	display: grid;
	gap: var(--khmax-space-xl);
	grid-template-columns: 1fr;
	margin-bottom: var(--khmax-space-xl);
}

@media (min-width: 640px) {
	.khmax-footer--corp .khmax-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.khmax-footer--corp .khmax-footer__grid {
		grid-template-columns: 1.4fr repeat(4, 1fr);
	}
}

.khmax-footer--corp .khmax-footer__col h4 {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e2e8f0;
	margin-bottom: var(--khmax-space-md);
}

.khmax-footer--corp .khmax-footer__col p {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	line-height: 1.55;
	margin-top: 0.75rem;
}

.khmax-footer--corp .khmax-footer__col a {
	display: block;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	text-decoration: none;
	padding: 0.35rem 0;
	min-height: 44px;
	display: flex;
	align-items: center;
	transition: color 0.15s ease, transform 0.15s ease;
}

.khmax-footer--corp .khmax-footer__col a:hover {
	color: var(--khmax-accent);
	transform: translateX(2px);
}

.khmax-footer--corp .khmax-footer__col nav a {
	min-height: 36px;
}

.khmax-footer__newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.khmax-footer__newsletter input {
	flex: 1 1 12rem;
	min-height: 44px;
	padding: 0.625rem 0.875rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	color: var(--khmax-text);
	font-size: 0.875rem;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.khmax-footer__newsletter input:focus {
	border-color: var(--khmax-accent);
	box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.12);
}

.khmax-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: var(--khmax-space-lg);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

/* Contact form — legacy icons alias (use --contact) */
.khmax-form--icons .khmax-field__icon,
.khmax-form--contact .khmax-field__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Notification cards */
.khmax-notify__toggle {
	width: 44px;
	height: 44px;
}

.khmax-notify__card {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: var(--khmax-radius);
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	margin-bottom: 0.5rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.khmax-notify__card:last-child {
	margin-bottom: 0;
}

.khmax-notify__card:hover {
	border-color: rgba(0, 180, 255, 0.25);
	box-shadow: var(--khmax-shadow-sm);
}

.khmax-notify__card-icon {
	flex: 0 0 2.25rem;
	width: 2.25rem;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 180, 255, 0.1));
	color: var(--khmax-accent);
}

.khmax-notify__card-icon svg {
	width: 1.125rem;
	height: 1.125rem;
}

.khmax-notify__card-body {
	flex: 1;
	min-width: 0;
}

.khmax-notify__card-body strong {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--khmax-text);
}

.khmax-notify__card-body time {
	display: block;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	margin-top: 0.15rem;
}

.khmax-notify__card-body p {
	margin: 0.4rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--khmax-text-muted);
}

.khmax-notify__item + .khmax-notify__item {
	border-top: none;
}

/* ══════════════════════════════════════════════════════════════
   Faz 9 — Operasyon 2: Ürün galerisi & Tube kartları
   ══════════════════════════════════════════════════════════════ */

.khmax-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.khmax-product-gallery__stage {
	position: relative;
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-product-gallery__slides {
	position: relative;
	aspect-ratio: 4 / 3;
}

.khmax-product-gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.khmax-product-gallery__slide.is-active {
	opacity: 1;
	position: relative;
}

.khmax-product-gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.khmax-product-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 1px solid var(--khmax-border);
	border-radius: 50%;
	background: rgba(10, 14, 26, 0.72);
	color: var(--khmax-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.khmax-product-gallery__nav:hover {
	background: rgba(0, 102, 255, 0.35);
	border-color: rgba(0, 180, 255, 0.4);
}

.khmax-product-gallery__nav svg {
	width: 1.125rem;
	height: 1.125rem;
}

.khmax-product-gallery__prev { left: 0.75rem; }
.khmax-product-gallery__next { right: 0.75rem; }

.khmax-product-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.khmax-product-gallery__thumb {
	flex: 0 0 4.5rem;
	width: 4.5rem;
	height: 4.5rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	background: var(--khmax-bg-glass);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.khmax-product-gallery__thumb.is-active {
	border-color: var(--khmax-accent);
}

.khmax-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.khmax-detail__media .khmax-product-gallery {
	width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   Faz 9 — Operasyon 3: B2B ödeme, banka & sipariş
   ══════════════════════════════════════════════════════════════ */

.khmax-bank-accounts {
	margin: 1rem 0 1.25rem;
}

.khmax-bank-accounts__title {
	font-size: 0.9375rem;
	margin-bottom: 0.75rem;
}

.khmax-bank-accounts__grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.khmax-bank-accounts__grid {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

.khmax-bank-card {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 180, 255, 0.03));
	box-shadow: var(--khmax-shadow-sm);
}

.khmax-bank-card__icon {
	flex: 0 0 2.5rem;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(0, 102, 255, 0.15);
	color: var(--khmax-accent);
}

.khmax-bank-card__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.khmax-bank-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.khmax-bank-card__body strong {
	font-size: 0.875rem;
}

.khmax-bank-card__recipient {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-bank-card__iban {
	font-size: 0.75rem;
	word-break: break-all;
	color: var(--khmax-text);
	background: rgba(0, 0, 0, 0.2);
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
}

.khmax-bank-card__copy {
	align-self: flex-start;
	margin-top: 0.25rem;
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
	color: var(--khmax-accent);
	border-radius: 8px;
	padding: 0.35rem 0.65rem;
	font-size: 0.75rem;
	cursor: pointer;
	min-height: 36px;
}

.khmax-checkout-havale {
	margin-top: 0.5rem;
}

.khmax-form__group--receipt input[type="file"] {
	width: 100%;
	min-height: 44px;
	padding: 0.5rem;
	background: var(--khmax-bg-glass);
	border: 1px dashed var(--khmax-border);
	border-radius: var(--khmax-radius);
	color: var(--khmax-text-muted);
}

.khmax-form__hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-order-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.khmax-order-card {
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-order-card__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	align-items: flex-start;
}

.khmax-order-card__head strong {
	display: block;
}

.khmax-order-card__head span {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-order-card__status {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
}

.khmax-order-card__status--pending {
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
}

.khmax-order-card__status--approved {
	background: rgba(59, 130, 246, 0.15);
	color: #60a5fa;
}

.khmax-order-card__status--preparing {
	background: rgba(168, 85, 247, 0.15);
	color: #c084fc;
}

.khmax-order-card__status--completed {
	background: rgba(16, 185, 129, 0.15);
	color: #34d399;
}

.khmax-order-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-order-card__delivery {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--khmax-border);
}

.khmax-order-card__delivery p {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-footer__col--brand .khmax-btn {
	margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════
   Faz 9 — Operasyon 4: Ortaklık (Affiliate) motoru
   ══════════════════════════════════════════════════════════════ */

.khmax-affiliate {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.khmax-affiliate__cards {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.khmax-affiliate__cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.khmax-affiliate__card {
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-affiliate__card span {
	display: block;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
	margin-bottom: 0.35rem;
}

.khmax-affiliate__card strong {
	font-size: 1.375rem;
	color: var(--khmax-text);
}

.khmax-affiliate__card--accent {
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 180, 255, 0.05));
	border-color: rgba(0, 180, 255, 0.25);
}

.khmax-affiliate__card--accent strong {
	color: var(--khmax-accent);
}

.khmax-affiliate__link-box {
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-card);
}

.khmax-affiliate__link-box label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.khmax-affiliate__link-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.khmax-affiliate__link-row input {
	flex: 1 1 14rem;
	min-height: 44px;
	padding: 0.625rem 0.875rem;
	background: var(--khmax-bg-glass);
	border: 1px solid var(--khmax-border);
	border-radius: var(--khmax-radius);
	color: var(--khmax-text);
	font-size: 0.8125rem;
}

.khmax-affiliate__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.khmax-affiliate__chart {
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-affiliate__chart h3 {
	font-size: 0.9375rem;
	margin-bottom: 0.75rem;
}

.khmax-affiliate__bars {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	min-height: 140px;
}

.khmax-affiliate__bar-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	min-width: 0;
}

.khmax-affiliate__bar {
	width: 100%;
	max-width: 2.5rem;
	background: linear-gradient(180deg, var(--khmax-accent), var(--khmax-primary));
	border-radius: 6px 6px 2px 2px;
	min-height: 4px;
	transition: height 0.3s ease;
}

.khmax-affiliate__bar-col span {
	font-size: 0.625rem;
	color: var(--khmax-text-muted);
}

.khmax-affiliate__bar-col em {
	font-size: 0.6875rem;
	font-style: normal;
	color: var(--khmax-text);
}

.khmax-affiliate__history ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
}

.khmax-affiliate__history li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	align-items: center;
	padding: 0.75rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
	font-size: 0.8125rem;
}

.khmax-affiliate__history li span {
	color: var(--khmax-accent);
	font-weight: 600;
}

.khmax-affiliate__history li time {
	margin-left: auto;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
}

/* ══════════════════════════════════════════════════════════════
   Faz 10 — Operasyon 1: Premium mağaza, galeri lightbox, reklam paketleri
   ══════════════════════════════════════════════════════════════ */

.khmax-store-market {
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-xl);
}

.khmax-store-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--khmax-space-md);
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(10, 14, 26, 0.6));
	backdrop-filter: blur(12px);
}

.khmax-store-hero h1 {
	margin: 0.35rem 0 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

.khmax-store-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.khmax-store-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: var(--khmax-space-md);
}

.khmax-store-section__head h2 {
	margin: 0;
	font-size: 1.125rem;
}

.khmax-store-section__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.5rem;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--khmax-accent);
	background: rgba(0, 180, 255, 0.12);
	border: 1px solid rgba(0, 180, 255, 0.25);
}

.khmax-store-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
}

@media (min-width: 540px) {
	.khmax-store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.khmax-store-grid { grid-template-columns: repeat(3, 1fr); }
}

.khmax-product-card--premium .khmax-product-card__thumb {
	display: block;
	position: relative;
	overflow: hidden;
}

.khmax-product-card--premium .khmax-product-card__thumb img,
.khmax-product-card__placeholder {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.khmax-product-card__placeholder {
	background: linear-gradient(135deg, var(--khmax-bg-glass), rgba(0, 102, 255, 0.08));
}

.khmax-product-card__ribbon {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.2rem 0.55rem;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 100px;
	color: #fff;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.khmax-product-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.35rem 0;
}

.khmax-product-card__pricing {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.5rem;
}

.khmax-product-card__coin {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #f59e0b;
}

.khmax-badge--coin {
	background: rgba(245, 158, 11, 0.15);
	border-color: rgba(245, 158, 11, 0.35);
	color: #fbbf24;
}

.khmax-detail__media--fixed {
	width: 100%;
}

.khmax-detail__cover {
	margin: 0;
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	border: 1px solid var(--khmax-border);
	aspect-ratio: 4 / 3;
}

.khmax-detail__cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.khmax-detail__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.5rem;
}

.khmax-detail__pricing {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0.75rem 0;
	padding: 0.85rem 1rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-detail__price-label {
	display: block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--khmax-text-muted);
	margin-bottom: 0.15rem;
}

.khmax-detail__price--coin strong {
	color: #fbbf24;
}

.khmax-detail__price-unit {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
	margin-left: 0.25rem;
}

.khmax-detail__coin-pack-value {
	margin: 0;
	font-size: 0.8125rem;
	color: #fbbf24;
}

.khmax-product-gallery__zoom {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.khmax-product-gallery__zoom img {
	pointer-events: none;
}

.khmax-product-gallery__zoom-icon {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(10, 14, 26, 0.72);
	border: 1px solid var(--khmax-border);
	color: var(--khmax-text);
	backdrop-filter: blur(8px);
	transition: background 0.2s ease, transform 0.2s ease;
}

.khmax-product-gallery__zoom:hover .khmax-product-gallery__zoom-icon {
	background: rgba(0, 102, 255, 0.45);
	transform: scale(1.05);
}

.khmax-product-gallery__zoom-icon svg {
	width: 1rem;
	height: 1rem;
}

.khmax-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.khmax-lightbox[hidden] {
	display: none !important;
}

.khmax-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 8, 18, 0.88);
	backdrop-filter: blur(6px);
}

.khmax-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(92vw, 1100px);
	max-height: 90vh;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.5rem;
}

.khmax-lightbox__figure {
	margin: 0;
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 85vh;
}

.khmax-lightbox__img {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--khmax-radius);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.khmax-lightbox__close {
	position: absolute;
	top: -2.5rem;
	right: 0;
	width: 44px;
	height: 44px;
	border: 1px solid var(--khmax-border);
	border-radius: 50%;
	background: rgba(10, 14, 26, 0.85);
	color: var(--khmax-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.khmax-lightbox__close svg {
	width: 1.125rem;
	height: 1.125rem;
}

.khmax-lightbox__nav {
	width: 44px;
	height: 44px;
	border: 1px solid var(--khmax-border);
	border-radius: 50%;
	background: rgba(10, 14, 26, 0.85);
	color: var(--khmax-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.khmax-lightbox__nav svg {
	width: 1.125rem;
	height: 1.125rem;
}

body.khmax-lightbox-open {
	overflow: hidden;
}

.khmax-pricing-grid--packages {
	margin-bottom: var(--khmax-space-xl);
}

.khmax-pricing-card--dynamic .khmax-pricing-card__visual img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: var(--khmax-radius);
	display: block;
	margin-bottom: 0.75rem;
}

.khmax-pricing-card__price {
	margin: 0.75rem 0 0;
	font-size: 1.5rem;
	line-height: 1.2;
}

.khmax-pricing-card__price strong {
	color: var(--khmax-accent);
}

.khmax-pricing-card__price span {
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
	margin-left: 0.25rem;
}

.khmax-page__header--center {
	text-align: center;
	margin-bottom: var(--khmax-space-xl);
}

/* ══════════════════════════════════════════════════════════════
   Faz 10 — Operasyon 2: Premium ödeme, TL cüzdan, bağış
   ══════════════════════════════════════════════════════════════ */

.khmax-payment-methods--premium .khmax-payment-methods__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
}

@media (min-width: 540px) {
	.khmax-payment-methods--premium .khmax-payment-methods__row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.khmax-payment-method__box {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 72px;
}

.khmax-payment-method__icon {
	flex: 0 0 2.5rem;
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(0, 102, 255, 0.12);
	color: var(--khmax-accent);
}

.khmax-payment-method__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.khmax-payment-method__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.khmax-checkout-wallet {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: var(--khmax-space-lg);
}

.khmax-checkout-wallet__item {
	flex: 1 1 140px;
	padding: 0.85rem 1rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-checkout-wallet__item span {
	display: block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--khmax-text-muted);
}

.khmax-checkout-wallet__item strong {
	font-size: 1.125rem;
	color: var(--khmax-accent);
}

.khmax-payment-notify {
	margin-top: 1.25rem;
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.02);
}

.khmax-payment-notify__head h3 {
	margin: 0 0 0.25rem;
	font-size: 1rem;
}

.khmax-payment-notify__head p {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-payment-notify__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
}

.khmax-form__group--full {
	grid-column: 1 / -1;
}

.khmax-receipt-dropzone {
	margin-top: 0.85rem;
	padding: 1.25rem 1rem;
	border: 2px dashed rgba(0, 180, 255, 0.35);
	border-radius: var(--khmax-radius-lg);
	background: rgba(0, 102, 255, 0.04);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.khmax-receipt-dropzone.is-dragover,
.khmax-receipt-dropzone:hover {
	border-color: var(--khmax-accent);
	background: rgba(0, 102, 255, 0.08);
}

.khmax-receipt-dropzone__idle svg {
	width: 2rem;
	height: 2rem;
	color: var(--khmax-accent);
	margin-bottom: 0.5rem;
}

.khmax-receipt-dropzone__idle strong {
	display: block;
	font-size: 0.875rem;
}

.khmax-receipt-dropzone__idle span {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-receipt-dropzone__preview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
}

.khmax-receipt-dropzone__thumb {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--khmax-border);
}

.khmax-receipt-dropzone__filename {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-receipt-dropzone__clear {
	border: 0;
	background: transparent;
	color: #f87171;
	font-size: 0.75rem;
	cursor: pointer;
	text-decoration: underline;
}

.khmax-bank-accounts__hint {
	margin: -0.25rem 0 0.85rem;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-bank-card__logo {
	width: 48px;
	height: 48px;
	display: block;
}

.khmax-bank-card__copy {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.5rem;
	padding: 0.4rem 0.65rem;
	font-size: 0.75rem;
	border: 1px solid var(--khmax-border);
	border-radius: 8px;
	background: rgba(0, 102, 255, 0.08);
	color: var(--khmax-text);
	cursor: pointer;
	transition: background 0.2s ease;
}

.khmax-bank-card__copy svg {
	width: 0.875rem;
	height: 0.875rem;
}

.khmax-bank-card__copy:hover {
	background: rgba(0, 102, 255, 0.18);
}

.khmax-order-card--highlight {
	animation: khmaxOrderPulse 1.2s ease 3;
	border-color: rgba(245, 158, 11, 0.55);
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

@keyframes khmaxOrderPulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
	50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.28); }
}

.khmax-profile-stat--tl strong {
	color: #34d399;
}

.khmax-profile-wallet-mini {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
	margin-bottom: var(--khmax-space-md);
}

.khmax-profile-wallet-mini__card {
	padding: 0.75rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-profile-wallet-mini__card span {
	display: block;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
}

.khmax-profile-wallet-mini__card strong {
	font-size: 1rem;
}

.khmax-wallet-card--tl {
	border-color: rgba(52, 211, 153, 0.35);
}

.khmax-wallet-card--tl strong {
	color: #34d399;
}

.khmax-donation-layout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 900px) {
	.khmax-donation-layout {
		flex-direction: row;
		align-items: flex-start;
	}
	.khmax-donation-form {
		flex: 1 1 58%;
	}
	.khmax-donation-aside {
		flex: 1 1 38%;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
}

.khmax-donation-form__amount {
	margin-bottom: 1rem;
}

.khmax-donation-form__amount label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.khmax-donation-form__amount input {
	width: 100%;
	max-width: 220px;
	padding: 0.65rem 0.85rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
	color: var(--khmax-text);
}

.khmax-donation-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.khmax-donation-form__submit svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.khmax-footer__col--brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.khmax-footer__col--brand .khmax-btn {
	margin-top: 0;
	align-self: flex-start;
}

.khmax-side-nav__foot {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.khmax-side-nav__foot .khmax-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
}

/* ══════════════════════════════════════════════════════════════
   Faz 10 — Operasyon 3: İletişim form hizası & Tube kapakları
   ══════════════════════════════════════════════════════════════ */

.khmax-contact-page .khmax-contact-card {
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-card);
}

.khmax-form--contact {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.khmax-form--contact .khmax-field {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	grid-template-areas:
		"icon input"
		"error error";
	align-items: center;
	margin-bottom: 1.125rem;
}

.khmax-form--contact .khmax-field__icon {
	grid-area: icon;
	position: relative;
	left: auto;
	top: auto;
	transform: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-left: 0.875rem;
	align-self: center;
	justify-self: start;
	z-index: 2;
	pointer-events: none;
}

.khmax-form--contact .khmax-field--textarea {
	grid-template-areas:
		"icon input"
		"error error";
	align-items: start;
}

.khmax-form--contact .khmax-field--textarea .khmax-field__icon {
	align-self: start;
	margin-top: 1.125rem;
}

.khmax-form--contact .khmax-field input,
.khmax-form--contact .khmax-field textarea,
.khmax-form--contact .khmax-field select {
	grid-area: input;
	grid-column: 1 / -1;
	width: 100%;
	padding-left: 2.75rem;
	min-height: 48px;
}

.khmax-form--contact .khmax-field textarea {
	min-height: 148px;
	padding-top: 1.25rem;
	resize: vertical;
}

.khmax-form--contact .khmax-field label {
	left: 2.75rem;
}

.khmax-form--contact .khmax-field--select label {
	left: 2.75rem;
	top: 0.45rem;
}

.khmax-form--contact .khmax-field--textarea label {
	top: 1rem;
	left: 2.75rem;
}

.khmax-form--contact .khmax-field__error {
	grid-area: error;
	margin-left: 2.75rem;
}

.khmax-form--contact #khmaxContactSubmit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	margin-top: 0.25rem;
}

.khmax-form--contact #khmaxContactSubmit .khmax-btn__loader {
	width: 1.125rem;
	height: 1.125rem;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: khmaxSpin 0.7s linear infinite;
}

.khmax-form--contact #khmaxContactSubmit.is-loading .khmax-btn__label {
	opacity: 0.7;
}

.khmax-contact-aside {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.khmax-contact-info {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-contact-info__icon {
	flex: 0 0 2.5rem;
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(0, 102, 255, 0.12);
	color: var(--khmax-accent);
}

.khmax-contact-info h3 {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
}

.khmax-contact-info p {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	line-height: 1.5;
}

.khmax-video-card__media img {
	background: var(--khmax-bg-muted, #0f172a);
}

@keyframes khmaxSpin {
	to { transform: rotate(360deg); }
}

/* ── Faz 10 Op4 — Wallet premium, converter, earn cards, AI pro ── */

.khmax-wallet-grid--premium {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.khmax-wallet-grid--premium {
		grid-template-columns: repeat(3, 1fr);
	}
}

.khmax-wallet-card--points strong {
	color: var(--khmax-accent);
}

.khmax-wallet-daily {
	margin: var(--khmax-space-lg) 0;
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(6, 182, 212, 0.04));
}

.khmax-wallet-daily__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--khmax-space-sm);
	margin-bottom: var(--khmax-space-sm);
	font-size: 0.875rem;
}

.khmax-wallet-daily__bar {
	height: 0.5rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.khmax-wallet-daily__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--khmax-primary), var(--khmax-accent));
	transition: width 0.45s ease;
}

.khmax-wallet-daily p {
	margin: var(--khmax-space-sm) 0 0;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-converter {
	margin: var(--khmax-space-xl) 0;
	padding: var(--khmax-space-xl);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid rgba(6, 182, 212, 0.25);
	background: linear-gradient(160deg, rgba(15, 23, 42, 0.55), rgba(0, 102, 255, 0.08));
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.khmax-converter__head h2 {
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
}

.khmax-converter__head p {
	margin: 0 0 var(--khmax-space-lg);
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-converter__swap {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: var(--khmax-space-sm);
	align-items: end;
}

@media (max-width: 520px) {
	.khmax-converter__swap {
		grid-template-columns: 1fr;
	}
	.khmax-converter__arrow {
		justify-self: center;
		transform: rotate(90deg);
	}
}

.khmax-converter__side label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--khmax-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.khmax-converter__field {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 0.9rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.04);
}

.khmax-converter__field input {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	color: var(--khmax-text);
	font-size: 1.25rem;
	font-weight: 700;
	outline: none;
}

.khmax-converter__field--output {
	justify-content: space-between;
}

.khmax-converter__field--output strong {
	font-size: 1.5rem;
	color: var(--khmax-neon);
	transition: transform 0.25s ease, color 0.25s ease;
}

.khmax-converter__field--output strong.is-pulse {
	animation: khmax-convert-pulse 0.35s ease;
}

@keyframes khmax-convert-pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.08); color: #fbbf24; }
	100% { transform: scale(1); }
}

.khmax-converter__unit {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--khmax-text-muted);
	white-space: nowrap;
}

.khmax-converter__arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(6, 182, 212, 0.35);
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
	transition: transform var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-converter__arrow svg {
	width: 20px;
	height: 20px;
}

.khmax-converter__arrow:hover:not(:disabled) {
	transform: scale(1.06);
	box-shadow: 0 12px 28px rgba(0, 102, 255, 0.45);
}

.khmax-converter__arrow:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.khmax-converter__slider {
	width: 100%;
	margin: var(--khmax-space-lg) 0 var(--khmax-space-md);
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	outline: none;
}

.khmax-converter__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	border: 2px solid #fff;
	box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
	cursor: pointer;
}

.khmax-converter__slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--khmax-primary), var(--khmax-accent));
	border: 2px solid #fff;
	box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
	cursor: pointer;
}

.khmax-converter__actions {
	margin: 0;
}

.khmax-earn-section {
	margin-top: var(--khmax-space-xl);
}

.khmax-earn-section__head {
	margin-bottom: var(--khmax-space-lg);
}

.khmax-earn-section__head h2 {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
}

.khmax-earn-section__head p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

.khmax-earn-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-md);
}

@media (min-width: 640px) {
	.khmax-earn-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.khmax-earn-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.khmax-earn-card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--khmax-space-md);
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
	transition: transform var(--khmax-transition), border-color var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-earn-card:hover {
	transform: translateY(-3px);
	border-color: rgba(6, 182, 212, 0.35);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.khmax-earn-card--done {
	opacity: 0.88;
}

.khmax-earn-card__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--khmax-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(6, 182, 212, 0.12));
	color: var(--khmax-accent);
}

.khmax-earn-card__icon svg {
	width: 22px;
	height: 22px;
}

.khmax-earn-card__body {
	min-width: 0;
}

.khmax-earn-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.khmax-earn-card__head h3 {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.35;
}

.khmax-earn-card__reward {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: rgba(6, 182, 212, 0.15);
	color: var(--khmax-accent);
}

.khmax-earn-card__body p {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	line-height: 1.45;
}

.khmax-earn-card__progress {
	height: 0.35rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.08);
	overflow: hidden;
	margin-bottom: 0.25rem;
}

.khmax-earn-card__progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--khmax-primary), var(--khmax-accent));
}

.khmax-earn-card__body small {
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
}

.khmax-earn-card__status {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #34d399;
}

.khmax-earn-card__cta {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	text-indent: -9999px;
	overflow: hidden;
}

.khmax-wallet-history {
	margin-top: var(--khmax-space-xl);
}

.khmax-wallet-history h2 {
	margin: 0 0 var(--khmax-space-md);
	font-size: 1.125rem;
}

/* KH AI — professional variant */
.khmax-ai--pro .khmax-ai__panel.is-open {
	border-color: rgba(0, 180, 255, 0.35);
	box-shadow:
		0 0 0 1px rgba(0, 102, 255, 0.18),
		0 0 40px rgba(0, 102, 255, 0.12),
		0 24px 60px rgba(0, 0, 0, 0.45);
}

.khmax-ai--pro .khmax-ai__header {
	padding-top: var(--khmax-space-sm);
	padding-bottom: var(--khmax-space-sm);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(6, 182, 212, 0.08));
	border-bottom-color: rgba(0, 180, 255, 0.2);
}

.khmax-ai__identity {
	display: flex;
	align-items: center;
	gap: var(--khmax-space-sm);
	min-width: 0;
}

.khmax-ai__avatar {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
	position: relative;
}

.khmax-ai--pro .khmax-ai__avatar::after {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px solid rgba(0, 200, 255, 0.45);
	animation: khmax-ai-avatar-ring 2.8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes khmax-ai-avatar-ring {
	0%, 100% { opacity: 0.35; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.06); }
}

.khmax-ai__avatar svg {
	width: 100%;
	height: 100%;
	display: block;
}

.khmax-ai__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0 var(--khmax-space-md) var(--khmax-space-sm);
	border-bottom: 1px solid var(--khmax-border);
}

.khmax-ai__chip {
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--khmax-text);
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background var(--khmax-transition), border-color var(--khmax-transition), color var(--khmax-transition);
}

.khmax-ai__chip:hover {
	border-color: rgba(6, 182, 212, 0.45);
	background: rgba(0, 102, 255, 0.12);
	color: var(--khmax-accent);
}

.khmax-ai__msg--typing {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0.75rem 1rem;
	min-height: 2.25rem;
}

.khmax-ai__msg--typing span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--khmax-text-muted);
	animation: khmax-ai-typing 1.2s ease-in-out infinite;
}

.khmax-ai__msg--typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.khmax-ai__msg--typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes khmax-ai-typing {
	0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
	40% { transform: translateY(-4px); opacity: 1; }
}

/* ── Faz 10 Op5 — Career, application wizard, affiliate gate ── */

.khmax-career-roles {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-md);
	margin-bottom: var(--khmax-space-xl);
}

@media (min-width: 640px) {
	.khmax-career-roles {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.khmax-career-roles {
		grid-template-columns: repeat(4, 1fr);
	}
}

.khmax-career-role {
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
	cursor: pointer;
	transition: transform var(--khmax-transition), border-color var(--khmax-transition), box-shadow var(--khmax-transition);
}

.khmax-career-role:hover {
	transform: translateY(-3px);
	border-color: rgba(6, 182, 212, 0.35);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.khmax-career-role__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--khmax-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--khmax-space-sm);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(6, 182, 212, 0.1));
	color: var(--khmax-accent);
}

.khmax-career-role__icon svg {
	width: 22px;
	height: 22px;
}

.khmax-career-role h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.khmax-career-role p {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	line-height: 1.45;
}

.khmax-career-status {
	padding: var(--khmax-space-xl);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-card);
	text-align: center;
}

.khmax-career-status h2 {
	margin: 0 0 0.5rem;
}

.khmax-career-status p {
	margin: 0 0 var(--khmax-space-md);
	color: var(--khmax-text-muted);
}

.khmax-career-status--approved {
	border-color: rgba(52, 211, 153, 0.35);
	background: linear-gradient(160deg, rgba(52, 211, 153, 0.08), rgba(0, 102, 255, 0.05));
}

.khmax-career-status--pending {
	border-color: rgba(245, 158, 11, 0.35);
}

.khmax-career-status--login .khmax-btn + .khmax-btn {
	margin-left: 0.5rem;
}

.khmax-career-wizard {
	padding: var(--khmax-space-xl);
	border-radius: var(--khmax-radius-lg);
}

.khmax-career-wizard.khmax-glass {
	box-shadow: var(--khmax-shadow-md);
}

.khmax-career-form.khmax-form--floating .khmax-field {
	margin-bottom: var(--khmax-space-sm);
}

.khmax-career-form.khmax-form--floating .khmax-field__error {
	display: block;
	min-height: 1.1em;
	font-size: 0.75rem;
	color: #f87171;
	margin-top: 0.2rem;
}

.khmax-career-wizard__progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin-bottom: var(--khmax-space-xl);
	flex-wrap: wrap;
}

.khmax-career-wizard__step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	min-width: 72px;
	text-align: center;
}

.khmax-career-wizard__step-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--khmax-text-muted);
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.khmax-career-wizard__step-icon svg {
	width: 18px;
	height: 18px;
}

.khmax-career-wizard__step-label {
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--khmax-text-muted);
	line-height: 1.2;
	max-width: 88px;
}

.khmax-career-wizard__step-item.is-active .khmax-career-wizard__step-icon,
.khmax-career-wizard__step-item.is-done .khmax-career-wizard__step-icon {
	border-color: rgba(0, 180, 255, 0.55);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.22), rgba(6, 182, 212, 0.14));
	color: #7dd3fc;
	box-shadow: 0 6px 18px rgba(0, 102, 255, 0.2);
}

.khmax-career-wizard__step-item.is-active .khmax-career-wizard__step-label,
.khmax-career-wizard__step-item.is-done .khmax-career-wizard__step-label {
	color: #d6ecff;
}

.khmax-career-wizard__line {
	flex: 1;
	max-width: 40px;
	min-width: 20px;
	height: 2px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 1px;
}

.khmax-career-form__lead {
	margin: 0 0 var(--khmax-space-md);
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

.khmax-career-form__grid {
	display: grid;
	gap: var(--khmax-space-sm);
}

@media (min-width: 640px) {
	.khmax-career-form__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.khmax-career-form__toggles {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.khmax-career-toggle {
	position: relative;
	cursor: pointer;
}

.khmax-career-toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.khmax-career-toggle__pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: var(--khmax-text-muted);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.khmax-career-toggle input:checked + .khmax-career-toggle__pill {
	border-color: rgba(0, 180, 255, 0.5);
	background: rgba(0, 102, 255, 0.18);
	color: #d6ecff;
	transform: translateY(-1px);
}

.khmax-career-toggle input:focus-visible + .khmax-career-toggle__pill {
	outline: 2px solid rgba(0, 180, 255, 0.45);
	outline-offset: 2px;
}

.khmax-career-form__platforms legend,
.khmax-career-form__workstyle legend {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--khmax-text-muted);
	margin-bottom: 0.65rem;
}

.khmax-career-form__pane h2 {
	margin: 0 0 var(--khmax-space-lg);
	font-size: 1.125rem;
}

.khmax-career-form__roles {
	display: grid;
	gap: 0.65rem;
	margin-bottom: var(--khmax-space-lg);
}

.khmax-career-form__role {
	display: flex;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
}

.khmax-career-form__role:has(input:checked) {
	border-color: rgba(6, 182, 212, 0.45);
	background: rgba(0, 102, 255, 0.1);
}

.khmax-career-form__role input {
	margin-top: 0.2rem;
}

.khmax-career-form__role strong {
	display: block;
	font-size: 0.875rem;
}

.khmax-career-form__role em {
	display: block;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
	font-style: normal;
	margin-top: 0.2rem;
}

.khmax-career-form__nav {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: var(--khmax-space-md);
}

.khmax-career-form__terms {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin: var(--khmax-space-md) 0;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-affiliate-gate {
	padding: var(--khmax-space-xl);
	border-radius: var(--khmax-radius-lg);
	border: 1px dashed rgba(6, 182, 212, 0.35);
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(6, 182, 212, 0.03));
	text-align: center;
}

.khmax-affiliate-gate__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto var(--khmax-space-md);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 102, 255, 0.12);
	color: var(--khmax-accent);
}

.khmax-affiliate-gate__icon svg {
	width: 26px;
	height: 26px;
}

.khmax-affiliate-gate h3 {
	margin: 0 0 0.5rem;
}

.khmax-affiliate-gate p {
	margin: 0 0 var(--khmax-space-md);
	color: var(--khmax-text-muted);
}

.khmax-affiliate-gate__perks {
	list-style: none;
	margin: 0 0 var(--khmax-space-lg);
	padding: 0;
	text-align: left;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

.khmax-affiliate-gate__perks li {
	padding: 0.35rem 0 0.35rem 1.25rem;
	position: relative;
	font-size: 0.875rem;
}

.khmax-affiliate-gate__perks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--khmax-accent);
}

.khmax-affiliate-gate__note {
	margin: var(--khmax-space-md) 0;
	padding: 0.75rem 1rem;
	border-radius: var(--khmax-radius);
	background: rgba(239, 68, 68, 0.08);
	border-left: 3px solid #f87171;
	font-size: 0.875rem;
	text-align: left;
}

.khmax-affiliate__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(0, 102, 255, 0.1));
	border: 1px solid rgba(52, 211, 153, 0.3);
	margin-bottom: 0.25rem;
}

.khmax-affiliate__badge span {
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.khmax-affiliate__badge strong {
	font-size: 0.8125rem;
	color: #34d399;
}

.khmax-affiliate__card small {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	font-weight: 400;
}

@media (min-width: 768px) {
	.khmax-affiliate__cards {
		grid-template-columns: repeat(4, 1fr);
	}
}

.khmax-affiliate__materials {
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-affiliate__materials h3 {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
}

.khmax-affiliate__material {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--khmax-border);
}

.khmax-affiliate__material:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.khmax-affiliate__material p {
	margin: 0.35rem 0 0.5rem;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	line-height: 1.45;
}

/* ── Faz 10 Op6 — Bildirimler, başvuru genişletme, entegrasyon ── */

.khmax-notify__link {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--khmax-accent);
	text-decoration: none;
}

.khmax-notify__link:hover {
	text-decoration: underline;
}

.khmax-partner-status {
	margin: var(--khmax-space-md) 0;
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: var(--khmax-bg-glass);
}

.khmax-partner-status__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.khmax-partner-status p {
	margin: 0 0 0.65rem;
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

.khmax-partner-status--approved {
	border-color: rgba(52, 211, 153, 0.35);
}

.khmax-partner-status--pending {
	border-color: rgba(245, 158, 11, 0.35);
}

.khmax-partner-status--rejected {
	border-color: rgba(239, 68, 68, 0.3);
}

.khmax-badge--approved {
	background: rgba(52, 211, 153, 0.15);
	color: #34d399;
}

.khmax-badge--rejected {
	background: rgba(239, 68, 68, 0.12);
	color: #f87171;
}

.khmax-career-form__platforms {
	border: none;
	margin: 0 0 var(--khmax-space-lg);
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
}

.khmax-career-form__platforms legend {
	grid-column: 1 / -1;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.15rem;
}

@media (min-width: 640px) {
	.khmax-career-form__platforms {
		grid-template-columns: repeat(3, 1fr);
	}
}

.khmax-career-form__platform {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.65rem;
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
	font-size: 0.8125rem;
}

.khmax-career-form__platform:has(input:checked) {
	border-color: rgba(6, 182, 212, 0.45);
	background: rgba(0, 102, 255, 0.1);
}

.khmax-affiliate__graphics-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-md);
}

@media (min-width: 640px) {
	.khmax-affiliate__graphics-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.khmax-affiliate-graphic {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.khmax-affiliate-graphic__art {
	min-height: 140px;
	padding: 1rem;
	border-radius: var(--khmax-radius-lg);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.25rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.khmax-affiliate-graphic__art::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%);
	pointer-events: none;
}

.khmax-affiliate-graphic--blue .khmax-affiliate-graphic__art {
	background: linear-gradient(145deg, #0066ff, #0f172a);
}

.khmax-affiliate-graphic--cyan .khmax-affiliate-graphic__art {
	background: linear-gradient(145deg, #06b6d4, #0c4a6e);
}

.khmax-affiliate-graphic--emerald .khmax-affiliate-graphic__art {
	background: linear-gradient(145deg, #34d399, #064e3b);
}

.khmax-affiliate-graphic__brand {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	opacity: 0.85;
}

.khmax-affiliate-graphic__art strong {
	font-size: 1rem;
	line-height: 1.3;
}

.khmax-affiliate-graphic__art em {
	font-size: 0.75rem;
	opacity: 0.9;
	font-style: normal;
}

/* VIP Supporter badges */
.khmax-profile-saas__name {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
}

.khmax-vip-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: 1px solid transparent;
	vertical-align: middle;
}

.khmax-vip-badge--lg {
	padding: 0.45rem 0.85rem;
	font-size: 0.75rem;
}

.khmax-vip-badge--bronze {
	color: #fcd9b6;
	background: linear-gradient(135deg, rgba(180, 120, 60, 0.35), rgba(120, 72, 32, 0.25));
	border-color: rgba(205, 150, 90, 0.45);
	box-shadow: 0 4px 16px rgba(180, 120, 60, 0.2);
}

.khmax-vip-badge--silver {
	color: #e8eef5;
	background: linear-gradient(135deg, rgba(160, 174, 192, 0.35), rgba(100, 116, 139, 0.25));
	border-color: rgba(186, 198, 214, 0.5);
	box-shadow: 0 4px 16px rgba(148, 163, 184, 0.22);
}

.khmax-vip-badge--gold {
	color: #fff4cc;
	background: linear-gradient(135deg, rgba(234, 179, 8, 0.4), rgba(180, 120, 0, 0.28));
	border-color: rgba(250, 204, 21, 0.55);
	box-shadow: 0 4px 18px rgba(234, 179, 8, 0.28);
	animation: khmax-vip-glow 3s ease-in-out infinite;
}

@keyframes khmax-vip-glow {
	0%, 100% { box-shadow: 0 4px 18px rgba(234, 179, 8, 0.22); }
	50% { box-shadow: 0 6px 24px rgba(250, 204, 21, 0.42); }
}

.khmax-vip-page .khmax-vip-balance {
	text-align: center;
	margin-bottom: var(--khmax-space-md);
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

.khmax-vip-tiers {
	display: grid;
	gap: var(--khmax-space-md);
	max-width: 640px;
	margin: 0 auto;
}

.khmax-vip-tier-card {
	cursor: pointer;
}

.khmax-vip-tier-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.khmax-vip-tier-card__inner {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.khmax-vip-tier-card input:checked + .khmax-vip-tier-card__inner {
	border-color: rgba(0, 180, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 102, 255, 0.18);
}

.khmax-vip-tier-card__inner strong {
	font-size: 1.125rem;
}

.khmax-vip-tier-card__inner em {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	font-style: normal;
}

.khmax-vip-active {
	text-align: center;
	margin-bottom: var(--khmax-space-lg);
}

/* Kazanç Panosu — level, mining, cross-site feed */
.khmax-earnings-panel {
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-lg);
}

.khmax-earnings-panel__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-md);
}

@media (min-width: 640px) {
	.khmax-earnings-panel__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.khmax-earnings-card {
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(12px);
	box-shadow: var(--khmax-shadow-sm);
}

.khmax-earnings-card--mining.is-active {
	border-color: rgba(0, 180, 255, 0.35);
	box-shadow: 0 8px 28px rgba(0, 102, 255, 0.15);
}

.khmax-mining-ref {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.65rem;
	align-items: stretch;
}

.khmax-mining-ref__input {
	flex: 1;
	min-width: 0;
	padding: 0.45rem 0.65rem;
	font-size: 0.75rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: rgba(0, 0, 0, 0.2);
	color: var(--khmax-text-muted);
}

.khmax-ad-setup {
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	margin-bottom: var(--khmax-space-lg);
}

.khmax-ad-setup h3 {
	margin: 0 0 0.35rem;
}

.khmax-ad-setup .khmax-form {
	margin-top: var(--khmax-space-md);
	max-width: 520px;
}

.khmax-ad-credit-note {
	margin: 0 0 var(--khmax-space-md);
	padding: 0.65rem 0.9rem;
	border-radius: var(--khmax-radius-md);
	border: 1px dashed rgba(0, 180, 255, 0.35);
	background: rgba(0, 102, 255, 0.06);
}

.khmax-earnings-card__badge {
	display: inline-block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--khmax-text-muted);
	margin-bottom: 0.35rem;
}

.khmax-earnings-card__value {
	display: block;
	font-size: 1.375rem;
	margin-bottom: 0.25rem;
}

.khmax-earnings-card__bar {
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	margin: 0.65rem 0 0.35rem;
}

.khmax-earnings-card__bar span,
.khmax-earnings-card__bar--mining span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--khmax-primary), #00b4ff);
	transition: width 0.45s ease;
}

.khmax-earnings-feed__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.khmax-earnings-feed__item {
	padding: 0.75rem 0.9rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.02);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.khmax-earnings-feed__item:hover {
	border-color: rgba(0, 180, 255, 0.35);
	transform: translateY(-1px);
}

.khmax-earnings-feed__item--tube { border-left: 3px solid #ff4d6d; }
.khmax-earnings-feed__item--core { border-left: 3px solid #7c3aed; }
.khmax-earnings-feed__item--max { border-left: 3px solid var(--khmax-primary); }

.khmax-earnings-feed__meta {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.8125rem;
	margin-bottom: 0.35rem;
}

.khmax-earnings-feed__meta time {
	color: var(--khmax-text-muted);
}

.khmax-earnings-feed__body {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
}

.khmax-earnings-feed__amount {
	color: #34d399;
	font-style: normal;
	white-space: nowrap;
}

.khmax-earnings-tasks-wrap h3,
.khmax-earnings-feed h3,
.khmax-earnings-wallet-log h3 {
	font-size: 1rem;
	margin: 0 0 0.35rem;
}

.khmax-form--ready .khmax-field.is-focused label,
.khmax-form--ready .khmax-field.has-value label {
	transform: translateY(-1.35rem) scale(0.85);
	color: var(--khmax-primary);
}

.khmax-form--ready .khmax-field.is-invalid input,
.khmax-form--ready .khmax-field.is-invalid textarea,
.khmax-form--ready .khmax-field.is-invalid select {
	border-color: #f87171;
	animation: khmax-field-shake 0.35s ease;
}

@keyframes khmax-field-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

/* ── v4.2 Premium Glass System ── */
.khmax-glass {
	background: linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(10, 14, 26, 0.72));
	border: 1px solid rgba(0, 180, 255, 0.14);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	border-radius: var(--khmax-radius-lg);
}

.khmax-hero--corp {
	padding: var(--khmax-space-xl) var(--khmax-space-lg);
	margin-bottom: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
}

.khmax-home-block {
	margin-bottom: var(--khmax-space-xl);
}

.khmax-section__header--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--khmax-space-md);
	margin-bottom: var(--khmax-space-md);
	flex-wrap: wrap;
}

.khmax-home-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-lg);
	margin-bottom: var(--khmax-space-xl);
}

@media (min-width: 1024px) {
	.khmax-home-layout {
		grid-template-columns: 1fr 300px;
		align-items: start;
	}
	.khmax-home-layout__aside {
		position: sticky;
		top: calc(var(--khmax-header-h) + 1rem);
	}
}

.khmax-vitrine-card--store:hover { border-color: rgba(0, 102, 255, 0.45); }
.khmax-vitrine-card--service:hover { border-color: rgba(168, 85, 247, 0.45); }
.khmax-vitrine-card--ads:hover { border-color: rgba(0, 240, 255, 0.45); }

/* Header wallet live badge */
.khmax-wallet-pill--live {
	position: relative;
	min-height: 44px;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.khmax-wallet-pill--live:hover {
	border-color: rgba(0, 240, 255, 0.5);
	box-shadow: 0 0 20px rgba(0, 180, 255, 0.25);
}

.khmax-wallet-pill__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(0, 180, 255, 0.15), transparent 60%);
	pointer-events: none;
}

.khmax-wallet-pill__chip {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--khmax-neon);
}

.khmax-wallet-pill__chip--coin { color: #fbbf24; }
.khmax-wallet-pill__chip--tl { color: #34d399; }

.khmax-wallet-pill__sep--tl { display: none; }
@media (min-width: 900px) {
	.khmax-wallet-pill__sep--tl { display: inline; }
}

.khmax-wallet-pill.is-synced .khmax-wallet-pill__chip {
	animation: khmax-pill-pulse 0.6s ease;
}

@keyframes khmax-pill-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.65; }
}

/* Şeref Köşesi widget */
.khmax-hof-widget {
	padding: var(--khmax-space-md);
}

.khmax-hof-widget__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: var(--khmax-space-md);
	color: #fbbf24;
}

.khmax-hof-widget__head h2 {
	font-size: 1rem;
	margin: 0;
	color: var(--khmax-text);
}

.khmax-hof-widget__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0 0 var(--khmax-space-md);
	padding: 0;
}

.khmax-hof-widget__item {
	display: grid;
	grid-template-columns: 24px 36px 1fr;
	gap: 0.5rem;
	align-items: center;
	padding: 0.45rem;
	border-radius: var(--khmax-radius);
	background: rgba(255, 255, 255, 0.02);
}

.khmax-hof-widget__item--gold { border-left: 3px solid #fbbf24; }
.khmax-hof-widget__item--silver { border-left: 3px solid #94a3b8; }
.khmax-hof-widget__item--bronze { border-left: 3px solid #cd966a; }

.khmax-hof-widget__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 102, 255, 0.15);
	font-size: 0.75rem;
	font-weight: 700;
}

.khmax-hof-widget__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* News carousel */
.khmax-news-carousel {
	padding: var(--khmax-space-md);
	margin-bottom: var(--khmax-space-xl);
	overflow: hidden;
}

.khmax-news-carousel__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--khmax-space-md);
}

.khmax-news-carousel__head h2 {
	font-size: 1.125rem;
	margin: 0;
}

.khmax-news-carousel__nav {
	display: flex;
	gap: 0.35rem;
}

.khmax-news-carousel__btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--khmax-text);
	cursor: pointer;
}

.khmax-news-carousel__track-wrap {
	overflow: hidden;
}

.khmax-news-carousel__track {
	display: flex;
	gap: 1rem;
	transition: transform 0.3s ease;
	will-change: transform;
}

.khmax-news-card {
	flex: 0 0 min(280px, 85vw);
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
}

.khmax-news-card time {
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.khmax-news-card strong {
	display: block;
	margin: 0.35rem 0;
	font-size: 0.9375rem;
}

.khmax-news-card p {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
	margin: 0;
	line-height: 1.45;
}

/* Merkez Bankası */
.khmax-central-bank {
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-lg);
}

.khmax-central-bank__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--khmax-space-md);
	padding: var(--khmax-space-md);
}

.khmax-central-bank__badge {
	display: inline-block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--khmax-neon);
	margin-bottom: 0.25rem;
}

.khmax-central-bank__balances {
	display: flex;
	gap: var(--khmax-space-md);
}

.khmax-central-bank__balances div {
	text-align: center;
}

.khmax-central-bank__balances span {
	display: block;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	text-transform: uppercase;
}

.khmax-central-bank__balances strong {
	font-size: 1.125rem;
	color: var(--khmax-neon);
}

.khmax-source-bars,
.khmax-spend-hub {
	padding: var(--khmax-space-md);
}

.khmax-source-bars__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: var(--khmax-space-md);
}

.khmax-source-bar__head {
	display: flex;
	justify-content: space-between;
	font-size: 0.8125rem;
	margin-bottom: 0.35rem;
}

.khmax-source-bar__track {
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.khmax-source-bar__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--khmax-primary), var(--khmax-neon));
	transition: width 0.5s ease;
}

.khmax-source-bar--tube .khmax-source-bar__track span { background: linear-gradient(90deg, #ff4d6d, #ff8fa3); }
.khmax-source-bar--core .khmax-source-bar__track span { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

.khmax-spend-hub__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--khmax-space-md);
	margin-top: var(--khmax-space-md);
}

@media (min-width: 640px) {
	.khmax-spend-hub__grid { grid-template-columns: repeat(3, 1fr); }
}

.khmax-spend-card {
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.02);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.khmax-spend-card.is-active {
	border-color: rgba(52, 211, 153, 0.45);
}

.khmax-spend-card em {
	color: #fbbf24;
	font-style: normal;
	font-weight: 700;
}

.khmax-spend-card__status {
	font-size: 0.75rem;
	color: #34d399;
	font-weight: 700;
}

.khmax-profile-saas__sidebar.khmax-glass,
.khmax-profile-saas__main.khmax-glass {
	padding: var(--khmax-space-md);
}

.khmax-contact-card.khmax-glass,
.khmax-checkout-wallet.khmax-glass {
	padding: var(--khmax-space-md);
}

/* ── v4.4 Faz 3: Görev Havuzu + Analitik Pro ── */
.khmax-quest-pool {
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	margin-bottom: var(--khmax-space-lg);
}

.khmax-quest-pool__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--khmax-space-sm);
	margin-bottom: var(--khmax-space-md);
}

.khmax-quest-pool__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
}

.khmax-quest-pool__create {
	display: grid;
	gap: var(--khmax-space-sm);
	margin-bottom: var(--khmax-space-md);
}

@media (min-width: 640px) {
	.khmax-quest-pool__create {
		grid-template-columns: 1fr 1fr auto;
		align-items: end;
	}
}

.khmax-quest-pool__list {
	display: grid;
	gap: 0.65rem;
}

.khmax-quest-card {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.khmax-quest-card:hover {
	border-color: rgba(0, 180, 255, 0.35);
	transform: translateY(-1px);
}

.khmax-quest-card__link {
	display: block;
	font-size: 0.75rem;
	color: var(--khmax-accent);
	text-decoration: none;
}

.khmax-quest-card__foot {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.khmax-quest-card__foot em {
	color: #fbbf24;
	font-style: normal;
	font-weight: 700;
}

.khmax-quest-card__badge {
	font-size: 0.6875rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: rgba(0, 102, 255, 0.15);
	color: #7dd3fc;
}

.khmax-earnings-task__link {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.75rem;
	color: var(--khmax-accent);
	text-decoration: none;
}

.khmax-analytics-pro {
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
}

.khmax-analytics-pro__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--khmax-space-sm);
	margin-bottom: var(--khmax-space-md);
}

.khmax-analytics-pro__badge {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.25), rgba(6, 182, 212, 0.2));
	color: #7dd3fc;
}

.khmax-analytics-pro__totals {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
	margin-bottom: var(--khmax-space-md);
}

@media (min-width: 640px) {
	.khmax-analytics-pro__totals {
		grid-template-columns: repeat(4, 1fr);
	}
}

.khmax-analytics-pro__stat {
	padding: 0.75rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.03);
}

.khmax-analytics-pro__stat span {
	display: block;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	margin-bottom: 0.2rem;
}

.khmax-analytics-pro__stat strong {
	font-size: 1.125rem;
}

.khmax-analytics-pro__stat--ctr strong {
	color: #34d399;
}

.khmax-analytics-pro__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.khmax-analytics-pro__row {
	padding: 0.85rem 1rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.02);
}

.khmax-analytics-pro__row.is-live {
	border-left: 3px solid #34d399;
}

.khmax-analytics-pro__row.is-expired {
	opacity: 0.72;
}

.khmax-analytics-pro__row-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
}

.khmax-analytics-pro__row-head em {
	font-size: 0.75rem;
	color: var(--khmax-text-muted);
	font-style: normal;
}

.khmax-analytics-pro__row-metrics {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem;
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-analytics-pro__ctr {
	color: #34d399;
	font-weight: 600;
}

.khmax-analytics-pro__bar {
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	margin-top: 0.5rem;
}

.khmax-analytics-pro__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #34d399, #00b4ff);
	border-radius: inherit;
}

.khmax-ai-pro-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	font-size: 0.5625rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.35rem;
	border-radius: 4px;
	background: linear-gradient(135deg, #0066ff, #00b4ff);
	color: #fff;
	line-height: 1;
}

.khmax-action-dock__btn--ai {
	position: relative;
}

/* ── v4.5 UI İzolasyon + Ekonomi Revizyonu ── */
.khmax-header__actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.4rem;
	min-width: 0;
	max-width: 42%;
}

.khmax-header__inner {
	gap: 0.65rem;
}

.khmax-header-profile {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	max-width: 9rem;
	padding: 0.25rem 0.55rem 0.25rem 0.25rem;
	border-radius: 999px;
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.04);
	text-decoration: none;
	color: var(--khmax-text);
	flex-shrink: 0;
}

.khmax-header-profile__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.khmax-header-profile__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.khmax-header-profile__name {
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.khmax-wallet-dropdown {
	position: relative;
	flex-shrink: 0;
}

.khmax-wallet-dropdown__menu {
	position: absolute;
	top: calc(100% + 0.45rem);
	right: 0;
	min-width: 220px;
	padding: 0.65rem;
	border-radius: var(--khmax-radius-md);
	z-index: 120;
	box-shadow: var(--khmax-shadow-md);
}

.khmax-wallet-dropdown__summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.35rem;
	font-size: 0.6875rem;
	color: var(--khmax-text-muted);
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--khmax-border);
}

.khmax-wallet-dropdown__summary strong {
	display: block;
	color: var(--khmax-text);
	font-size: 0.8125rem;
}

.khmax-wallet-dropdown__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.khmax-wallet-dropdown__link {
	display: block;
	padding: 0.5rem 0.6rem;
	border-radius: 8px;
	font-size: 0.8125rem;
	color: var(--khmax-text);
	text-decoration: none;
	transition: background 0.2s ease;
}

.khmax-wallet-dropdown__link:hover {
	background: rgba(0, 102, 255, 0.12);
	color: #7dd3fc;
}

.khmax-wallet-pill__chevron {
	flex-shrink: 0;
	opacity: 0.7;
}

.khmax-wallet-dropdown.is-open .khmax-wallet-pill__chevron {
	transform: rotate(180deg);
}

.khmax-status-badge {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.khmax-status-badge--bronze { background: rgba(180, 83, 9, 0.2); color: #fbbf24; }
.khmax-status-badge--silver { background: rgba(148, 163, 184, 0.2); color: #e2e8f0; }
.khmax-status-badge--gold { background: rgba(234, 179, 8, 0.2); color: #fde047; }

.khmax-wallet-status {
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-lg);
	margin-bottom: var(--khmax-space-md);
}

.khmax-tl-ops {
	padding: var(--khmax-space-lg);
	border-radius: var(--khmax-radius-lg);
	margin: var(--khmax-space-lg) 0;
}

.khmax-tl-ops__grid {
	display: grid;
	gap: var(--khmax-space-md);
}

@media (min-width: 768px) {
	.khmax-tl-ops__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.khmax-tl-ops__panel {
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
	background: rgba(255, 255, 255, 0.02);
}

.khmax-cart__coin-total {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: #fbbf24;
	font-style: normal;
	font-weight: 600;
}

.khmax-form--contact .khmax-field label,
.khmax-form--contact .khmax-field--select label,
.khmax-form--contact .khmax-field--textarea label {
	font-size: 0.8125rem;
}

.khmax-form--contact input:focus + label,
.khmax-form--contact textarea:focus + label,
.khmax-form--contact select:focus + label,
.khmax-form--contact input:not(:placeholder-shown) + label,
.khmax-form--contact textarea:not(:placeholder-shown) + label {
	font-size: 0.6875rem;
}

.khmax-career-wizard .khmax-career-form__grid {
	display: grid;
	gap: var(--khmax-space-md);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.khmax-career-wizard .khmax-career-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.khmax-career-wizard .khmax-career-form__grid .khmax-field:first-child {
		grid-column: 1 / -1;
	}
}

.khmax-career-form__pane {
	display: none;
}

.khmax-career-form__pane.is-active {
	display: block;
}

.khmax-quest-pool__create--modern {
	display: grid;
	gap: var(--khmax-space-sm);
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-md);
	border: 1px dashed rgba(0, 180, 255, 0.28);
	background: rgba(0, 102, 255, 0.05);
}

@media (min-width: 720px) {
	.khmax-quest-pool__create--modern {
		grid-template-columns: 1.4fr 1fr auto;
		align-items: end;
	}
}

.khmax-news-card strong a {
	color: inherit;
	text-decoration: none;
}

.khmax-news-card strong a:hover {
	color: var(--khmax-accent);
}

@media (max-width: 900px) {
	.khmax-header-profile__name {
		display: none;
	}
	.khmax-header__actions {
		max-width: none;
	}
}

/* ── v4.6.0 — Header commerce, sabit kur, VIP shop, formlar ── */
.khmax-header__commerce {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}

.khmax-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.khmax-header__cart-icon {
	flex-shrink: 0;
	opacity: 0.9;
}

.khmax-header__commerce .khmax-mini-cart {
	right: 0;
	left: auto;
}

.khmax-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.khmax-modal[hidden] {
	display: none !important;
}

body.khmax-modal-open {
	overflow: hidden;
}

.khmax-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 8, 20, 0.72);
	backdrop-filter: blur(4px);
}

.khmax-modal__panel {
	position: relative;
	width: min(100%, 480px);
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.25rem;
	border-radius: var(--khmax-radius-lg);
	border: 1px solid var(--khmax-border);
}

.khmax-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.khmax-modal__head h2 {
	margin: 0;
	font-size: 1.25rem;
}

.khmax-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--khmax-text);
	cursor: pointer;
}

.khmax-modal__lead {
	margin: 0 0 1rem;
	font-size: 0.875rem;
}

.khmax-iban-card {
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	border-radius: var(--khmax-radius-md);
	border: 1px solid rgba(0, 180, 255, 0.22);
}

.khmax-iban-card__label {
	display: block;
	font-weight: 700;
	font-size: 0.9375rem;
}

.khmax-iban-card__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	flex-wrap: wrap;
}

.khmax-iban-card__code {
	font-size: 0.8125rem;
	word-break: break-all;
	flex: 1;
	min-width: 0;
}

.khmax-field__hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: #fbbf24;
}

.khmax-tl-ops__panel--deposit {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-md);
	border: 1px solid var(--khmax-border);
}

/* Form label typography — SaaS hiyerarşi */
.khmax-form--floating .khmax-field label,
.khmax-form__group label {
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.khmax-form--contact .khmax-field label,
.khmax-form--contact .khmax-field--select label,
.khmax-form--contact .khmax-field--textarea label {
	font-size: 0.9375rem;
	font-weight: 600;
}

.khmax-form--contact input:focus + label,
.khmax-form--contact textarea:focus + label,
.khmax-form--contact select:focus + label,
.khmax-form--contact input:not(:placeholder-shown) + label,
.khmax-form--contact textarea:not(:placeholder-shown) + label {
	font-size: 0.75rem;
}

/* Kariyer grid düzeltmesi */
.khmax-career-page {
	width: 100%;
	max-width: 100%;
}

.khmax-career-roles {
	width: 100%;
	max-width: 100%;
}

.khmax-career-role {
	min-width: 0;
	height: 100%;
}

.khmax-career-wizard .khmax-career-form__grid .khmax-field {
	min-width: 0;
}

/* VIP Premium Statü mağazası */
.khmax-vip-shop__hero {
	position: relative;
	margin-bottom: var(--khmax-space-xl);
	border-radius: var(--khmax-radius-lg);
	overflow: hidden;
	min-height: 220px;
}

.khmax-vip-shop__hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 215, 0, 0.18), transparent 55%),
		radial-gradient(ellipse 60% 50% at 80% 70%, rgba(0, 102, 255, 0.22), transparent 50%),
		linear-gradient(160deg, rgba(8, 16, 32, 0.95), rgba(4, 10, 24, 0.98));
}

.khmax-vip-shop__hero-content {
	position: relative;
	padding: var(--khmax-space-xl) var(--khmax-space-lg);
	text-align: center;
}

.khmax-vip-shop__hero-content h1 {
	margin: 0.5rem 0;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.khmax-vip-shop__balance {
	text-align: center;
	margin-bottom: var(--khmax-space-lg);
	font-weight: 600;
	color: #fbbf24;
}

.khmax-vip-shop__grid {
	display: grid;
	gap: var(--khmax-space-md);
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.khmax-vip-shop__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.khmax-vip-shop__card {
	cursor: pointer;
}

.khmax-vip-shop__card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.khmax-vip-shop__card-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	padding: var(--khmax-space-lg);
	min-height: 100%;
	border-radius: var(--khmax-radius-lg);
	border: 2px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.khmax-vip-shop__card input:checked + .khmax-vip-shop__card-inner {
	border-color: var(--khmax-accent);
	box-shadow: 0 0 0 1px var(--khmax-accent), 0 12px 40px var(--khmax-vip-glow, rgba(0, 102, 255, 0.2));
	transform: translateY(-4px);
}

.khmax-vip-shop__card-badge {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--khmax-vip-gradient);
	box-shadow: 0 8px 24px var(--khmax-vip-glow);
}

.khmax-vip-shop__card-title {
	font-size: 1.125rem;
}

.khmax-vip-shop__card-price {
	font-size: 1.5rem;
	font-weight: 800;
	color: #fbbf24;
}

.khmax-vip-shop__card-desc {
	margin: 0;
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

.khmax-vip-shop__perks {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	width: 100%;
	text-align: left;
	font-size: 0.8125rem;
}

.khmax-vip-shop__perks li {
	padding: 0.25rem 0;
	padding-left: 1.1rem;
	position: relative;
}

.khmax-vip-shop__perks li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--khmax-accent);
	font-weight: 700;
}

.khmax-vip-shop__card-cta {
	margin-top: auto;
	padding: 0.35rem 1rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: rgba(0, 102, 255, 0.15);
	color: var(--khmax-accent);
}

.khmax-vip-shop__checkout {
	grid-column: 1 / -1;
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-md);
}

/* ── v4.7.0 — Header icon-only, stacked forms, VIP rebuild, kariyer fix ── */
.khmax-header__commerce {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.khmax-header__cart-wrap {
	position: relative;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
}

.khmax-header-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	padding: 0;
	border: 1px solid var(--khmax-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--khmax-text);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.khmax-header-icon-btn:hover {
	background: rgba(0, 102, 255, 0.14);
	border-color: rgba(0, 180, 255, 0.35);
	color: var(--khmax-accent);
}

.khmax-header__cart .khmax-cart-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	font-size: 0.625rem;
	line-height: 18px;
	text-align: center;
	border-radius: 999px;
}

.khmax-header__commerce .khmax-mini-cart {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	min-width: 280px;
	z-index: 130;
}

.khmax-wallet-dropdown {
	flex-shrink: 0;
}

.khmax-wallet-pill--icon {
	border-radius: 10px;
}

/* Stacked form labels — overlap fix */
.khmax-form--stacked .khmax-field,
.khmax-form--floating .khmax-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.khmax-form--stacked .khmax-field label,
.khmax-form--floating .khmax-field label {
	position: static !important;
	transform: none !important;
	top: auto !important;
	left: auto !important;
	order: -1;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	color: var(--khmax-text) !important;
	pointer-events: auto;
	margin: 0;
}

.khmax-form--stacked input,
.khmax-form--stacked textarea,
.khmax-form--stacked select,
.khmax-form--floating input,
.khmax-form--floating textarea,
.khmax-form--floating select {
	padding: 0.75rem 0.875rem !important;
}

.khmax-form__group label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--khmax-text);
}

/* Kariyer sayfa düzeltmesi */
.khmax-career-page {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.khmax-career-wizard {
	max-width: 100%;
	overflow: hidden;
}

.khmax-career-form__pane[hidden] {
	display: none !important;
}

.khmax-career-form__pane.is-active {
	display: block;
}

.khmax-career-form__roles {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.khmax-career-form__roles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* VIP shop v4.7 */
.khmax-vip-shop__layout {
	display: flex;
	flex-direction: column;
	gap: var(--khmax-space-lg);
}

.khmax-vip-shop__tiers {
	display: grid;
	gap: var(--khmax-space-md);
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.khmax-vip-shop__tiers {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.khmax-vip-tier {
	cursor: pointer;
}

.khmax-vip-tier input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.khmax-vip-tier.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.khmax-vip-tier__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	padding: var(--khmax-space-lg);
	height: 100%;
	border: 2px solid transparent;
	border-radius: var(--khmax-radius-lg);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.khmax-vip-tier input:checked + .khmax-vip-tier__card {
	border-color: var(--khmax-accent);
	box-shadow: 0 12px 36px rgba(0, 102, 255, 0.2);
	transform: translateY(-3px);
}

.khmax-vip-tier--bronze input:checked + .khmax-vip-tier__card {
	border-color: #cd7f32;
	box-shadow: 0 12px 36px rgba(205, 127, 50, 0.25);
}

.khmax-vip-tier--silver input:checked + .khmax-vip-tier__card {
	border-color: #9aa8b8;
}

.khmax-vip-tier--gold input:checked + .khmax-vip-tier__card {
	border-color: #ffd700;
	box-shadow: 0 12px 36px rgba(255, 215, 0, 0.2);
}

.khmax-vip-tier__tag {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--khmax-accent);
}

.khmax-vip-tier__name {
	font-size: 1.125rem;
}

.khmax-vip-tier__price {
	font-size: 1.5rem;
	font-weight: 800;
	color: #fbbf24;
}

.khmax-vip-tier__tl {
	font-size: 0.8125rem;
	color: var(--khmax-text-muted);
}

.khmax-vip-tier__desc {
	margin: 0;
	font-size: 0.875rem;
	color: var(--khmax-text-muted);
}

.khmax-vip-shop__footer {
	padding: var(--khmax-space-md);
	border-radius: var(--khmax-radius-md);
}

.khmax-vip-shop__login {
	text-align: center;
	padding: var(--khmax-space-xl);
	border-radius: var(--khmax-radius-lg);
}

.khmax-tl-ops__balance {
	font-weight: 600;
	color: #fbbf24;
	margin: 0.5rem 0 0;
}

.khmax-tl-ops__grid {
	display: grid;
	gap: var(--khmax-space-md);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.khmax-tl-ops__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
