/*!
Theme Name: FitXPower
Theme URI: https://fitxpower.com/
Author: FitXPower
Author URI: https://fitxpower.com/
Description: Premium dark-mode fitness e-commerce theme for digital programs, coaching, and videos.
Version: 3.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fitxpower-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, e-commerce
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	/* Colors */
	--color-bg: #0a0a0f;
	--color-bg-alt: #0e0e16;
	--color-bg-card: #13131a;
	--color-bg-card-hover: #181822;
	--color-bg-footer: #08080d;
	--color-border: #1e1e2e;
	--color-border-subtle: #161624;
	--color-accent: #ff6b35;
	--color-accent-hover: #ff8555;
	--color-accent-red: #ff4444;
	--color-accent-blue: #4361ee;
	--color-accent-blue-hover: #5a75f0;
	--color-text: #f0f0f0;
	--color-text-secondary: #a0a0b0;
	--color-text-muted: #6a6a7a;
	--color-white: #ffffff;
	--color-overlay: rgba(10, 10, 15, 0.85);

	/* Gradients */
	--gradient-accent: linear-gradient(135deg, #ff6b35, #ff4444);
	--gradient-accent-reverse: linear-gradient(135deg, #ff4444, #ff6b35);
	--gradient-accent-soft: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 68, 68, 0.08));
	--gradient-blue: linear-gradient(135deg, #4361ee, #6c5ce7);
	--gradient-card-border: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(255, 68, 68, 0.1), rgba(67, 97, 238, 0.3));
	--gradient-dark-overlay: linear-gradient(180deg, rgba(19, 19, 26, 0) 0%, rgba(19, 19, 26, 0.8) 100%);
	--gradient-section-divider: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), rgba(255, 68, 68, 0.2), rgba(67, 97, 238, 0.3), transparent);

	/* Typography */
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-heading: 'Outfit', 'Inter', sans-serif;

	/* Font sizes (fluid) — more dramatic contrast */
	--text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
	--text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
	--text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
	--text-lg: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
	--text-xl: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
	--text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
	--text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
	--text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
	--text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);

	/* Spacing — 8px grid */
	--space-1: 0.25rem;   /* 4px */
	--space-2: 0.5rem;    /* 8px */
	--space-3: 0.75rem;   /* 12px */
	--space-4: 1rem;      /* 16px */
	--space-5: 1.5rem;    /* 24px */
	--space-6: 2rem;      /* 32px */
	--space-7: 2.5rem;    /* 40px */
	--space-8: 3rem;      /* 48px */
	--space-9: 4rem;      /* 64px */
	--space-10: 5rem;     /* 80px */
	--space-11: 6rem;     /* 96px */
	--space-12: 8rem;     /* 128px */

	/* Legacy spacing aliases */
	--space-xs: var(--space-1);
	--space-sm: var(--space-2);
	--space-md: var(--space-4);
	--space-lg: var(--space-5);
	--space-xl: var(--space-6);
	--space-2xl: var(--space-8);
	--space-3xl: var(--space-9);
	--space-4xl: var(--space-11);

	/* Layout */
	--container-max: 1280px;
	--header-height: 80px;

	/* Radius */
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
	--shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
	--shadow-glow-orange: 0 0 30px rgba(255, 107, 53, 0.3), 0 0 60px rgba(255, 107, 53, 0.1);
	--shadow-glow-orange-lg: 0 0 40px rgba(255, 107, 53, 0.4), 0 0 80px rgba(255, 107, 53, 0.15);
	--shadow-glow-blue: 0 0 30px rgba(67, 97, 238, 0.3), 0 0 60px rgba(67, 97, 238, 0.1);
	--shadow-card-hover: 0 8px 40px rgba(255, 107, 53, 0.12), 0 0 0 1px rgba(255, 107, 53, 0.1);

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(32px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.2); }
	50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.4), 0 0 80px rgba(255, 107, 53, 0.1); }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes numberPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes rotateShape {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes floatSlow {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	33% { transform: translateY(-12px) rotate(2deg); }
	66% { transform: translateY(4px) rotate(-1deg); }
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
	background: #2a2a3a;
	border-radius: var(--radius-full);
	border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
	background: #3a3a4e;
}

::-webkit-scrollbar-corner {
	background: var(--color-bg);
}

/* Firefox scrollbar */
* {
	scrollbar-width: thin;
	scrollbar-color: #2a2a3a var(--color-bg);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.7;
	color: var(--color-text);
	background-color: var(--color-bg);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover,
a:focus {
	color: var(--color-accent-hover);
}

ul,
ol {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.1;
	color: var(--color-text);
	letter-spacing: -0.02em;
}

h1 {
	font-size: var(--text-5xl);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

h2 {
	font-size: var(--text-4xl);
	font-weight: 800;
	letter-spacing: -0.025em;
}

h3 {
	font-size: var(--text-2xl);
	font-weight: 700;
}

h4 {
	font-size: var(--text-xl);
	font-weight: 700;
}

h5 {
	font-size: var(--text-lg);
	font-weight: 600;
}

h6 {
	font-size: var(--text-base);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

p {
	margin-bottom: var(--space-md);
	color: var(--color-text-secondary);
	line-height: 1.7;
}

embed,
iframe,
object {
	max-width: 100%;
}

figure {
	margin: 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

/* ==========================================================================
   Forms (Base) — Focus glow effect
   ========================================================================== */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.5;
	color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea {
	background: var(--color-bg-card);
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 0.8em 1.2em;
	width: 100%;
	transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	background: rgba(19, 19, 26, 0.8);
	box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12), 0 0 20px rgba(255, 107, 53, 0.08), inset 0 0 0 1px rgba(255, 107, 53, 0.1);
}

input::placeholder,
textarea::placeholder {
	color: var(--color-text-muted);
	transition: color var(--transition-fast), opacity var(--transition-fast);
}

input:focus::placeholder,
textarea:focus::placeholder {
	opacity: 0.5;
	color: var(--color-text-secondary);
}

select {
	background: var(--color-bg-card);
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 0.8em 1.2em;
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

select:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12), 0 0 20px rgba(255, 107, 53, 0.08);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-5);
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#content {
	flex: 1;
	padding-top: var(--header-height);
}

/* ==========================================================================
   Header — Frosted glass on scroll
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: var(--space-4) 0;
	background: transparent;
	border-bottom: 1px solid transparent;
	will-change: background-color, backdrop-filter;
	transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            -webkit-backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
	background: rgba(10, 10, 15, 0.7);
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
	border-bottom-color: rgba(255, 255, 255, 0.03);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-5);
	gap: var(--space-6);
}

/* Logo */
.site-branding {
	flex-shrink: 0;
}

.site-branding .logo-link {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 800;
	color: var(--color-text);
	text-decoration: none;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: var(--space-2);
	transition: all var(--transition-base);
}

.site-branding .logo-link:hover {
	color: var(--color-accent);
	transform: scale(1.02);
}

.site-branding .logo-link .logo-accent {
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Primary Navigation */
.main-navigation {
	display: none;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: var(--space-7);
}

.main-navigation a {
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	padding: var(--space-2) 0;
	position: relative;
	transition: color var(--transition-base);
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-accent);
	transition: width var(--transition-base);
	border-radius: var(--radius-full);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--color-white);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
	width: 100%;
}

/* Sub-menus */
.main-navigation ul ul {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(19, 19, 26, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--radius-md);
	padding: var(--space-2);
	min-width: 220px;
	box-shadow: var(--shadow-xl);
	z-index: 100;
}

.main-navigation ul li:hover > ul {
	display: block;
	animation: fadeInDown 0.25s ease;
}

.main-navigation ul ul a {
	padding: var(--space-3) var(--space-4);
	text-transform: none;
	letter-spacing: 0;
	font-size: var(--text-sm);
	border-radius: var(--radius-sm);
	display: block;
}

.main-navigation ul ul a::after {
	display: none;
}

.main-navigation ul ul a:hover {
	background: rgba(255, 107, 53, 0.08);
	color: var(--color-accent);
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	flex-shrink: 0;
}

/* Language Switcher */
.language-switcher {
	display: none;
}

.language-switcher ul {
	display: flex;
	align-items: center;
	gap: var(--space-1);
}

.language-switcher li {
	display: flex;
}

.language-switcher a {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
	font-weight: 500;
	padding: 4px 10px;
	border-radius: var(--radius-sm);
	transition: all var(--transition-base);
}

.language-switcher a:hover,
.language-switcher .current-lang a {
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.06);
}

