/**
 * NexaShop Portfolio Engine Frontend Stylesheet (RTL Native)
 * Tailored for Industrial Supply, Tool Projects & B2B RFQ Engine
 */

:root {
	--nexa-primary: #2563eb;
	--nexa-primary-hover: #1d4ed8;
	--nexa-primary-light: #eff6ff;
	--nexa-accent: #f59e0b;
	--nexa-accent-hover: #d97706;
	--nexa-success: #10b981;
	--nexa-dark: #0f172a;
	--nexa-slate-800: #1e293b;
	--nexa-slate-700: #334155;
	--nexa-slate-600: #475569;
	--nexa-slate-200: #e2e8f0;
	--nexa-slate-100: #f1f5f9;
	--nexa-radius: 12px;
	--nexa-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	--nexa-shadow-hover: 0 14px 25px -4px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Typography & Elementor Font Family Inheritance
   ========================================================================== */
.nexa-portfolio-archive-page,
.nexa-single-portfolio,
.nexa-b2b-form-wrapper,
.nexa-modal-backdrop,
.nexa-empty-projects-state,
.nexa-container {
	font-family: var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, var(--font-primary, inherit, 'Yekan Bakh', 'Vazirmatn', 'IRANSans', system-ui, -apple-system, sans-serif))) !important;
}

.nexa-portfolio-archive-page *,
.nexa-single-portfolio *,
.nexa-b2b-form-wrapper *,
.nexa-modal-backdrop *,
.nexa-empty-projects-state * {
	font-family: inherit;
}

.nexa-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* ==========================================================================
   1. Breadcrumbs
   ========================================================================== */
.nexa-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--nexa-slate-600);
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.nexa-breadcrumb a {
	color: var(--nexa-slate-600);
	text-decoration: none;
	transition: color 0.15s;
}

.nexa-breadcrumb a:hover {
	color: var(--nexa-primary);
}

.nexa-breadcrumb .sep {
	color: var(--nexa-slate-200);
}

.nexa-breadcrumb .current {
	color: var(--nexa-dark);
	font-weight: 600;
}

/* ==========================================================================
   2. Archive Page & B2B Hero CTA
   ========================================================================== */
.nexa-portfolio-archive-page {
	padding: 40px 0 80px 0;
	direction: rtl;
}

.nexa-page-header {
	margin-bottom: 40px;
	text-align: center;
}

.archive-badge {
	display: inline-block;
	background: var(--nexa-primary-light);
	color: var(--nexa-primary);
	font-size: 13px;
	font-weight: 700;
	padding: 5px 16px;
	border-radius: 9999px;
	margin-bottom: 14px;
}

.nexa-page-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--nexa-dark);
	margin: 0 0 12px 0;
}

.nexa-page-desc {
	font-size: 16px;
	color: var(--nexa-slate-600);
	max-width: 700px;
	margin: 0 auto 30px auto;
	line-height: 1.8;
}

.archive-b2b-cta-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	border-radius: var(--nexa-radius);
	padding: 28px 34px;
	box-shadow: var(--nexa-shadow);
	text-align: right;
	margin-top: 25px;
}

.archive-b2b-cta-card .cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.archive-b2b-cta-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #ffffff;
}

.archive-b2b-cta-card p {
	font-size: 14px;
	color: #cbd5e1;
	margin: 0;
	line-height: 1.6;
}

.nexa-cta-accent-btn {
	background: var(--nexa-accent) !important;
	color: #0f172a !important;
	font-weight: 700 !important;
	border: none !important;
	padding: 13px 26px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
	transition: all 0.2s ease;
	white-space: nowrap;
}

.nexa-cta-accent-btn:hover {
	background: var(--nexa-accent-hover) !important;
	transform: translateY(-2px);
}

/* Filter bar */
.nexa-portfolio-filter {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 34px;
}

