/* ==========================================================================
   Aqua Modern — design system for aquadongle.pro (Astra child theme)
   --------------------------------------------------------------------------
   1. Tokens (dark + light)        8.  Your custom page components
   2. Astra palette remap          9.  WooCommerce
   3. Base & typography            10. Ultimate Member
   4. Buttons & forms              11. Licenses table, notices, misc
   5. Header & navigation          12. Footer
   6. Layout / content             13. Utilities: toggle, progress, reveal
   7. Spectra (UAG) blocks         14. Responsive
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root,
html[data-theme="dark"] {
	--aq-bg: #070b14;
	--aq-bg-soft: #0b1120;
	--aq-surface: #0f1729;
	--aq-surface-2: #131d33;
	--aq-surface-3: #1a2642;
	--aq-border: rgba(148, 163, 184, 0.14);
	--aq-border-strong: rgba(148, 163, 184, 0.26);
	--aq-text: #c3cddc;
	--aq-text-strong: #f5f8fc;
	--aq-muted: #8a97ab;
	--aq-brand: #22c3ee;
	--aq-brand-strong: #0ea5e9;
	--aq-brand-2: #3b82f6;
	--aq-brand-ink: #03131c;
	--aq-brand-soft: rgba(34, 195, 238, 0.12);
	--aq-brand-line: rgba(34, 195, 238, 0.35);
	--aq-success: #34d399;
	--aq-success-soft: rgba(52, 211, 153, 0.12);
	--aq-danger: #f87171;
	--aq-danger-soft: rgba(248, 113, 113, 0.12);
	--aq-warning: #fbbf24;
	--aq-input-bg: rgba(2, 6, 23, 0.55);
	--aq-header-bg: rgba(7, 11, 20, 0.72);
	--aq-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--aq-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
	--aq-shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
	--aq-glow: 0 0 0 1px rgba(34, 195, 238, 0.25), 0 12px 40px -12px rgba(34, 195, 238, 0.35);
	--aq-gradient: linear-gradient(135deg, #0891b2 0%, #2563eb 100%); /* deep enough for white button text */
	--aq-gradient-text: linear-gradient(120deg, #67e8f9 0%, #60a5fa 60%, #a78bfa 100%);
	--aq-mesh: radial-gradient(60rem 30rem at 15% -10%, rgba(34, 195, 238, 0.14), transparent 60%),
		radial-gradient(50rem 30rem at 95% 0%, rgba(59, 130, 246, 0.12), transparent 60%);
	color-scheme: dark;
}

html[data-theme="light"] {
	--aq-bg: #f6f8fb;
	--aq-bg-soft: #eef2f7;
	--aq-surface: #ffffff;
	--aq-surface-2: #f8fafc;
	--aq-surface-3: #eef2f7;
	--aq-border: #e3e8ef;
	--aq-border-strong: #cbd5e1;
	--aq-text: #3d4a5c;
	--aq-text-strong: #0b1220;
	--aq-muted: #64748b;
	--aq-brand: #0e7490; /* cyan-700: 5.4:1 on white, readable for small link text */
	--aq-brand-strong: #155e75;
	--aq-brand-2: #2563eb;
	--aq-brand-ink: #ffffff;
	--aq-brand-soft: rgba(8, 145, 178, 0.09);
	--aq-brand-line: rgba(8, 145, 178, 0.3);
	--aq-success: #059669;
	--aq-success-soft: rgba(5, 150, 105, 0.09);
	--aq-danger: #dc2626;
	--aq-danger-soft: rgba(220, 38, 38, 0.08);
	--aq-warning: #b45309;
	--aq-input-bg: #ffffff;
	--aq-header-bg: rgba(255, 255, 255, 0.78);
	--aq-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--aq-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.14);
	--aq-shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, 0.22);
	--aq-glow: 0 0 0 1px rgba(8, 145, 178, 0.18), 0 14px 36px -14px rgba(8, 145, 178, 0.3);
	--aq-gradient: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
	--aq-gradient-text: linear-gradient(120deg, #0891b2 0%, #2563eb 60%, #7c3aed 100%);
	--aq-mesh: radial-gradient(60rem 30rem at 15% -10%, rgba(6, 182, 212, 0.12), transparent 60%),
		radial-gradient(50rem 30rem at 95% 0%, rgba(37, 99, 235, 0.08), transparent 60%);
	color-scheme: light;
}

:root {
	--aq-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--aq-font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
	--aq-radius-sm: 10px;
	--aq-radius: 16px;
	--aq-radius-lg: 24px;
	--aq-header-h: 72px;
	--aq-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--aq-container: 1200px;
}

/* 2. ASTRA PALETTE REMAP ------------------------------------------------
   Page content (Spectra blocks, Astra settings) uses --ast-global-color-*,
   so remapping them makes existing pages theme-aware without editing them.
   7 & 8 stay dark: they are used as photo overlays under white headings. */
html[data-theme] {
	--ast-global-color-0: var(--aq-brand);
	--ast-global-color-1: var(--aq-brand-strong);
	--ast-global-color-2: var(--aq-text-strong);
	--ast-global-color-3: var(--aq-text);
	--ast-global-color-4: var(--aq-surface);
	--ast-global-color-5: var(--aq-bg);
	--ast-global-color-6: var(--aq-muted);
	--ast-global-color-7: #050914;
	--ast-global-color-8: #0b1120;
	--ast-border-color: var(--aq-border);
}

/* 3. BASE & TYPOGRAPHY -------------------------------------------------- */
/* Full-width Spectra sections use 100vw (which includes the scrollbar) — clip the overflow.
   `clip` (unlike `hidden`) keeps the sticky header working. */
html, body { overflow-x: clip; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--aq-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}
html.aq-theme-switching *,
html.aq-theme-switching *::before,
html.aq-theme-switching *::after {
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease, fill 0.2s ease !important;
}

html[data-theme] body,
html[data-theme] body.ast-separate-container,
html[data-theme] body.ast-plain-container,
html[data-theme] body.ast-page-builder-template {
	background: var(--aq-bg);
	background-image: var(--aq-mesh);
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: var(--aq-text);
	font-family: var(--aq-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html[data-theme] body,
html[data-theme] button,
html[data-theme] input,
html[data-theme] select,
html[data-theme] textarea,
html[data-theme] .ast-button,
html[data-theme] .ast-custom-button,
html[data-theme] .button {
	font-family: var(--aq-font);
}

html[data-theme] h1, html[data-theme] h2, html[data-theme] h3,
html[data-theme] h4, html[data-theme] h5, html[data-theme] h6,
html[data-theme] .entry-content :where(h1, h2, h3, h4, h5, h6),
html[data-theme] .uagb-heading-text,
html[data-theme] .uagb-ifb-title,
html[data-theme] .entry-title,
html[data-theme] .site-title {
	font-family: var(--aq-font-display);
	color: var(--aq-text-strong);
	letter-spacing: -0.02em;
	line-height: 1.2;
	font-weight: 700;
}

html[data-theme] p,
html[data-theme] li,
html[data-theme] .uagb-desc-text,
html[data-theme] .uagb-ifb-desc {
	color: var(--aq-text);
}

html[data-theme] a {
	color: var(--aq-brand);
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}
html[data-theme] a:hover { color: var(--aq-brand-strong); }

::selection { background: var(--aq-brand); color: var(--aq-brand-ink); }

:focus-visible {
	outline: 2px solid var(--aq-brand) !important;
	outline-offset: 3px;
	border-radius: 6px;
}

html[data-theme] hr,
html[data-theme] .wp-block-separator { border-color: var(--aq-border); background: var(--aq-border); }

html[data-theme] img { border-radius: inherit; }

html[data-theme] code,
html[data-theme] kbd {
	background: var(--aq-surface-3);
	color: var(--aq-text-strong);
	border-radius: 6px;
	padding: 0.15em 0.4em;
	font-size: 0.9em;
}

html[data-theme] table { border-color: var(--aq-border); }
html[data-theme] table th,
html[data-theme] table td { border-color: var(--aq-border); }

/* Scrollbar */
html[data-theme] { scrollbar-color: var(--aq-surface-3) var(--aq-bg); }
html[data-theme] ::-webkit-scrollbar { width: 12px; height: 12px; }
html[data-theme] ::-webkit-scrollbar-track { background: var(--aq-bg); }
html[data-theme] ::-webkit-scrollbar-thumb {
	background: var(--aq-surface-3);
	border-radius: 999px;
	border: 3px solid var(--aq-bg);
}

/* 4. BUTTONS & FORMS ---------------------------------------------------- */
.aq-btn,
html[data-theme] .wp-block-button__link,
html[data-theme] .ast-button,
html[data-theme] .ast-custom-button,
html[data-theme] button.button,
html[data-theme] a.button,
html[data-theme] input[type="submit"],
html[data-theme] input[type="button"],
html[data-theme] .wpcf7 .wpcf7-submit,
html[data-theme] .woocommerce a.button,
html[data-theme] .woocommerce button.button,
html[data-theme] .woocommerce input.button,
html[data-theme] .woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.35rem;
	border-radius: 12px;
	border: 1px solid transparent;
	background: var(--aq-gradient);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	box-shadow: 0 8px 24px -10px rgba(14, 165, 233, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	cursor: pointer;
	transition: transform 0.2s var(--aq-ease), box-shadow 0.2s var(--aq-ease), filter 0.2s ease, background 0.2s ease;
}
.aq-btn:hover,
html[data-theme] .wp-block-button__link:hover,
html[data-theme] .ast-button:hover,
html[data-theme] .ast-custom-button:hover,
html[data-theme] button.button:hover,
html[data-theme] a.button:hover,
html[data-theme] input[type="submit"]:hover,
html[data-theme] input[type="button"]:hover,
html[data-theme] .wpcf7 .wpcf7-submit:hover,
html[data-theme] .woocommerce a.button:hover,
html[data-theme] .woocommerce button.button:hover,
html[data-theme] .woocommerce input.button:hover {
	color: #fff;
	background: var(--aq-gradient);
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -12px rgba(14, 165, 233, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.aq-btn:active,
html[data-theme] .button:active { transform: translateY(0) scale(0.98); }

.aq-btn--ghost,
html[data-theme] .woocommerce a.button.wc-forward:not(.checkout):not(.checkout-button),
html[data-theme] .astra-cart-buttons .astra-close-modal {
	background: var(--aq-surface-2);
	color: var(--aq-text-strong);
	border: 1px solid var(--aq-border-strong);
	box-shadow: var(--aq-shadow-sm);
}
.aq-btn--ghost:hover,
html[data-theme] .woocommerce a.button.wc-forward:not(.checkout):not(.checkout-button):hover,
html[data-theme] .astra-cart-buttons .astra-close-modal:hover {
	background: var(--aq-surface-3);
	color: var(--aq-text-strong);
	border-color: var(--aq-brand-line);
	box-shadow: var(--aq-shadow);
	filter: none;
}

html[data-theme] input[type="text"],
html[data-theme] input[type="email"],
html[data-theme] input[type="url"],
html[data-theme] input[type="password"],
html[data-theme] input[type="search"],
html[data-theme] input[type="number"],
html[data-theme] input[type="tel"],
html[data-theme] input[type="date"],
html[data-theme] select,
html[data-theme] textarea,
html[data-theme] .select2-container--default .select2-selection--single,
html[data-theme] .woocommerce form .form-row .input-text,
html[data-theme] .woocommerce form .form-row select,
html[data-theme] .um .um-form input[type="text"],
html[data-theme] .um .um-form input[type="password"],
html[data-theme] .um .um-form input[type="email"],
html[data-theme] .um .um-form textarea,
html[data-theme] .um .um-form select {
	background: var(--aq-input-bg) !important;
	color: var(--aq-text-strong) !important;
	border: 1px solid var(--aq-border-strong) !important;
	border-radius: 12px !important;
	padding: 0.75rem 0.95rem;
	min-height: 46px;
	font-size: 0.95rem;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme] .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--aq-text-strong);
	line-height: 44px;
}
html[data-theme] .select2-dropdown {
	background: var(--aq-surface);
	border-color: var(--aq-border-strong);
	color: var(--aq-text);
}
html[data-theme] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme] .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--aq-brand);
	color: var(--aq-brand-ink);
}
html[data-theme] input:focus,
html[data-theme] select:focus,
html[data-theme] textarea:focus,
html[data-theme] .um .um-form input:focus {
	border-color: var(--aq-brand) !important;
	box-shadow: 0 0 0 4px var(--aq-brand-soft) !important;
	outline: none !important;
}
html[data-theme] ::placeholder { color: var(--aq-muted) !important; opacity: 1; }

