/**
 * UniteElements - Editorial Publication & Blog Design System
 * 
 * World-class, Stripe/Linear-caliber editorial experience:
 * - Dynamic Reading Progress Indicator
 * - 2-Column Desktop Reading Studio with Sticky ToC Scrollspy
 * - Framed Media, Engineered Data Tables, and IDE Code Terminals
 * - High-Conversion Author Bio, Related Articles & Discussion Desk
 * - Magazine Blog Hub & Archive Bento Grid
 *
 * @package UniteElements_Theme
 * @author Jyotirmay Ray <https://jyotirmayray.in/>
 */

/* ==========================================================================
   01. Top Viewport Reading Progress Bar
   ========================================================================== */
#ue-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3.5px;
	width: 0%;
	background: linear-gradient(90deg, var(--uniteelements-primary-500, #0052ff) 0%, #3b82f6 50%, #8b5cf6 100%);
	z-index: 999999;
	transition: width 0.08s cubic-bezier(0.2, 0, 0, 1);
	box-shadow: 0 1px 6px rgba(0, 82, 255, 0.4);
	pointer-events: none;
}

/* ==========================================================================
   02. Single Article Header & Editorial Hero
   ========================================================================== */
.ue-single-article {
	padding-top: var(--uniteelements-space-8, 32px);
	padding-bottom: var(--uniteelements-space-16, 64px);
}

.ue-article-header {
	max-width: 900px;
	margin: 0 auto var(--uniteelements-space-10, 40px);
	text-align: left;
}

.ue-article-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: var(--uniteelements-space-5, 20px);
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
}

.ue-article-breadcrumbs a {
	color: #64748b;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.15s ease;
}

.ue-article-breadcrumbs a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-article-breadcrumbs .ue-crumb-sep {
	color: #cbd5e1;
	font-size: 12px;
}

