/**
 * NexaShop WooCommerce My Account Custom Stylesheet
 * Matches exact UI/UX from media_1789996696439.png, media_1789996699408.png, media_1789996736416.png
 * and parskala reference design.
 *
 * @package NexaShop
 */

:root {
	--nexashop-acc-active-bg: #f97316;
	--nexashop-acc-active-color: #ffffff;
	--nexashop-acc-hover-bg: #f8fafc;
	--nexashop-acc-hover-color: #0f172a;
	--nexashop-acc-text-color: #475569;
	--nexashop-acc-sidebar-bg: #ffffff;
	--nexashop-acc-card-bg: #ffffff;
	--nexashop-acc-border-color: #e2e8f0;
	--nexashop-acc-radius: 16px;
	--nexashop-acc-font-size: 14px;
	--nexashop-acc-icon-size: 18px;
}

/* ==========================================================================
   Account Layout Wrap & Grid
   ========================================================================== */
.nexashop-account-wrap {
	direction: rtl;
	text-align: right;
	background-color: #f8fafc;
	padding: 32px 0 70px;
	min-height: 80vh;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.nexashop-account-container {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.nexashop-account-grid {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 28px;
	align-items: flex-start;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.nexashop-account-sidebar {
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.nexashop-account-content {
	min-width: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

@media (max-width: 992px) {
	.nexashop-account-wrap {
		padding: 16px 0 50px;
	}

	.nexashop-account-container {
		padding: 0 12px;
	}

	.nexashop-account-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* ==========================================================================
   Sidebar: Profile Card & Menu
   ========================================================================== */
.nexashop-account-sidebar {
	background: var(--nexashop-acc-sidebar-bg);
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: var(--nexashop-acc-radius);
	padding: 24px 18px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
	position: sticky;
	top: 90px;
	box-sizing: border-box;
}

@media (max-width: 992px) {
	.nexashop-account-sidebar {
		position: static;
		padding: 18px 16px;
	}
}

/* User Card Header */
.nexashop-user-profile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 18px;
	position: relative;
}

.nexashop-user-info-side {
	display: flex;
	align-items: center;
	gap: 14px;
}

.nexashop-user-avatar-wrap {
	position: relative;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	flex-shrink: 0;
}

.nexashop-user-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #f1f5f9;
	display: block;
}

.nexashop-avatar-upload-trigger {
	position: absolute;
	bottom: -2px;
	right: -2px;
	width: 24px;
	height: 24px;
	background: var(--nexashop-acc-active-bg);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 2px solid #ffffff;
	font-size: 11px;
	transition: transform 0.2s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nexashop-avatar-upload-trigger:hover {
	transform: scale(1.12);
}

.nexashop-user-meta-texts {
	display: flex;
	flex-direction: column;
}

.nexashop-user-display-name {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.nexashop-user-member-since {
	font-size: 12px;
	color: #94a3b8;
	margin: 0;
}

.nexashop-user-edit-profile-btn {
	color: #94a3b8;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 6px;
	border-radius: 8px;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.nexashop-user-edit-profile-btn:hover {
	color: var(--nexashop-acc-active-bg);
	background: #fff7ed;
}

/* Mobile Nav Toggle Button */
.nexashop-account-nav-toggle-btn {
	display: none;
	width: 100%;
	padding: 11px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	box-sizing: border-box;
	transition: all 0.2s;
}

.nexashop-account-nav-toggle-btn .nexashop-toggle-content {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nexashop-account-nav-toggle-btn .nexashop-toggle-arrow {
	transition: transform 0.25s ease;
}

.nexashop-account-nav-toggle-btn.is-open .nexashop-toggle-arrow {
	transform: rotate(180deg);
}

@media (max-width: 992px) {
	.nexashop-account-nav-toggle-btn {
		display: flex;
	}

	.nexashop-account-nav {
		display: none;
	}
}

/* Sidebar Nav Groups */
.nexashop-account-nav-group {
	margin-bottom: 20px;
}

.nexashop-account-nav-group:last-child {
	margin-bottom: 0;
}

.nexashop-nav-group-title {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	margin: 0 0 8px 8px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.nexashop-account-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nexashop-account-nav-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: 12px;
	color: var(--nexashop-acc-text-color);
	text-decoration: none;
	font-size: var(--nexashop-acc-font-size, 14px);
	font-weight: 600;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.nexashop-nav-item-content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nexashop-nav-item-content svg,
.nexashop-nav-item-content .dashicons {
	font-size: var(--nexashop-acc-icon-size, 18px);
	width: var(--nexashop-acc-icon-size, 18px);
	height: var(--nexashop-acc-icon-size, 18px);
	flex-shrink: 0;
}

.nexashop-account-nav-item a:hover {
	background: var(--nexashop-acc-hover-bg);
	color: var(--nexashop-acc-hover-color);
}

/* Active Menu Item Pill */
.nexashop-account-nav-item.is-active a {
	background: var(--nexashop-acc-active-bg) !important;
	color: var(--nexashop-acc-active-color) !important;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.nexashop-account-nav-item.is-active a svg,
.nexashop-account-nav-item.is-active a .dashicons {
	color: #ffffff !important;
}

/* Submenu for Addresses */
.nexashop-nav-sub-list {
	list-style: none;
	margin: 4px 0 0 0;
	padding: 0 24px 0 0;
	border-right: 2px solid #f1f5f9;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nexashop-nav-sub-list a {
	font-size: 13px;
	font-weight: 500;
	padding: 7px 12px;
	color: #64748b;
}

.nexashop-nav-sub-list a:hover {
	color: var(--nexashop-acc-active-bg);
}

/* Logout Button */
.nexashop-account-logout-wrap {
	margin-top: 20px;
	border-top: 1px solid #f1f5f9;
	padding-top: 16px;
}

.nexashop-account-logout-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px;
	background: #fff1f2;
	color: #f43f5e !important;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s;
	box-sizing: border-box;
}

.nexashop-account-logout-btn:hover {
	background: #ffe4e6;
	transform: translateY(-1px);
}

/* ==========================================================================
   Notice Banners (Email verification & Security profile alerts)
   ========================================================================== */
.nexashop-account-verify-notice {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	padding: 12px 18px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	direction: rtl;
	box-sizing: border-box;
}

.nexashop-verify-notice-right {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #1e40af;
	font-size: 13px;
	line-height: 1.6;
}

.nexashop-verify-notice-icon {
	color: #3b82f6;
	display: inline-flex;
	flex-shrink: 0;
}

.nexashop-verify-notice-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.nexashop-verify-notice-btn {
	background: #ffffff;
	color: #2563eb !important;
	border: 1px solid #2563eb;
	border-radius: 8px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
}

.nexashop-verify-notice-btn:hover {
	background: #2563eb;
	color: #ffffff !important;
}

.nexashop-verify-notice-close {
	background: transparent;
	border: none;
	color: #93c5fd;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	transition: color 0.2s;
}

.nexashop-verify-notice-close:hover {
	color: #1e40af;
}

@media (max-width: 640px) {
	.nexashop-account-verify-notice {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 12px;
	}

	.nexashop-verify-notice-left {
		width: 100%;
		justify-content: space-between;
	}
}

/* Security Profile Incomplete Alert */
.nexashop-account-security-alert {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	padding: 12px 18px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #9a3412;
	font-size: 13px;
	box-sizing: border-box;
}

.nexashop-security-alert-icon {
	color: #ea580c;
	display: inline-flex;
	flex-shrink: 0;
}

.nexashop-security-alert-link {
	color: #ea580c !important;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.nexashop-security-alert-link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Dashboard Top Grid: 6 Shortcut Cards + Welcome Banner
   ========================================================================== */
.nexashop-dashboard-top-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 20px;
	margin-bottom: 28px;
	align-items: stretch;
}

@media (max-width: 900px) {
	.nexashop-dashboard-top-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* 6 Shortcut Cards (3x2 Grid) */
.nexashop-shortcut-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.nexashop-shortcut-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 14px;
	padding: 22px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	color: #1e293b;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	transition: all 0.25s ease;
	min-height: 110px;
	box-sizing: border-box;
}

.nexashop-shortcut-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.nexashop-shortcut-icon {
	color: #64748b;
	margin-bottom: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.nexashop-shortcut-card:hover .nexashop-shortcut-icon {
	color: var(--nexashop-acc-active-bg);
	transform: scale(1.1);
}

.nexashop-shortcut-title {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	transition: color 0.2s ease;
}

.nexashop-shortcut-card:hover .nexashop-shortcut-title {
	color: var(--nexashop-acc-active-bg);
}

.nexashop-shortcut-card--logout:hover {
	border-color: #fecdd3;
	box-shadow: 0 8px 20px rgba(239, 68, 68, 0.06);
}

.nexashop-shortcut-card--logout:hover .nexashop-shortcut-icon,
.nexashop-shortcut-card--logout:hover .nexashop-shortcut-title {
	color: #ef4444 !important;
}

@media (max-width: 560px) {
	.nexashop-shortcut-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.nexashop-shortcut-card {
		padding: 16px 10px;
		min-height: 95px;
	}

	.nexashop-shortcut-icon svg {
		width: 24px;
		height: 24px;
	}

	.nexashop-shortcut-title {
		font-size: 12px;
	}
}

/* Welcome Banner Card with 3D illustration */
.nexashop-welcome-banner-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: var(--nexashop-acc-radius);
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.nexashop-welcome-banner-content {
	width: 100%;
}

.nexashop-welcome-banner-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--nexashop-acc-active-bg);
	margin: 0 0 8px 0;
}

.nexashop-welcome-banner-desc {
	font-size: 13px;
	color: #64748b;
	line-height: 1.7;
	margin: 0 0 16px 0;
}

.nexashop-welcome-banner-illustration {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.nexashop-welcome-banner-illustration svg {
	max-width: 140px;
	height: auto;
}

@media (max-width: 900px) {
	.nexashop-welcome-banner-card {
		flex-direction: row;
		text-align: right;
		padding: 18px 20px;
	}

	.nexashop-welcome-banner-illustration svg {
		max-width: 110px;
	}
}

@media (max-width: 500px) {
	.nexashop-welcome-banner-card {
		flex-direction: column;
		text-align: center;
	}
}

/* ==========================================================================
   Orders Status Summary (Parskala style: جاری، تحویل شده، لغو شده)
   ========================================================================== */
.nexashop-orders-summary-section {
	margin-bottom: 32px;
}

.nexashop-orders-summary-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.nexashop-orders-summary-title {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	white-space: nowrap;
}

.nexashop-title-divider {
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

.nexashop-order-status-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.nexashop-status-badge-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 14px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.nexashop-status-badge-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.nexashop-status-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.status-processing .nexashop-status-icon-wrap {
	background: #fff7ed;
}

.status-completed .nexashop-status-icon-wrap {
	background: #ecfdf5;
}

.status-cancelled .nexashop-status-icon-wrap {
	background: #fef2f2;
}

.nexashop-status-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nexashop-status-count {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
}

.nexashop-status-name {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

@media (max-width: 580px) {
	.nexashop-order-status-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.nexashop-status-badge-card {
		padding: 12px 14px;
	}
}

/* ==========================================================================
   Recently Viewed Section on Dashboard
   ========================================================================== */
.nexashop-dashboard-recently-viewed {
	margin-top: 24px;
	margin-bottom: 24px;
}

.nexashop-dashboard-recently-viewed .nexashop-cart-section-box {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 16px;
	padding: 22px;
}

/* ==========================================================================
   Edit Account Form (media_1789996736416.png)
   ========================================================================== */
.nexashop-account-card-panel {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: var(--nexashop-acc-radius);
	padding: 28px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
}

.nexashop-account-title-bar {
	margin-bottom: 20px;
}

.nexashop-account-main-title {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.woocommerce-EditAccountForm .form-row {
	margin-bottom: 18px;
}

.woocommerce-EditAccountForm label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 8px;
}

.woocommerce-EditAccountForm .required {
	color: #ef4444;
}

.woocommerce-EditAccountForm .woocommerce-Input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 14px;
	background: #f8fafc;
	color: #1e293b;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.woocommerce-EditAccountForm .woocommerce-Input:focus {
	outline: none;
	border-color: var(--nexashop-acc-active-bg);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.nexashop-field-hint {
	display: block;
	font-size: 12px;
	color: #94a3b8;
	margin-top: 6px;
}

.nexashop-account-fieldset {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px 20px 14px;
	margin: 26px 0 20px;
}

.nexashop-account-legend {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	padding: 0 10px;
}

.woocommerce-EditAccountForm .button,
.woocommerce-Button.button {
	background: var(--nexashop-acc-active-bg) !important;
	color: #ffffff !important;
	padding: 12px 32px !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25) !important;
}

.woocommerce-EditAccountForm .button:hover,
.woocommerce-Button.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35) !important;
}

@media (max-width: 640px) {
	.nexashop-account-card-panel {
		padding: 18px 14px;
	}

	.woocommerce-EditAccountForm .woocommerce-Input {
		font-size: 15px;
	}

	.woocommerce-EditAccountForm .button {
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   Modern Dashboard Hub: Financial/Loyalty Bar
   ========================================================================== */
.nexashop-dashboard-loyalty-bar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 22px;
}

.nexashop-loyalty-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 14px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	color: #1e293b;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.nexashop-loyalty-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.nexashop-loyalty-icon-box {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: 12px;
}

.loyalty-wallet {
	background: #fff7ed;
	color: #ea580c;
}

.loyalty-club {
	background: #fef3c7;
	color: #d97706;
}

.loyalty-coupons {
	background: #eff6ff;
	color: #2563eb;
}

.nexashop-loyalty-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nexashop-loyalty-title {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.nexashop-loyalty-value {
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
}

.nexashop-loyalty-action {
	font-size: 12px;
	font-weight: 700;
	color: var(--nexashop-acc-active-bg);
	white-space: nowrap;
}

@media (max-width: 820px) {
	.nexashop-dashboard-loyalty-bar {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

/* ==========================================================================
   Modern Dashboard Hub: Order Status Pipeline Card
   ========================================================================== */
.nexashop-orders-pipeline-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 16px;
	padding: 22px 24px;
	margin-bottom: 22px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
}

.nexashop-pipeline-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 20px;
}

.nexashop-pipeline-title-group {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #0f172a;
}

.nexashop-pipeline-title {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.nexashop-pipeline-all-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--nexashop-acc-active-bg);
	text-decoration: none;
	transition: color 0.2s;
}

.nexashop-pipeline-all-link:hover {
	text-decoration: underline;
}

.nexashop-pipeline-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.nexashop-pipeline-step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 10px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	text-decoration: none;
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.nexashop-pipeline-step-item:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
}

.nexashop-pipeline-icon-wrap {
	position: relative;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.step-pending .nexashop-pipeline-icon-wrap {
	background: #fef9c3;
	color: #ca8a04;
}

.step-processing .nexashop-pipeline-icon-wrap {
	background: #ffedd5;
	color: #ea580c;
}

.step-completed .nexashop-pipeline-icon-wrap {
	background: #dcfce7;
	color: #16a34a;
}

.step-cancelled .nexashop-pipeline-icon-wrap {
	background: #fee2e2;
	color: #dc2626;
}

.nexashop-pipeline-count {
	position: absolute;
	top: -2px;
	right: -2px;
	background: #0f172a;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	min-width: 20px;
	height: 20px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	border: 2px solid #ffffff;
	box-sizing: border-box;
}

.nexashop-pipeline-step-name {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	line-height: 1.4;
}

@media (max-width: 680px) {
	.nexashop-pipeline-steps-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.nexashop-orders-pipeline-card {
		padding: 18px 16px;
	}
}

/* ==========================================================================
   Modern Dashboard Hub: Quick Services Grid (4 Cards)
   ========================================================================== */
.nexashop-quick-services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.nexashop-quick-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 14px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
	transition: all 0.25s ease;
}

.nexashop-quick-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.nexashop-quick-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.nexashop-quick-card-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nexashop-quick-card-icon.bg-blue {
	background: #eff6ff;
	color: #2563eb;
}

.nexashop-quick-card-icon.bg-rose {
	background: #fff1f2;
	color: #f43f5e;
}

.nexashop-quick-card-icon.bg-emerald {
	background: #ecfdf5;
	color: #10b981;
}

.nexashop-quick-card-icon.bg-amber {
	background: #fffbeb;
	color: #d97706;
}

.nexashop-quick-card-title {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.nexashop-quick-card-text {
	font-size: 13px;
	color: #64748b;
	line-height: 1.6;
	margin: 0 0 14px 0;
}

.nexashop-quick-card-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--nexashop-acc-active-bg);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: gap 0.2s;
}

.nexashop-quick-card-link:hover {
	gap: 8px;
}

@media (max-width: 640px) {
	.nexashop-quick-services-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ==========================================================================
   Clean Empty State Component (Orders, Downloads, Wishlist)
   ========================================================================== */
.nexashop-empty-state {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: var(--nexashop-acc-radius);
	padding: 56px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
}

.nexashop-empty-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	margin-bottom: 20px;
}

.nexashop-empty-icon.heart-icon {
	background: #fef2f2;
	border-color: #fee2e2;
	color: #ef4444;
}

.nexashop-empty-title {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px 0;
}

.nexashop-empty-desc {
	font-size: 14px;
	color: #64748b;
	line-height: 1.7;
	max-width: 520px;
	margin: 0 0 24px 0;
}

.nexashop-empty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--nexashop-acc-active-bg);
	color: #ffffff !important;
	padding: 12px 28px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.nexashop-empty-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

/* ==========================================================================
   Dedicated Wishlist Grid & Cards
   ========================================================================== */
.nexashop-wishlist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}

.nexashop-wishlist-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.nexashop-wishlist-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.nexashop-wishlist-thumb {
	position: relative;
	width: 100%;
	padding-top: 100%;
	background: #f8fafc;
	overflow: hidden;
}

.nexashop-wishlist-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.nexashop-wishlist-card:hover .nexashop-wishlist-thumb img {
	transform: scale(1.05);
}

.nexashop-wishlist-thumb .nexashop-badge-discount {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ef4444;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 20px;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
	z-index: 2;
}

.nexashop-wishlist-remove-icon {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	z-index: 2;
}

.nexashop-wishlist-remove-icon:hover {
	background: #fee2e2;
	color: #ef4444;
	border-color: #fecdd3;
	transform: scale(1.1);
}

.nexashop-wishlist-info {
	padding: 14px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.nexashop-wishlist-title {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 10px 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nexashop-wishlist-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.nexashop-wishlist-title a:hover {
	color: var(--nexashop-acc-active-bg);
}

.nexashop-stock-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.nexashop-stock-badge.in-stock {
	background: #ecfdf5;
	color: #059669;
}

.nexashop-stock-badge.out-of-stock {
	background: #fef2f2;
	color: #dc2626;
}

.nexashop-wishlist-price {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	margin: 10px 0 14px 0;
}

.nexashop-wishlist-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.nexashop-btn-wishlist-buy {
	flex: 1;
	background: var(--nexashop-acc-active-bg);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

.nexashop-btn-wishlist-buy:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.nexashop-btn-wishlist-delete {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #64748b;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
	transition: all 0.2s;
}

.nexashop-btn-wishlist-delete:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fecdd3;
}

.nexashop-btn-wishlist-view {
	flex: 1;
	text-align: center;
	background: #f1f5f9;
	color: #334155;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}

.nexashop-btn-wishlist-view:hover {
	background: #e2e8f0;
}

@media (max-width: 560px) {
	.nexashop-wishlist-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.nexashop-wishlist-info {
		padding: 10px;
	}

	.nexashop-wishlist-title {
		font-size: 12px;
	}
}

/* ==========================================================================
   Order Cards Detailed Layout
   ========================================================================== */
.nexashop-orders-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nexashop-order-card {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color);
	border-radius: 14px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
}

.nexashop-order-items-grid {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.nexashop-order-item-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 10px;
	padding: 8px 12px;
}

.nexashop-order-item-img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.nexashop-order-item-title {
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	max-width: 180px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nexashop-order-item-price {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
}

.nexashop-order-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.nexashop-order-meta-pill {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #64748b;
}

.nexashop-order-meta-pill strong {
	color: #0f172a;
	font-weight: 800;
}

.nexashop-order-total-price {
	font-weight: 800;
	color: #0f172a;
}

.nexashop-order-status-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.nexashop-order-status-badge.status-completed {
	background: #ecfdf5;
	color: #059669;
}

.nexashop-order-status-badge.status-processing {
	background: #fff7ed;
	color: #ea580c;
}

.nexashop-order-status-badge.status-pending {
	background: #fef9c3;
	color: #ca8a04;
}

.nexashop-order-status-badge.status-cancelled,
.nexashop-order-status-badge.status-failed {
	background: #fef2f2;
	color: #dc2626;
}

/* ==========================================================================
   Address Form: 2-Column Responsive Grid & Clean Input Elements
   ========================================================================== */
.woocommerce-address-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
	align-items: start;
	box-sizing: border-box;
}

.woocommerce-address-fields__field-wrapper .form-row {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
	box-sizing: border-box;
}

/* Full width fields across both columns */
.woocommerce-address-fields__field-wrapper .form-row-wide,
.woocommerce-address-fields__field-wrapper .form-row-full,
.woocommerce-address-fields__field-wrapper #billing_address_1_field,
.woocommerce-address-fields__field-wrapper #billing_address_2_field,
.woocommerce-address-fields__field-wrapper #shipping_address_1_field,
.woocommerce-address-fields__field-wrapper #shipping_address_2_field {
	grid-column: 1 / -1;
}

.woocommerce-address-fields label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 8px;
}

.woocommerce-address-fields .required {
	color: #ef4444;
	text-decoration: none;
}

.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select,
.woocommerce-address-fields textarea {
	width: 100% !important;
	padding: 12px 14px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	background: #f8fafc !important;
	color: #1e293b !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
	height: auto;
}

.woocommerce-address-fields select {
	height: 48px;
	cursor: pointer;
}

.woocommerce-address-fields input.input-text:focus,
.woocommerce-address-fields select:focus,
.woocommerce-address-fields textarea:focus {
	outline: none !important;
	border-color: var(--nexashop-acc-active-bg) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12) !important;
}

/* Select2 / SelectWoo Overrides for WooCommerce */
.woocommerce-address-fields .select2-container .select2-selection--single {
	height: 48px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	display: flex;
	align-items: center;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px !important;
	color: #1e293b !important;
	padding-right: 14px !important;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px !important;
	left: 10px !important;
	right: auto !important;
}

.woocommerce-address-fields .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--nexashop-acc-active-bg) !important;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12) !important;
	background: #ffffff !important;
}