.nexa-filter-item {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	color: var(--nexa-slate-700);
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexa-filter-item:hover,
.nexa-filter-item.active {
	background: var(--nexa-primary);
	border-color: var(--nexa-primary);
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   3. Portfolio Grid & Cards
   ========================================================================== */
.nexa-portfolio-grid {
	display: grid;
	gap: 28px;
	direction: rtl;
}

.nexa-portfolio-grid.cols-1 { grid-template-columns: 1fr; }
.nexa-portfolio-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.nexa-portfolio-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.nexa-portfolio-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
	.nexa-portfolio-grid.cols-3,
	.nexa-portfolio-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.nexa-portfolio-grid.cols-2,
	.nexa-portfolio-grid.cols-3,
	.nexa-portfolio-grid.cols-4 { grid-template-columns: 1fr; }
}

.nexa-portfolio-card {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: var(--nexa-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}

.nexa-portfolio-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--nexa-shadow-hover);
}

.nexa-card-media {
	position: relative;
	background: var(--nexa-slate-100);
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

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

.nexa-portfolio-card:hover .nexa-card-media img {
	transform: scale(1.05);
}

.nexa-card-kpi {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(15, 23, 42, 0.85);
	color: #38bdf8;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
	backdrop-filter: blur(4px);
}

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

.nexa-card-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.nexa-card-title a {
	color: var(--nexa-dark);
	text-decoration: none;
	transition: color 0.15s;
}

.nexa-card-title a:hover {
	color: var(--nexa-primary);
}

.nexa-card-client {
	font-size: 13px;
	color: var(--nexa-slate-600);
	margin-bottom: 12px;
}

.nexa-card-footer {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--nexa-slate-100);
}

.nexa-view-btn {
	color: var(--nexa-primary);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.2s ease;
}

.nexa-view-btn:hover {
	gap: 10px;
}

/* ==========================================================================
   4. Single Portfolio Layout
   ========================================================================== */
.nexa-single-portfolio {
	padding: 30px 0 80px 0;
	direction: rtl;
}

.nexa-project-header {
	margin-bottom: 30px;
}

.nexa-header-top-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.project-cat-badge {
	background: var(--nexa-primary-light);
	color: var(--nexa-primary);
	font-size: 13px;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 9999px;
}

.project-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
}

.project-status-pill.status-completed {
	background: #ecfdf5;
	color: #065f46;
}

.project-status-pill.status-ongoing {
	background: #eff6ff;
	color: #1e40af;
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.status-dot.completed { background: #10b981; }
.status-dot.ongoing { background: #3b82f6; animation: nexaPulse 1.8s infinite; }

@keyframes nexaPulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.project-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--nexa-dark);
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.project-subtitle {
	font-size: 16px;
	color: var(--nexa-slate-600);
	line-height: 1.8;
	margin: 0 0 20px 0;
	max-width: 850px;
}

.nexa-project-client-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f8fafc;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 10px;
	padding: 12px 18px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.bar-client-logo img {
	height: 38px;
	width: auto;
	object-fit: contain;
}

.bar-client-details {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 14px;
	color: var(--nexa-slate-700);
	flex-wrap: wrap;
}

/* KPI Banner Grid */
.nexa-kpi-banner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 30px;
}

.kpi-banner-card {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 10px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.kpi-icon {
	font-size: 26px;
}

.kpi-card-content {
	display: flex;
	flex-direction: column;
}

.kpi-title {
	font-size: 12px;
	color: var(--nexa-slate-600);
	margin-bottom: 2px;
}

.kpi-value {
	font-size: 16px;
	font-weight: 800;
	color: var(--nexa-dark);
}

.nexa-project-hero-media {
	border-radius: var(--nexa-radius);
	overflow: hidden;
	margin-bottom: 40px;
	box-shadow: var(--nexa-shadow);
}

.nexa-project-hero-media img {
	width: 100%;
	height: auto;
	display: block;
}

/* Two Column Layout */
.nexa-project-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}

@media (max-width: 992px) {
	.nexa-project-layout {
		grid-template-columns: 1fr;
	}
}

.project-description-content {
	font-size: 16px;
	line-height: 1.9;
	color: var(--nexa-slate-700);
	margin-bottom: 40px;
}

/* Case Study Challenge & Solution */
.nexa-case-study-boxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.nexa-case-study-boxes {
		grid-template-columns: 1fr;
	}
}

.case-box {
	padding: 24px;
	border-radius: var(--nexa-radius);
	border: 1px solid transparent;
}

.challenge-box {
	background: #fff1f2;
	border-color: #fecdd3;
}