html[data-theme] label,
html[data-theme] .woocommerce form .form-row label {
	color: var(--aq-text-strong);
	font-weight: 600;
	font-size: 0.9rem;
}

/* 5. HEADER & NAVIGATION ------------------------------------------------ */
/* Sticky glass header. Content offset by the old fixed-header snippet is reset. */
html[data-theme] #content,
html[data-theme] .site-content { margin-top: 0 !important; }

html[data-theme] .site-header,
html[data-theme] .ast-theme-transparent-header #masthead {
	position: sticky !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999;
	background: transparent;
}
.admin-bar .site-header { top: 32px !important; }

html[data-theme] .site-header .ast-primary-header-bar,
html[data-theme] .site-header .main-header-bar,
html[data-theme] .ast-theme-transparent-header .main-header-bar,
html[data-theme] .ast-theme-transparent-header .ast-primary-header-bar,
html[data-theme] #ast-mobile-header .ast-primary-header-bar {
	background: var(--aq-header-bg) !important;
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid var(--aq-border) !important;
	box-shadow: none;
	transition: box-shadow 0.3s ease, background 0.3s ease;
}
html[data-theme] body.aq-scrolled .site-header .ast-primary-header-bar,
html[data-theme] body.aq-scrolled #ast-mobile-header .ast-primary-header-bar {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.45);
}

html[data-theme] .ast-primary-header-bar .site-primary-header-wrap,
html[data-theme] #ast-desktop-header .site-primary-header-wrap {
	min-height: var(--aq-header-h) !important;
	max-width: 1320px;
	padding-left: 24px;
	padding-right: 24px;
}
html[data-theme] .ast-builder-grid-row-has-sides.ast-grid-center-col-layout {
	grid-template-columns: auto 1fr auto;
	gap: 24px;
}
html[data-theme] .site-header .custom-logo-link img,
html[data-theme] .site-header .custom-logo,
html[data-theme] .site-header .site-logo-img img {
	height: 44px !important;
	width: auto !important;
	max-width: none !important;
	max-height: none !important;
}
html[data-theme] .site-header .site-logo-img { padding: 0 !important; }
html[data-theme] .site-header .ast-site-title-wrap { display: none; }

/* Desktop menu */
html[data-theme] .main-header-menu {
	gap: 2px;
	flex-wrap: nowrap;
}
html[data-theme] .main-header-menu > .menu-item > .menu-link,
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0.5rem 0.8rem !important;
	min-height: 40px;
	line-height: 1.2;
	border-radius: 10px;
	color: var(--aq-text) !important;
	font-family: var(--aq-font);
	font-size: 0.9rem !important;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none !important;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}
html[data-theme] .main-header-menu > .menu-item > .menu-link::before { content: none !important; }
html[data-theme] .main-header-menu > .menu-item:hover > .menu-link,
html[data-theme] .main-header-menu > .menu-item > .menu-link:focus-visible {
	color: var(--aq-text-strong) !important;
	background: var(--aq-brand-soft);
}
html[data-theme] .main-header-menu > .current-menu-item > .menu-link,
html[data-theme] .main-header-menu > .current-menu-ancestor > .menu-link,
html[data-theme] .main-header-menu > .current_page_item > .menu-link {
	color: var(--aq-brand) !important;
	background: var(--aq-brand-soft);
}
html[data-theme] .main-header-menu .ast-header-navigation-arrow,
html[data-theme] .main-header-menu .dropdown-menu-toggle { color: inherit; }
html[data-theme] .main-header-menu .menu-link .ast-icon svg { fill: currentColor; width: 10px; }

/* Account actions shown as buttons */
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item-571 > .menu-link { /* Login */
	border: 1px solid var(--aq-border-strong);
	margin-left: 6px;
}
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item-572 > .menu-link { /* Register */
	background: var(--aq-text-strong);
	color: var(--aq-bg) !important;
	margin-left: 4px;
}
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item-572:hover > .menu-link { opacity: 0.88; background: var(--aq-text-strong); }

/* Dropdowns */
html[data-theme] .main-header-menu .sub-menu,
html[data-theme] .ast-desktop .main-header-menu .sub-menu {
	background: var(--aq-surface) !important;
	border: 1px solid var(--aq-border) !important;
	border-radius: 14px;
	padding: 6px;
	box-shadow: var(--aq-shadow-lg);
	min-width: 220px;
	top: calc(100% + 4px);
}
html[data-theme] .main-header-menu .sub-menu .menu-link {
	padding: 0.6rem 0.8rem !important;
	border-radius: 9px;
	color: var(--aq-text) !important;
	font-size: 0.9rem;
	border: 0 !important;
}
html[data-theme] .main-header-menu .sub-menu .menu-link::before { content: none !important; }
html[data-theme] .main-header-menu .sub-menu .menu-item:hover > .menu-link {
	background: var(--aq-brand-soft) !important;
	color: var(--aq-text-strong) !important;
}

/* Header actions (theme toggle + CTA) */
.aq-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.aq-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.6rem 1rem;
	border-radius: 11px;
	background: var(--aq-gradient);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 22px -10px rgba(14, 165, 233, 0.7);
	transition: transform 0.2s var(--aq-ease), filter 0.2s ease;
}
.aq-header-cta:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.aq-header-cta svg {
	width: 16px; height: 16px;
	fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
	transition: transform 0.2s var(--aq-ease);
}
.aq-header-cta:hover svg { transform: translateX(2px); }

.aq-theme-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border-radius: 11px !important;
	border: 1px solid var(--aq-border-strong) !important;
	background: var(--aq-surface-2) !important;
	color: var(--aq-text-strong) !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--aq-ease) !important;
}
.aq-theme-toggle:hover {
	border-color: var(--aq-brand-line) !important;
	background: var(--aq-surface-3) !important;
	transform: rotate(-8deg);
}
.aq-theme-toggle .aq-icon {
	grid-area: 1 / 1;
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.45s var(--aq-ease), opacity 0.3s ease;
}
html[data-theme="dark"] .aq-icon--moon,
html[data-theme="light"] .aq-icon--sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
html[data-theme="dark"] .aq-icon--sun,
html[data-theme="light"] .aq-icon--moon { opacity: 1; transform: none; }
html[data-theme="light"] .aq-icon--moon { fill: currentColor; stroke: none; }

/* Mobile header */
html[data-theme] #ast-mobile-header .site-primary-header-wrap { min-height: 64px !important; padding: 0 16px; }
html[data-theme] .ast-mobile-header-wrap .menu-toggle,
html[data-theme] .ast-button-wrap .menu-toggle.main-header-menu-toggle {
	width: 40px;
	height: 40px;
	padding: 0 !important;
	display: inline-grid;
	place-items: center;
	border-radius: 11px !important;
	border: 1px solid var(--aq-border-strong) !important;
	background: var(--aq-surface-2) !important;
	color: var(--aq-text-strong) !important;
	box-shadow: none !important;
	transform: none !important;
}
html[data-theme] .menu-toggle .ast-mobile-svg { fill: var(--aq-text-strong) !important; }
html[data-theme] .ast-mobile-header-content,
html[data-theme] .ast-mobile-popup-drawer .ast-mobile-popup-inner,
html[data-theme] .ast-header-break-point .main-header-bar-navigation {
	background: var(--aq-surface) !important;
	border-top: 1px solid var(--aq-border);
}
html[data-theme] #ast-mobile-header .main-header-menu .menu-item > .menu-link {
	min-height: 48px;
	margin: 0 !important;
	padding: 0.85rem 1.25rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--aq-border) !important;
	border-radius: 0;
	background: transparent;
	color: var(--aq-text) !important;
	font-size: 1rem !important;
	font-weight: 500;
	opacity: 1;
}
html[data-theme] #ast-mobile-header .main-header-menu .menu-link::before { content: none !important; }
html[data-theme] #ast-mobile-header .main-header-menu .current-menu-item > .menu-link {
	color: var(--aq-brand) !important;
	background: var(--aq-brand-soft);
	box-shadow: inset 3px 0 0 var(--aq-brand);
}
html[data-theme] #ast-mobile-header .main-header-menu .sub-menu { background: var(--aq-surface-2) !important; border: 0 !important; box-shadow: none; padding: 0; border-radius: 0; }
html[data-theme] #ast-mobile-header .main-header-menu .sub-menu .menu-link { padding-left: 2rem !important; }
html[data-theme] #ast-mobile-header .ast-menu-toggle { color: var(--aq-text) !important; border-color: var(--aq-border) !important; }

/* 6. LAYOUT / CONTENT --------------------------------------------------- */
html[data-theme] .site-content,
html[data-theme] #primary,
html[data-theme] .ast-separate-container #primary { background: transparent; }

html[data-theme] .ast-separate-container .ast-article-single:not(.ast-related-post),
html[data-theme] .ast-separate-container .ast-article-post,
html[data-theme] .ast-separate-container .comments-area .comment-respond,
html[data-theme] .ast-separate-container .comments-area .ast-comment-list li,
html[data-theme] .ast-separate-container .ast-woocommerce-container,
html[data-theme] .ast-separate-container .error-404,
html[data-theme] .ast-separate-container .no-results,
html[data-theme] .ast-separate-container .comments-count-wrapper,
html[data-theme] .ast-separate-container .ast-author-box,
html[data-theme] .ast-separate-container .site-main > .ast-row,
html[data-theme] .ast-plain-container .site-content .ast-container,
html[data-theme] .ast-separate-container.ast-two-container #secondary .widget,
html[data-theme] .ast-box-layout.ast-plain-container .site-content {
	background: transparent;
	background-color: transparent;
	box-shadow: none;
}
html[data-theme] .ast-separate-container .ast-article-single:not(.ast-related-post),
html[data-theme] .ast-separate-container .ast-article-post {
	border: 1px solid var(--aq-border);
	background: var(--aq-surface);
	border-radius: var(--aq-radius-lg);
	padding: clamp(1.5rem, 4vw, 3rem);
	box-shadow: var(--aq-shadow);
}

html[data-theme] .entry-header .entry-title,
html[data-theme] .ast-archive-description .ast-archive-title,
html[data-theme] .woocommerce-products-header__title.page-title,
html[data-theme] .woocommerce .woocommerce-products-header .page-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}
html[data-theme] .entry-meta,
html[data-theme] .entry-meta * { color: var(--aq-muted); }

html[data-theme] .ast-breadcrumbs,
html[data-theme] .woocommerce-breadcrumb,
html[data-theme] .woocommerce .woocommerce-breadcrumb a { color: var(--aq-muted); font-size: 0.85rem; }