.language-switcher img {
	width: 18px;
	height: auto;
	border-radius: 2px;
}

/* Cart Icon */
.header-cart {
	position: relative;
	display: flex;
	align-items: center;
}

.header-cart a {
	color: var(--color-text-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-full);
	transition: all var(--transition-base);
}

.header-cart a:hover {
	color: var(--color-white);
	background: rgba(255, 255, 255, 0.06);
	transform: scale(1.05);
}

.header-cart svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
}

.cart-count {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--gradient-accent);
	color: var(--color-white);
	font-size: 0.6rem;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
	border: 2px solid var(--color-bg);
}

.cart-count:empty,
.cart-count.hidden {
	display: none;
}

/* Header CTA */
.header-cta .btn-primary {
	font-size: var(--text-sm);
	padding: 0.55em 1.6em;
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	border-radius: var(--radius-sm);
	transition: all var(--transition-base);
}

.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.06);
}

.menu-toggle .hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 22px;
}

.menu-toggle .hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-text);
	border-radius: 2px;
	transition: transform var(--transition-base), opacity var(--transition-fast);
	transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
	display: none;
	position: fixed;
	top: var(--header-height);
	left: 0;
	width: 100%;
	height: calc(100vh - var(--header-height));
	background: rgba(10, 10, 15, 0.92);
	backdrop-filter: blur(30px) saturate(150%);
	-webkit-backdrop-filter: blur(30px) saturate(150%);
	z-index: 999;
	padding: var(--space-8) var(--space-5);
	overflow-y: auto;
}