.solution-box {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.case-box .box-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.challenge-box .box-title { color: #9f1239; }
.solution-box .box-title { color: #065f46; }

.case-box p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--nexa-slate-700);
}

/* Warranty Banner */
.nexa-warranty-banner {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: var(--nexa-radius);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 40px;
}

.warranty-badge-icon {
	font-size: 36px;
}

.warranty-text h4 {
	font-size: 15px;
	font-weight: 700;
	color: #166534;
	margin: 0 0 6px 0;
}

.warranty-text p {
	font-size: 13px;
	color: #14532d;
	margin: 0;
	line-height: 1.6;
}

/* ==========================================================================
   5. Supplied WooCommerce Products Grid
   ========================================================================== */
.nexa-supplied-tools-section {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: var(--nexa-radius);
	padding: 30px;
	margin-bottom: 40px;
	box-shadow: var(--nexa-shadow);
}

.supplied-header {
	margin-bottom: 24px;
	border-bottom: 1px solid var(--nexa-slate-100);
	padding-bottom: 16px;
}

.supplied-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--nexa-dark);
	margin: 0 0 6px 0;
}

.supplied-desc {
	font-size: 14px;
	color: var(--nexa-slate-600);
	margin: 0;
}

.nexa-supplied-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 20px;
}

.nexa-tool-product-card {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
}

.nexa-tool-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.tool-thumb-link {
	aspect-ratio: 1;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tool-thumb-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tool-card-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tool-name {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.tool-name a {
	color: var(--nexa-dark);
	text-decoration: none;
}

.tool-name a:hover {
	color: var(--nexa-primary);
}

.tool-price {
	margin-top: auto;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 14px;
	color: #059669;
}

.tool-cart-btn {
	background: var(--nexa-primary) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	padding: 8px 12px !important;
	border-radius: 6px !important;
	text-align: center;
	text-decoration: none;
	display: block;
	transition: background 0.2s ease;
}

.tool-cart-btn:hover {
	background: var(--nexa-primary-hover) !important;
}

.tool-cart-btn.alt {
	background: var(--nexa-slate-100) !important;
	color: var(--nexa-slate-700) !important;
}

/* ==========================================================================
   6. Letter of Completion & Testimonials
   ========================================================================== */
.nexa-completion-letter-card {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: var(--nexa-radius);
	padding: 24px;
	margin-bottom: 40px;
	box-shadow: var(--nexa-shadow);
}

.letter-badge {
	font-size: 16px;
	font-weight: 700;
	color: var(--nexa-dark);
	display: block;
	margin-bottom: 4px;
}

.letter-desc {
	font-size: 13px;
	color: var(--nexa-slate-600);
	margin: 0 0 18px 0;
}

.letter-preview {
	position: relative;
	max-width: 480px;
	margin: 0 auto;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 8px;
	overflow: hidden;
}

.letter-lightbox-trigger {
	display: block;
	position: relative;
}

.letter-thumbnail {
	width: 100%;
	height: auto;
	display: block;
}

.letter-zoom-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.7);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	transition: opacity 0.2s ease;
	font-size: 14px;
	font-weight: 600;
}

.letter-lightbox-trigger:hover .letter-zoom-overlay {
	opacity: 1;
}

/* Client Testimonial */
.nexa-client-quote-box {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-right: 4px solid var(--nexa-primary);
	border-radius: var(--nexa-radius);
	padding: 28px 30px;
	margin: 0 0 40px 0;
	position: relative;
}

.quote-mark {
	font-size: 60px;
	line-height: 1;
	color: #cbd5e1;
	position: absolute;
	top: 10px;
	left: 20px;
	font-family: Georgia, serif;
}

.quote-content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--nexa-slate-800);
	font-style: italic;
	margin: 0 0 16px 0;
}

.quote-footer {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.quote-author {
	color: var(--nexa-dark);
}

.quote-role {
	color: var(--nexa-slate-600);
}

/* Gallery */
.nexa-project-gallery-section {
	margin-bottom: 40px;
}

.gallery-title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 18px 0;
	color: var(--nexa-dark);
}

.nexa-project-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.gallery-img-link {
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: block;
	border: 1px solid var(--nexa-slate-200);
}

.gallery-img-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gallery-img-link:hover img {
	transform: scale(1.06);
}