html[data-theme] .widget,
html[data-theme] #secondary .widget {
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: var(--aq-radius);
	padding: 1.25rem;
}
html[data-theme] .widget-title,
html[data-theme] .widget h2 { font-size: 1rem; }

/* Blog cards */
html[data-theme] .ast-separate-container .ast-archive-description { background: transparent; }
html[data-theme] .ast-article-post .post-thumb img,
html[data-theme] .ast-blog-featured-section img { border-radius: var(--aq-radius); }

/* 7. SPECTRA (UAG) BLOCKS ---------------------------------------------- */
html[data-theme] .wp-block-uagb-container { border-color: var(--aq-border); }

/* Section labels (pre-title "prefix") as pills */
html[data-theme] .uagb-ifb-title-prefix,
html[data-theme] .uagb-desc-text.uagb-ifb-title-prefix,
html[data-theme] .wp-block-uagb-advanced-heading .uagb-highlight + .uagb-desc-text,
html[data-theme] .wp-block-uagb-advanced-heading .uagb-heading-text + .uagb-desc-text:first-child {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.78rem !important;
	font-weight: 700;
}
html[data-theme] .uagb-ifb-title-prefix { color: var(--aq-brand) !important; }

html[data-theme] .wp-block-uagb-advanced-heading .uagb-heading-text {
	font-weight: 800;
	letter-spacing: -0.03em;
}
html[data-theme] .wp-block-uagb-advanced-heading .uagb-separator { border-color: var(--aq-brand) !important; border-radius: 3px; }

/* Info boxes → cards */
html[data-theme] .wp-block-uagb-info-box.uagb-infobox__content-wrap,
html[data-theme] .uagb-infobox__content-wrap.uagb-infobox-icon-above-title {
	border-radius: var(--aq-radius-lg);
	transition: transform 0.3s var(--aq-ease), box-shadow 0.3s var(--aq-ease), border-color 0.3s ease;
}
html[data-theme] .uagb-ifb-image-content img,
html[data-theme] .wp-block-uagb-image img,
html[data-theme] .wp-block-image img {
	border-radius: var(--aq-radius);
}
html[data-theme] .uagb-ifb-image-content img { box-shadow: var(--aq-shadow-lg); }
html[data-theme] .uagb-infobox-cta-link,
html[data-theme] .uagb-ifb-button-wrapper .uagb-infobox-cta-link,
html[data-theme] .wp-block-uagb-buttons .uagb-buttons-repeater {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 0.8rem 1.35rem !important;
	border-radius: 12px !important;
	border: 0 !important;
	background: var(--aq-gradient) !important;
	color: #fff !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: 0 8px 24px -10px rgba(14, 165, 233, 0.55) !important;
	transition: transform 0.2s var(--aq-ease), filter 0.2s ease;
}
html[data-theme] .uagb-infobox-cta-link:hover,
html[data-theme] .wp-block-uagb-buttons .uagb-buttons-repeater:hover { transform: translateY(-1px); filter: brightness(1.08); }
html[data-theme] .uagb-infobox-cta-link svg,
html[data-theme] .uagb-infobox-cta-link .uagb-ifb-button-icon svg { fill: currentColor !important; width: 15px; height: 15px; }

/* Photo sections (tagged .aq-on-media in PHP) keep light text on their dark overlay in both themes */
html[data-theme] .aq-on-media h1,
html[data-theme] .aq-on-media h2,
html[data-theme] .aq-on-media h3,
html[data-theme] .aq-on-media h4,
html[data-theme] .aq-on-media .uagb-heading-text,
html[data-theme] .aq-on-media .uagb-ifb-title { color: #fff !important; }
html[data-theme] .aq-on-media p,
html[data-theme] .aq-on-media li,
html[data-theme] .aq-on-media .uagb-desc-text,
html[data-theme] .aq-on-media .uagb-ifb-desc { color: rgba(226, 232, 240, 0.86) !important; }
html[data-theme] .aq-on-media .uagb-ifb-title-prefix { color: #67e8f9 !important; }
html[data-theme] .aq-on-media { border-radius: var(--aq-radius-lg); overflow: hidden; }
html[data-theme] .aq-on-media.alignfull,
html[data-theme] .aq-on-media.uagb-is-root-container { border-radius: 0; }

/* 8. CUSTOM PAGE COMPONENTS (from page HTML blocks) -------------------- */

/* Home hero card (.aqua-box) */
html[data-theme] .aqua-box {
	position: relative;
	max-width: 1040px;
	margin: clamp(24px, 5vw, 56px) auto;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
	text-align: center;
	background: linear-gradient(180deg, var(--aq-surface) 0%, var(--aq-bg-soft) 100%);
	border: 1px solid var(--aq-border);
	border-radius: 32px;
	box-shadow: var(--aq-shadow-lg);
	overflow: hidden;
	isolation: isolate;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transition: none;
}
html[data-theme] .aqua-box:hover { transform: none; box-shadow: var(--aq-shadow-lg); }
html[data-theme] .aqua-box::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	background:
		radial-gradient(40rem 18rem at 50% -10%, rgba(34, 195, 238, 0.22), transparent 70%),
		linear-gradient(var(--aq-border) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, var(--aq-border) 1px, transparent 1px) 0 0 / 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
	pointer-events: none;
}
html[data-theme] .aqua-box .aqua-glow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.4rem 0.9rem 0.4rem 0.6rem;
	margin: 0 auto 1.25rem;
	border-radius: 999px;
	border: 1px solid var(--aq-brand-line);
	background: var(--aq-brand-soft);
	color: var(--aq-brand);
	font-family: var(--aq-font);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
	text-shadow: none;
}
html[data-theme] .aqua-box .aqua-glow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--aq-success);
	box-shadow: 0 0 0 4px var(--aq-success-soft);
	animation: aq-pulse 2.2s ease-in-out infinite;
}
html[data-theme] .aqua-box .prefix {
	color: var(--aq-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}
html[data-theme] .aqua-box h1 {
	margin: 0 auto 1.25rem;
	max-width: 15ch;
	font-family: var(--aq-font-display);
	font-size: clamp(2.3rem, 6vw, 4.25rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.04em;
	color: var(--aq-text-strong);
}
html[data-theme] .aqua-box h1 .nowrap {
	background: var(--aq-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
html[data-theme] .aqua-box img {
	display: block;
	width: 100%;
	max-width: 860px;
	margin: 2rem auto;
	border-radius: 20px;
	background: #070b14; /* artwork has dark, feathered edges — seat it on a "screen" in both themes */
	border: 1px solid var(--aq-border);
	box-shadow: 0 40px 80px -30px rgba(14, 165, 233, 0.45), var(--aq-shadow-lg);
}
html[data-theme] .aqua-box p.desc {
	max-width: 640px;
	margin: 0 auto 2rem;
	color: var(--aq-text);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.75;
}
html[data-theme] .aqua-box .aqua-btn,
html[data-theme] .aqua-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 1rem 1.75rem;
	border-radius: 14px;
	border: 0;
	background: var(--aq-gradient);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	box-shadow: 0 16px 40px -14px rgba(14, 165, 233, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: transform 0.2s var(--aq-ease), filter 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme] .aqua-btn:hover {
	color: #fff;
	background: var(--aq-gradient);
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: 0 22px 44px -14px rgba(14, 165, 233, 0.85);
}

/* Features */
html[data-theme] .features-heading {
	display: block;
	margin: clamp(48px, 8vw, 96px) auto 0.5rem;
	text-align: center;
	color: var(--aq-text-strong);
	font-family: var(--aq-font-display);
	font-size: clamp(1.9rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	padding: 0;
}
html[data-theme] .features-heading::before {
	content: "Capabilities";
	display: block;
	width: max-content;
	margin: 0 auto 0.9rem;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: var(--aq-brand-soft);
	border: 1px solid var(--aq-brand-line);
	color: var(--aq-brand);
	font-family: var(--aq-font);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
html[data-theme] .features-heading::after { display: none; }

html[data-theme] .features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
	max-width: var(--aq-container);
	margin: 2.5rem auto clamp(48px, 8vw, 96px);
	padding: 0 20px;
}
html[data-theme] .feature-card {
	position: relative;
	text-align: left;
	padding: 1.5rem;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: var(--aq-radius);
	box-shadow: var(--aq-shadow-sm);
	color: var(--aq-text);
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.3s var(--aq-ease), box-shadow 0.3s var(--aq-ease), border-color 0.3s ease;
}
html[data-theme] .feature-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(22rem 10rem at 0% 0%, var(--aq-brand-soft), transparent 70%);
	opacity: 0;
	animation: none;
	transition: opacity 0.3s ease;
}
html[data-theme] .feature-card:hover {
	transform: translateY(-4px);
	border-color: var(--aq-brand-line);
	box-shadow: var(--aq-glow);
}
html[data-theme] .feature-card:hover::before { opacity: 1; }
html[data-theme] .feature-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: 0 0 1rem;
	font-size: 22px;
	line-height: 1;
	border-radius: 13px;
	background: var(--aq-surface-3);
	border: 1px solid var(--aq-border);
}
html[data-theme] .feature-card h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--aq-text-strong);
	letter-spacing: -0.01em;
}
html[data-theme] .feature-card p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--aq-text);
}

/* Resellers / agents */
html[data-theme] .region-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 3rem 0 1.25rem;
	padding: 0;
	border: 0;
	color: var(--aq-text-strong);
	font-size: 1.4rem;
	font-weight: 800;
}
html[data-theme] .region-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--aq-brand-line), transparent);
}
html[data-theme] .reseller-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 2rem;
}
html[data-theme] .reseller-card {
	padding: 1.25rem 1.35rem;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: var(--aq-radius);
	box-shadow: var(--aq-shadow-sm);
	transition: transform 0.3s var(--aq-ease), box-shadow 0.3s var(--aq-ease), border-color 0.3s ease;
}
html[data-theme] .reseller-card:hover {
	transform: translateY(-3px);
	border-color: var(--aq-brand-line);
	box-shadow: var(--aq-glow);
}
html[data-theme] .reseller-card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; color: var(--aq-text-strong); }
html[data-theme] .reseller-role {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.2rem 0.6rem;
	border-radius: 7px;
	line-height: 1.5;
	background: var(--aq-brand-soft);
	color: var(--aq-brand);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
html[data-theme] .reseller-card p { margin: 0.3rem 0; font-size: 0.9rem; color: var(--aq-text); }
html[data-theme] .reseller-card a { color: var(--aq-brand); text-decoration: none; font-weight: 500; }
html[data-theme] .reseller-card a:hover { text-decoration: underline; }

/* Policy center, FAQ, nav + social buttons */
html[data-theme] .policy-intro {
	padding: 1.1rem 1.25rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--aq-brand-line);
	background: var(--aq-brand-soft);
	border-radius: var(--aq-radius);
	box-shadow: none;
}
html[data-theme] .policy-intro strong { color: var(--aq-brand); }
html[data-theme] .policy-links { margin-top: 0.9rem; display: flex; gap: 10px; flex-wrap: wrap; }

html[data-theme] .policy-button,
html[data-theme] .policy-nav-btn,
html[data-theme] .social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0.9rem 1.2rem;
	border-radius: 14px;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	color: var(--aq-text-strong);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow: var(--aq-shadow-sm);
	transition: transform 0.25s var(--aq-ease), box-shadow 0.25s var(--aq-ease), border-color 0.25s ease, background 0.25s ease;
}
html[data-theme] .policy-button { padding: 0.55rem 0.9rem; font-size: 0.875rem; }
html[data-theme] .policy-button:hover,
html[data-theme] .policy-nav-btn:hover,
html[data-theme] .social-btn:hover {
	transform: translateY(-2px);
	border-color: var(--aq-brand-line);
	background: var(--aq-surface-2);
	box-shadow: var(--aq-glow);
	color: var(--aq-text-strong);
}
html[data-theme] .policy-nav { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.25rem 0 2rem; }
html[data-theme] .policy-nav-btn { flex: 1 1 240px; }
html[data-theme] .social-buttons-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 1.5rem 0;
}
html[data-theme] .social-icon,
html[data-theme] .policy-nav-icon { font-size: 1.15rem; }