/* Category Badge Pill */
.ue-category-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 13px;
	border-radius: 999px;
	background: rgba(0, 82, 255, 0.06);
	border: 1px solid rgba(0, 82, 255, 0.14);
	color: var(--uniteelements-primary-500, #0052ff);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: capitalize;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ue-category-badge:hover {
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff;
	border-color: var(--uniteelements-primary-500, #0052ff);
	box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
	transform: translateY(-1px);
}

.ue-category-dot {
	width: 6.5px;
	height: 6.5px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
}

/* Editorial Title */
.ue-article-title {
	font-family: var(--font-heading, 'Space Grotesk', -apple-system, sans-serif);
	font-size: clamp(28px, 4.2vw, 50px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.03em;
	color: #0f172a;
	margin: 0 0 var(--uniteelements-space-6, 24px);
}

/* Rich Meta Bar */
.ue-article-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 16px 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.ue-author-chip {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ue-author-avatar-img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 1px #e2e8f0, 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ue-author-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ue-author-name {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ue-author-name:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-verified-badge {
	color: var(--uniteelements-primary-500, #0052ff);
	display: inline-flex;
}

.ue-author-role {
	font-size: 12.5px;
	color: #64748b;
}

.ue-meta-telemetry {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ue-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: #64748b;
}

.ue-read-time-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
	font-size: 12.5px;
	font-weight: 600;
}

/* Header Share Actions */
.ue-header-share-deck {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ue-share-btn {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #475569;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	text-decoration: none;
}

.ue-share-btn:hover {
	background: #f8fafc;
	color: var(--uniteelements-primary-500, #0052ff);
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

/* ==========================================================================
   03. Framed Featured Media
   ========================================================================== */
.ue-article-featured-media {
	max-width: 900px;
	margin: 0 auto var(--uniteelements-space-12, 48px);
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.08);
	background: #ffffff;
}

.ue-article-featured-media img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   04. 2-Column Reading Studio Layout
   ========================================================================== */
.ue-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
	max-width: 1160px;
	margin: 0 auto;
}

@media (max-width: 1040px) {
	.ue-article-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.ue-reading-sidebar {
		display: none;
	}
}

.ue-article-body {
	min-width: 0;
	max-width: 760px;
	font-family: var(--font-sans, 'Space Grotesk', -apple-system, sans-serif);
	font-size: 18px;
	line-height: 1.8;
	color: #334155;
	word-wrap: break-word;
}

/* ==========================================================================
   05. Editorial Typography & Content Hierarchy
   ========================================================================== */
.ue-article-body p {
	font-size: 18px;
	line-height: 1.8;
	color: #334155;
	margin-top: 0;
	margin-bottom: 26px;
	letter-spacing: -0.01em;
}

.ue-article-body h2 {
	font-family: var(--font-heading, 'Space Grotesk', -apple-system, sans-serif);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: #0f172a;
	margin-top: 52px;
	margin-bottom: 20px;
	scroll-margin-top: 110px;
	position: relative;
}

.ue-article-body h3 {
	font-family: var(--font-heading, 'Space Grotesk', -apple-system, sans-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.015em;
	color: #1e293b;
	margin-top: 38px;
	margin-bottom: 16px;
	scroll-margin-top: 110px;
}

.ue-article-body h4 {
	font-family: var(--font-heading, 'Space Grotesk', -apple-system, sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
	margin-top: 28px;
	margin-bottom: 12px;
}

.ue-article-body a {
	color: var(--uniteelements-primary-500, #0052ff);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	font-weight: 500;
	transition: color 0.15s ease;
}

.ue-article-body a:hover {
	color: #003ecb;
	text-decoration-color: #003ecb;
}

/* Styled Lists */
.ue-article-body ul {
	margin: 0 0 28px 0;
	padding-left: 0;
	list-style: none;
}

.ue-article-body ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 14px;
	line-height: 1.75;
}

.ue-article-body ul li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--uniteelements-primary-500, #0052ff);
	box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.ue-article-body ol {
	margin: 0 0 28px 0;
	padding-left: 0;
	list-style: none;
	counter-reset: ue-counter;
}

.ue-article-body ol li {
	position: relative;
	padding-left: 36px;
	margin-bottom: 16px;
	line-height: 1.75;
	counter-increment: ue-counter;
}

.ue-article-body ol li::before {
	content: counter(ue-counter);
	position: absolute;
	left: 0;
	top: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #f1f5f9;
	color: var(--uniteelements-primary-500, #0052ff);
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
}

/* ==========================================================================
   06. Key Takeaways Callout Card
   ========================================================================== */
.ue-takeaways-card {
	background: linear-gradient(135deg, rgba(0, 82, 255, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
	border: 1px solid rgba(0, 82, 255, 0.14);
	border-left: 4px solid var(--uniteelements-primary-500, #0052ff);
	border-radius: 14px;
	padding: 24px 28px;
	margin: 36px 0;
	box-shadow: 0 4px 16px rgba(0, 82, 255, 0.04);
}

.ue-takeaways-title {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	font-weight: 800;
	color: var(--uniteelements-primary-500, #0052ff);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 16px;
}

.ue-takeaways-card ul {
	margin-bottom: 0;
}

.ue-takeaways-card ul li {
	color: #1e293b;
	font-weight: 500;
	font-size: 16.5px;
	margin-bottom: 10px;
}

/* ==========================================================================
   07. Engineered Data Tables
   ========================================================================== */
.ue-article-body table,
.ue-table-responsive table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 36px 0;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	font-size: 15px;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.ue-article-body th,
.ue-table-responsive th {
	background: #f8fafc;
	color: #0f172a;
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-weight: 700;
	text-align: left;
	padding: 14px 18px;
	border-bottom: 2px solid #e2e8f0;
	border-right: 1px solid #f1f5f9;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ue-article-body th:last-child,
.ue-table-responsive th:last-child {
	border-right: none;
}

.ue-article-body td,
.ue-table-responsive td {
	padding: 15px 18px;
	border-bottom: 1px solid #f1f5f9;
	border-right: 1px solid #f1f5f9;
	color: #334155;
	vertical-align: middle;
	font-size: 15px;
	line-height: 1.5;
}

.ue-article-body td:last-child,
.ue-table-responsive td:last-child {
	border-right: none;
}

.ue-article-body tbody tr:last-child td,
.ue-table-responsive tbody tr:last-child td {
	border-bottom: none;
}

.ue-article-body tbody tr:nth-child(even),
.ue-table-responsive tbody tr:nth-child(even) {
	background: #fafbfc;
}

.ue-article-body tbody tr:hover,
.ue-table-responsive tbody tr:hover {
	background: #f0f7ff;
}

/* Horizontal scroll protection */
.ue-table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 36px 0;
	border-radius: 12px;
}

/* ==========================================================================
   08. IDE Code Block Terminal (Developer-Grade)
   ========================================================================== */
.ue-code-terminal {
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	margin: 36px 0;
	overflow: hidden;
	box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.4);
}

.ue-terminal-header {
	background: #1e293b;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ue-terminal-dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ue-terminal-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	display: inline-block;
}

.ue-terminal-dot.dot-red { background: #ef4444; }
.ue-terminal-dot.dot-yellow { background: #f59e0b; }
.ue-terminal-dot.dot-green { background: #10b981; }

.ue-terminal-title {
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
	font-size: 12.5px;
	color: #94a3b8;
	font-weight: 500;
}

.ue-copy-code-btn {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: all 0.15s ease;
}

.ue-copy-code-btn:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.ue-copy-code-btn.is-copied {
	background: #10b981;
	border-color: #10b981;
	color: #ffffff;
}

.ue-code-terminal pre {
	margin: 0;
	padding: 20px 22px;
	background: transparent;
	font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
	font-size: 14px;
	line-height: 1.65;
	color: #e2e8f0;
	overflow-x: auto;
	tab-size: 2;
}

.ue-code-terminal code {
	background: transparent;
	padding: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
}

/* Inline Code */
.ue-article-body :not(pre) > code {
	background: #f1f5f9;
	color: #0f172a;
	padding: 3px 6px;
	border-radius: 5px;
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
	font-size: 14px;
	border: 1px solid #e2e8f0;
}

/* Blockquotes */
.ue-article-body blockquote {
	margin: 36px 0;
	padding: 20px 28px;
	background: #f8fafc;
	border-left: 4px solid var(--uniteelements-primary-500, #0052ff);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	font-size: 19px;
	line-height: 1.7;
	color: #1e293b;
}

.ue-article-body blockquote p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   09. Sticky Desktop Reading Companion
   ========================================================================== */
.ue-reading-sidebar {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ue-toc-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.ue-toc-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f5f9;
}

.ue-toc-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: calc(100vh - 360px);
	overflow-y: auto;
}

.ue-toc-nav a {
	color: #64748b;
	font-size: 13.5px;
	line-height: 1.45;
	padding: 6px 10px 6px 12px;
	border-left: 2px solid #e2e8f0;
	text-decoration: none;
	transition: all 0.15s ease;
	display: block;
	border-radius: 0 6px 6px 0;
}

.ue-toc-nav a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
	border-left-color: #cbd5e1;
	background: #f8fafc;
}

.ue-toc-nav a.is-active {
	color: var(--uniteelements-primary-500, #0052ff);
	border-left-color: var(--uniteelements-primary-500, #0052ff);
	background: rgba(0, 82, 255, 0.05);
	font-weight: 700;
}

.ue-toc-nav a.toc-depth-3 {
	padding-left: 22px;
	font-size: 12.5px;
}

/* Sidebar Architecture Recommendation Card */
.ue-sidebar-cta-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: 14px;
	padding: 22px;
	color: #ffffff;
	box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.25);
	position: relative;
	overflow: hidden;
}

.ue-sidebar-cta-card::after {
	content: '';
	position: absolute;
	right: -30px;
	bottom: -30px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 82, 255, 0.4) 0%, transparent 70%);
	pointer-events: none;
}

.ue-sidebar-cta-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: #60a5fa;
	background: rgba(96, 165, 250, 0.12);
	border: 1px solid rgba(96, 165, 250, 0.2);
	padding: 3px 8px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}

.ue-sidebar-cta-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #ffffff;
}

.ue-sidebar-cta-desc {
	font-size: 13px;
	line-height: 1.5;
	color: #94a3b8;
	margin: 0 0 16px;
}

.ue-sidebar-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	justify-content: center;
	padding: 9px 14px;
	border-radius: 8px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}

.ue-sidebar-cta-btn:hover {
	background: #003ecb;
	color: #ffffff;
}

/* ==========================================================================
   10. Author Bio Box & Post Footer
   ========================================================================== */
.ue-article-tags-deck {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 40px 0 28px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

.ue-tag-pill {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	transition: all 0.15s ease;
}

.ue-tag-pill:hover {
	background: #ffffff;
	color: var(--uniteelements-primary-500, #0052ff);
	border-color: var(--uniteelements-primary-500, #0052ff);
}

.ue-author-bio-card {
	display: flex;
	align-items: center;
	gap: 22px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 26px 30px;
	margin: 40px 0;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

@media (max-width: 640px) {
	.ue-author-bio-card {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}
}

.ue-author-bio-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 1px #e2e8f0, 0 4px 10px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.ue-author-bio-content {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ue-author-bio-name {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.ue-author-bio-text {
	font-size: 14.5px;
	line-height: 1.6;
	color: #475569;
	margin: 0;
}

/* ==========================================================================
   11. Next / Previous Navigation Deck
   ========================================================================== */
.ue-post-nav-deck {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 48px auto;
	max-width: 1160px;
}

@media (max-width: 680px) {
	.ue-post-nav-deck {
		grid-template-columns: 1fr;
	}
}

.ue-post-nav-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.ue-post-nav-card:hover {
	border-color: var(--uniteelements-primary-500, #0052ff);
	box-shadow: 0 8px 24px -4px rgba(0, 82, 255, 0.1);
	transform: translateY(-2px);
}

.ue-post-nav-label {
	font-size: 12px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ue-post-nav-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
	margin: 0;
}

.ue-post-nav-card.nav-next {
	text-align: right;
}

.ue-post-nav-card.nav-next .ue-post-nav-label {
	justify-content: flex-end;
}

/* ==========================================================================
   12. Curated Related Articles Grid
   ========================================================================== */
.ue-related-section {
	max-width: 1160px;
	margin: 64px auto 32px;
	padding-top: 48px;
	border-top: 1px solid #e2e8f0;
}

.ue-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
}

.ue-related-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0;
}

.ue-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

@media (max-width: 900px) {
	.ue-related-grid {
		grid-template-columns: 1fr;
	}
}

/* Reusable Article Card */
.ue-article-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.ue-article-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}

.ue-card-thumb-wrap {
	position: relative;
	width: 100%;
	height: 190px;
	overflow: hidden;
	background: #f1f5f9;
}

.ue-card-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ue-article-card:hover .ue-card-thumb-img {
	transform: scale(1.04);
}

.ue-card-badge-pos {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
}

.ue-card-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 22px;
}

.ue-card-meta-top {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: #64748b;
	margin-bottom: 12px;
}

.ue-card-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
	margin: 0 0 10px;
}

.ue-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ue-card-title a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
	margin: 0 0 18px;
	flex-grow: 1;
}

.ue-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
	font-size: 12.5px;
	color: #94a3b8;
}

/* ==========================================================================
   13. Redesigned Discussion Desk (Comments)
   ========================================================================== */
.ue-comments-wrapper {
	max-width: 760px;
	margin: 56px auto 0;
	padding-top: 40px;
	border-top: 1px solid #e2e8f0;
}

.ue-comments-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 28px;
}

.ue-comments-wrapper .comment-respond {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px;
	margin-bottom: 40px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.ue-comments-wrapper .comment-reply-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px;
}

.ue-comments-wrapper .comment-form textarea,
.ue-comments-wrapper .comment-form input[type="text"],
.ue-comments-wrapper .comment-form input[type="email"],
.ue-comments-wrapper .comment-form input[type="url"] {
	width: 100%;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	font-family: var(--font-sans, sans-serif);
	font-size: 15px;
	color: #1e293b;
	margin-bottom: 16px;
	transition: all 0.15s ease;
	box-sizing: border-box;
}

.ue-comments-wrapper .comment-form textarea:focus,
.ue-comments-wrapper .comment-form input:focus {
	outline: none;
	border-color: var(--uniteelements-primary-500, #0052ff);
	box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.ue-comments-wrapper .form-submit input[type="submit"] {
	padding: 11px 24px;
	border-radius: 10px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff;
	font-family: var(--font-heading, sans-serif);
	font-size: 14.5px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ue-comments-wrapper .form-submit input[type="submit"]:hover {
	background: #003ecb;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
}

.ue-comments-wrapper .comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ue-comments-wrapper .comment-body {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 18px;
}

.ue-comments-wrapper .comment-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.ue-comments-wrapper .comment-meta img {
	border-radius: 50%;
}

.ue-comments-wrapper .comment-author .fn {
	font-weight: 700;
	color: #0f172a;
}

.ue-comments-wrapper .comment-metadata a {
	font-size: 13px;
	color: #94a3b8;
	text-decoration: none;
}

.ue-comments-wrapper .comment-content p {
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
	margin: 0;
}

/* ==========================================================================
   14. Magazine Blog Hub & Archive View
   ========================================================================== */
.ue-blog-hub {
	padding-top: var(--uniteelements-space-10, 40px);
	padding-bottom: var(--uniteelements-space-16, 64px);
}

.ue-hub-hero {
	text-align: center;
	max-width: 820px;
	margin: 0 auto var(--uniteelements-space-12, 48px);
}

.ue-hub-spotlight-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(0, 82, 255, 0.08);
	color: var(--uniteelements-primary-500, #0052ff);
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 18px;
}

.ue-hub-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #0f172a;
	margin: 0 0 16px;
}

.ue-hub-subtitle {
	font-size: 18px;
	line-height: 1.6;
	color: #64748b;
	margin: 0 auto 32px;
	max-width: 640px;
}

/* Filter Bar */
.ue-hub-filter-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 48px;
}

.ue-filter-pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #475569;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}

.ue-filter-pill:hover,
.ue-filter-pill.is-active {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Featured Spotlight Card (Hero Post) */
.ue-featured-spotlight-card {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 32px;
	margin-bottom: 56px;
	box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.05);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 860px) {
	.ue-featured-spotlight-card {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 24px;
	}
}

.ue-featured-spotlight-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.09);
	transform: translateY(-3px);
}

.ue-spotlight-media {
	width: 100%;
	height: 320px;
	border-radius: 14px;
	overflow: hidden;
	position: relative;
	background: #f1f5f9;
}

.ue-spotlight-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ue-featured-spotlight-card:hover .ue-spotlight-media img {
	transform: scale(1.03);
}

.ue-spotlight-content {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ue-spotlight-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0;
}

.ue-spotlight-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ue-spotlight-title a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-spotlight-excerpt {
	font-size: 15.5px;
	line-height: 1.65;
	color: #64748b;
	margin: 0;
}

/* 3-Column Bento Grid */
.ue-magazine-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 56px;
}