/* ==========================================================================
   7. Sidebar Specs & Direct CTA Card
   ========================================================================== */
.nexa-sticky-specs {
	position: sticky;
	top: 30px;
}

.nexa-project-specs-card {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: var(--nexa-radius);
	padding: 24px;
	box-shadow: var(--nexa-shadow);
	margin-bottom: 24px;
}

.specs-logo-box {
	text-align: center;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--nexa-slate-100);
}

.specs-client-logo {
	max-height: 60px;
	width: auto;
}

.specs-heading {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 16px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--nexa-slate-100);
	color: var(--nexa-dark);
}

.specs-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.specs-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid #f8fafc;
	font-size: 13px;
}

.specs-list li:last-child {
	border-bottom: none;
}

.spec-label {
	color: var(--nexa-slate-600);
}

.spec-value {
	font-weight: 700;
	color: var(--nexa-dark);
}

.brands-chips {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.b-chip {
	background: var(--nexa-primary-light);
	color: var(--nexa-primary);
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
}

.specs-kpi-highlight {
	background: #f8fafc;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 8px;
	padding: 14px;
	margin-bottom: 18px;
	font-size: 13px;
	line-height: 1.8;
}

.specs-kpi-highlight h5 {
	font-size: 13px;
	margin: 0 0 6px 0;
	color: var(--nexa-dark);
}

.nexa-project-cta-box {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	border-radius: var(--nexa-radius);
	padding: 26px 22px;
	text-align: center;
	box-shadow: var(--nexa-shadow);
}

.cta-icon-wrap {
	font-size: 32px;
	margin-bottom: 8px;
}

.nexa-project-cta-box h4 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #ffffff;
}

.nexa-project-cta-box p {
	font-size: 13px;
	color: #cbd5e1;
	line-height: 1.6;
	margin: 0 0 18px 0;
}

.nexa-cta-btn {
	width: 100%;
	background: var(--nexa-accent) !important;
	color: #0f172a !important;
	font-weight: 700 !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
	transition: background 0.2s ease;
}

.nexa-cta-btn:hover {
	background: var(--nexa-accent-hover) !important;
}

.cta-direct-call {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 12px;
	color: #94a3b8;
}

.cta-direct-call .phone-link {
	display: block;
	color: #38bdf8;
	font-size: 15px;
	font-weight: 700;
	margin-top: 4px;
	text-decoration: none;
}

/* ==========================================================================
   8. B2B Collaboration & RFQ Form Styling
   ========================================================================== */
.nexa-b2b-form-wrapper {
	background: #ffffff;
	border: 1px solid var(--nexa-slate-200);
	border-radius: var(--nexa-radius);
	padding: 30px;
	box-shadow: var(--nexa-shadow);
	direction: rtl;
}

.nexa-b2b-form-header {
	margin-bottom: 24px;
	border-bottom: 1px solid var(--nexa-slate-100);
	padding-bottom: 16px;
}

.nexa-b2b-form-header .form-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--nexa-dark);
	margin: 0 0 6px 0;
}

.nexa-b2b-form-header .form-desc {
	font-size: 14px;
	color: var(--nexa-slate-600);
	margin: 0;
	line-height: 1.6;
}

/* ==========================================================================
   B2B Entity Type Switcher (شخص حقیقی / شخص حقوقی)
   ========================================================================== */
.nexa-entity-switcher-wrap {
	margin: 20px 0 24px 0;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--nexa-slate-200);
}

.nexa-entity-switcher-wrap .switcher-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--nexa-slate-700);
	margin-bottom: 12px;
}

.nexa-entity-toggle-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 600px) {
	.nexa-entity-toggle-group {
		grid-template-columns: 1fr;
	}
}

.entity-toggle-btn {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	margin: 0;
}

.entity-toggle-btn input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.entity-toggle-btn:hover {
	border-color: #cbd5e1;
	background: #ffffff;
}