html[data-theme] .faq-list details {
	margin-bottom: 10px;
	padding: 0;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-left: 1px solid var(--aq-border);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
html[data-theme] .faq-list details:hover { border-color: var(--aq-brand-line); box-shadow: none; background: var(--aq-surface); }
html[data-theme] .faq-list details[open] { border-color: var(--aq-brand-line); box-shadow: var(--aq-glow); }
html[data-theme] .faq-list summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 1rem 1.15rem;
	cursor: pointer;
	list-style: none;
	color: var(--aq-text-strong);
	font-weight: 600;
}
html[data-theme] .faq-list summary::after {
	content: "";
	margin-left: auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--aq-muted);
	border-bottom: 2px solid var(--aq-muted);
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.25s var(--aq-ease);
	flex: none;
}
html[data-theme] .faq-list details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
html[data-theme] .faq-list summary::-webkit-details-marker { display: none; }
html[data-theme] .faq-list details > *:not(summary) { padding: 0 1.15rem; }
html[data-theme] .faq-list details > *:last-child { padding-bottom: 1rem; }
html[data-theme] .faq-list p { color: var(--aq-text); font-size: 0.95rem; margin: 0.5rem 0; }
html[data-theme] .faq-number {
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: var(--aq-brand-soft);
	color: var(--aq-brand);
	font-size: 0.75rem;
	font-weight: 700;
}

/* 404 */
html[data-theme] .neo-404-wrapper {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: none;
}
html[data-theme] .neo-404-card {
	position: relative;
	max-width: 560px;
	width: 100%;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
	text-align: center;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 28px;
	box-shadow: var(--aq-shadow-lg);
	overflow: hidden;
	animation: aq-pop 0.6s var(--aq-ease) both;
}
html[data-theme] .neo-404-glow {
	position: absolute;
	inset: -40%;
	background: radial-gradient(circle, var(--aq-brand-soft), transparent 60%);
	opacity: 1;
	z-index: 0;
}
html[data-theme] .neo-404-card > * { position: relative; z-index: 1; }
html[data-theme] .neo-404-code {
	margin: 0;
	font-family: var(--aq-font-display);
	font-size: clamp(5rem, 16vw, 8rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	background: var(--aq-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
}
html[data-theme] .neo-404-title { margin: 0.75rem 0 0.75rem; font-size: 1.6rem; color: var(--aq-text-strong); }
html[data-theme] .neo-404-text { color: var(--aq-text); margin-bottom: 2rem; }
html[data-theme] .neo-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-theme] .neo-404-btn {
	padding: 0.8rem 1.4rem;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s var(--aq-ease), filter 0.2s ease, background 0.2s ease;
}
html[data-theme] .neo-404-btn.primary { background: var(--aq-gradient); color: #fff; box-shadow: 0 10px 26px -12px rgba(14, 165, 233, 0.7); }
html[data-theme] .neo-404-btn.primary:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
html[data-theme] .neo-404-btn.secondary { border: 1px solid var(--aq-border-strong); color: var(--aq-text-strong); background: var(--aq-surface-2); }
html[data-theme] .neo-404-btn.secondary:hover { background: var(--aq-surface-3); box-shadow: none; }

/* Add-to-cart popup (Code Snippets: "carts") */
html[data-theme] #astra-cart-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(2, 6, 23, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
html[data-theme] .astra-cart-modal-content {
	position: relative;
	width: min(420px, calc(100% - 32px));
	margin: 18vh auto 0;
	padding: 2rem 1.75rem 1.75rem;
	text-align: center;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 22px;
	box-shadow: var(--aq-shadow-lg);
	animation: aq-pop 0.35s var(--aq-ease) both;
}
html[data-theme] .astra-cart-modal-content::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--aq-success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat;
}
html[data-theme] .astra-cart-modal-content p {
	margin: 0 0 1.25rem;
	color: var(--aq-text-strong);
	font-size: 1.1rem;
	font-weight: 700;
}
html[data-theme] .astra-cart-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
html[data-theme] .astra-cart-buttons .button { flex: 1 1 160px; }
html[data-theme] body .astra-cart-buttons a.button.wc-forward {
	order: 2;
	background: var(--aq-gradient);
	color: #fff;
	border: 0;
	box-shadow: 0 8px 24px -10px rgba(14, 165, 233, 0.55);
}
html[data-theme] body .astra-cart-buttons button.astra-close-modal {
	order: 1;
	background: var(--aq-surface-2);
	color: var(--aq-text-strong);
	border: 1px solid var(--aq-border-strong);
	box-shadow: none;
	filter: none;
}

/* The 404 card already has its own heading */
.error404 .entry-header { display: none; }

/* 9. WOOCOMMERCE -------------------------------------------------------- */
html[data-theme] .post-type-archive-product,
html[data-theme] .tax-product_cat,
html[data-theme] .tax-product_tag,
html[data-theme] .site-main .woocommerce { background-color: transparent; }

/* Shop: no sidebar, full-width grid (kept from previous custom CSS) */
body.post-type-archive-product #secondary,
body.post-type-archive-product .widget-area,
body.post-type-archive-product .woocommerce-sidebar { display: none !important; }
body.post-type-archive-product #primary,
body.post-type-archive-product .content-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none;
	margin: 0 !important;
	padding-left: 0;
	padding-right: 0;
	border: 0;
}

html[data-theme] .woocommerce ul.products,
html[data-theme] .woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin: 1.5rem 0 3rem;
	padding: 0;
	background: transparent;
}
html[data-theme] .woocommerce ul.products::before,
html[data-theme] .woocommerce ul.products::after { display: none !important; }
html[data-theme] .woocommerce ul.products li.product,
html[data-theme] .woocommerce-page ul.products li.product {
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	padding: 14px 14px 18px;
	text-align: left;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 20px;
	box-shadow: var(--aq-shadow-sm);
	overflow: hidden;
	transition: transform 0.3s var(--aq-ease), box-shadow 0.3s var(--aq-ease), border-color 0.3s ease;
}
html[data-theme] .woocommerce ul.products li.product * { text-align: left; }
html[data-theme] .woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: var(--aq-brand-line);
	box-shadow: var(--aq-glow);
}
html[data-theme] .woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
html[data-theme] .woocommerce ul.products li.product a img {
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 14px;
	background: var(--aq-surface-2);
}
html[data-theme] .woocommerce ul.products li.product a img { margin: 0; transition: transform 0.5s var(--aq-ease); }
html[data-theme] .woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
html[data-theme] .woocommerce ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0 4px;
}
html[data-theme] .woocommerce ul.products li.product .ast-woo-product-category {
	color: var(--aq-muted);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
html[data-theme] .woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0.25rem 0 0.5rem;
	color: var(--aq-text-strong);
	font-family: var(--aq-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}
html[data-theme] .woocommerce ul.products li.product .price {
	margin: 0 0 1rem;
	color: var(--aq-text-strong) !important;
	font-family: var(--aq-font-display);
	font-size: 1.35rem;
	font-weight: 800;
}
html[data-theme] .woocommerce ul.products li.product .price del { color: var(--aq-muted); font-size: 0.9rem; font-weight: 500; }
html[data-theme] .woocommerce ul.products li.product .price ins { text-decoration: none; }
html[data-theme] .woocommerce ul.products li.product .button {
	width: 100%;
	margin-top: auto;
}
html[data-theme] .woocommerce span.onsale,
html[data-theme] .woocommerce ul.products li.product .onsale {
	min-width: 0;
	min-height: 0;
	padding: 0.25rem 0.7rem;
	line-height: 1.4;
	border-radius: 999px;
	background: var(--aq-gradient);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	top: 22px;
	left: 22px;
	right: auto;
	margin: 0;
}

html[data-theme] .ast-shop-product-out-of-stock,
html[data-theme] .woocommerce ul.products li.product .ast-shop-product-out-of-stock {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	bottom: auto;
	width: auto;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: #dc2626 !important;
	color: #fff !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.4;
}
html[data-theme] .woocommerce div.product .stock.out-of-stock { color: var(--aq-danger); font-weight: 600; }
html[data-theme] .woocommerce .woocommerce-result-count { color: var(--aq-muted); }
html[data-theme] .woocommerce .woocommerce-ordering select { min-height: 42px; }
html[data-theme] .woocommerce nav.woocommerce-pagination ul,
html[data-theme] .woocommerce nav.woocommerce-pagination ul li { border-color: var(--aq-border); }
html[data-theme] .woocommerce nav.woocommerce-pagination ul li a,
html[data-theme] .woocommerce nav.woocommerce-pagination ul li span { color: var(--aq-text); }
html[data-theme] .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--aq-brand); color: var(--aq-brand-ink); }

/* Single product */
html[data-theme] .woocommerce div.product .product_title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}
html[data-theme] .woocommerce div.product p.price,
html[data-theme] .woocommerce div.product span.price {
	color: var(--aq-text-strong);
	font-family: var(--aq-font-display);
	font-size: 1.75rem;
	font-weight: 800;
}
html[data-theme] .woocommerce div.product div.images img,
html[data-theme] .woocommerce div.product .woocommerce-product-gallery {
	border-radius: var(--aq-radius-lg);
}
html[data-theme] .woocommerce div.product .woocommerce-product-gallery {
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	padding: 12px;
	overflow: hidden;
}
html[data-theme] .woocommerce div.product form.cart .button,
html[data-theme] .woocommerce div.product .single_add_to_cart_button {
	min-height: 50px;
	padding-left: 2rem;
	padding-right: 2rem;
	font-size: 1rem;
}
html[data-theme] .woocommerce .quantity .qty {
	min-height: 50px;
	width: 4.5em;
	text-align: center;
	border-radius: 12px !important;
}
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 6px;
	padding: 6px;
	margin-bottom: 1.25rem;
	background: var(--aq-surface-2);
	border: 1px solid var(--aq-border);
	border-radius: 14px;
	overflow-x: auto;
}
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs::before,
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 10px;
}
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 0.55rem 1rem;
	color: var(--aq-text);
	font-weight: 600;
}
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--aq-surface);
	box-shadow: var(--aq-shadow-sm);
}
html[data-theme] .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--aq-text-strong); }
html[data-theme] .woocommerce div.product .product_meta { color: var(--aq-muted); font-size: 0.875rem; border-color: var(--aq-border); }

/* Cards shared by cart, checkout, account */
html[data-theme] .woocommerce-cart table.shop_table,
html[data-theme] .woocommerce-cart .cart-collaterals .cart_totals,
html[data-theme] .woocommerce-checkout .woocommerce-billing-fields,
html[data-theme] .woocommerce-checkout .woocommerce-shipping-fields,
html[data-theme] .woocommerce-checkout .woocommerce-additional-fields,
html[data-theme] .woocommerce-checkout #order_review,
html[data-theme] .woocommerce-MyAccount-navigation,
html[data-theme] .woocommerce-MyAccount-content,
html[data-theme] .woocommerce-account .woocommerce-Address,
html[data-theme] .woocommerce-order-details,
html[data-theme] .woocommerce-customer-details,
html[data-theme] .wlg-licenses,
html[data-theme] .woocommerce form.login,
html[data-theme] .woocommerce form.register,
html[data-theme] .woocommerce form.checkout_coupon,
html[data-theme] .woocommerce-ResetPassword {
	background: var(--aq-surface) !important;
	border: 1px solid var(--aq-border) !important;
	border-radius: 20px !important;
	box-shadow: var(--aq-shadow) !important;
	color: var(--aq-text) !important;
}
html[data-theme] .woocommerce-cart .woocommerce,
html[data-theme] .woocommerce-checkout .woocommerce,
html[data-theme] .woocommerce-account .woocommerce {
	max-width: 1160px;
	margin: clamp(24px, 5vw, 56px) auto;
}

