.nexcart-wc-account {
	--nexcart-sidebar-width: 220px;
	--nexcart-gap: 24px;
	--nexcart-max-width: 1240px;
	--nexcart-sidebar-border-color: #e5e7eb;
	--nexcart-sidebar-border-style: solid;
	--nexcart-sidebar-border-top: 1px;
	--nexcart-sidebar-border-right: 1px;
	--nexcart-sidebar-border-bottom: 1px;
	--nexcart-sidebar-border-left: 1px;
	--nexcart-sidebar-radius: 12px;
	--nexcart-sidebar-bg: #ffffff;
	--nexcart-sidebar-pad-top: 16px;
	--nexcart-sidebar-pad-right: 16px;
	--nexcart-sidebar-pad-bottom: 16px;
	--nexcart-sidebar-pad-left: 16px;
	--nexcart-sidebar-mar-top: 0px;
	--nexcart-sidebar-mar-right: 0px;
	--nexcart-sidebar-mar-bottom: 0px;
	--nexcart-sidebar-mar-left: 0px;
	--nexcart-sidebar-sticky-top: 0px;
	--nexcart-content-border-color: #e5e7eb;
	--nexcart-content-border-style: solid;
	--nexcart-content-border-top: 1px;
	--nexcart-content-border-right: 1px;
	--nexcart-content-border-bottom: 1px;
	--nexcart-content-border-left: 1px;
	--nexcart-content-radius: 12px;
	--nexcart-content-bg: #ffffff;
	--nexcart-content-pad-top: 20px;
	--nexcart-content-pad-right: 20px;
	--nexcart-content-pad-bottom: 20px;
	--nexcart-content-pad-left: 20px;
	--nexcart-content-mar-top: 0px;
	--nexcart-content-mar-right: 0px;
	--nexcart-content-mar-bottom: 0px;
	--nexcart-content-mar-left: 0px;
	--nexcart-card-max-width: 100%;
	--nexcart-card-bg: #ffffff;
	--nexcart-card-margin-inline: 0;
	--nexcart-text-color: var(--e-global-color-text, #111827);
	--nexcart-heading-color: var(--e-global-color-text, #111827);
	--nexcart-link-color: var(--e-global-color-primary, #2563eb);
	--nexcart-link-hover: var(--e-global-color-primary, #2563eb);
	--nexcart-btn-bg: var(--e-global-color-primary, #2563eb);
	--nexcart-btn-bg-hover: var(--e-global-color-primary, #2563eb);
	--nexcart-btn-text: var(--e-global-color-primary-text, #ffffff);
	--nexcart-btn-border: var(--e-global-color-primary, #2563eb);
	--nexcart-btn-border-hover: var(--e-global-color-primary, #2563eb);
	--nexcart-btn-radius: 999px;
	--nexcart-btn-pad-y: 10px;
	--nexcart-btn-pad-x: 14px;
	--nexcart-nav-text: #111827;
	--nexcart-nav-text-active: #1d4ed8;
	--nexcart-nav-bg: #f9fafb;
	--nexcart-nav-bg-active: #eef2ff;
	--nexcart-nav-border: #e5e7eb;
	--nexcart-nav-border-style: solid;
	--nexcart-nav-border-top: 1px;
	--nexcart-nav-border-right: 1px;
	--nexcart-nav-border-bottom: 1px;
	--nexcart-nav-border-left: 1px;
	--nexcart-nav-icon-color: #6b7280;
	--nexcart-nav-icon-active: #1d4ed8;
	--nexcart-nav-icon-size: 18px;
	--nexcart-nav-icon-gap: 10px;
	--nexcart-logo-max-width: 140px;
	--nexcart-profile-bg: #ffffff;
	--nexcart-profile-border-color: #e5e7eb;
	--nexcart-profile-border-style: solid;
	--nexcart-profile-border-top: 1px;
	--nexcart-profile-border-right: 1px;
	--nexcart-profile-border-bottom: 1px;
	--nexcart-profile-border-left: 1px;
	--nexcart-profile-radius: 10px;

	display: grid;
	grid-template-columns: var(--nexcart-sidebar-width) 1fr;
	gap: var(--nexcart-gap);
	margin: 0 auto;
	max-width: var(--nexcart-max-width);
	width: 100%;
}

/* Boxed layout styles are now controlled via Elementor selectors */

.nexcart-wc-account--fullwidth {
	padding: 0;
	background: transparent;
	border-radius: 0;
	max-width: none;
}

.nexcart-wc-account--fullheight {
	min-height: 100vh;
	align-items: start;
}

.nexcart-wc-account--fullheight .nexcart-wc-account__content,
.nexcart-wc-account--fullheight .nexcart-wc-account__sidebar {
	height: 100%;
}

.nexcart-section-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	/* Color is now controlled via Elementor selectors */
}

.nexcart-wc-account__sidebar {
	background: var(--nexcart-sidebar-bg, #ffffff);
	border-style: var(--nexcart-sidebar-border-style, solid);
	border-color: var(--nexcart-sidebar-border-color, #e5e7eb);
	border-width: var(--nexcart-sidebar-border-top, 1px) var(--nexcart-sidebar-border-right, 1px) var(--nexcart-sidebar-border-bottom, 1px) var(--nexcart-sidebar-border-left, 1px);
	border-radius: var(--nexcart-sidebar-radius, 12px);
	padding: var(--nexcart-sidebar-pad-top, 16px) var(--nexcart-sidebar-pad-right, 16px) var(--nexcart-sidebar-pad-bottom, 16px) var(--nexcart-sidebar-pad-left, 16px);
	margin: var(--nexcart-sidebar-mar-top, 0px) var(--nexcart-sidebar-mar-right, 0px) var(--nexcart-sidebar-mar-bottom, 0px) var(--nexcart-sidebar-mar-left, 0px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	flex: 1 1 auto;
	position: relative;
}

.nexcart-wc-account--sidebar-sticky .nexcart-wc-account__sidebar {
	position: sticky;
	top: var(--nexcart-sidebar-sticky-top, 0px);
	align-self: flex-start;
}

.nexcart-wc-account__user {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nexcart-wc-account__user-name {
	font-weight: 600;
	/* Color is now controlled via Elementor selectors */
	word-break: break-word;
	overflow-wrap: break-word;
}

.nexcart-wc-account__user-dashboard {
	/* Color is now controlled via Elementor selectors */
	text-decoration: none;
	font-size: 13px;
}

/* User dashboard and nav item hover colors are now controlled via Elementor selectors */

.nexcart-wc-account__footer {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 8px;
}


.nexcart-wc-account__avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	flex-shrink: 0;
}

.nexcart-wc-account__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nexcart-profile-drop {
	position: relative;
}

.nexcart-profile-trigger {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	cursor: pointer;
	color: var(--nexcart-nav-text, #111827);
	font-weight: 600;
	border: none;
	border-style: var(--nexcart-profile-border-style, solid);
	border-color: var(--nexcart-profile-border-color, #e5e7eb);
	border-width: var(--nexcart-profile-border-top, 1px) var(--nexcart-profile-border-right, 1px) var(--nexcart-profile-border-bottom, 1px) var(--nexcart-profile-border-left, 1px);
	border-radius: var(--nexcart-profile-radius, 10px);
	background: var(--nexcart-profile-bg, #fff);
	width: 100%;
	min-width: 0;
	text-align: left;
	transition: all 0.2s ease;
}

.nexcart-profile-trigger:hover {
	background: var(--nexcart-nav-bg-active, #eef2ff);
}

.nexcart-profile-trigger[aria-expanded="true"] .nexcart-wc-account__footer-chevron {
	transform: rotate(180deg);
}

.nexcart-wc-account__footer-text {
	flex: 1;
	word-break: break-word;
	overflow-wrap: break-word;
	min-width: 0;
	overflow: hidden;
	max-width: 100%;
}

.nexcart-wc-account__footer-chevron {
	color: #6b7280;
	font-weight: 700;
	transition: transform 0.2s ease;
	display: inline-block;
}

.nexcart-profile-menu {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	margin-bottom: 8px;
	background: var(--nexcart-profile-bg, #ffffff);
	border-style: var(--nexcart-profile-border-style, solid);
	border-color: var(--nexcart-profile-border-color, #e5e7eb);
	border-width: var(--nexcart-profile-border-top, 1px) var(--nexcart-profile-border-right, 1px) var(--nexcart-profile-border-bottom, 1px) var(--nexcart-profile-border-left, 1px);
	border-radius: var(--nexcart-profile-radius, 10px);
	display: none;
	flex-direction: column;
	overflow: hidden;
	z-index: 10;
}

.nexcart-profile-drop.is-open .nexcart-profile-menu {
	display: flex;
}

.nexcart-profile-menu__item {
	padding: 12px 14px;
	text-decoration: none;
	color: var(--nexcart-nav-text, #111827);
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.nexcart-profile-menu__item:last-child {
	border-bottom: none;
}

.nexcart-profile-menu__item:hover {
	background: var(--nexcart-profile-item-hover-bg, #eef2ff);
	color: var(--nexcart-profile-item-hover-text, #1d4ed8);
}
.nexcart-wc-account__brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 4px 0 8px;
	max-width: 30%;
	overflow: hidden;
}

.nexcart-wc-account__brand img {
	max-width: var(--nexcart-logo-max-width, 140px);
	max-width: min(var(--nexcart-logo-max-width, 140px), 100%);
	width: auto;
	height: auto;
	object-fit: contain;
}

.nexcart-wc-account__nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--nexcart-nav-icon-size, 18px);
	color: var(--nexcart-nav-icon-color, #6b7280);
}

.nexcart-wc-account__nav-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	color: currentColor;
}

.nexcart-wc-account__nav-item.is-active .nexcart-wc-account__nav-icon {
	color: var(--nexcart-nav-icon-active, #1d4ed8);
}

.nexcart-wc-account__nav-item.is-active .nexcart-wc-account__nav-icon svg {
	fill: currentColor;
	color: currentColor;
}

.nexcart-wc-account__nav-label {
	flex: 1;
	min-width: 0;
	word-break: break-word;
	overflow-wrap: break-word;
}

.nexcart-wc-account__nav {
	display: grid;
	gap: 6px;
}

.nexcart-wc-account__nav-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--nexcart-nav-icon-gap, 10px);
	padding: var(--nexcart-nav-pad-top, 12px) var(--nexcart-nav-pad-right, 14px) var(--nexcart-nav-pad-bottom, 12px) var(--nexcart-nav-pad-left, 14px);
	border-radius: var(--nexcart-nav-radius, 8px);
	text-decoration: none;
	background: var(--nexcart-nav-bg, #f9fafb);
	border-style: var(--nexcart-nav-border-style, solid);
	border-color: var(--nexcart-nav-border, #e5e7eb);
	border-width: var(--nexcart-nav-border-top, 1px) var(--nexcart-nav-border-right, 1px) var(--nexcart-nav-border-bottom, 1px) var(--nexcart-nav-border-left, 1px);
	color: var(--nexcart-nav-text, #111827) !important;
	font-weight: 500;
	transition: all 0.15s ease;
	min-width: 0;
	overflow: hidden;
}

.nexcart-wc-account__nav-item.is-active {
	border-color: var(--nexcart-nav-border, #2563eb);
	background: var(--nexcart-nav-bg-active, #eef2ff);
	color: var(--nexcart-nav-text-active, #1d4ed8) !important;
}

.nexcart-wc-account__content {
	background: var(--nexcart-content-bg, #ffffff);
	border-style: var(--nexcart-content-border-style, solid);
	border-color: var(--nexcart-content-border-color, #e5e7eb);
	border-width: var(--nexcart-content-border-top, 1px) var(--nexcart-content-border-right, 1px) var(--nexcart-content-border-bottom, 1px) var(--nexcart-content-border-left, 1px);
	border-radius: var(--nexcart-content-radius, 12px);
	padding: var(--nexcart-content-pad-top, 20px) var(--nexcart-content-pad-right, 20px) var(--nexcart-content-pad-bottom, 20px) var(--nexcart-content-pad-left, 20px);
	margin: var(--nexcart-content-mar-top, 0px) var(--nexcart-content-mar-right, 0px) var(--nexcart-content-mar-bottom, 0px) var(--nexcart-content-mar-left, 0px);
	min-height: 480px;
}

/* Mobile header */
.nexcart-wc-account__header {
	display: none;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99998;
	height: 56px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	padding: 0 16px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

/* Adjust header position when admin bar is present */
.admin-bar .nexcart-wc-account__header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .nexcart-wc-account__header {
		top: 0px;
	}
}

.nexcart-wc-account__header-logo {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
}

.nexcart-wc-account__header-logo img {
	max-height: 32px;
	width: auto;
	object-fit: contain;
}

.nexcart-wc-account__header-site-name {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Mobile menu toggle button */
.nexcart-wc-account__menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.nexcart-wc-account__menu-toggle:hover {
	background: #f9fafb;
}

.nexcart-wc-account__menu-toggle-icon {
	display: block;
	width: 20px;
	height: 2px;
	background: #111827;
	position: relative;
	transition: all 0.2s ease;
}

.nexcart-wc-account__menu-toggle-icon::before,
.nexcart-wc-account__menu-toggle-icon::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #111827;
	transition: all 0.2s ease;
}

.nexcart-wc-account__menu-toggle-icon::before {
	top: -6px;
}

.nexcart-wc-account__menu-toggle-icon::after {
	bottom: -6px;
}

.nexcart-wc-account__menu-toggle[aria-expanded="true"] .nexcart-wc-account__menu-toggle-icon {
	background: transparent;
}

.nexcart-wc-account__menu-toggle[aria-expanded="true"] .nexcart-wc-account__menu-toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.nexcart-wc-account__menu-toggle[aria-expanded="true"] .nexcart-wc-account__menu-toggle-icon::after {
	bottom: 0;
	transform: rotate(-45deg);
}

/* Menu overlay */
.nexcart-wc-account__overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99997;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.nexcart-wc-account__overlay.is-active {
	opacity: 1;
	pointer-events: all;
}


/* Prevent body scroll when menu is open */
body.nexcart-menu-open {
	overflow: hidden;
}

/* Floating menu toggle button (when mobile header is disabled) */
.nexcart-wc-account__floating-menu-toggle {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #111827;
	color: #ffffff;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexcart-wc-account__floating-menu-toggle:hover {
	background: #1f2937;
	transform: scale(1.05);
}

.nexcart-wc-account__floating-menu-toggle .nexcart-wc-account__menu-toggle-icon {
	background: #ffffff;
}

.nexcart-wc-account__floating-menu-toggle .nexcart-wc-account__menu-toggle-icon::before,
.nexcart-wc-account__floating-menu-toggle .nexcart-wc-account__menu-toggle-icon::after {
	background: #ffffff;
}

@media (max-width: 1024px) {
	.nexcart-wc-account:not(.nexcart-wc-account--has-mobile-header) .nexcart-wc-account__floating-menu-toggle {
		display: flex;
	}
}

.nexcart-wc-account__notice {
	padding: 12px 14px;
	border-radius: 8px;
	background: #fff7ed;
	border: 1px solid #fdba74;
	color: #7c2d12;
}

.nexcart-wc-account__admin-notice {
	/* All styles are now controlled via Elementor selectors */
	font-size: 13px;
	line-height: 1.5;
	border-left-style: solid;
}

.nexcart-wc-account__admin-notice strong {
	display: block;
	margin-bottom: 4px;
}

.nexcart-wc-account__admin-notice a {
	text-decoration: underline;
}

.nexcart-dashboard {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.nexcart-card {
	background: var(--nexcart-card-bg, #ffffff);
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	max-width: var(--nexcart-card-max-width, 100%);
	width: 100%;
	margin-inline: var(--nexcart-card-margin-inline, 0);
}

.nexcart-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.nexcart-card__title {
	font-weight: 600;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-link {
	color: var(--nexcart-link-color, #2563eb);
	font-weight: 600;
	text-decoration: none;
	font-size: 13px;
}

.nexcart-link:hover {
	color: var(--nexcart-link-hover, #2563eb);
}

.nexcart-card--plans {
	padding: 0;
}

.nexcart-card--plans .nexcart-card__header {
	padding: 16px;
}

.nexcart-plan-row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 12px 16px;
	border-top: 1px solid #e5e7eb;
}

.nexcart-plan-row__name {
	font-weight: 600;
	color: #111827;
}

.nexcart-plan-row__status {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nexcart-plan-row__meta {
	color: #6b7280;
	font-size: 13px;
}

.nexcart-chevron {
	color: #6b7280;
	text-decoration: none;
	font-size: 20px;
}

.nexcart-card--orders .nexcart-orders-list {
	display: grid;
	gap: 10px;
}

.nexcart-order-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-decoration: none;
	color: #111827;
	background: #f9fafb;
}

.nexcart-order-row__title {
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--e-global-color-0fbdea2);
}

.nexcart-order-row__meta {
	color: #6b7280;
	font-size: 13px;
}

.nexcart-order-row__right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nexcart-order-row__amount {
	font-weight: 600;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #15803d;
	font-size: 12px;
	font-weight: 700;
	text-transform: capitalize;
}

.nexcart-badge.success {
	background: #ecfdf3;
	color: #15803d;
}

/* Order Status Colors */
.nexcart-badge--cancelled {
	background: #fee2e2;
	color: #991b1b;
}

.nexcart-badge--completed {
	background: #ecfdf3;
	color: #15803d;
}

.nexcart-badge--processing {
	background: #dbeafe;
	color: #1e40af;
}

.nexcart-badge--on-hold {
	background: #fef3c7;
	color: #92400e;
}

.nexcart-badge--pending {
	background: #f3f4f6;
	color: #374151;
}

.nexcart-badge--refunded {
	background: #f3e8ff;
	color: #6b21a8;
}

.nexcart-badge--failed {
	background: #fee2e2;
	color: #991b1b;
}

.nexcart-empty-state {
	padding: 16px;
	text-align: center;
	color: #6b7280;
}

.nexcart-card--downloads .nexcart-download-row,
.nexcart-download-card {
	display: grid;
	gap: 8px;
	align-items: center;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f9fafb;
}

.nexcart-download-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nexcart-download-card__name {
	font-weight: 600;
}

.nexcart-download-card__file {
	color: #6b7280;
	font-size: 13px;
}

.nexcart-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--nexcart-btn-pad-y, 10px) var(--nexcart-btn-pad-x, 14px);
	background: var(--nexcart-btn-bg, var(--e-global-color-primary, #2563eb));
	color: var(--nexcart-btn-text, var(--e-global-color-primary-text, #ffffff)) !important;
	border: 1px solid var(--nexcart-btn-border, var(--e-global-color-primary, #2563eb));
	border-radius: var(--nexcart-btn-radius, 999px);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	word-break: break-word;
	overflow-wrap: break-word;
}

.nexcart-button:hover {
	background: var(--nexcart-btn-bg-hover, var(--nexcart-btn-bg, var(--e-global-color-primary, #2563eb)));
	color: var(--nexcart-btn-text-hover, var(--nexcart-btn-text, var(--e-global-color-primary-text, #ffffff)));
	border-color: var(--nexcart-btn-border-hover, var(--nexcart-btn-border, var(--e-global-color-primary, #2563eb)));
}

.nexcart-button.ghost {
	background: transparent;
	color: var(--nexcart-btn-bg, var(--e-global-color-primary, #2563eb)) !important;
	border: 1px solid var(--nexcart-btn-border, var(--e-global-color-primary, #2563eb));
}

.nexcart-button.ghost:hover {
	background: var(--nexcart-nav-bg-active, #eef2ff);
	color: var(--nexcart-btn-bg, var(--e-global-color-primary, #2563eb));
	border-color: var(--nexcart-btn-border-hover, var(--e-global-color-primary, #2563eb));
}

.nexcart-downloads-list {
	display: grid;
	gap: 12px;
}

.nexcart-invoices-list {
	display: grid;
	gap: 12px;
}

.nexcart-invoice-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nexcart-invoice-row:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
}

.nexcart-invoice-row__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.nexcart-invoice-row__number {
	font-weight: 600;
	color: #111827;
	font-size: 14px;
}

.nexcart-invoice-row__date {
	font-size: 13px;
	color: #6b7280;
}

.nexcart-invoice-row__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.nexcart-invoice-row__total {
	font-weight: 600;
	color: #111827;
	font-size: 14px;
}

.nexcart-order-single {
	display: grid;
	gap: 16px;
}

.nexcart-order-single__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.nexcart-order-single__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.nexcart-detail-row,
.nexcart-order-item {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px;
}

.nexcart-detail-row__label {
	display: block;
	color: #6b7280;
	font-size: 13px;
	margin-bottom: 6px;
}

.nexcart-detail-row__value {
	font-weight: 600;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-order-item__name {
	font-weight: 600;
	margin-bottom: 6px;
}

.nexcart-order-item__link {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease, text-decoration 0.2s ease;
}

.nexcart-order-item__link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.nexcart-order-item__meta {
	display: flex;
	justify-content: space-between;
	color: var(--nexcart-text-color, #6b7280);
}

.nexcart-order-single__actions {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
}

.nexcart-orders-list,
.nexcart-order-single__items {
	display: grid;
	gap: 10px;
}

/* Invoice Styles */
.nexcart-invoice {
	display: grid;
	gap: 24px;
}

.nexcart-invoice__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e5e7eb;
}

.nexcart-invoice__header-left {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nexcart-invoice__title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-invoice__number {
	font-size: 16px;
	color: var(--nexcart-text-color, #6b7280);
}

.nexcart-invoice__header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.nexcart-invoice__date {
	font-size: 14px;
	color: var(--nexcart-text-color, #6b7280);
}

.nexcart-invoice__addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
	margin-bottom: 8px;
}

.nexcart-invoice__address {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nexcart-invoice__address-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-invoice__address-content {
	font-style: normal;
	font-size: 14px;
	line-height: 1.6;
	color: var(--nexcart-text-color, #6b7280);
}

.nexcart-invoice__address-email,
.nexcart-invoice__address-phone {
	font-size: 14px;
	color: var(--nexcart-text-color, #6b7280);
	margin-top: 4px;
}

.nexcart-invoice__address-email a,
.nexcart-invoice__address-phone a {
	color: var(--nexcart-link-color, #2563eb);
	text-decoration: none;
}

.nexcart-invoice__address-email a:hover,
.nexcart-invoice__address-phone a:hover {
	text-decoration: underline;
}

.nexcart-invoice__items {
	overflow-x: auto;
	margin: 16px 0;
}

.nexcart-invoice__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.nexcart-invoice__table thead {
	background: #f9fafb;
	border-bottom: 2px solid #e5e7eb;
}

.nexcart-invoice__table th {
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	color: var(--nexcart-heading-color, #111827);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.nexcart-invoice__table td {
	padding: 16px;
	border-bottom: 1px solid #e5e7eb;
	color: var(--nexcart-text-color, #111827);
}

.nexcart-invoice__table tbody tr:last-child td {
	border-bottom: none;
}

.nexcart-invoice__table-col-product {
	width: 50%;
}

.nexcart-invoice__table-col-qty {
	width: 15%;
	text-align: center;
}

.nexcart-invoice__table-col-price {
	width: 17.5%;
	text-align: right;
}

.nexcart-invoice__table-col-total {
	width: 17.5%;
	text-align: right;
	font-weight: 600;
}

.nexcart-invoice__item-variation {
	margin-top: 4px;
	font-size: 12px;
	color: var(--nexcart-text-color, #6b7280);
}

.nexcart-invoice__totals {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	margin-top: 8px;
	padding-top: 20px;
	border-top: 2px solid #e5e7eb;
}

.nexcart-invoice__total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 400px;
	font-size: 14px;
}

.nexcart-invoice__total-label {
	color: var(--nexcart-text-color, #6b7280);
}

.nexcart-invoice__total-value {
	font-weight: 600;
	color: var(--nexcart-heading-color, #111827);
	text-align: right;
}

.nexcart-invoice__total-row--final {
	padding-top: 12px;
	border-top: 1px solid #e5e7eb;
	margin-top: 4px;
}

.nexcart-invoice__total-row--final .nexcart-invoice__total-label {
	font-size: 18px;
	font-weight: 700;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-invoice__total-row--final .nexcart-invoice__total-value {
	font-size: 18px;
	font-weight: 700;
	color: var(--nexcart-heading-color, #111827);
}

.nexcart-invoice__actions {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.nexcart-account-forms {
	display: grid;
	gap: 16px;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

.nexcart-card--form {
	padding: 20px;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.nexcart-form-header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.nexcart-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #6b7280;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
	padding: 4px 0;
	width: fit-content;
}

.nexcart-back-button:hover {
	color: #2563eb;
}

.nexcart-back-button svg {
	flex-shrink: 0;
}

.nexcart-form-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #111827;
}

.nexcart-form {
	display: grid;
	gap: 12px;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

.nexcart-form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.nexcart-form-field--full {
	grid-column: 1 / -1;
}

/* Responsive: Single column on smaller screens */
@media (max-width: 768px) {
	.nexcart-form-grid {
		grid-template-columns: 1fr;
	}

	.nexcart-form-field--full {
		grid-column: 1;
	}
}

.nexcart-form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.nexcart-form-field label {
	font-weight: 500;
	color: #374151;
	font-size: 14px;
	margin-bottom: 4px;
}

.nexcart-form-field input,
.nexcart-form-field select {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
	color: #111827;
	background: #ffffff;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.nexcart-form-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}

.nexcart-form-field input:focus,
.nexcart-form-field select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.nexcart-form-field input::placeholder {
	color: #9ca3af;
}

.nexcart-form-field .required {
	color: #ef4444;
	margin-left: 2px;
}

.nexcart-help {
	font-size: 12px;
	color: #6b7280;
}

.nexcart-button.full {
	width: 100%;
	margin-top: 24px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 500;
}

.woocommerce-address-form {
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}


/* Tablet and below */
@media (max-width: 1024px) {
	.nexcart-wc-account {
		grid-template-columns: 1fr;
		gap: 16px;
		position: relative;
	}

	.nexcart-wc-account--boxed {
		padding: 12px;
	}

	.nexcart-wc-account__header {
		display: flex;
	}

	.nexcart-wc-account__menu-toggle {
		display: flex;
	}

	.nexcart-wc-account__overlay {
		display: block;
	}


	.nexcart-wc-account__sidebar {
		position: fixed;
		top: 56px;
		left: 0;
		width: 320px;
		max-width: 85vw;
		height: calc(100vh - 56px);
		height: calc(100dvh - 56px);
		z-index: 99998;
		transform: translateX(-100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 0;
		margin: 0;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 12px;
		border-right: 1px solid var(--nexcart-sidebar-border-color, #e5e7eb);
		padding-top: 0;
	}

	/* When mobile header is hidden, adjust sidebar positioning */
	.nexcart-wc-account:not(.nexcart-wc-account--has-mobile-header) .nexcart-wc-account__sidebar {
		top: 0;
		height: 100vh;
		height: 100dvh;
	}

	/* Adjust sidebar position when admin bar is present */
	.admin-bar .nexcart-wc-account__sidebar {
		top: 88px;
		height: calc(100vh - 88px);
		height: calc(100dvh - 88px);
	}

	.admin-bar .nexcart-wc-account:not(.nexcart-wc-account--has-mobile-header) .nexcart-wc-account__sidebar {
		top: 32px;
		height: calc(100vh - 32px);
		height: calc(100dvh - 32px);
	}

	@media screen and (max-width: 782px) {
		.admin-bar .nexcart-wc-account__sidebar {
			top: 102px;
			height: calc(100vh - 102px);
			height: calc(100dvh - 102px);
		}

		.admin-bar .nexcart-wc-account:not(.nexcart-wc-account--has-mobile-header) .nexcart-wc-account__sidebar {
			top: 46px;
			height: calc(100vh - 46px);
			height: calc(100dvh - 46px);
		}
	}

	.nexcart-wc-account__brand {
		display: none;
	}

	.nexcart-wc-account__sidebar.is-open {
		transform: translateX(0);
	}

	.nexcart-wc-account--sidebar-sticky .nexcart-wc-account__sidebar {
		position: fixed;
		top: 56px;
		height: calc(100vh - 56px);
		height: calc(100dvh - 56px);
		transform: translateX(-100%);
	}

	.admin-bar .nexcart-wc-account--sidebar-sticky .nexcart-wc-account__sidebar {
		top: 88px;
		height: calc(100vh - 88px);
		height: calc(100dvh - 88px);
	}

	@media screen and (max-width: 782px) {
		.admin-bar .nexcart-wc-account--sidebar-sticky .nexcart-wc-account__sidebar {
			top: 102px;
			height: calc(100vh - 102px);
			height: calc(100dvh - 102px);
		}
	}

	.nexcart-wc-account--sidebar-sticky .nexcart-wc-account__sidebar.is-open {
		transform: translateX(0);
	}

	.nexcart-wc-account__nav {
		width: 100%;
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.nexcart-order-row {
		grid-template-columns: 1fr;
	}

	.nexcart-order-single__grid {
		grid-template-columns: 1fr;
	}

	.nexcart-order-single__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.nexcart-wc-account__content {
		width: 100%;
	}
}


/* Mobile devices */
@media (max-width: 768px) {
	.nexcart-wc-account {
		gap: 12px;
		padding: 0;
	}

	.nexcart-wc-account--boxed {
		padding: 8px;
		border-radius: 8px;
	}

	.nexcart-wc-account__header {
		height: 56px;
		padding: 0 12px;
	}

	.nexcart-wc-account__header-logo img {
		max-height: 28px;
	}

	.nexcart-wc-account__header-site-name {
		font-size: 16px;
	}

	.nexcart-wc-account__menu-toggle {
		width: 36px;
		height: 36px;
	}

	.nexcart-wc-account__sidebar {
		width: 280px;
		max-width: 90vw;
		padding: 12px;
		padding-top: 0;
		gap: 12px;
	}

	.nexcart-wc-account__brand {
		display: none;
	}

	.nexcart-wc-account__user {
		gap: 2px;
	}

	.nexcart-wc-account__user-name {
		font-size: 16px;
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.nexcart-wc-account__user-dashboard {
		font-size: 12px;
	}

	.nexcart-wc-account__nav {
		grid-template-columns: 1fr;
		gap: 4px;
		width: 100%;
	}

	.nexcart-wc-account__nav-item {
		padding: 10px 12px;
		min-height: 44px;
		font-size: 14px;
	}

	.nexcart-wc-account__nav-icon {
		font-size: 16px;
	}

	.nexcart-wc-account__content {
		min-height: auto;
	}

	.nexcart-wc-account__footer {
		gap: 8px;
		padding-top: 8px;
	}


	.nexcart-profile-trigger {
		padding: 8px 10px;
		min-height: 44px;
	}

	.nexcart-wc-account__avatar {
		width: 40px;
		height: 40px;
	}

	.nexcart-card {
		padding: 12px;
		border-radius: 8px;
	}

	.nexcart-card__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 10px;
	}

	.nexcart-card__title {
		font-size: 16px;
	}

	.nexcart-order-row {
		padding: 10px;
		gap: 8px;
	}

	.nexcart-invoice-row {
		padding: 10px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.nexcart-invoice-row__meta {
		width: 100%;
		justify-content: space-between;
	}

	.nexcart-order-row__right {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.nexcart-button {
		padding: 12px 16px;
		min-height: 44px;
		font-size: 14px;
		width: 100%;
		justify-content: center;
	}

	.nexcart-button.ghost {
		min-height: 44px;
	}

	.nexcart-form-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.nexcart-form-field--full {
		grid-column: 1;
	}

	.nexcart-form-field input,
	.nexcart-form-field select {
		padding: 12px;
		font-size: 16px;
		min-height: 44px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.nexcart-form-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.nexcart-card--form {
		padding: 12px;
	}

	.nexcart-plan-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 10px 12px;
	}

	.nexcart-plan-row__status {
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}

	.nexcart-order-single__header {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Invoice responsive styles */
	.nexcart-invoice__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.nexcart-invoice__header-right {
		align-items: flex-start;
		width: 100%;
	}

	.nexcart-invoice__title {
		font-size: 24px;
	}

	.nexcart-invoice__addresses {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.nexcart-invoice__table {
		font-size: 12px;
	}

	.nexcart-invoice__table th,
	.nexcart-invoice__table td {
		padding: 10px 8px;
	}

	.nexcart-invoice__table-col-product {
		width: 40%;
	}

	.nexcart-invoice__table-col-qty {
		width: 20%;
	}

	.nexcart-invoice__table-col-price {
		width: 20%;
	}

	.nexcart-invoice__table-col-total {
		width: 20%;
	}

	.nexcart-invoice__totals {
		align-items: stretch;
	}

	.nexcart-invoice__total-row {
		max-width: 100%;
	}

	.nexcart-invoice__actions {
		flex-direction: column;
	}

	.nexcart-invoice__actions .nexcart-button {
		width: 100%;
	}

	.nexcart-order-single__grid {
		grid-template-columns: 1fr;
	}

	.nexcart-detail-row,
	.nexcart-order-item {
		padding: 10px;
	}

	.nexcart-section-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.nexcart-profile-menu {
		position: absolute;
		bottom: 100%;
		top: auto;
		left: 0;
		right: 0;
		margin-bottom: 8px;
		margin-top: 0;
		max-width: 100%;
	}
}

/* Small mobile devices */
@media (max-width: 480px) {
	.nexcart-wc-account {
		gap: 8px;
	}

	.nexcart-wc-account--boxed {
		padding: 4px;
	}

	.nexcart-wc-account__sidebar {
		padding: 10px;
		gap: 10px;
	}


	.nexcart-card {
		padding: 10px;
	}

	.nexcart-wc-account__nav-item {
		padding: 10px;
		font-size: 13px;
	}

	.nexcart-form-field input {
		padding: 10px;
		font-size: 16px;
	}

	.nexcart-button {
		padding: 10px 14px;
		font-size: 13px;
	}

	.nexcart-card__title {
		font-size: 15px;
	}

	.nexcart-form-title {
		font-size: 15px;
	}

	.nexcart-order-row__title {
		font-size: 14px;
	}

	/* Invoice small mobile styles */
	.nexcart-invoice__title {
		font-size: 20px;
	}

	.nexcart-invoice__table {
		font-size: 11px;
	}

	.nexcart-invoice__table th,
	.nexcart-invoice__table td {
		padding: 8px 6px;
	}

	.nexcart-invoice__total-row--final .nexcart-invoice__total-label,
	.nexcart-invoice__total-row--final .nexcart-invoice__total-value {
		font-size: 16px;
	}

	.nexcart-order-row__meta {
		font-size: 12px;
	}

	.nexcart-badge {
		font-size: 11px;
		padding: 3px 8px;
	}
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
	.nexcart-wc-account {
		overflow-x: hidden;
	}

	.nexcart-wc-account__sidebar,
	.nexcart-wc-account__content {
		overflow-x: hidden;
	}

	.nexcart-card {
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.nexcart-account-forms,
	.nexcart-form,
	.nexcart-form-grid,
	.nexcart-card--form {
		overflow-x: hidden;
		width: 100%;
		max-width: 100%;
	}

	.nexcart-form-field input,
	.nexcart-form-field select {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Ensure images don't overflow */
	.nexcart-wc-account__brand img,
	.nexcart-wc-account__avatar img {
		max-width: 100%;
		height: auto;
	}
}

/* Prevent Elementor .a link styles from overriding our custom styles */
.nexcart-wc-account .nexcart-button,
.nexcart-wc-account .nexcart-button a,
.nexcart-wc-account a.nexcart-button {
	color: var(--nexcart-btn-text, var(--e-global-color-primary-text, #ffffff)) !important;
	text-decoration: none !important;
}

.nexcart-wc-account .nexcart-button.ghost,
.nexcart-wc-account .nexcart-button.ghost a,
.nexcart-wc-account a.nexcart-button.ghost {
	color: var(--nexcart-btn-bg, var(--e-global-color-primary, #2563eb)) !important;
	text-decoration: none !important;
}

.nexcart-wc-account .nexcart-link,
.nexcart-wc-account a.nexcart-link {
	color: var(--nexcart-link-color, var(--e-global-color-primary, #2563eb)) !important;
	text-decoration: none !important;
}

.nexcart-wc-account .nexcart-link:hover,
.nexcart-wc-account a.nexcart-link:hover {
	color: var(--nexcart-link-hover, var(--e-global-color-primary, #2563eb)) !important;
	text-decoration: underline !important;
}

.nexcart-wc-account .nexcart-wc-account__nav-item,
.nexcart-wc-account a.nexcart-wc-account__nav-item {
	color: var(--nexcart-nav-text, #111827) !important;
	text-decoration: none !important;
}

.nexcart-wc-account .nexcart-wc-account__nav-item.is-active,
.nexcart-wc-account a.nexcart-wc-account__nav-item.is-active {
	color: var(--nexcart-nav-text-active, #1d4ed8) !important;
	text-decoration: none !important;
}

.nexcart-wc-account .nexcart-wc-account__nav-item:hover,
.nexcart-wc-account a.nexcart-wc-account__nav-item:hover {
	color: var(--nexcart-nav-text, #111827) !important;
	text-decoration: none !important;
}