.entity-toggle-btn.active {
	background: #eff6ff;
	border-color: var(--nexa-primary);
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.entity-toggle-btn .btn-icon {
	font-size: 24px;
	width: 44px;
	height: 44px;
	background: #ffffff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	flex-shrink: 0;
	transition: all 0.2s;
}

.entity-toggle-btn.active .btn-icon {
	background: var(--nexa-primary);
	color: #ffffff;
}

.entity-toggle-btn .btn-text strong {
	display: block;
	font-size: 14px;
	color: var(--nexa-dark);
}

.entity-toggle-btn .btn-text small {
	font-size: 11px;
	color: var(--nexa-slate-600);
	display: block;
	margin-top: 3px;
}

.nexa-corporate-info-note {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
}

.form-group-highlight input {
	border-color: #bfdbfe !important;
	background: #f8fafc !important;
}

.form-group input[type="email"] {
	width: 100%;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #ffffff;
}

.form-group input[type="email"]:focus {
	outline: none;
	border-color: var(--nexa-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.nexa-form-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.nexa-form-grid .form-group.nexa-col-12 {
	grid-column: span 12;
}

.nexa-form-grid .form-group.nexa-col-6 {
	grid-column: span 6;
}

.nexa-form-grid .form-group.nexa-col-4 {
	grid-column: span 4;
}

.nexa-form-grid .form-group:not([class*="nexa-col-"]) {
	grid-column: span 6;
}

@media (max-width: 768px) {
	.nexa-form-grid .form-group.nexa-col-6,
	.nexa-form-grid .form-group.nexa-col-4,
	.nexa-form-grid .form-group:not([class*="nexa-col-"]) {
		grid-column: span 12;
	}
}

.nexa-checkbox-item {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 10px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--nexa-radius-sm);
	font-size: 13px;
	color: var(--nexa-slate-700);
	transition: all 0.2s ease;
	width: 100%;
}

.nexa-checkbox-item:hover {
	border-color: #cbd5e1;
	background: #f1f5f9;
}

.nexa-checkbox-item input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	accent-color: var(--nexa-primary);
	cursor: pointer;
}

.form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--nexa-slate-700);
	margin-bottom: 6px;
}

.form-group label .req {
	color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
	width: 100%;
	border: 1px solid var(--nexa-slate-200);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #ffffff;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--nexa-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.radio-chips {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.radio-chips label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f8fafc;
	border: 1px solid var(--nexa-slate-200);
	padding: 6px 14px;
	border-radius: 9999px;
	font-size: 13px;
	cursor: pointer;
	margin: 0;
	font-weight: 500;
	transition: all 0.2s ease;
}

.radio-chips input[type="radio"]:checked + span,
.radio-chips label:has(input[type="radio"]:checked) {
	background: var(--nexa-primary-light);
	border-color: var(--nexa-primary);
	color: var(--nexa-primary);
	font-weight: 700;
}

/* File Drop Zone */
.file-drop-zone {
	border: 2px dashed #cbd5e1;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	background: #f8fafc;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
	border-color: var(--nexa-primary);
	background: #eff6ff;
}

.file-drop-zone .drop-icon {
	font-size: 28px;
	display: block;
	margin-bottom: 6px;
}

.file-drop-zone .drop-text {
	font-size: 13px;
	color: var(--nexa-slate-600);
	display: block;
}

.file-drop-zone .file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.file-drop-zone .selected-file-name {
	display: block;
	margin-top: 8px;
	font-weight: 700;
	font-size: 13px;
	color: var(--nexa-primary);
	background: #ffffff;
	padding: 4px 12px;
	border-radius: 6px;
	border: 1px solid var(--nexa-slate-200);
	display: inline-block;
}

.file-hint {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 4px;
	display: block;
}

.form-action-row {
	margin-top: 24px;
}

.nexa-submit-b2b-btn {
	width: 100%;
	background: var(--nexa-primary) !important;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 13px 20px !important;
	border: none !important;
	border-radius: 8px !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
	transition: background 0.2s;
}

.nexa-submit-b2b-btn:hover {
	background: var(--nexa-primary-hover) !important;
}

.nexa-submit-b2b-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: nexaSpin 0.7s linear infinite;
	display: inline-block;
}

@keyframes nexaSpin {
	to { transform: rotate(360deg); }
}

.nexa-form-feedback {
	margin-top: 16px;
	padding: 12px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

.nexa-form-feedback.success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.nexa-form-feedback.error {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #9f1239;
}

/* ==========================================================================
   9. Popup Modal for B2B RFQ
   ========================================================================== */
.nexa-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: nexaFadeIn 0.25s ease;
	direction: rtl;
}