/* Cart */
html[data-theme] .woocommerce-cart table.shop_table { border-collapse: separate; overflow: hidden; }
html[data-theme] .woocommerce table.shop_table th,
html[data-theme] .woocommerce table.shop_table td {
	padding: 1rem 1.1rem;
	border-color: var(--aq-border) !important;
	color: var(--aq-text);
	background: transparent;
}
html[data-theme] .woocommerce table.shop_table thead th {
	background: var(--aq-surface-2) !important;
	color: var(--aq-muted) !important;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
html[data-theme] .woocommerce-cart .product-name a { color: var(--aq-text-strong); font-weight: 600; text-decoration: none; }
html[data-theme] .woocommerce-cart .product-name a:hover { color: var(--aq-brand); }
html[data-theme] .woocommerce-cart .product-thumbnail img { border-radius: 10px; }
html[data-theme] .woocommerce a.remove {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	color: var(--aq-danger) !important;
	background: var(--aq-danger-soft);
	font-size: 1.1rem;
	line-height: 1;
}
html[data-theme] .woocommerce a.remove:hover { background: var(--aq-danger); color: #fff !important; }
html[data-theme] .woocommerce-cart .actions { background: var(--aq-surface-2) !important; padding: 1rem !important; }
html[data-theme] .woocommerce-cart .cart-collaterals .cart_totals { padding: 1.5rem; margin-top: 1.5rem; }
html[data-theme] .woocommerce-cart .cart_totals h2 { font-size: 1.25rem; margin-bottom: 1rem; }
html[data-theme] .woocommerce-cart .cart_totals table { border: 0 !important; }
html[data-theme] .woocommerce-cart .cart_totals .order-total .amount { color: var(--aq-text-strong); font-size: 1.25rem; font-weight: 800; }
html[data-theme] .woocommerce .wc-proceed-to-checkout a.checkout-button,
html[data-theme] .woocommerce-checkout #place_order {
	display: flex;
	width: 100%;
	min-height: 54px;
	font-size: 1.05rem;
	font-weight: 700;
	border-radius: 14px;
}

/* WooCommerce block cart / checkout (if used) */
html[data-theme] .wc-block-components-sidebar-layout .wc-block-components-main,
html[data-theme] .wc-block-cart .wc-block-cart__totals-title { color: var(--aq-text-strong); }
html[data-theme] .wc-block-components-totals-wrapper,
html[data-theme] .wc-block-cart-items,
html[data-theme] .wc-block-cart-items td,
html[data-theme] .wc-block-components-panel { border-color: var(--aq-border) !important; }
html[data-theme] .wc-block-components-button:not(.is-link) {
	background: var(--aq-gradient) !important;
	color: #fff !important;
	border-radius: 14px !important;
	border: 0 !important;
}
html[data-theme] .wc-block-components-text-input input,
html[data-theme] .wc-block-components-combobox .components-combobox-control__input,
html[data-theme] .wc-blocks-components-select .wc-blocks-components-select__select {
	background: var(--aq-input-bg) !important;
	color: var(--aq-text-strong) !important;
	border-color: var(--aq-border-strong) !important;
	border-radius: 12px !important;
}
html[data-theme] .wc-block-components-text-input label,
html[data-theme] .wc-blocks-components-select .wc-blocks-components-select__label { color: var(--aq-muted) !important; }

/* Checkout */
html[data-theme] .woocommerce-checkout .woocommerce-billing-fields,
html[data-theme] .woocommerce-checkout .woocommerce-shipping-fields,
html[data-theme] .woocommerce-checkout .woocommerce-additional-fields,
html[data-theme] .woocommerce-checkout #order_review { padding: 1.5rem; margin-bottom: 1.5rem; }
html[data-theme] .woocommerce-checkout h3,
html[data-theme] .woocommerce-checkout #order_review_heading { font-size: 1.2rem; color: var(--aq-text-strong); }
html[data-theme] .woocommerce-checkout table.shop_table { border: 0 !important; background: transparent !important; box-shadow: none !important; }
html[data-theme] .woocommerce-checkout #payment,
html[data-theme] .woocommerce-checkout #payment ul.payment_methods { background: transparent !important; border-color: var(--aq-border) !important; }
html[data-theme] .woocommerce-checkout #payment ul.payment_methods li { color: var(--aq-text-strong); }
html[data-theme] .woocommerce-checkout #payment div.payment_box,
html[data-theme] body.woocommerce-checkout .payment_box,
html[data-theme] body.woocommerce-checkout .wc-payment-form {
	background: var(--aq-surface-2) !important;
	color: var(--aq-text) !important;
	border: 1px solid var(--aq-border);
	border-radius: 14px;
	padding: 1rem;
}
html[data-theme] .woocommerce-checkout #payment div.payment_box::before { display: none; }
html[data-theme] body.woocommerce-checkout .payment_box label,
html[data-theme] body.woocommerce-checkout .payment_box p { color: var(--aq-text) !important; }
html[data-theme] body.woocommerce-checkout .wcpay-upe-element {
	border: 1px solid var(--aq-border-strong) !important;
	border-radius: 12px;
	padding: 10px;
	background: var(--aq-input-bg) !important;
}
html[data-theme] .woocommerce-checkout .woocommerce-privacy-policy-text,
html[data-theme] .woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 0.85rem; color: var(--aq-muted); }

/* My account */
html[data-theme] .woocommerce-MyAccount-navigation { padding: 0.75rem !important; }
html[data-theme] .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 0; }
html[data-theme] .woocommerce-MyAccount-navigation ul li { margin: 0 0 2px; border: 0 !important; }
html[data-theme] .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.7rem 0.9rem;
	border-radius: 11px;
	color: var(--aq-text);
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
html[data-theme] .woocommerce-MyAccount-navigation ul li a:hover { background: var(--aq-surface-2); color: var(--aq-text-strong); }
html[data-theme] .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--aq-brand-soft); color: var(--aq-brand); font-weight: 600; }
html[data-theme] .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--aq-danger) !important; }
html[data-theme] .woocommerce-MyAccount-content { padding: clamp(1.25rem, 3vw, 2rem) !important; }
html[data-theme] .woocommerce-account .woocommerce-Address { padding: 1.25rem !important; margin-bottom: 1rem; }
html[data-theme] .woocommerce-Address-title,
html[data-theme] .woocommerce-column__title,
html[data-theme] .woocommerce-customer-details > .woocommerce-column__title {
	background: transparent !important;
	color: var(--aq-text-strong) !important;
	border: 0 !important;
	padding: 0 !important;
}
html[data-theme] .woocommerce-Address address,
html[data-theme] .woocommerce-column address,
html[data-theme] .woocommerce-customer-details address {
	background: transparent !important;
	border: 0 !important;
	color: var(--aq-text) !important;
	padding: 0 !important;
}
html[data-theme] .woocommerce-order-details,
html[data-theme] .woocommerce-customer-details { padding: 1.5rem; margin-bottom: 1.5rem; }
html[data-theme] .woocommerce-column { background: transparent !important; border: 0; padding: 0; }
html[data-theme] .woocommerce-account .woocommerce-orders,
html[data-theme] .woocommerce-view-order { background: transparent !important; color: inherit !important; }
html[data-theme] .woocommerce-account table.shop_table { border-radius: 14px; overflow: hidden; border-collapse: separate; border: 1px solid var(--aq-border) !important; }
html[data-theme] .woocommerce-account table.shop_table a:not(.button) { color: var(--aq-brand); font-weight: 600; }
html[data-theme] .woocommerce-account table.shop_table a.button,
html[data-theme] .woocommerce-account table.shop_table a.button:hover { padding: 0.5rem 0.95rem; font-size: 0.85rem; color: #fff !important; }

/* Account content: sensible heading sizes */
html[data-theme] .woocommerce-MyAccount-content h2 { font-size: 1.35rem; margin: 0 0 1rem; }
html[data-theme] .woocommerce-MyAccount-content h3 { font-size: 1.1rem; margin: 0 0 0.75rem; }
html[data-theme] .woocommerce-MyAccount-content > p:first-child { color: var(--aq-text); }
html[data-theme] .woocommerce-MyAccount-content fieldset { border: 1px solid var(--aq-border); border-radius: 14px; padding: 1rem 1.25rem 0.25rem; margin: 1.5rem 0; }
html[data-theme] .woocommerce-MyAccount-content legend { padding: 0 0.5rem; color: var(--aq-text-strong); font-weight: 700; font-size: 0.95rem; }
html[data-theme] .woocommerce-MyAccount-content em,
html[data-theme] .woocommerce-MyAccount-content .description { color: var(--aq-muted); font-size: 0.85rem; }

/* Order number / date / status highlights */
html[data-theme] .woocommerce-MyAccount-content mark,
html[data-theme] .woocommerce-order mark {
	padding: 0.1em 0.45em;
	border-radius: 6px;
	background: var(--aq-brand-soft);
	color: var(--aq-text-strong);
	font-weight: 600;
}
html[data-theme] .woocommerce-MyAccount-content mark.order-status,
html[data-theme] .woocommerce-order mark.order-status { background: var(--aq-success-soft); color: var(--aq-success); }

/* Order status column in the orders table */
html[data-theme] .woocommerce-orders-table__cell-order-status { color: var(--aq-success); font-weight: 600; }

/* Order notes ("Order updates") as a timeline */
html[data-theme] .woocommerce-OrderUpdates {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0 0 0 1.25rem;
	border-left: 2px solid var(--aq-border);
}
html[data-theme] .woocommerce-OrderUpdate {
	position: relative;
	margin: 0 0 1rem;
	padding: 0.9rem 1.1rem;
	background: var(--aq-surface-2);
	border: 1px solid var(--aq-border);
	border-radius: 14px;
}
html[data-theme] .woocommerce-OrderUpdate::before {
	content: "";
	position: absolute;
	left: calc(-1.25rem - 7px);
	top: 1.1rem;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--aq-brand);
	box-shadow: 0 0 0 4px var(--aq-bg);
}
html[data-theme] .woocommerce-OrderUpdate-meta { margin: 0 0 0.35rem; color: var(--aq-muted); font-size: 0.8rem; font-weight: 600; }
html[data-theme] .woocommerce-OrderUpdate-description p { margin: 0; color: var(--aq-text); }