.mobile-menu.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

.mobile-menu .mobile-nav ul {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.mobile-menu .mobile-nav a {
	display: block;
	color: var(--color-text);
	font-size: var(--text-xl);
	font-weight: 600;
	padding: var(--space-4) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	transition: all var(--transition-base);
}

.mobile-menu .mobile-nav a:hover {
	color: var(--color-accent);
	padding-left: var(--space-4);
}

.mobile-menu .mobile-actions {
	margin-top: var(--space-8);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.mobile-menu .mobile-lang {
	margin-top: var(--space-6);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-border);
}

.mobile-menu .mobile-lang ul {
	display: flex;
	gap: var(--space-4);
}

.mobile-menu .mobile-lang a {
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}

/* ==========================================================================
   Buttons — Gradient, glow, micro-interactions
   ========================================================================== */

.btn-primary,
.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 600;
	padding: 0.85em 2.2em;
	border-radius: var(--radius-full);
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
	border: none;
	line-height: 1.4;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	letter-spacing: 0.02em;
}

.btn-primary {
	background: var(--gradient-accent);
	background-size: 200% 200%;
	color: var(--color-white);
	box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
}

.btn-primary::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 50%);
	opacity: 0;
	transition: opacity var(--transition-base);
}

.btn-primary:hover {
	color: var(--color-white);
	transform: translateY(-2px) scale(1.02);
	box-shadow: var(--shadow-glow-orange-lg);
	background-size: 200% 200%;
	animation: gradientShift 3s ease infinite;
}

.btn-primary:hover::before {
	opacity: 1;
}

.btn-primary:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Secondary button — gradient border via pseudo-element */
.btn-secondary {
	background: transparent;
	color: var(--color-text);
	position: relative;
	z-index: 1;
}

.btn-secondary::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-full);
	padding: 2px;
	background: linear-gradient(135deg, var(--color-border), rgba(255, 255, 255, 0.08));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	transition: all var(--transition-base);
	z-index: -1;
}

.btn-secondary:hover {
	color: var(--color-accent);
}

.btn-secondary:hover::before {
	background: var(--gradient-accent);
}

.btn-secondary:active {
	transform: scale(0.98);
}

.btn-sm {
	font-size: var(--text-sm);
	padding: 0.55em 1.5em;
}

.btn-lg {
	font-size: var(--text-lg);
	padding: 1em 2.8em;
}

.btn-block {
	width: 100%;
}

/* Pulsing CTA animation */
.btn-cta-pulse {
	animation: pulseGlow 3s ease-in-out infinite;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--color-bg-footer);
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	padding-top: var(--space-11);
	position: relative;
}

.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--gradient-section-divider);
}

.footer-main {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-8);
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-5);
	padding-bottom: var(--space-9);
}

/* Footer About Column */
.footer-about .footer-logo {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 800;
	color: var(--color-text);
	letter-spacing: 0.05em;
	margin-bottom: var(--space-4);
}

.footer-about .footer-logo .logo-accent {
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-about p {
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
	line-height: 1.8;
	max-width: 320px;
}

/* Footer Columns */
.footer-column h4 {
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-white);
	margin-bottom: var(--space-5);
	position: relative;
	padding-bottom: var(--space-3);
}

.footer-column h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 24px;
	height: 2px;
	background: var(--gradient-accent);
	border-radius: var(--radius-full);
}