.nexa-modal-container {
	background: #ffffff;
	border-radius: 16px;
	max-width: 680px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	animation: nexaScaleIn 0.25s ease;
}

.nexa-modal-container .nexa-b2b-form-wrapper {
	border: none;
	box-shadow: none;
	padding: 34px;
}

.nexa-modal-close {
	position: absolute;
	top: 16px;
	left: 16px;
	background: #f1f5f9;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	color: var(--nexa-slate-700);
	transition: background 0.15s;
	z-index: 10;
}

.nexa-modal-close:hover {
	background: #e2e8f0;
	color: var(--nexa-dark);
}

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

@keyframes nexaScaleIn {
	from { transform: scale(0.95); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   10. High-Converting Empty State (Industrial & Executive)
   ========================================================================== */
.nexa-empty-projects-state {
	margin: 30px auto 50px auto;
	max-width: 880px;
	width: 100%;
	direction: rtl;
}

.empty-state-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 48px 36px;
	text-align: center;
	box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 20px 25px -5px rgba(0, 0, 0, 0.03);
	position: relative;
	overflow: hidden;
}

.empty-state-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #f59e0b, #2563eb, #10b981);
}

.empty-badge-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 24px;
}

.empty-pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f59e0b;
	box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
	animation: nexaPulseDot 1.8s infinite;
}

@keyframes nexaPulseDot {
	0% {
		box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
	}
}

.empty-icon-wrap {
	position: relative;
	width: 84px;
	height: 84px;
	margin: 0 auto 20px auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.empty-glow-ring {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
	border-radius: 50%;
	animation: nexaGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes nexaGlowPulse {
	from { transform: scale(0.9); opacity: 0.6; }
	to { transform: scale(1.15); opacity: 1; }
}

.empty-icon {
	font-size: 44px;
	line-height: 1;
	z-index: 1;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.empty-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 14px 0;
	line-height: 1.4;
}

.empty-desc {
	font-size: 15px;
	line-height: 1.85;
	color: #64748b;
	max-width: 680px;
	margin: 0 auto 32px auto;
}

/* Features Grid */
.empty-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 36px;
	text-align: right;
}

.empty-feat-item {
	background: #f8fafc;
	border: 1px solid #edf2f7;
	border-radius: 14px;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.empty-feat-item:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.04);
}

.empty-feat-item .feat-icon {
	font-size: 24px;
	margin-bottom: 4px;
}

.empty-feat-item .feat-heading {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
}

.empty-feat-item .feat-text {
	font-size: 12px;
	color: #64748b;
	line-height: 1.6;
}

/* Actions */
.empty-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.empty-primary-btn {
	background: #0f172a !important;
	color: #ffffff !important;
	border: 1px solid #1e293b !important;
	padding: 14px 26px !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
	transition: all 0.2s ease;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.empty-primary-btn:hover {
	background: #1e293b !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
	color: #ffffff !important;
}

.empty-secondary-btn {
	background: #ffffff !important;
	color: #334155 !important;
	border: 1px solid #cbd5e1 !important;
	padding: 14px 24px !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.empty-secondary-btn:hover {
	background: #f8fafc !important;
	color: #0f172a !important;
	border-color: #94a3b8 !important;
	transform: translateY(-2px);
}

/* Admin Hint */
.empty-admin-hint {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px dashed #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	text-align: right;
	font-size: 13px;
	color: #475569;
}

.empty-admin-hint .hint-text {
	flex: 1;
	line-height: 1.6;
}

.empty-admin-link {
	background: #eff6ff;
	color: #2563eb !important;
	border: 1px solid #bfdbfe;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 12px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.empty-admin-link:hover {
	background: #2563eb;
	color: #ffffff !important;
	border-color: #2563eb;
}

/* Responsive adjustments for Empty State */
@media (max-width: 768px) {
	.empty-state-card {
		padding: 32px 20px;
	}

	.empty-title {
		font-size: 18px;
	}

	.empty-desc {
		font-size: 14px;
	}

	.empty-features-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.empty-actions {
		flex-direction: column;
		width: 100%;
	}

	.empty-primary-btn,
	.empty-secondary-btn {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.empty-admin-hint {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.empty-admin-link {
		display: block;
		text-align: center;
	}
}