/* Cards inside the account card: flatten so there is no card-in-a-card */
html[data-theme] .woocommerce-MyAccount-content .wlg-licenses {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
html[data-theme] .woocommerce-MyAccount-content .woocommerce-order-details,
html[data-theme] .woocommerce-MyAccount-content .woocommerce-customer-details,
html[data-theme] .woocommerce-MyAccount-content .woocommerce-Address {
	padding: 1.25rem !important;
	background: var(--aq-surface-2) !important;
	box-shadow: none !important;
	border-radius: 16px !important;
}
html[data-theme] .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table {
	border: 0 !important;
	border-radius: 0;
	background: transparent;
}
html[data-theme] .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table thead th { background: transparent !important; }
html[data-theme] .woocommerce-MyAccount-content .woocommerce-order-details tfoot tr:last-child th,
html[data-theme] .woocommerce-MyAccount-content .woocommerce-order-details tfoot tr:last-child td { color: var(--aq-text-strong); font-weight: 800; }
html[data-theme] .woocommerce-MyAccount-content .wc-item-meta { margin: 0.4rem 0 0; padding: 0; list-style: none; font-size: 0.85rem; color: var(--aq-muted); }
html[data-theme] .woocommerce-MyAccount-content .wc-item-meta p { display: inline; color: var(--aq-text-strong); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Addresses */
html[data-theme] .woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
html[data-theme] .woocommerce-account .woocommerce-Addresses::before,
html[data-theme] .woocommerce-account .woocommerce-Addresses::after { display: none; }
html[data-theme] .woocommerce-account .woocommerce-Addresses .woocommerce-Address { width: auto !important; float: none !important; margin: 0 !important; }
html[data-theme] .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
html[data-theme] .woocommerce-Address-title::before,
html[data-theme] .woocommerce-Address-title::after { display: none; }
html[data-theme] .woocommerce-Address-title h2,
html[data-theme] .woocommerce-Address-title h3 {
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	text-align: left !important;
	font-size: 1.05rem !important;
	color: var(--aq-text-strong) !important;
}
html[data-theme] .woocommerce-Address-title,
html[data-theme] .woocommerce-account .woocommerce-Address-title { padding: 0 !important; text-align: left; }
html[data-theme] .woocommerce-Address-title a.edit {
	float: none;
	padding: 0.3rem 0.7rem;
	border-radius: 8px;
	border: 1px solid var(--aq-border-strong);
	color: var(--aq-text-strong) !important;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}
html[data-theme] .woocommerce-Address-title a.edit:hover { border-color: var(--aq-brand-line); color: var(--aq-brand) !important; }
html[data-theme] .woocommerce-Address address { font-style: normal; line-height: 1.7; }

/* Dashboard quick-action cards */
.aq-account-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 12px;
	margin-top: 1.5rem;
}
html[data-theme] .aq-account-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 1rem;
	border-radius: 16px;
	border: 1px solid var(--aq-border);
	background: var(--aq-surface-2);
	color: var(--aq-text);
	text-decoration: none;
	transition: transform 0.25s var(--aq-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}
html[data-theme] .aq-account-card:hover {
	transform: translateY(-2px);
	border-color: var(--aq-brand-line);
	box-shadow: var(--aq-glow);
	color: var(--aq-text);
}
.aq-account-card__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--aq-brand-soft);
	color: var(--aq-brand);
}
.aq-account-card__icon svg {
	width: 20px; height: 20px;
	fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.aq-account-card__text { display: grid; gap: 2px; min-width: 0; }
.aq-account-card__text strong { color: var(--aq-text-strong); font-size: 0.95rem; }
.aq-account-card__text small { color: var(--aq-muted); font-size: 0.8rem; line-height: 1.4; }

/* "You are already registered / logged in" (Ultimate Member) */
.aq-notice-card {
	max-width: 460px;
	margin: clamp(32px, 6vw, 72px) auto;
	padding: 2rem 1.75rem;
	text-align: center;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 24px;
	box-shadow: var(--aq-shadow-lg);
}
.aq-notice-card__icon {
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--aq-success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat;
}
html[data-theme] .aq-notice-card p { margin: 0 0 1.25rem; color: var(--aq-text-strong); font-size: 1.1rem; font-weight: 600; }
.aq-notice-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Hide email change fields (kept from previous custom CSS) */
.um-account .um-field-user_email,
.um-account .um-account-field.user_email,
.um-account input[name="user_email"],
.um-account label[for="user_email"],
.woocommerce-account input#account_email,
.woocommerce-account label[for="account_email"] { display: none !important; }

/* Mini cart / Astra cart icon */
html[data-theme] .ast-site-header-cart .ast-cart-menu-wrap .count,
html[data-theme] .ast-site-header-cart .ast-addon-cart-wrap .count { background: var(--aq-brand); color: var(--aq-brand-ink); }
html[data-theme] .widget_shopping_cart,
html[data-theme] .astra-cart-drawer { background: var(--aq-surface); color: var(--aq-text); border-color: var(--aq-border); }

/* 10. ULTIMATE MEMBER --------------------------------------------------- */
html[data-theme] .um { color: var(--aq-text); font-family: var(--aq-font); }
html[data-theme] .um-login .um-form,
html[data-theme] .um-register .um-form,
html[data-theme] .um-password .um-form {
	max-width: 440px;
	margin: clamp(32px, 6vw, 72px) auto;
	padding: clamp(1.5rem, 4vw, 2.25rem);
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 24px;
	box-shadow: var(--aq-shadow-lg);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
html[data-theme] .um-login .um-form:hover,
html[data-theme] .um-register .um-form:hover { box-shadow: var(--aq-shadow-lg); }
html[data-theme] .um .um-form h2,
html[data-theme] .um .um-form h3 { text-align: center; color: var(--aq-text-strong); font-size: 1.4rem; margin-bottom: 1.25rem; }
html[data-theme] .um .um-field { margin-bottom: 1rem; padding-top: 0; }
html[data-theme] .um .um-field-label label { color: var(--aq-text-strong) !important; font-size: 0.875rem; font-weight: 600; }
html[data-theme] .um .um-field-label { margin-bottom: 6px; border: 0; }
html[data-theme] .um .um-field-icon { display: none; }
html[data-theme] .um .um-form input[type="text"],
html[data-theme] .um .um-form input[type="password"],
html[data-theme] .um .um-form input[type="email"] { width: 100%; padding: 0.75rem 0.95rem !important; height: auto !important; }
html[data-theme] .um input[type="submit"].um-button,
html[data-theme] .um a.um-button,
html[data-theme] .um .um-button {
	width: 100%;
	min-height: 48px;
	padding: 0.8rem 1rem !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--aq-gradient) !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	box-shadow: 0 10px 26px -12px rgba(14, 165, 233, 0.7) !important;
	transition: transform 0.2s var(--aq-ease), filter 0.2s ease !important;
}
html[data-theme] .um .um-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
html[data-theme] .um a.um-button.um-alt,
html[data-theme] .um input[type="submit"].um-button.um-alt {
	background: var(--aq-surface-2) !important;
	color: var(--aq-text-strong) !important;
	border: 1px solid var(--aq-border-strong) !important;
	box-shadow: none !important;
}
html[data-theme] .um a { color: var(--aq-brand); font-weight: 500; text-decoration: none; }
html[data-theme] .um a:hover { text-decoration: underline; }
html[data-theme] .um .um-field-checkbox-option,
html[data-theme] .um .um-field-checkbox label,
html[data-theme] .um-register .um-field p { color: var(--aq-text) !important; font-size: 0.875rem; }
html[data-theme] .um .um-col-alt { text-align: center; margin-top: 0.75rem; }
html[data-theme] .um .um-field-block,
html[data-theme] .um-password .um-field-block div { color: var(--aq-text) !important; line-height: 1.6; }
html[data-theme] .um .um-field-error,
html[data-theme] .um .um-error {
	background: var(--aq-danger-soft) !important;
	color: var(--aq-danger) !important;
	border: 0;
	border-left: 3px solid var(--aq-danger);
	border-radius: 10px;
	padding: 0.6rem 0.8rem;
}
html[data-theme] .um .um-field-error .um-field-arrow { color: var(--aq-danger-soft); }
html[data-theme] .um .um-success,
html[data-theme] .um-notice.success {
	background: var(--aq-success-soft) !important;
	color: var(--aq-success) !important;
	border-left: 3px solid var(--aq-success);
	border-radius: 10px;
	padding: 0.6rem 0.8rem;
}
html[data-theme] .um-account-side,
html[data-theme] .um-account-main {
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 20px;
	padding: 1.25rem;
}
html[data-theme] .um-account-side ul { margin: 1rem 0 0; padding: 0; list-style: none; }
html[data-theme] .um-account-side li { background: transparent !important; margin: 0 0 4px !important; }
html[data-theme] .um-account-side li a {
	display: flex !important;
	align-items: center;
	height: auto !important;
	padding: 0.65rem 0.75rem !important;
	background: transparent !important;
	color: var(--aq-text) !important;
	border-radius: 11px;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease;
}
html[data-theme] .um-account-side li a:hover { background: var(--aq-surface-2) !important; color: var(--aq-text-strong) !important; }
html[data-theme] .um-account-side li a.current,
html[data-theme] .um-account-side li a.current:hover,
html[data-theme] div.uimob800 .um-account-side li a.current { background: var(--aq-brand-soft) !important; color: var(--aq-brand) !important; }
html[data-theme] .um-account-side li a span.um-account-icon,
html[data-theme] .um-account-side li a.current span.um-account-icon {
	float: none !important;
	height: auto !important;
	width: 20px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 17px !important;
	color: inherit !important;
}
html[data-theme] .um-account-side li a span.um-account-title {
	float: none !important;
	height: auto !important;
	line-height: 1.3 !important;
	padding-left: 12px !important;
	color: inherit !important;
	font-weight: 500;
}
html[data-theme] .um-account-side li a span.um-account-arrow { margin-left: auto; float: none !important; color: var(--aq-muted) !important; }
html[data-theme] .um-account-meta { padding-bottom: 0.5rem; border-bottom: 1px solid var(--aq-border); }
html[data-theme] .um-account-meta img { border: 3px solid var(--aq-surface-3); background: var(--aq-surface-3); }
html[data-theme] .um-account-name a,
html[data-theme] .um-account-main div.um-account-heading { color: var(--aq-text-strong) !important; font-weight: 700; }
html[data-theme] .um-account-profile-link a { color: var(--aq-brand) !important; font-size: 0.85rem; }
html[data-theme] .um-account-nav a { color: var(--aq-text) !important; border-color: var(--aq-border) !important; }
html[data-theme] .um-account-nav a.current { color: var(--aq-brand) !important; }

/* Ultimate Member profile + member directory */
html[data-theme] .um-header { border-bottom: 1px solid var(--aq-border) !important; }
html[data-theme] .um-cover { background-color: var(--aq-surface-2) !important; border-radius: 20px; overflow: hidden; }
html[data-theme] .um .um-profile-photo a.um-profile-photo-img {
	background: var(--aq-surface-3) !important;
	border-color: var(--aq-bg) !important;
	box-shadow: var(--aq-shadow);
}
html[data-theme] .um-profile.um .um-name a,
html[data-theme] .um .um-member-name a { color: var(--aq-text-strong) !important; font-weight: 700; }
html[data-theme] .um-profile.um .um-name a:hover { color: var(--aq-brand) !important; }
html[data-theme] .um-meta-text,
html[data-theme] .um-profile-note,
html[data-theme] .um-profile-note span,
html[data-theme] .um-member-tagline { color: var(--aq-text) !important; }
html[data-theme] .um-profile-note i { color: var(--aq-muted); }
html[data-theme] .um-profile-nav { background: var(--aq-surface) !important; border: 1px solid var(--aq-border); border-radius: 14px; }
html[data-theme] .um-profile-nav-item a { color: var(--aq-text) !important; }
html[data-theme] .um-profile-nav-item a:hover { background: var(--aq-surface-2) !important; }
html[data-theme] .um .um-profile-nav-item.active a { background: var(--aq-brand-soft) !important; color: var(--aq-brand) !important; }
html[data-theme] .um-profile-edit-a,
html[data-theme] .um-profile-headericon a { color: var(--aq-muted) !important; }
html[data-theme] .um-dropdown { background: var(--aq-surface) !important; border: 1px solid var(--aq-border) !important; border-radius: 12px; box-shadow: var(--aq-shadow-lg); }
html[data-theme] .um-dropdown li a { color: var(--aq-text) !important; border-color: var(--aq-border) !important; }
html[data-theme] .um-dropdown-arr i { color: var(--aq-surface) !important; }
html[data-theme] .um-member,
html[data-theme] .um-members-wrapper .um-member {
	background: var(--aq-surface) !important;
	border: 1px solid var(--aq-border) !important;
	border-radius: 18px;
	box-shadow: var(--aq-shadow-sm);
}
html[data-theme] .um-directory .um-member-directory-header,
html[data-theme] .um-directory .um-members-pagination-box { color: var(--aq-text); }
html[data-theme] .um-directory .um-member-directory-search-line input { background: var(--aq-input-bg) !important; }

/* 11. LICENSES TABLE, NOTICES, MISC ------------------------------------ */
html[data-theme] .wlg-licenses { padding: clamp(1.25rem, 3vw, 1.75rem); margin-top: 1.75rem; }
html[data-theme] .wlg-table { width: 100%; border-collapse: collapse; background: transparent; }
html[data-theme] .wlg-table thead th {
	padding: 0.8rem 0.75rem;
	text-align: left;
	color: var(--aq-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--aq-border);
}
html[data-theme] .wlg-table td {
	padding: 0.9rem 0.75rem;
	color: var(--aq-text);
	font-size: 0.9rem;
	border-bottom: 1px solid var(--aq-border);
	vertical-align: middle;
}
html[data-theme] .wlg-table tbody tr { transition: background 0.2s ease; }
html[data-theme] .wlg-table tbody tr:hover { background: var(--aq-surface-2); }
html[data-theme] .wlg-table td:nth-child(2) { font-weight: 600; color: var(--aq-text-strong); }
html[data-theme] .wlg-table td:last-child { color: var(--aq-muted); font-size: 0.85rem; }
html[data-theme] .wlg-table code {
	padding: 0.3rem 0.55rem;
	border-radius: 8px;
	background: var(--aq-surface-2);
	border: 1px solid var(--aq-border);
	color: var(--aq-brand);
	font-size: 0.8rem;
	word-break: break-all;
}
html[data-theme] .wlg-note { color: var(--aq-muted); font-size: 0.8rem; }
html[data-theme] .wlg-licenses p { color: var(--aq-muted); font-size: 0.9rem; }

.status-active,
.status-expired,
.status-banned {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
}
.status-active::before,
.status-expired::before,
.status-banned::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html[data-theme] .status-active { color: var(--aq-success); background: var(--aq-success-soft); }
html[data-theme] .status-expired { color: var(--aq-warning); background: rgba(251, 191, 36, 0.12); }
html[data-theme] .status-banned { color: var(--aq-danger); background: var(--aq-danger-soft); }

/* WooCommerce notices everywhere */
html[data-theme] .woocommerce-message,
html[data-theme] .woocommerce-info,
html[data-theme] .woocommerce-error,
html[data-theme] .woocommerce-notices-wrapper .woocommerce-message,
html[data-theme] .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
html[data-theme] .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	padding: 0.9rem 1.1rem !important;
	margin-bottom: 1.25rem;
	border: 1px solid var(--aq-brand-line) !important;
	border-left-width: 1px !important;
	border-radius: 14px !important;
	background: var(--aq-brand-soft) !important;
	color: var(--aq-text-strong) !important;
	box-shadow: none;
}
html[data-theme] .woocommerce-message::before,
html[data-theme] .woocommerce-info::before { color: var(--aq-brand) !important; position: static; margin-right: 0.25rem; }
html[data-theme] .woocommerce-error { border-color: rgba(248, 113, 113, 0.4) !important; background: var(--aq-danger-soft) !important; }
html[data-theme] .woocommerce-error::before { color: var(--aq-danger) !important; position: static; }
html[data-theme] .woocommerce-message .button,
html[data-theme] .woocommerce-info .button { order: 2; margin-left: auto; padding: 0.5rem 0.9rem; font-size: 0.85rem; }
html[data-theme] .woocommerce-form-login-toggle,
html[data-theme] .woocommerce-form-coupon-toggle { background: transparent !important; border: 0 !important; padding: 0 !important; }