.footer-column ul {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.footer-column a {
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
	transition: all var(--transition-base);
	display: inline-block;
}

.footer-column a:hover {
	color: var(--color-accent);
	transform: translateX(4px);
}

/* Footer Newsletter */
.footer-newsletter p {
	font-size: var(--text-sm);
	margin-bottom: var(--space-4);
}

.newsletter-form {
	display: flex;
	gap: var(--space-2);
}

.newsletter-form input[type="email"] {
	flex: 1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-full);
	padding: 0.75em 1.4em;
	color: var(--color-text);
	font-size: var(--text-sm);
	transition: all var(--transition-base);
}

.newsletter-form input[type="email"]::placeholder {
	color: var(--color-text-muted);
}

.newsletter-form input[type="email"]:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1), 0 0 24px rgba(255, 107, 53, 0.06);
	background: rgba(255, 255, 255, 0.06);
}

.newsletter-form button {
	background: var(--gradient-accent);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-full);
	padding: 0.75em 1.8em;
	font-weight: 600;
	font-size: var(--text-sm);
	cursor: pointer;
	transition: all var(--transition-base);
	white-space: nowrap;
}

.newsletter-form button:hover {
	transform: translateY(-1px) scale(1.02);
	box-shadow: var(--shadow-glow-orange);
}

/* Footer Bottom Bar */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	padding: var(--space-5) 0;
}

.footer-bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-4);
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-5);
	text-align: center;
}

.footer-copyright {
	color: var(--color-text-muted);
	font-size: var(--text-xs);
}

.footer-socials {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.footer-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-full);
	color: var(--color-text-secondary);
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: all var(--transition-base);
	background: rgba(255, 255, 255, 0.02);
}

.footer-socials a:hover {
	color: var(--color-white);
	border-color: var(--color-accent);
	background: rgba(255, 107, 53, 0.1);
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.footer-socials svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.footer-payments {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.footer-payments svg {
	width: 38px;
	height: 24px;
	fill: var(--color-text-muted);
	opacity: 0.4;
	transition: all var(--transition-base);
}

.footer-payments svg:hover {
	opacity: 0.8;
	fill: var(--color-text-secondary);
}

/* ==========================================================================
   Cards (Utility) — Gradient border hover, glow
   ========================================================================== */

.card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all var(--transition-slow);
	position: relative;
}

.card::before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: var(--radius-lg);
	padding: 1px;
	background: var(--gradient-card-border);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity var(--transition-slow);
	z-index: 1;
	pointer-events: none;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
	border-color: transparent;
	background: var(--color-bg-card-hover);
}

.card:hover::before {
	opacity: 1;
}

/* ==========================================================================
   Section Dividers
   ========================================================================== */

.section-divider {
	width: 60px;
	height: 3px;
	background: var(--gradient-accent);
	border-radius: var(--radius-full);
	border: none;
}

.section-divider-full {
	width: 100%;
	height: 1px;
	background: var(--gradient-section-divider);
	border: none;
	margin: 0;
}

/* Section label/eyebrow text */
.section-label {
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
	margin-bottom: var(--space-3);
}

/* ==========================================================================
   Skeleton Loading States
   ========================================================================== */

.skeleton {
	position: relative;
	overflow: hidden;
	background: var(--color-bg-card);
	border-radius: var(--radius-md);
}

.skeleton::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.04) 30%,
		rgba(255, 255, 255, 0.06) 50%,
		rgba(255, 255, 255, 0.04) 70%,
		transparent 100%
	);
	background-size: 200% 100%;
	animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-text {
	height: 14px;
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-2);
}

.skeleton-text-sm {
	height: 10px;
	width: 60%;
}

.skeleton-heading {
	height: 24px;
	width: 80%;
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-4);
}

.skeleton-image {
	width: 100%;
	height: 200px;
}

.skeleton-card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.skeleton-card .skeleton-image {
	border-radius: 0;
}

.skeleton-card-body {
	padding: var(--space-5);
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: var(--space-5) 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 var(--space-5);
}

.bypostauthor {
	display: block;
}

.comment-content a {
	word-wrap: break-word;
}

.custom-logo-link {
	display: inline-block;
}

/* Galleries */
.gallery {
	display: grid;
	grid-gap: var(--space-4);
	margin-bottom: var(--space-5);
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }

.wp-caption {
	margin-bottom: var(--space-5);
	max-width: 100%;
}

.wp-caption-text {
	text-align: center;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

/* Alignment */
.alignleft {
	float: left;
	margin-right: var(--space-5);
	margin-bottom: var(--space-4);
}

.alignright {
	float: right;
	margin-left: var(--space-5);
	margin-bottom: var(--space-4);
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--space-5);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--color-accent); }
.text-blue { color: var(--color-accent-blue); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }

.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

.py-section {
	padding-top: var(--space-12);
	padding-bottom: var(--space-12);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }
.gap-3 { gap: var(--space-2xl); }

.grid { display: grid; }

.hidden { display: none !important; }
.block { display: block; }

.relative { position: relative; }

.overflow-hidden { overflow: hidden; }

.w-full { width: 100%; }

/* Gradient text */
.gradient-text {
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-bg-card);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-accent);
	display: block;
	font-size: var(--text-sm);
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Focus visible for keyboard nav */
:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet (768px+) */
@media screen and (min-width: 768px) {
	.footer-main {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-bottom-inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}

	.language-switcher {
		display: block;
	}

	.mobile-menu .mobile-lang {
		display: none;
	}
}

/* Desktop (1024px+) */
@media screen and (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation {
		display: block;
	}

	.footer-main {
		grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	}

	.header-cta {
		display: block;
	}
}

/* Large Desktop (1280px+) */
@media screen and (min-width: 1280px) {
	.header-inner {
		padding-inline: var(--space-6);
	}
}

/* Mobile-only header CTA hide */
@media screen and (max-width: 1023px) {
	.header-cta {
		display: none;
	}
}

/* Mobile-only language switcher hide */
@media screen and (max-width: 767px) {
	.language-switcher {
		display: none;
	}
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
	overflow: hidden;
}

/* ==========================================================================
   Global Mobile Fixes (768px and below)
   ========================================================================== */

@media (max-width: 768px) {
	/* -- Prevent horizontal scroll globally -- */
	html, body {
		overflow-x: hidden;
	}

	/* -- Reduce header height on mobile -- */
	:root {
		--header-height: 64px;
	}

	.site-header {
		padding: var(--space-2) 0;
	}

	.header-inner {
		padding-inline: var(--space-4);
		gap: var(--space-3);
	}

	/* -- Reduce content top padding -- */
	#content {
		padding-top: 64px;
	}

	/* -- Typography scaling -- */
	h1 {
		font-size: clamp(1.8rem, 5vw, 2.5rem);
		letter-spacing: -0.02em;
	}

	h2 {
		font-size: clamp(1.5rem, 4vw, 2rem);
	}

	h3 {
		font-size: clamp(1.2rem, 3vw, 1.5rem);
	}

	/* -- Buttons full-width on mobile -- */
	.btn-primary,
	.btn-secondary {
		width: 100%;
		justify-content: center;
		padding: 0.9em 1.5em;
	}

	/* -- Footer stacking -- */
	.footer-main {
		grid-template-columns: 1fr;
		gap: var(--space-6);
		padding-bottom: var(--space-6);
	}

	.site-footer {
		padding-top: var(--space-8);
	}

	.footer-about p {
		max-width: 100%;
	}

	.footer-bottom-inner {
		flex-direction: column;
		gap: var(--space-4);
		text-align: center;
	}

	.footer-socials {
		justify-content: center;
	}

	.footer-payments {
		justify-content: center;
	}

	/* -- Newsletter form stack on very small screens -- */
	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-form input[type="email"] {
		border-radius: var(--radius-md);
	}

	.newsletter-form button {
		border-radius: var(--radius-md);
		width: 100%;
	}

	/* -- Container reduce padding -- */
	.container {
		padding-inline: var(--space-4);
	}

	/* -- Section spacing reduce -- */
	.py-section {
		padding-top: var(--space-9);
		padding-bottom: var(--space-9);
	}

	/* -- Images never overflow -- */
	img {
		max-width: 100%;
		height: auto;
	}

	/* -- Tables scrollable -- */
	table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* -- Gallery columns reduce -- */
	.gallery-columns-4,
	.gallery-columns-5,
	.gallery-columns-6 {
		grid-template-columns: repeat(2, 1fr);
	}

	/* -- Mobile menu refinements -- */
	.mobile-menu {
		padding: var(--space-6) var(--space-4);
	}

	.mobile-menu .mobile-nav a {
		font-size: var(--text-lg);
		padding: var(--space-3) 0;
	}
}

/* -- Extra small devices (375px) -- */
@media (max-width: 480px) {
	h1 {
		font-size: 1.6rem;
	}

	h2 {
		font-size: 1.4rem;
	}

	.header-inner {
		padding-inline: var(--space-3);
	}

	.footer-main {
		padding-inline: var(--space-4);
	}

	.newsletter-form {
		flex-direction: column;
	}

	/* -- Gallery single column on phone -- */
	.gallery-columns-2,
	.gallery-columns-3 {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