@media (max-width: 960px) {
	.ue-magazine-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ue-magazine-grid {
		grid-template-columns: 1fr;
	}
}

/* Architectural Newsletter Box */
.ue-newsletter-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: 20px;
	padding: 48px 36px;
	text-align: center;
	color: #ffffff;
	margin: 64px 0 32px;
	position: relative;
	overflow: hidden;
}

.ue-newsletter-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 12px;
}

.ue-newsletter-desc {
	font-size: 16px;
	color: #94a3b8;
	max-width: 520px;
	margin: 0 auto 28px;
}

.ue-newsletter-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 0 auto;
}

@media (max-width: 520px) {
	.ue-newsletter-form {
		flex-direction: column;
	}
}

.ue-newsletter-input {
	flex-grow: 1;
	padding: 13px 18px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 14.5px;
}

.ue-newsletter-input::placeholder {
	color: #94a3b8;
}

.ue-newsletter-btn {
	padding: 13px 24px;
	border-radius: 10px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff;
	font-weight: 700;
	font-size: 14.5px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.ue-newsletter-btn:hover {
	background: #003ecb;
}

/* Modern Pill Pagination */
.ue-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 40px 0;
}

.ue-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}

.ue-pagination .page-numbers:hover,
.ue-pagination .page-numbers.current {
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff;
	border-color: var(--uniteelements-primary-500, #0052ff);
}

/* ==========================================================================
   15. Intelligent Contextual Product Promotion Surfaces
   ========================================================================== */

/* 15.1 Mid-Article In-Content Spotlight Break */
.ue-in-article-product-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.85) 100%);
	border: 1px solid rgba(0, 82, 255, 0.18);
	border-radius: 18px;
	padding: 24px;
	margin: 44px 0;
	box-shadow: 0 12px 32px -8px rgba(0, 82, 255, 0.1), 0 2px 8px rgba(15, 23, 42, 0.03);
	position: relative;
	overflow: hidden;
}