/* Contact form 7 */
html[data-theme] .wpcf7 form { display: grid; gap: 0.25rem; }
html[data-theme] .wpcf7 .wpcf7-submit { min-height: 48px; padding: 0.8rem 1.75rem; }
html[data-theme] .wpcf7 .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	border-color: var(--aq-brand-line) !important;
	background: var(--aq-brand-soft);
	color: var(--aq-text-strong);
}
html[data-theme] .wpcf7-not-valid-tip { color: var(--aq-danger); font-size: 0.85rem; }

/* Complianz cookie banner */
html[data-theme] .cmplz-cookiebanner {
	background: var(--aq-surface) !important;
	color: var(--aq-text) !important;
	border: 1px solid var(--aq-border) !important;
	border-radius: 20px !important;
	box-shadow: var(--aq-shadow-lg) !important;
}
html[data-theme] .cmplz-cookiebanner .cmplz-title,
html[data-theme] .cmplz-cookiebanner .cmplz-message,
html[data-theme] .cmplz-cookiebanner .cmplz-message p { color: var(--aq-text) !important; }
html[data-theme] .cmplz-cookiebanner .cmplz-title { color: var(--aq-text-strong) !important; font-weight: 700; }
html[data-theme] .cmplz-cookiebanner .cmplz-btn { border-radius: 11px !important; font-weight: 600 !important; }
html[data-theme] .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--aq-gradient) !important; border: 0 !important; color: #fff !important; }
html[data-theme] .cmplz-cookiebanner .cmplz-btn.cmplz-deny,
html[data-theme] .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
html[data-theme] .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
	background: var(--aq-surface-2) !important;
	border: 1px solid var(--aq-border-strong) !important;
	color: var(--aq-text-strong) !important;
}
html[data-theme] .cmplz-cookiebanner .cmplz-links a,
html[data-theme] .cmplz-cookiebanner .cmplz-link { color: var(--aq-brand) !important; }
html[data-theme] .cmplz-cookiebanner .cmplz-close svg path { fill: var(--aq-muted) !important; }

/* SureCart customer dashboard (its own full-page template) */
html[data-theme] body.page-template-template-surecart-dashboard { background: var(--aq-bg) !important; }
html[data-theme] body.page-template-template-surecart-dashboard::before {
	background: var(--aq-surface) !important;
	border-right: 1px solid var(--aq-border);
}
html[data-theme] body.page-template-template-surecart-dashboard sc-tab { color: var(--aq-text); }
html[data-theme] body.page-template-template-surecart-dashboard {
	--sc-color-primary-500: var(--aq-brand);
	--sc-tab-active-background: var(--aq-brand-soft);
	--sc-tab-active-color: var(--aq-brand);
	--sc-tab-hover-background: var(--aq-surface-2);
	--sc-card-background-color: var(--aq-surface);
	--sc-card-border-color: var(--aq-border);
	--sc-input-label-color: var(--aq-text-strong);
	--sc-color-gray-500: var(--aq-muted);
	--sc-color-gray-600: var(--aq-text);
	--sc-color-gray-700: var(--aq-text);
	--sc-color-gray-800: var(--aq-text-strong);
	--sc-color-gray-900: var(--aq-text-strong);
}
html[data-theme] body.page-template-template-surecart-dashboard h1,
html[data-theme] body.page-template-template-surecart-dashboard h2,
html[data-theme] body.page-template-template-surecart-dashboard sc-heading { color: var(--aq-text-strong); }

/* SureCart components everywhere (checkout form, dialogs, cart drawer) */
html[data-theme] body {
	--sc-input-background-color: var(--aq-input-bg);
	--sc-input-background-color-hover: var(--aq-input-bg);
	--sc-input-background-color-focus: var(--aq-input-bg);
	--sc-input-border-color: var(--aq-border-strong);
	--sc-input-border-color-hover: var(--aq-border-strong);
	--sc-input-border-color-focus: var(--aq-brand);
	--sc-input-color: var(--aq-text-strong);
	--sc-input-label-color: var(--aq-text-strong);
	--sc-input-placeholder-color: var(--aq-muted);
	--sc-input-border-radius-medium: 12px;
	--sc-focus-ring-color-primary: var(--aq-brand-soft);
	--sc-color-primary-500: var(--aq-brand-strong);
	--sc-color-primary-600: var(--aq-brand-strong);
	--sc-color-primary-text: #fff;
	--sc-panel-background-color: var(--aq-surface);
	--sc-card-background-color: var(--aq-surface);
	--sc-card-border-color: var(--aq-border);
	--sc-drawer-background-color: var(--aq-surface);
	--sc-color-white: var(--aq-surface);
}

/* SureCart saved items (heart / wishlist) */
html[data-theme] .sc-saved-items__card {
	background: var(--aq-surface) !important;
	border: 1px solid var(--aq-border) !important;
	border-radius: 20px !important;
	color: var(--aq-text) !important;
	box-shadow: var(--aq-shadow-sm);
}
html[data-theme] .sc-saved-items__empty-title,
html[data-theme] .sc-saved-items__title,
html[data-theme] .sc-saved-items__heading-title { color: var(--aq-text-strong) !important; }
html[data-theme] .sc-saved-items__card p { color: var(--aq-text) !important; }
html[data-theme] .sc-saved-items__empty-badge { background: var(--aq-brand-soft) !important; color: var(--aq-brand) !important; }

/* 12. FOOTER ------------------------------------------------------------ */
html[data-theme] .site-footer {
	background: var(--aq-bg-soft) !important;
	border-top: 1px solid var(--aq-border);
	color: var(--aq-text);
}
html[data-theme] .site-footer .site-below-footer-wrap { display: none; } /* replaced by .aq-footer__bottom */
html[data-theme] .site-footer .site-primary-footer-wrap,
html[data-theme] .site-footer .site-above-footer-wrap { background: transparent !important; }

.aq-footer {
	max-width: var(--aq-container);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 80px) 24px 28px;
}
.aq-footer__cta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: clamp(40px, 6vw, 64px);
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: 28px;
	box-shadow: var(--aq-shadow);
	overflow: hidden;
	isolation: isolate;
}
.aq-footer__cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(30rem 14rem at 100% 0%, rgba(34, 195, 238, 0.18), transparent 70%),
		radial-gradient(24rem 14rem at 0% 100%, rgba(59, 130, 246, 0.12), transparent 70%);
}
html[data-theme] .aq-footer__cta h2 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 800;
}
.aq-footer__cta p { margin: 0; color: var(--aq-text); max-width: 52ch; }
.aq-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html[data-theme] .aq-btn { text-decoration: none; text-transform: none; }
html[data-theme] .aq-btn--primary,
html[data-theme] .aq-btn--primary:hover { color: #fff; }
html[data-theme] .aq-btn--ghost,
html[data-theme] .aq-btn--ghost:hover { color: var(--aq-text-strong); }

.aq-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(4, 1fr);
	gap: 2rem;
	padding-bottom: 2.5rem;
}
.aq-footer__brand .custom-logo { max-height: 40px; width: auto; }
.aq-footer__brand p { margin: 1rem 0 0; max-width: 36ch; color: var(--aq-muted); font-size: 0.92rem; line-height: 1.7; }
.aq-footer__name { font-family: var(--aq-font-display); font-weight: 800; font-size: 1.25rem; color: var(--aq-text-strong); text-decoration: none; }
html[data-theme] .aq-footer h3 {
	margin: 0 0 1rem;
	color: var(--aq-text-strong);
	font-family: var(--aq-font);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.aq-footer ul { list-style: none; margin: 0; padding: 0; }
.aq-footer li { margin: 0 0 0.6rem; }
html[data-theme] .aq-footer li a {
	color: var(--aq-muted);
	font-size: 0.92rem;
	text-decoration: none;
	transition: color 0.2s ease;
}
html[data-theme] .aq-footer li a:hover { color: var(--aq-text-strong); }
.aq-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--aq-border);
	color: var(--aq-muted);
	font-size: 0.85rem;
}
html[data-theme] .aq-footer__theme {
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--aq-border-strong);
	background: transparent;
	color: var(--aq-text);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	cursor: pointer;
}
html[data-theme] .aq-footer__theme:hover { color: var(--aq-text-strong); border-color: var(--aq-brand-line); background: var(--aq-surface); }
html[data-theme="dark"] .aq-when-light,
html[data-theme="light"] .aq-when-dark { display: none; }