@media (max-width: 768px) {
	.woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr !important;
		gap: 14px;
	}
}

/* ==========================================================================
   WooCommerce Core Notices Styling (Fixes media_1790072675206.png)
   ========================================================================== */
.nexashop-account-content .woocommerce-info,
.nexashop-account-content .woocommerce-message,
.nexashop-account-content .woocommerce-NoticeGroup-info {
	background: #eff6ff !important;
	border: 1px solid #bfdbfe !important;
	border-radius: 12px !important;
	padding: 14px 18px !important;
	margin-bottom: 22px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	direction: rtl !important;
	box-sizing: border-box !important;
	color: #1e40af !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	list-style: none !important;
}

.nexashop-account-content .woocommerce-info::before,
.nexashop-account-content .woocommerce-message::before {
	color: #3b82f6 !important;
	font-size: 18px !important;
	margin-left: 8px !important;
	display: inline-block !important;
}

.nexashop-account-content .woocommerce-info .button,
.nexashop-account-content .woocommerce-info a.button,
.nexashop-account-content .woocommerce-message .button,
.nexashop-account-content .woocommerce-message a.button {
	background: #ffffff !important;
	color: #2563eb !important;
	border: 1px solid #2563eb !important;
	border-radius: 8px !important;
	padding: 7px 16px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
	float: none !important;
	margin: 0 !important;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.nexashop-account-content .woocommerce-info .button:hover,
.nexashop-account-content .woocommerce-info a.button:hover,
.nexashop-account-content .woocommerce-message .button:hover,
.nexashop-account-content .woocommerce-message a.button:hover {
	background: #2563eb !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

@media (max-width: 640px) {
	.nexashop-account-content .woocommerce-info,
	.nexashop-account-content .woocommerce-message {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
	}

	.nexashop-account-content .woocommerce-info .button,
	.nexashop-account-content .woocommerce-info a.button {
		width: 100% !important;
		text-align: center !important;
	}
}

/* ==========================================================================
   Carousel Navigation Arrows & Overflow Protection
   ========================================================================== */
.nexashop-cart-section-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 16px !important;
}

.nexashop-carousel-nav-arrows {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.nexashop-carousel-arrow {
	width: 34px !important;
	height: 34px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	color: #475569 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
	padding: 0 !important;
}

.nexashop-carousel-arrow:hover {
	border-color: var(--nexashop-acc-active-bg, #f97316) !important;
	color: var(--nexashop-acc-active-bg, #f97316) !important;
	background: #fff7ed !important;
	transform: scale(1.08) !important;
}

.nexashop-carousel-arrow:disabled {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
	transform: none !important;
}

.nexashop-cart-carousel-wrap {
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	position: relative !important;
}

.nexashop-cart-carousel-track {
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	display: flex !important;
	gap: 16px !important;
	overflow-x: auto !important;
	scroll-behavior: smooth !important;
	-webkit-overflow-scrolling: touch !important;
	scrollbar-width: none !important;
	padding-bottom: 6px !important;
}

.nexashop-cart-carousel-track::-webkit-scrollbar {
	display: none !important;
}

/* ==========================================================================
   NexaShop Saved For Later (سبد خرید بعدی) Modern Layout & Cards
   ========================================================================== */
.nexashop-saved-later-panel {
	background: #ffffff;
	border: 1px solid var(--nexashop-acc-border-color, #e2e8f0);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
	box-sizing: border-box;
}

.nexashop-account-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid #f1f5f9;
}

.header-main-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-icon-badge {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nexashop-account-main-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 4px 0;
	color: #0f172a;
}

.nexashop-account-sub-title {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

.nexashop-items-counter-badge {
	background: #eff6ff;
	color: #2563eb;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
}

.nexashop-saved-later-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: 18px;
}

.nexashop-later-product-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
	position: relative;
}

.nexashop-later-product-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.later-thumb-wrap {
	position: relative;
	width: 100%;
	padding-top: 100%;
	background: #f8fafc;
	overflow: hidden;
}

.later-thumb-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

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

.nexashop-later-product-card:hover .later-thumb-wrap img {
	transform: scale(1.05);
}

.later-discount-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ef4444;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 8px;
	z-index: 2;
}

.later-quick-remove {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	z-index: 2;
}

.later-quick-remove:hover {
	background: #fee2e2;
	color: #ef4444;
	border-color: #fca5a5;
	transform: scale(1.1);
}

.later-info-wrap {
	padding: 14px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.later-product-title {
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.later-product-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s;
}

.later-product-title a:hover {
	color: #2563eb;
}

.later-stock-row {
	margin-bottom: 8px;
}

.later-stock-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 6px;
}

.later-stock-pill.in-stock {
	background: #ecfdf5;
	color: #059669;
}

.later-stock-pill.out-of-stock {
	background: #fef2f2;
	color: #dc2626;
}

.later-price-row {
	margin-bottom: 12px;
}

.later-price-val {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
}

.later-actions-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.later-btn-move-cart {
	flex: 1;
	background: #2563eb;
	color: #ffffff;
	border: none;
	border-radius: 9px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.later-btn-move-cart:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.later-btn-delete {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #64748b;
	border-radius: 9px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
	transition: all 0.2s;
}

.later-btn-delete:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fecdd3;
}

.later-btn-view-product {
	flex: 1;
	text-align: center;
	background: #f1f5f9;
	color: #334155;
	border-radius: 9px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 640px) {
	.nexashop-saved-later-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.later-actions-row {
		flex-direction: column;
		gap: 6px;
	}
	.later-btn-move-cart,
	.later-btn-delete,
	.later-btn-view-product {
		width: 100%;
	}
	.nexashop-saved-later-panel {
		padding: 16px;
	}
}

@media (max-width: 400px) {
	.nexashop-saved-later-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   User Profile Avatar Section in Edit Account
   ========================================================================== */
.nexashop-avatar-profile-section {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	margin-bottom: 24px;
	box-sizing: border-box;
}

.avatar-profile-preview-wrap {
	position: relative;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	flex-shrink: 0;
	background: #ffffff;
}

.avatar-profile-preview-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.avatar-camera-btn {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 32px;
	background: rgba(15, 23, 42, 0.65);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.avatar-camera-btn:hover {
	background: rgba(37, 99, 235, 0.9);
}

.avatar-profile-details {
	flex: 1;
}

.avatar-heading {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.avatar-description {
	font-size: 12.5px;
	color: #64748b;
	margin: 0 0 12px 0;
	line-height: 1.5;
}

.avatar-actions-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nexashop-btn-avatar-select {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #2563eb;
	color: #ffffff;
	padding: 7px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.nexashop-btn-avatar-select:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.nexashop-btn-avatar-remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: #ef4444;
	border: 1px solid #fca5a5;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexashop-btn-avatar-remove:hover {
	background: #fef2f2;
	border-color: #ef4444;
}

.avatar-file-name-label {
	font-size: 11.5px;
	color: #059669;
	font-weight: 600;
}

@media (max-width: 640px) {
	.nexashop-avatar-profile-section {
		flex-direction: column;
		text-align: center;
		padding: 16px;
	}
	.avatar-actions-bar {
		justify-content: center;
	}
}

/* ==========================================================================
   Digikala-Grade View Order (.nexashop-view-order-wrap) Styles
   ========================================================================== */
.nexashop-view-order-wrap {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.nexashop-order-header-card {
	padding: 24px;
}

.order-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.order-title-group {
	display: flex;
	align-items: center;
	gap: 14px;
}

.order-icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.order-main-title {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.order-date-text {
	font-size: 12.5px;
	color: #64748b;
}

.nexashop-btn-back-orders {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #475569;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nexashop-btn-back-orders:hover {
	background: #eff6ff;
	color: #2563eb;
	border-color: #bfdbfe;
}

.order-meta-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.order-meta-box {
	background: #f8fafc;
	border-radius: 10px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.order-meta-box .meta-label {
	font-size: 12px;
	color: #64748b;
}

.order-meta-box .meta-val {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.order-meta-box .is-total-price {
	color: #2563eb;
	font-size: 16px;
	font-weight: 800;
}

.panel-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 18px;
}

.panel-section-title h3 {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	color: #0f172a;
}

.panel-items-count {
	margin-right: auto;
	background: #f1f5f9;
	color: #475569;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 10px;
}

.order-items-table-wrap {
	overflow-x: auto;
	margin-bottom: 20px;
}

.nexashop-order-details-table {
	width: 100%;
	border-collapse: collapse;
}

.nexashop-order-details-table th {
	background: #f8fafc;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 14px;
	text-align: right;
	border-bottom: 1px solid #e2e8f0;
}

.nexashop-order-details-table td {
	padding: 14px;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: middle;
	font-size: 13px;
}

.item-product-flex {
	display: flex;
	align-items: center;
	gap: 12px;
}

.item-thumb-box {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.item-thumb-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.item-meta-details .item-name {
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 4px 0;
}

.item-meta-details .item-name a {
	color: #0f172a;
	text-decoration: none;
}

.item-meta-details .item-name a:hover {
	color: #2563eb;
}

.item-custom-props {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 4px;
}

.meta-badge {
	font-size: 11px;
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	color: #475569;
}

.item-sku {
	font-size: 11px;
	color: #94a3b8;
}

.order-qty-pill {
	background: #f1f5f9;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 12px;
}

.total-price-highlight {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
}

.nexashop-order-totals-box {
	background: #f8fafc;
	border-radius: 12px;
	padding: 16px 20px;
	max-width: 420px;
	margin-right: auto;
}

.order-totals-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.totals-row-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #475569;
	padding-bottom: 6px;
	border-bottom: 1px dashed #e2e8f0;
}

.totals-row-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.totals-row-item.is-grand-total {
	font-size: 15.5px;
	font-weight: 800;
	color: #0f172a;
	padding-top: 8px;
	margin-top: 4px;
	border-top: 1px solid #cbd5e1;
}

.totals-row-item.is-grand-total .totals-value {
	color: #2563eb;
	font-size: 17px;
}

.nexashop-order-addresses-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.address-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 14px;
}

.address-card-header h3 {
	font-size: 14.5px;
	font-weight: 700;
	margin: 0;
	color: #0f172a;
}

.address-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.address-line {
	display: flex;
	gap: 8px;
	font-size: 13px;
	color: #475569;
}

.address-line .label {
	color: #94a3b8;
	font-size: 12px;
	flex-shrink: 0;
}

.address-line.is-full {
	flex-direction: column;
	gap: 4px;
}

.shipping-method-highlight {
	background: #eff6ff;
	padding: 8px 12px;
	border-radius: 8px;
	color: #1e40af;
}

.nexashop-order-notes-timeline {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}

.note-item {
	position: relative;
	padding-right: 24px;
	margin-bottom: 18px;
}

.note-item::before {
	content: "";
	position: absolute;
	top: 8px;
	right: 6px;
	bottom: -18px;
	width: 2px;
	background: #e2e8f0;
}

.note-item:last-child::before {
	display: none;
}

.note-dot {
	position: absolute;
	top: 4px;
	right: 2px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2563eb;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 2px #bfdbfe;
}

.note-date {
	font-size: 11px;
	color: #94a3b8;
	display: block;
	margin-bottom: 4px;
}

.note-text {
	font-size: 12.5px;
	color: #334155;
	line-height: 1.6;
}

.nexashop-view-order-actions-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.button-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}

.button-action.is-pay {
	background: #2563eb;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.button-action.is-pay:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.button-action.is-print {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
}

.button-action.is-print:hover {
	background: #f8fafc;
	border-color: #94a3b8;
}

.button-action.is-secondary {
	background: #f1f5f9;
	color: #475569;
}

.button-action.is-secondary:hover {
	background: #e2e8f0;
	color: #0f172a;
}

@media (max-width: 768px) {
	.order-meta-grid {
		grid-template-columns: 1fr;
	}
	.nexashop-order-addresses-grid {
		grid-template-columns: 1fr;
	}
	.nexashop-order-totals-box {
		max-width: 100%;
	}
	.nexashop-view-order-actions-bar {
		flex-direction: column;
	}
	.button-action {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   2026 UI/UX Overhaul: Unified Section Headers, 2-Col Forms, Avatar Uploader,
   Order Items Table Reset & Logout Confirmation Modal
   ========================================================================== */

/* 1. Unified Section Title Bars (.nexashop-account-title-bar) */
.nexashop-account-title-bar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 18px 22px;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
	position: relative;
	overflow: hidden;
}

.nexashop-account-title-bar::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 4px;
	background: var(--nexashop-acc-active-bg, #f97316);
	border-radius: 4px 0 0 4px;
}

.nexashop-title-bar-right {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.nexashop-title-icon-box {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: #fff7ed;
	color: #f97316;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid #ffedd5;
}

.nexashop-title-icon-box.is-wishlist {
	background: #fff1f2;
	color: #e11d48;
	border-color: #ffe4e6;
}

.nexashop-title-icon-box.is-profile {
	background: #eff6ff;
	color: #2563eb;
	border-color: #dbeafe;
}

.nexashop-title-icon-box.is-address {
	background: #f0fdf4;
	color: #16a34a;
	border-color: #dcfce7;
}

.nexashop-title-icon-box.is-orders {
	background: #faf5ff;
	color: #7c3aed;
	border-color: #f3e8ff;
}

.nexashop-title-icon-box.is-wallet {
	background: #ecfdf5;
	color: #059669;
	border-color: #d1fae5;
}

.nexashop-title-icon-box.is-downloads {
	background: #f0f9ff;
	color: #0284c7;
	border-color: #e0f2fe;
}

.nexashop-title-texts {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nexashop-account-title-bar .nexashop-account-main-title {
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 !important;
	line-height: 1.3;
}

.nexashop-account-title-bar .nexashop-account-sub-title {
	font-size: 12.5px;
	color: #64748b;
	font-weight: 500;
	margin: 0 !important;
	line-height: 1.5;
}

.nexashop-account-title-bar .nexashop-items-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 20px;
	white-space: nowrap;
}

.nexashop-account-title-bar .nexashop-items-badge.is-verified-badge {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #059669;
}

@media (max-width: 640px) {
	.nexashop-account-title-bar {
		padding: 14px 16px;
		gap: 12px;
	}
	.nexashop-title-icon-box {
		width: 40px;
		height: 40px;
	}
	.nexashop-account-title-bar .nexashop-account-main-title {
		font-size: 15px;
	}
	.nexashop-account-title-bar .nexashop-account-sub-title {
		font-size: 11.5px;
	}
}

/* 2. Avatar Upload Section Overhaul (Fixes Camera Icon Overlay & Button Animations) */
.nexashop-avatar-profile-section {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	padding: 20px 24px !important;
	margin-bottom: 26px !important;
	display: flex !important;
	align-items: center !important;
	gap: 22px !important;
}

.nexashop-avatar-profile-section .avatar-profile-preview-wrap {
	position: relative !important;
	width: 88px !important;
	height: 88px !important;
	flex-shrink: 0 !important;
	overflow: visible !important;
	border-radius: 50% !important;
	border: none !important;
}

.nexashop-avatar-profile-section .avatar-circle-frame {
	width: 88px !important;
	height: 88px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 3px solid #ffffff !important;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
	position: relative !important;
	background: #ffffff !important;
}

.nexashop-avatar-profile-section .avatar-circle-frame img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

/* Hover Overlay inside the Avatar Circle */
.woocommerce-EditAccountForm label.avatar-hover-backdrop,
.nexashop-avatar-profile-section label.avatar-hover-backdrop {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(15, 23, 42, 0.55) !important;
	backdrop-filter: blur(2px);
	color: #ffffff !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 3px !important;
	opacity: 0 !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
	margin: 0 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
}

.nexashop-avatar-profile-section .avatar-profile-preview-wrap:hover label.avatar-hover-backdrop {
	opacity: 1 !important;
}

/* Floating Circular Camera Badge at Bottom-Left Corner */
.woocommerce-EditAccountForm label.avatar-camera-btn,
.nexashop-avatar-profile-section label.avatar-camera-btn {
	position: absolute !important;
	bottom: -2px !important;
	left: -2px !important;
	right: auto !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: #2563eb !important;
	color: #ffffff !important;
	border: 2.5px solid #ffffff !important;
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 3 !important;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease !important;
}

.woocommerce-EditAccountForm label.avatar-camera-btn:hover,
.nexashop-avatar-profile-section label.avatar-camera-btn:hover {
	background: #1d4ed8 !important;
	transform: scale(1.14) rotate(-6deg) !important;
}

/* Upload & Delete Buttons with Micro-Animations */
.woocommerce-EditAccountForm label.nexashop-btn-avatar-select,
.nexashop-avatar-profile-section label.nexashop-btn-avatar-select {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
	color: #ffffff !important;
	padding: 9px 18px !important;
	border-radius: 10px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	margin: 0 !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22) !important;
	transition: all 0.25s ease !important;
}

.woocommerce-EditAccountForm label.nexashop-btn-avatar-select:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32) !important;
}

.nexashop-btn-avatar-select .btn-upload-icon-anim {
	display: inline-flex;
	transition: transform 0.25s ease;
}

.nexashop-btn-avatar-select:hover .btn-upload-icon-anim {
	animation: nexashopUploadBounce 0.7s ease infinite alternate;
}

@keyframes nexashopUploadBounce {
	0% { transform: translateY(1px); }
	100% { transform: translateY(-3px); }
}

.woocommerce-EditAccountForm button.nexashop-btn-avatar-remove,
.nexashop-avatar-profile-section #nexashop-btn-remove-avatar {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	background: #ffffff !important;
	color: #e11d48 !important;
	border: 1.5px solid #fecdd3 !important;
	padding: 8px 16px !important;
	border-radius: 10px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: all 0.2s ease !important;
	width: auto !important;
}

.woocommerce-EditAccountForm button.nexashop-btn-avatar-remove:hover,
.nexashop-avatar-profile-section #nexashop-btn-remove-avatar:hover {
	background: #fff1f2 !important;
	border-color: #f43f5e !important;
	color: #be123c !important;
	transform: translateY(-1px) !important;
}

@media (max-width: 640px) {
	.nexashop-avatar-profile-section {
		flex-direction: column !important;
		text-align: center !important;
		padding: 18px 16px !important;
		gap: 14px !important;
	}
	.nexashop-avatar-profile-section .avatar-actions-bar {
		justify-content: center !important;
		width: 100%;
	}
}

/* 3. Compact 2-Column & 3-Column Form Grids (Personal Details & Billing/Shipping Address) */
.nexashop-account-form-grid,
.nexashop-address-form-grid,
.woocommerce-address-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 16px 20px !important;
	align-items: start;
}

.nexashop-password-form-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px 18px !important;
	align-items: start;
}

.nexashop-account-form-grid .form-row,
.nexashop-password-form-grid .form-row,
.nexashop-address-form-grid .form-row,
.woocommerce-address-fields__field-wrapper .form-row {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Address fields that should span 2 columns (like street address 1) */
.woocommerce-address-fields__field-wrapper #billing_address_1_field,
.woocommerce-address-fields__field-wrapper #shipping_address_1_field {
	grid-column: 1 / -1 !important;
}

.woocommerce-EditAccountForm .woocommerce-Input,
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select,
.woocommerce-address-fields .select2-container .select2-selection--single {
	width: 100% !important;
	height: 44px !important;
	padding: 8px 14px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 10px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	background: #f8fafc !important;
	color: #0f172a !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02) !important;
}

.woocommerce-EditAccountForm .woocommerce-Input:focus,
.woocommerce-address-fields input.input-text:focus,
.woocommerce-address-fields select:focus {
	outline: none !important;
	border-color: var(--nexashop-acc-active-bg, #f97316) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.14) !important;
}

.woocommerce-address-fields label,
.woocommerce-EditAccountForm .nexashop-grid-col label {
	display: block !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: #334155 !important;
	margin-bottom: 6px !important;
}

.nexashop-account-legend {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 800;
	color: #1e293b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 5px 12px;
}

.nexashop-form-submit-row {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

.woocommerce-Button.nexashop-btn-save-profile {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 12px 28px !important;
	border-radius: 12px !important;
}

@media (max-width: 900px) {
	.nexashop-password-form-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 680px) {
	.nexashop-account-form-grid,
	.nexashop-address-form-grid,
	.woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}
	.nexashop-form-submit-row .nexashop-btn-save-profile {
		width: 100% !important;
	}
}

/* 4. Ordered Items Table Overhaul (.nexashop-order-details-table & .nexashop-order-totals-box) */
.nexashop-order-items-panel .panel-section-title {
	justify-content: space-between;
	padding-bottom: 16px;
	margin-bottom: 18px;
}

.nexashop-order-items-panel .panel-title-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nexashop-order-items-panel .panel-icon-badge {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: #eff6ff;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nexashop-order-items-panel .panel-subtitle {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.order-items-table-wrap {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	margin-bottom: 22px;
}

.nexashop-order-details-table,
.nexashop-order-details-table thead,
.nexashop-order-details-table tbody,
.nexashop-order-details-table tr,
.nexashop-order-details-table th,
.nexashop-order-details-table td {
	border: none !important;
	box-shadow: none !important;
}

.nexashop-order-details-table {
	width: 100%;
	border-collapse: collapse !important;
	margin: 0 !important;
}

.nexashop-order-details-table thead tr {
	background: #f8fafc !important;
	border-bottom: 1px solid #e2e8f0 !important;
}

.nexashop-order-details-table th {
	background: #f8fafc !important;
	color: #475569 !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	padding: 14px 16px !important;
	text-align: right !important;
	border-bottom: 1px solid #e2e8f0 !important;
}

.nexashop-order-details-table td {
	padding: 16px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	vertical-align: middle !important;
	text-align: right !important;
}

.nexashop-order-details-table tbody tr:last-child td {
	border-bottom: none !important;
}

.nexashop-order-details-table tbody tr:hover td {
	background: #f8fafc !important;
}

.virtual-wallet-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
	color: #059669;
}

.item-sku.is-wallet-tag {
	display: inline-block;
	background: #ecfdf5;
	color: #047857;
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 11px;
}

.nexashop-order-totals-box {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px 22px;
	max-width: 440px;
	margin-right: auto;
}

.order-totals-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	color: #1e293b;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
	.order-items-table-wrap {
		border: none;
		background: transparent;
	}
	.nexashop-order-details-table thead {
		display: none;
	}
	.nexashop-order-details-table,
	.nexashop-order-details-table tbody,
	.nexashop-order-details-table tr,
	.nexashop-order-details-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.nexashop-order-details-table tbody tr {
		background: #ffffff;
		border: 1px solid #e2e8f0 !important;
		border-radius: 14px;
		padding: 14px;
		margin-bottom: 12px;
	}
	.nexashop-order-details-table td {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding: 8px 0 !important;
		border-bottom: 1px dashed #f1f5f9 !important;
	}
	.nexashop-order-details-table td.col-product {
		display: block !important;
		padding-bottom: 12px !important;
	}
	.nexashop-order-details-table td.col-product::before {
		display: none;
	}
	.nexashop-order-details-table td:not(.col-product)::before {
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		color: #64748b;
	}
	.nexashop-order-details-table td:last-child {
		border-bottom: none !important;
		padding-bottom: 0 !important;
	}
}

/* 5. Logout Confirmation Popup Modal (#nexashop-logout-confirm-modal) */
.nexashop-logout-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	direction: rtl;
}

.nexashop-logout-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
}

.nexashop-logout-modal-card {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 400px;
	background: #ffffff;
	border-radius: 20px;
	padding: 28px 24px 24px;
	text-align: center;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
	border: 1px solid #f1f5f9;
	animation: nexashopModalPopIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes nexashopModalPopIn {
	0% {
		opacity: 0;
		transform: scale(0.9) translateY(10px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.logout-modal-icon-pulse {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff1f2;
	color: #e11d48;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 0 0 8px rgba(225, 29, 72, 0.08);
}

.logout-modal-title {
	font-size: 18px;
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 8px 0;
}

.logout-modal-desc {
	font-size: 13.5px;
	line-height: 1.7;
	color: #64748b;
	margin: 0 0 22px 0;
}

.logout-modal-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.logout-btn-yes {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
	color: #ffffff !important;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
	transition: all 0.2s ease;
}

.logout-btn-yes:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(225, 29, 72, 0.38);
}

.logout-btn-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.2s ease;
}

.logout-btn-no:hover {
	background: #e2e8f0;
	color: #0f172a;
}