.ue-in-article-product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--uniteelements-primary-500, #0052ff) 0%, #60a5fa 100%);
}

.ue-iap-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 16px;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-iap-pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
	animation: uePulse 2s infinite;
}

@keyframes uePulse {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
	70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ue-iap-inner {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 24px;
	align-items: center;
}

@media (max-width: 680px) {
	.ue-iap-inner {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.ue-iap-thumb-wrap {
	width: 100%;
	height: 140px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
}

.ue-iap-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ue-in-article-product-card:hover .ue-iap-thumb-img {
	transform: scale(1.04);
}

.ue-iap-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.ue-iap-category-pill {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	padding: 3px 8px;
	border-radius: 999px;
	text-transform: uppercase;
}

.ue-iap-price-chip {
	font-family: var(--font-heading, sans-serif);
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
}

.ue-iap-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
	color: #0f172a;
	margin: 0 0 12px;
}

.ue-iap-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ue-iap-title a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-iap-features-list {
	list-style: none;
	padding: 0;
	margin: 0 0 18px 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ue-iap-features-list li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: #475569;
	line-height: 1.4;
}

.ue-iap-features-list li svg {
	color: var(--uniteelements-primary-500, #0052ff);
	flex-shrink: 0;
}

.ue-iap-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ue-iap-btn-add {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 9px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff !important;
	font-family: var(--font-heading, sans-serif);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
	border: none;
	cursor: pointer;
}

.ue-iap-btn-add:hover {
	background: #003ecb;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
}

.ue-iap-btn-view {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ue-iap-btn-view:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

/* 15.2 Dynamic Sticky Sidebar Product Companion */
.ue-sidebar-product-companion {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ue-spc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ue-spc-badge {
	font-size: 11px;
	font-weight: 700;
	color: var(--uniteelements-primary-500, #0052ff);
	background: rgba(0, 82, 255, 0.08);
	padding: 3px 8px;
	border-radius: 999px;
	text-transform: uppercase;
}

.ue-spc-stars {
	color: #f59e0b;
	font-size: 12px;
	letter-spacing: 1px;
}

.ue-spc-thumb-link {
	width: 100%;
	height: 120px;
	border-radius: 10px;
	overflow: hidden;
	display: block;
	background: #f1f5f9;
}

.ue-spc-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.ue-spc-thumb-link:hover .ue-spc-thumb-img {
	transform: scale(1.04);
}

.ue-spc-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
	margin: 0;
}

.ue-spc-title a {
	color: inherit;
	text-decoration: none;
}

.ue-spc-title a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-spc-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
	font-size: 12.5px;
}

.ue-spc-price-label {
	color: #64748b;
}

.ue-spc-price {
	font-family: var(--font-heading, sans-serif);
	font-weight: 800;
	font-size: 15px;
	color: #0f172a;
}

.ue-spc-btn-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 9px 12px;
	border-radius: 8px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease;
	border: none;
	cursor: pointer;
}

.ue-spc-btn-buy:hover {
	background: #003ecb;
}

/* 15.3 End-of-Article Architecture Stack Bento Deck */
.ue-end-stack-bento {
	margin: 56px 0 44px;
	padding: 32px 0 0;
	border-top: 1px solid #e2e8f0;
}

.ue-bento-header {
	margin-bottom: 24px;
}

.ue-bento-pill {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--uniteelements-primary-500, #0052ff);
	background: rgba(0, 82, 255, 0.08);
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.ue-bento-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}

.ue-bento-subtitle {
	font-size: 14.5px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
	max-width: 680px;
}

.ue-bento-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
	margin-top: 24px;
}

@media (max-width: 820px) {
	.ue-bento-grid {
		grid-template-columns: 1fr;
	}
}

.ue-bento-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
	transition: all 0.2s ease;
}

.ue-bento-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

.ue-bento-card.card-primary {
	background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
	border-color: rgba(0, 82, 255, 0.2);
}

.ue-bento-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ue-bento-tag {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
	text-transform: uppercase;
}

.ue-bento-tag.tag-flagship {
	background: rgba(0, 82, 255, 0.1);
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-bento-tag.tag-companion {
	background: #f1f5f9;
	color: #64748b;
}

.ue-bento-price {
	font-family: var(--font-heading, sans-serif);
	font-weight: 800;
	font-size: 16px;
	color: #0f172a;
}

.ue-bento-card-title {
	font-family: var(--font-heading, 'Space Grotesk', sans-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
	margin: 0 0 10px;
}

.ue-bento-card-title a {
	color: inherit;
	text-decoration: none;
}

.ue-bento-card-title a:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-bento-card-desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: #64748b;
	margin: 0 0 16px;
}

.ue-bento-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12.5px;
	color: #334155;
}

.ue-bento-card-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ue-bento-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 8px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease;
	border: none;
	cursor: pointer;
}