/* SUPPORT FORUM LINKS ------------------------------------------------- */
.aq-forum-icon {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Header button */
html[data-theme] .aq-header-support {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 0.85rem;
	border-radius: 11px;
	border: 1px solid var(--aq-border-strong);
	background: var(--aq-surface-2);
	color: var(--aq-text-strong);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
html[data-theme] .aq-header-support:hover {
	border-color: var(--aq-brand-line);
	background: var(--aq-surface-3);
	color: var(--aq-brand);
}

/* Mobile menu item */
html[data-theme] #ast-mobile-header .main-header-menu .aq-menu-forum > .menu-link { color: var(--aq-brand) !important; font-weight: 600; }
html[data-theme] #ast-mobile-header .main-header-menu .aq-menu-forum > .menu-link::after { content: " ↗"; }

/* Footer */
html[data-theme] .aq-footer li a.aq-footer__forum { color: var(--aq-brand); font-weight: 600; }
html[data-theme] .aq-footer li a.aq-footer__forum:hover { color: var(--aq-brand-strong); }
html[data-theme] .aq-footer__cta-actions .aq-btn .aq-forum-icon { margin-right: 2px; }

/* "Need help?" callout */
html[data-theme] .aq-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.1rem;
	margin: 1.75rem 0 0.5rem;
	padding: 1.1rem 1.25rem;
	background: var(--aq-brand-soft);
	border: 1px solid var(--aq-brand-line);
	border-radius: 18px;
	clear: both;
}
.aq-help__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--aq-surface);
	color: var(--aq-brand);
	border: 1px solid var(--aq-brand-line);
}
.aq-help__icon .aq-forum-icon { width: 22px; height: 22px; }
.aq-help__text { display: grid; gap: 2px; flex: 1 1 220px; min-width: 0; }
html[data-theme] .aq-help__text strong { color: var(--aq-text-strong); font-size: 1rem; }
html[data-theme] .aq-help__text span { color: var(--aq-text); font-size: 0.9rem; line-height: 1.5; }
html[data-theme] .aq-help .aq-help__btn { padding: 0.6rem 1rem; font-size: 0.875rem; white-space: nowrap; }
.aq-help__btn svg {
	width: 15px; height: 15px;
	fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
html[data-theme] .aq-help--compact { margin-top: 1.25rem; padding: 0.9rem 1rem; }
html[data-theme] .aq-help--compact .aq-help__icon { width: 38px; height: 38px; }
html[data-theme] .aq-help--compact .aq-help__text strong { font-size: 0.92rem; }
html[data-theme] .aq-help--compact .aq-help__text span { font-size: 0.85rem; }
html[data-theme] .woocommerce div.product .summary .aq-help { width: 100%; }

/* Dashboard card + Downloads page button */
html[data-theme] .aq-account-card--forum { border-color: var(--aq-brand-line); background: var(--aq-brand-soft); }
html[data-theme] .aq-account-card--forum .aq-account-card__icon { background: var(--aq-surface); }
.aq-account-card__icon .aq-forum-icon { width: 20px; height: 20px; }
html[data-theme] .policy-nav-btn.aq-forum-btn {
	margin-top: 12px;
	border-color: var(--aq-brand-line);
	color: var(--aq-brand);
}

/* 13. UTILITIES: progress, back-to-top, reveal, keyframes -------------- */
.aq-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 100001;
	pointer-events: none;
}
.aq-progress span {
	display: block;
	height: 100%;
	background: var(--aq-gradient);
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.admin-bar .aq-progress { top: 32px; }

.aq-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 14px;
	border: 1px solid var(--aq-border-strong);
	background: var(--aq-surface);
	color: var(--aq-text-strong);
	box-shadow: var(--aq-shadow);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s var(--aq-ease), visibility 0.3s, border-color 0.2s ease;
}
.aq-to-top:hover { border-color: var(--aq-brand-line); background: var(--aq-surface); color: var(--aq-brand); }
.aq-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.aq-to-top svg {
	width: 20px; height: 20px;
	fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
#ast-scroll-top { display: none !important; } /* superseded by .aq-to-top */

.aq-js .aq-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--aq-ease) var(--aq-delay, 0ms), transform 0.7s var(--aq-ease) var(--aq-delay, 0ms);
}
.aq-js .aq-reveal.is-revealed { opacity: 1; transform: none; }

@keyframes aq-pop {
	from { opacity: 0; transform: translateY(10px) scale(0.97); }
	to { opacity: 1; transform: none; }
}
@keyframes aq-pulse {
	0%, 100% { box-shadow: 0 0 0 4px var(--aq-success-soft); }
	50% { box-shadow: 0 0 0 7px transparent; }
}

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

/* 14. RESPONSIVE -------------------------------------------------------- */
@media (max-width: 1240px) {
	html[data-theme] .main-header-menu > .menu-item > .menu-link,
	html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding: 0.5rem 0.55rem !important; font-size: 0.85rem !important; }
	.aq-header-cta { display: none; }
	html[data-theme] .aq-header-support { width: 40px; padding: 0; justify-content: center; }
	html[data-theme] .aq-header-support span { display: none; }
}
@media (max-width: 1024px) {
	/* Services page: card "04" has a -578px tablet offset in Spectra that overlaps card "02" */
	html[data-theme] .uagb-block-a474bc71 { margin-top: 0 !important; }
}
@media (max-width: 921px) {
	.aq-footer__grid { grid-template-columns: 1fr 1fr; }
	.aq-footer__brand { grid-column: 1 / -1; }
	.aq-header-actions--mobile { margin-right: 8px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px !important; }
	.admin-bar .aq-progress { top: 46px; }
}
@media (max-width: 768px) {
	/* Account / cart / checkout: side gutters on phones */
	html[data-theme] .woocommerce-account .woocommerce,
	html[data-theme] .woocommerce-cart .woocommerce,
	html[data-theme] .woocommerce-checkout .woocommerce { margin: 16px 0 32px; padding: 0 12px; }

	/* Account menu becomes a swipeable pill bar */
	html[data-theme] .woocommerce-MyAccount-navigation {
		margin-bottom: 14px;
		padding: 6px !important;
		border-radius: 16px !important;
	}
	html[data-theme] .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 4px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	html[data-theme] .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	html[data-theme] .woocommerce-MyAccount-navigation ul li { margin: 0; flex: none; }
	html[data-theme] .woocommerce-MyAccount-navigation ul li a { padding: 0.55rem 0.85rem; white-space: nowrap; font-size: 0.9rem; }
	html[data-theme] .woocommerce-MyAccount-content { padding: 1.1rem !important; }
	.aq-account-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
	html[data-theme] .aq-account-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0.85rem; }

	/* Orders table → stacked cards */
	html[data-theme] .woocommerce-account table.shop_table_responsive thead { display: none; }
	html[data-theme] .woocommerce-account table.shop_table_responsive tr { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--aq-border); }
	html[data-theme] .woocommerce-account table.shop_table_responsive tbody th,
	html[data-theme] .woocommerce-account table.shop_table_responsive td {
		display: block !important;
		padding: 0.45rem 0.9rem !important;
		border: 0 !important;
		text-align: right !important;
		background: transparent !important;
	}
	html[data-theme] .woocommerce-account table.shop_table_responsive tbody th::before,
	html[data-theme] .woocommerce-account table.shop_table_responsive td::before {
		content: attr(data-title) ": ";
		float: left;
		color: var(--aq-muted);
		font-weight: 600;
	}
	html[data-theme] .woocommerce-account table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before { line-height: 2.4; }
	html[data-theme] .woocommerce-account table.shop_table_responsive tbody th a { font-size: 1rem; }

	/* Licenses table: the plugin has no data-labels, so add them */
	html[data-theme] .wlg-table td { text-align: right; }
	html[data-theme] .wlg-table td:nth-child(1)::before { content: "License key"; }
	html[data-theme] .wlg-table td:nth-child(2)::before { content: "Type"; }
	html[data-theme] .wlg-table td:nth-child(3)::before { content: "Validity"; }
	html[data-theme] .wlg-table td:nth-child(4)::before { content: "Order"; }
	html[data-theme] .wlg-table td:nth-child(1) { flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }

	html[data-theme] .woocommerce-cart table.shop_table.cart,
	html[data-theme] .woocommerce-cart table.shop_table.cart tbody,
	html[data-theme] .woocommerce-cart table.shop_table.cart tr { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }
	html[data-theme] .woocommerce-cart table.shop_table.cart td { box-sizing: border-box; max-width: 100%; }
	html[data-theme] .woocommerce-cart table.shop_table td.actions { display: block !important; padding: 1rem !important; }
	html[data-theme] .woocommerce-cart table.shop_table td.actions::before { display: none; }
	html[data-theme] .woocommerce-cart td.actions .coupon {
		display: flex !important;
		gap: 8px;
		width: 100%;
		float: none !important;
		margin-bottom: 10px;
		padding: 0 !important;
	}
	html[data-theme] .woocommerce-cart td.actions .coupon #coupon_code { flex: 1 1 auto; width: auto !important; min-width: 0; margin: 0 !important; }
	html[data-theme] .woocommerce-cart td.actions .coupon .button { flex: none; width: auto !important; white-space: nowrap; margin: 0 !important; }
	html[data-theme] .woocommerce-cart td.actions > .button { width: 100% !important; margin: 0 !important; }
	html[data-theme] .woocommerce-cart table.shop_table thead { display: none; }
	html[data-theme] .woocommerce-cart table.shop_table tr { display: block; border-bottom: 1px solid var(--aq-border); }
	html[data-theme] .woocommerce-cart table.shop_table td { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border: 0 !important; }
	html[data-theme] .woocommerce-cart table.shop_table td::before { font-weight: 600; color: var(--aq-muted); }
	html[data-theme] .wlg-table thead { display: none; }
	html[data-theme] .wlg-table tr { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--aq-border); }
	html[data-theme] .wlg-table td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border: 0; }
	html[data-theme] .wlg-table td::before { content: attr(data-label); font-weight: 600; color: var(--aq-muted); }
}
@media (max-width: 600px) {
	html[data-theme] .aqua-box { margin-left: 12px; margin-right: 12px; border-radius: 24px; }
	html[data-theme] .features-grid { grid-template-columns: 1fr; padding: 0 16px; }
	.aq-footer { padding-left: 16px; padding-right: 16px; }
	.aq-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
	.aq-footer__cta-actions,
	.aq-footer__cta-actions .aq-btn { width: 100%; }
	.aq-to-top { right: 14px; bottom: 14px; }
}