.ue-bento-btn-primary:hover {
	background: #003ecb;
}

.ue-bento-btn-secondary {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
}

.ue-bento-btn-secondary:hover {
	color: var(--uniteelements-primary-500, #0052ff);
}

.ue-bento-companion-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.ue-bento-btn-companion {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border-radius: 7px;
	background: #0f172a;
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

.ue-bento-btn-companion:hover {
	background: var(--uniteelements-primary-500, #0052ff);
}

/* 15.4 Bottom Floating Contextual Pill (30% Scroll Trigger) */
.ue-floating-contextual-bar {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translate(-50%, 140%);
	z-index: 99999;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
	max-width: 90vw;
}

.ue-floating-contextual-bar.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
	pointer-events: auto;
}

.ue-fcb-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 82, 255, 0.3);
	color: #ffffff;
}

@media (max-width: 768px) {
	.ue-fcb-inner {
		flex-direction: column;
		border-radius: 16px;
		padding: 12px 16px;
		gap: 10px;
		text-align: center;
	}
	.ue-fcb-pill-lead {
		font-size: 12.5px;
	}
}

.ue-fcb-pill-lead {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
}

.ue-fcb-lead-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.ue-fcb-lead-label {
	color: #94a3b8;
	font-size: 12px;
}

.ue-fcb-product-name {
	color: #ffffff;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 220px;
}

.ue-fcb-price {
	color: #60a5fa;
	font-family: var(--font-heading, sans-serif);
	font-weight: 800;
}

.ue-fcb-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ue-fcb-btn-add {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--uniteelements-primary-500, #0052ff);
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.ue-fcb-btn-add:hover {
	background: #003ecb;
}

.ue-fcb-btn-view {
	font-size: 12.5px;
	color: #cbd5e1;
	text-decoration: none;
	white-space: nowrap;
}

.ue-fcb-btn-view:hover {
	color: #ffffff;
}

.ue-fcb-btn-close {
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: color 0.15s ease;
}

.ue-fcb-btn-close:hover {
	color: #ffffff;
}

