.woocommerce-account .entry-content > .woocommerce,
.woocommerce-account .wp-block-post-content > .woocommerce,
.woocommerce-account .wc-block-components-notice-banner,
.woocommerce-account .woocommerce-notices-wrapper {
	font-family: var(--digi-font, "Almarai", system-ui, sans-serif);
}

.woocommerce-account .woocommerce-notices-wrapper {
	margin: 0 0 1rem;
	max-width: none;
	padding-inline: clamp(1rem, 5vw, 3rem);
}

/* ── FSE full-width override ──
   theme.json: contentSize 1500px + useRootPaddingAwareAlignments generate
   .is-layout-constrained and .has-global-padding rules across multiple nested
   wrappers. Strip all of it for account pages. */

/* Root CSS variables */
.woocommerce-account .wp-block-post-content,
.woocommerce-account .entry-content {
	--wp--style--global--content-size: 100%;
	--wp--style--global--wide-size: 100%;
	max-width: none !important;
	width: 100% !important;
	padding-inline: 0 !important;
}

/* Constrained layout children — kill max-width + auto margins */
.woocommerce-account .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	margin-inline: 0 !important;
}

/* Outer <main> block group */
.woocommerce-account main.wp-block-group {
	width: 100% !important;
	max-width: none !important;
	padding-inline: 0 !important;
	box-sizing: border-box;
}

/* Inner div.wp-block-group (constrained inner group in page.html template)
   useRootPaddingAwareAlignments adds has-global-padding here too */
.woocommerce-account main .wp-block-group,
.woocommerce-account main .wp-block-group.is-layout-constrained {
	width: 100% !important;
	max-width: none !important;
	padding-inline: 0 !important;
	box-sizing: border-box;
}

/* Strip has-global-padding from content wrappers inside main only
   (avoids breaking header/footer which are siblings of main, not children) */
.woocommerce-account main .has-global-padding {
	padding-inline: 0 !important;
}

/* WooCommerce wrapper at any depth */
.woocommerce-account .woocommerce {
	width: 100% !important;
	max-width: none !important;
	padding-inline: 0 !important;
	margin-inline: 0 !important;
}

.woocommerce-account .wp-block-post-title,
.woocommerce-account .entry-title {
	display: none;
}

.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(10, 8, 20, 0.16);
	margin-bottom: 1rem;
	padding: 1rem 1.125rem;
}

/* ─── Shell: Full-Width 2-Column Dashboard Grid ─── */
.digi-myaccount-shell {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem) !important;
	align-items: start;
	width: 100%;
	max-width: none;
	padding: clamp(2rem, 5vw, 5rem) clamp(3rem, 10vw, 8rem) !important;
	box-sizing: border-box;
	margin: 0;
}

.digi-myaccount-shell__nav {
	min-width: 0;
	/* grid-template-columns handles the 268px — no override needed */
}

.digi-myaccount-shell__main {
	min-width: 0;
	/* 100% = fills the 1fr grid track completely on both sides */
	width: 100%;
	box-sizing: border-box;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation,
.digi-myaccount-shell .woocommerce-MyAccount-content {
	float: none;
	width: 100% !important;
}

/* Grid handles sidebar/content separation — no extra margin needed.
   box-sizing: border-box prevents padding from adding to 100% width and overflowing. */
.woocommerce-account .woocommerce-MyAccount-content {
	margin-inline: 0 !important;
	box-sizing: border-box !important;
}

/* ─── Sidebar Navigation ─── */
.digi-myaccount-shell .woocommerce-MyAccount-navigation {
	position: relative;
	padding: 1.25rem 1.25rem 1.25rem 0;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	overflow: hidden;
}

/* Ambient purple glow */
.digi-myaccount-shell .woocommerce-MyAccount-navigation::before {
	content: '';
	position: absolute;
	top: -80px;
	inset-inline-end: -50px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(152, 41, 214, 0.28) 0%, transparent 70%);
	pointer-events: none;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation li {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

/* ── Group 2 separator: before Profile (edit-account) ── */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-account {
	margin-top: 0.875rem;
	padding-top: 0.875rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Separator before logout removed — logout is now in group 2 with edit-account */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 46px;
	padding: 0.65rem 0.9rem 0.65rem 1rem;
	border: none;
	border-inline-start: 3px solid transparent;
	border-radius: 0 12px 12px 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: background 0.17s ease, color 0.17s ease, border-color 0.17s ease;
}

/* Lucide icon inside nav link */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .digi-nav-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	opacity: 0.5;
	transition: opacity 0.17s ease;
}

/* ── Badge (order count) ── */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .digi-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-inline-start: auto;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #7c1fc9;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation a:hover {
	background: rgba(255, 255, 255, 0.05);
	border-inline-start-color: rgba(152, 41, 214, 0.35);
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation a:hover .digi-nav-icon {
	opacity: 0.85;
}

/* ── Active state: left border accent + subtle tint ── */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .is-active a,
.digi-myaccount-shell .woocommerce-MyAccount-navigation a[aria-current="page"] {
	background: rgba(152, 41, 214, 0.13);
	border-inline-start: 3px solid #9829d6;
	color: #fff;
	font-weight: 700;
	box-shadow: none;
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation .is-active a .digi-nav-icon,
.digi-myaccount-shell .woocommerce-MyAccount-navigation a[aria-current="page"] .digi-nav-icon {
	opacity: 1;
}

/* Active badge — brighter */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .is-active a .digi-nav-badge,
.digi-myaccount-shell .woocommerce-MyAccount-navigation a[aria-current="page"] .digi-nav-badge {
	background: #9829d6;
}

/* ── Logout — red tint ── */
.digi-myaccount-shell .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: rgba(255, 95, 95, 0.65);
}

.digi-myaccount-shell .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: rgba(255, 70, 70, 0.08);
	border-inline-start-color: rgba(255, 70, 70, 0.5);
	color: rgba(255, 140, 140, 0.95);
}

/* ─── Main Content Panel ─── */
.digi-myaccount-shell .woocommerce-MyAccount-content {
	padding: clamp(1.5rem, 2.5vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	min-height: 440px;
	margin-inline: 0;
	color: #f3ecff;
	box-sizing: border-box;
}

.digi-myaccount-shell .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.digi-myaccount-shell .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

.woocommerce-account .digi-myaccount-shell h1,
.woocommerce-account .digi-myaccount-shell h2,
.woocommerce-account .digi-myaccount-shell h3 {
	line-height: 1.2;
	color: #fcf8ff;
}

.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content p,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content li,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content label,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content legend,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content small,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content address {
	color: rgba(243, 236, 255, 0.78);
}

.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content a {
	color: #d59cff;
}

.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content a:hover {
	color: #efccff;
}

.woocommerce-account .digi-myaccount-shell table,
.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-wrap,
.woocommerce-account .digi-myaccount-shell .digtiali-license-box,
.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-grid,
.woocommerce-account .digi-myaccount-shell .woocommerce-orders-table,
.woocommerce-account .digi-myaccount-shell .woocommerce-table--order-details {
	width: 100%;
	max-width: 100%;
}

/* Order table head */
.woocommerce-account .digi-myaccount-shell .woocommerce-orders-table thead th,
.woocommerce-account .digi-myaccount-shell .woocommerce-table thead th {
	background: transparent;
	color: rgba(250, 243, 255, 0.84);
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.8rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	white-space: nowrap;
}

.woocommerce-account .digi-myaccount-shell .woocommerce-orders-table td,
.woocommerce-account .digi-myaccount-shell .woocommerce-table td {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	font-size: 0.9rem;
	color: rgba(243, 236, 255, 0.82);
	vertical-align: middle;
}

.woocommerce-account .digi-myaccount-shell .woocommerce-orders-table tbody tr:last-child td {
	border-bottom: none;
}

/* Table action buttons */
.woocommerce-account .digi-myaccount-shell .woocommerce-orders-table .button,
.woocommerce-account .digi-myaccount-shell .woocommerce-table .button,
.woocommerce-account .digi-myaccount-shell td .button {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.95rem;
	border-radius: 9px;
	background: linear-gradient(135deg, #781baf, #9829d6);
	color: #fff !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: opacity 0.18s ease, transform 0.15s ease;
	margin-inline-end: 0.35rem;
	margin-bottom: 0.25rem;
}

.woocommerce-account .digi-myaccount-shell .woocommerce-orders-table .button:hover,
.woocommerce-account .digi-myaccount-shell .woocommerce-table .button:hover,
.woocommerce-account .digi-myaccount-shell td .button:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	text-decoration: none;
	color: #fff !important;
}

.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-wrap {
	margin-top: 1rem;
	border-radius: 16px;
}

.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table { font-size: 15px; }
.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table thead th { padding: 14px; }
.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table td { padding: 14px; }

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-grid {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box,
.woocommerce-account .digi-myaccount-shell .digtiali-license-box {
	border-radius: 18px;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome,
.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box,
.woocommerce-account .digi-myaccount-shell .digtiali-license-box,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box,
.woocommerce-account .digi-myaccount-shell form.woocommerce-EditAccountForm,
.woocommerce-account .digi-myaccount-shell form.woocommerce-address-fields__form,
.woocommerce-account .digi-myaccount-shell .payment_methods,
.woocommerce-account .digi-myaccount-shell .woocommerce-PaymentMethod,
.woocommerce-account .digi-myaccount-shell .woocommerce-form-login__remember {
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 20px;
	background: transparent;
	box-shadow: none;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content > div[style*="background: #f8f8f8"] {
	margin-bottom: 1.5rem;
	padding: clamp(1.4rem, 2vw, 2rem) !important;
	text-align: center;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome h2,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content > div[style*="background: #f8f8f8"] h2 {
	margin: 0;
	color: #fcf8ff;
	font-size: clamp(2rem, 3vw, 3rem);
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome p,
.woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content > div[style*="background: #f8f8f8"] p {
	margin: 0.75rem 0 0;
	color: rgba(243, 236, 255, 0.7);
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box {
	padding: 1.55rem 1.15rem;
	text-align: center;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box:hover,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box:hover {
	transform: translateY(-3px);
	border-color: rgba(213, 156, 255, 0.24);
	box-shadow: 0 18px 36px rgba(11, 8, 20, 0.26);
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box h3,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box h3 {
	margin: 0.5rem 0 0.35rem;
	color: #f9f4ff;
	font-size: 0.98rem;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box p,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box p {
	margin: 0;
	color: rgba(243, 236, 255, 0.72);
}

.woocommerce-account .digi-myaccount-shell .digtiali-wallet-balance {
	color: #d59cff;
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-icon,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box > div:first-child {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0 auto 0.85rem !important;
	border-radius: 18px;
	background: rgba(152, 41, 214, 0.12);
}

.woocommerce-account .digi-myaccount-shell .digtiali-dashboard-icon svg,
.woocommerce-account .digi-myaccount-shell .icons-dashboard-box svg {
	fill: #cf89ff;
}

.woocommerce-account .digi-myaccount-shell .woocommerce-Address,
.woocommerce-account .digi-myaccount-shell .woocommerce-address-fields,
.woocommerce-account .digi-myaccount-shell form.woocommerce-EditAccountForm,
.woocommerce-account .digi-myaccount-shell form.woocommerce-address-fields__form {
	width: 100%;
	max-width: 100%;
	padding: 1.25rem;
}

.woocommerce-account .digi-myaccount-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.woocommerce-account .digi-myaccount-shell select,
.woocommerce-account .digi-myaccount-shell textarea {
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 14px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	color: #f7f2ff !important;
	box-shadow: none !important;
}

.woocommerce-account .digi-myaccount-shell input::placeholder,
.woocommerce-account .digi-myaccount-shell textarea::placeholder {
	color: rgba(243, 236, 255, 0.42);
}

.woocommerce-account .digi-myaccount-shell input:focus,
.woocommerce-account .digi-myaccount-shell select:focus,
.woocommerce-account .digi-myaccount-shell textarea:focus {
	border-color: rgba(213, 156, 255, 0.34) !important;
	box-shadow: 0 0 0 4px rgba(152, 41, 214, 0.12) !important;
	outline: none;
}

/* Rating discount widget (digtiali-core) — dark shell overrides */
.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget {
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 20px;
	background: transparent;
	box-shadow: none;
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget--pending {
	background: rgba(243, 156, 18, 0.12);
	border-right: 4px solid #f39c12;
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget--earned {
	background: rgba(39, 174, 96, 0.12);
	border-right: 4px solid #27ae60;
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget h3 {
	color: #fcf8ff;
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget--pending h3 {
	color: #ffc96a;
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget--earned h3 {
	color: #7dffb0;
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-widget p,
.woocommerce-account .digi-myaccount-shell .digtiali-rating-product-list li {
	color: rgba(243, 236, 255, 0.82);
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-product-list li {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.woocommerce-account .digi-myaccount-shell .digtiali-rating-coupon {
	color: #7dffb0;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(39, 174, 96, 0.55);
}

[data-theme="light"] .digi-myaccount-shell .woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid rgba(120, 27, 175, 0.14);
	box-shadow: 0 8px 24px rgba(40, 22, 69, 0.06);
	border-radius: 14px;
}

[data-theme="light"] .digi-myaccount-shell .woocommerce-MyAccount-navigation a {
	color: #5c4b6c;
}

[data-theme="light"] .digi-myaccount-shell .woocommerce-MyAccount-navigation a:hover {
	background: rgba(120, 27, 175, 0.05);
	border-color: rgba(120, 27, 175, 0.1);
	color: #1a0f2e;
}

[data-theme="light"] .digi-myaccount-shell .woocommerce-MyAccount-navigation .is-active a,
[data-theme="light"] .digi-myaccount-shell .woocommerce-MyAccount-navigation a[aria-current="page"] {
	background: rgba(120, 27, 175, 0.1);
	border-color: rgba(120, 27, 175, 0.22);
	box-shadow: none;
	color: #781baf;
}

[data-theme="light"] .woocommerce-account .woocommerce-error,
[data-theme="light"] .woocommerce-account .woocommerce-info,
[data-theme="light"] .woocommerce-account .woocommerce-message {
	border-color: rgba(120, 27, 175, 0.1);
	box-shadow: 0 20px 60px rgba(10, 8, 20, 0.08);
}

[data-theme="light"] .digi-myaccount-shell .woocommerce-MyAccount-content {
	border: 1px solid rgba(120, 27, 175, 0.14);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(40, 22, 69, 0.06);
	color: #2a2038;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell h1,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell h2,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell h3 {
	color: #1a0f2e;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content p,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content li,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content label,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content legend,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content small,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content address {
	color: #5c4b6c;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content a {
	color: #781baf;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-orders-table thead th,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-table thead th {
	background: rgba(120, 27, 175, 0.04);
	color: #4a3560;
	border-bottom: 2px solid rgba(120, 27, 175, 0.1);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-orders-table td,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-table td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.045);
	color: #2a2038;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-license-box,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .icons-dashboard-box,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-Address,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-address-fields,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell form.woocommerce-EditAccountForm,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell form.woocommerce-address-fields__form,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .payment_methods,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-PaymentMethod,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-form-login__remember,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content > div[style*="background: #f8f8f8"] {
	border: 1px solid rgba(120, 27, 175, 0.1);
	background: #fff !important;
	box-shadow: 0 2px 12px rgba(40, 22, 69, 0.06);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome h2,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content > div[style*="background: #f8f8f8"] h2,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box h3,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .icons-dashboard-box h3 {
	color: #1a0f2e;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-welcome p,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-MyAccount-content > div[style*="background: #f8f8f8"] p,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-box p,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .icons-dashboard-box p {
	color: #6a587b;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-wallet-balance {
	color: #781baf;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-icon,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .icons-dashboard-box > div:first-child {
	background: rgba(120, 27, 175, 0.08);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-dashboard-icon svg,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .icons-dashboard-box svg {
	fill: #781baf;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
[data-theme="light"] .woocommerce-account .digi-myaccount-shell select,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell textarea {
	border-color: rgba(120, 27, 175, 0.12) !important;
	background: #fff !important;
	color: #2a2038 !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell input::placeholder,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell textarea::placeholder {
	color: rgba(92, 75, 108, 0.48);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell input:focus,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell select:focus,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell textarea:focus {
	border-color: rgba(120, 27, 175, 0.26) !important;
	box-shadow: 0 0 0 4px rgba(120, 27, 175, 0.08) !important;
}

/* Wallet / subscriptions / endpoint-specific components */
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-content-area,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-list,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-link-card,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-submenu,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-tableholder .tabulator-table,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-footer,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-header,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-popup-container {
	background: transparent !important;
	color: #f3ecff !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container {
	--wallet-primary-color: #8f2bdf;
	--wallet-text-color: #f3ecff;
	--wallet-bg-color: #120b1f;
	--wallet-border-color: rgba(255, 255, 255, 0.08);
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-header h2,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-section-title,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper label,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-link-card h3 {
	color: #fcf8ff !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-header p,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table th,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats th,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-header,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-footer,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page-counter {
	color: rgba(243, 236, 255, 0.66) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-top-section {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03) !important;
	box-shadow: 0 18px 40px rgba(7, 5, 15, 0.2) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card {
	background: linear-gradient(135deg, #6f1dc1 0%, #781baf 52%, #8f2bdf 100%) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card h3,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card .woo-wallet-price,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card .woocommerce-Price-amount,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card .woocommerce-Price-currencySymbol {
	color: #fff !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card h3 {
	opacity: 0.92;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-section-title {
	background: rgba(255, 255, 255, 0.04) !important;
	color: #fcf8ff !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-content-area,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-list {
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tabs {
	background: rgba(255, 255, 255, 0.03) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tab,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-table-controls,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page-size,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .wc-wallet-filter-clear {
	background: transparent !important;
	color: rgba(243, 236, 255, 0.78) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tab.active,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tab:hover,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page.active,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page:hover,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .wc-wallet-filter-clear:hover {
	background: rgba(152, 41, 214, 0.22) !important;
	color: #fff !important;
	border-color: rgba(213, 156, 255, 0.24) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-placeholder,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-placeholder .tabulator-placeholder-contents {
	color: rgba(243, 236, 255, 0.58) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-header,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-footer {
	background: rgba(255, 255, 255, 0.04) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row {
	background: transparent !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-copy-btn,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper input[type="submit"] {
	background: var(--wallet-primary-color) !important;
	color: #fff !important;
	border: 0 !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-link-card,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats {
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 14px !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table th,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table td,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats th,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats td,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-col,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-cell {
	border-color: rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table td,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats td,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-cell,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row .tabulator-cell {
	color: rgba(243, 236, 255, 0.82) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table tr:hover td,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-row:hover,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-row.tabulator-row-even,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-menu .tabulator-menu-item:hover {
	background: rgba(255, 255, 255, 0.035) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input[type="date"],
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input[type="number"],
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input[type="text"],
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container select,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container textarea {
	background: rgba(255, 255, 255, 0.04) !important;
	color: #f7f2ff !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input::placeholder,
.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container textarea::placeholder {
	color: rgba(243, 236, 255, 0.42) !important;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container a,
.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table a,
.woocommerce-account .digi-myaccount-shell .digi-order-details a {
	color: #d59cff;
}

.woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container a:hover,
.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table a:hover,
.woocommerce-account .digi-myaccount-shell .digi-order-details a:hover {
	color: #f0d4ff;
}

.woocommerce-account .digi-myaccount-shell .digtiali-badge--active {
	background: rgba(120, 27, 175, 0.18);
	color: #d9ffab;
	border-color: rgba(152, 41, 214, 0.32);
}

.woocommerce-account .digi-myaccount-shell .digtiali-badge--expired {
	background: rgba(255, 108, 108, 0.12);
	color: #ffb0b0;
	border-color: rgba(255, 108, 108, 0.22);
}

.woocommerce-account .digi-myaccount-shell .digtiali-progress {
	background: rgba(255, 255, 255, 0.08);
}

/* Override WooCommerce payment section backgrounds */
.woocommerce-account .digi-myaccount-shell #payment,
.woocommerce-account .digi-myaccount-shell .woocommerce-Payment,
.woocommerce-account .digi-myaccount-shell .woocommerce-add-payment-method {
	background: transparent !important;
}

.woocommerce-account .digi-myaccount-shell #payment div.payment_box {
	background: rgba(255, 255, 255, 0.02) !important;
	border-radius: 12px;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell #payment,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-Payment,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woocommerce-add-payment-method {
	background: transparent !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell #payment div.payment_box {
	background: rgba(120, 27, 175, 0.04) !important;
	border-radius: 12px;
}

.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-wrap {
	border-color: rgba(255, 255, 255, 0.08);
	background: transparent;
	box-shadow: none;
}

.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.03);
}

.woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.05);
}

.woocommerce-account .digi-myaccount-shell .digtiali-countdown-box {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

.woocommerce-account .digi-myaccount-shell .digtiali-countdown-box h4,
.woocommerce-account .digi-myaccount-shell .digtiali-countdown-status {
	color: #fcf8ff;
}

.woocommerce-account .digi-myaccount-shell .digtiali-countdown-date {
	color: rgba(243, 236, 255, 0.68);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-content-area,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-list,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-link-card,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-submenu,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-tableholder .tabulator-table,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-footer,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-header,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-popup-container {
	background: #fff !important;
	color: #2a2038 !important;
	border-color: rgba(120, 27, 175, 0.1) !important;
	box-shadow: 0 8px 24px rgba(40, 22, 69, 0.08) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container {
	--wallet-primary-color: #781baf;
	--wallet-text-color: #2a2038;
	--wallet-bg-color: #f8f5fc;
	--wallet-border-color: rgba(120, 27, 175, 0.12);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-top-section {
	background: #fff !important;
	border: 1px solid rgba(120, 27, 175, 0.1) !important;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(71, 35, 108, 0.08) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card {
	background: linear-gradient(135deg, #6f1dc1 0%, #781baf 52%, #9829d6 100%) !important;
	border: 0 !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card h3,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card .woo-wallet-price,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card .woocommerce-Price-amount,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-balance-card .woocommerce-Price-currencySymbol {
	color: #fff !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-section-title {
	background: #f6f2fb !important;
	color: #1a0f2e !important;
	border-bottom: 1px solid rgba(120, 27, 175, 0.1) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-link-card,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats {
	background: #fff !important;
	border: 1px solid rgba(120, 27, 175, 0.1) !important;
	border-radius: 14px !important;
	box-shadow: 0 8px 24px rgba(40, 22, 69, 0.06) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-content-area,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-list {
	background: #fff !important;
	border: 1px solid rgba(120, 27, 175, 0.1) !important;
	border-radius: 14px !important;
	box-shadow: 0 8px 24px rgba(40, 22, 69, 0.06) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tabs {
	background: #f6f2fb !important;
	border-top: 1px solid rgba(120, 27, 175, 0.1) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tab,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-table-controls,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page-size,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .wc-wallet-filter-clear {
	background: #fff !important;
	color: #5d4c6d !important;
	border-color: rgba(120, 27, 175, 0.1) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-placeholder,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-placeholder .tabulator-placeholder-contents {
	color: #6a587b !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input[type="date"],
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input[type="number"],
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container input[type="text"],
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container select,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container textarea {
	background: #fff !important;
	color: #2a2038 !important;
	border-color: rgba(120, 27, 175, 0.14) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container a {
	color: #781baf;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container a:hover {
	color: #9829d6;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-header,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-footer {
	background: #f6f2fb !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tab.active,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-nav-tab:hover,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page.active,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page:hover,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .wc-wallet-filter-clear:hover {
	background: rgba(120, 27, 175, 0.1) !important;
	color: #781baf !important;
	border-color: rgba(120, 27, 175, 0.16) !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-header h2,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-form-wrapper label,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-link-card h3 {
	color: #1a0f2e !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-header p,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table th,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats th,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-header,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-footer,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-page-counter {
	color: #6a587b !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table td,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-referral-stats td,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-cell,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator .tabulator-row .tabulator-cell {
	color: #2a2038 !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .woo-wallet-transactions-table tr:hover td,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-row:hover,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-row.tabulator-row-even,
[data-theme="light"] .woocommerce-account .digi-myaccount-shell .woo-wallet-my-wallet-container .tabulator-menu .tabulator-menu-item:hover {
	background: #faf7fd !important;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-wrap {
	border: 1px solid rgba(120, 27, 175, 0.1);
	background: #fff;
	box-shadow: 0 8px 24px rgba(40, 22, 69, 0.08);
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table tbody tr:nth-child(even) {
	background: #faf7fd;
}

[data-theme="light"] .woocommerce-account .digi-myaccount-shell .digtiali-subscriptions-table tbody tr:hover {
	background: #f3ecfa;
}

.digi-account-auth {
	--digi-auth-bg: linear-gradient(135deg, #09070f 0%, #150d22 42%, #241338 100%);
	--digi-auth-panel: rgba(14, 11, 22, 0.82);
	--digi-auth-panel-strong: rgba(255, 255, 255, 0.05);
	--digi-auth-border: rgba(255, 255, 255, 0.1);
	--digi-auth-border-strong: rgba(152, 41, 214, 0.28);
	--digi-auth-text: #f6f2fb;
	--digi-auth-text-dim: rgba(246, 242, 251, 0.76);
	--digi-auth-text-mute: rgba(246, 242, 251, 0.56);
	--digi-auth-input: rgba(255, 255, 255, 0.07);
	--digi-auth-input-focus: rgba(120, 27, 175, 0.24);
	--digi-auth-ring: rgba(152, 41, 214, 0.52);
	--digi-auth-accent: #9829d6;
	--digi-auth-accent-2: #d59cff;
	--digi-auth-cta: linear-gradient(135deg, #6d15a5 0%, #9829d6 50%, #b060ff 100%);
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: var(--digi-auth-bg);
	color: var(--digi-auth-text);
}

.digi-account-auth::before,
.digi-account-auth::after {
	content: "";
	position: absolute;
	inset-inline-start: auto;
	border-radius: 999px;
	pointer-events: none;
}

.digi-account-auth::before {
	inset-block-start: -120px;
	inset-inline-end: -60px;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(155, 45, 212, 0.34) 0%, rgba(155, 45, 212, 0) 72%);
}

.digi-account-auth::after {
	inset-block-end: -90px;
	inset-inline-start: -40px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(120, 27, 175, 0.24) 0%, rgba(152, 41, 214, 0) 72%);
}

.digi-account-auth__hero,
.digi-account-auth__grid {
	position: relative;
	z-index: 1;
}

.digi-account-auth__hero {
	margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
	padding: clamp(1.5rem, 2.2vw, 2.5rem);
	border: 1px solid var(--digi-auth-border);
	border-radius: 26px;
	background:
		linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
		radial-gradient(circle at top right, rgba(155, 45, 212, 0.26), transparent 34%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.digi-account-auth__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 36px;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--digi-auth-border-strong);
	border-radius: 999px;
	background: rgba(120, 27, 175, 0.14);
	color: var(--digi-auth-accent);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.digi-account-auth__title {
	max-width: 15ch;
	margin: 1rem 0 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
}

.digi-account-auth__lead {
	max-width: 72ch;
	margin: 1rem 0 0;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--digi-auth-text-dim);
}

.digi-account-auth__benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.digi-account-auth__benefits li {
	position: relative;
	min-height: 100%;
	padding: 1rem 1rem 1rem 3rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--digi-auth-text);
	font-size: 0.95rem;
	line-height: 1.7;
}

.digi-account-auth__benefits li::before {
	content: "";
	position: absolute;
	inset-block-start: 1.05rem;
	inset-inline-start: 1rem;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	background:
		radial-gradient(circle at center, #0e1012 0 28%, transparent 29%),
		linear-gradient(135deg, var(--digi-auth-accent), #d59cff);
	box-shadow: 0 0 0 6px rgba(120, 27, 175, 0.14);
}

.woocommerce-account .digi-account-auth__grid,
#customer_login.digi-account-auth__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1.5rem;
	margin: 0;
	align-items: start !important;
}

.woocommerce-account .digi-account-auth__grid.u-columns,
.woocommerce-account .digi-account-auth__grid .u-column1,
.woocommerce-account .digi-account-auth__grid .u-column2,
.woocommerce-account .digi-account-auth__grid .col-1,
.woocommerce-account .digi-account-auth__grid .col-2,
#customer_login.digi-account-auth__grid > .u-column1,
#customer_login.digi-account-auth__grid > .u-column2 {
	float: none;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	align-self: stretch !important;
	box-sizing: border-box;
}

.digi-account-auth__grid--single {
	max-width: 760px;
	margin-inline: auto;
}

.digi-account-auth__stack {
	width: min(100%, 860px);
	margin-inline: auto;
}

.digi-account-auth__tabs {
	display: inline-grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0 auto 1.1rem;
	padding: 0.45rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(10, 8, 18, 0.72);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.digi-account-auth__tab {
	min-width: 180px;
	padding: 0.9rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--digi-auth-text-dim);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.digi-account-auth__tab:hover,
.digi-account-auth__tab:focus-visible {
	color: #fff;
	outline: none;
}

.digi-account-auth__tab.is-active {
	background: linear-gradient(135deg, rgba(152, 41, 214, 0.28), rgba(120, 27, 175, 0.14));
	box-shadow: inset 0 0 0 1px rgba(152, 41, 214, 0.34), 0 14px 28px rgba(0, 0, 0, 0.2);
	color: #ead5ff;
	transform: translateY(-1px);
}

.digi-account-auth__tab-panels {
	width: 100%;
}

.digi-account-auth__tab-panel[hidden] {
	display: none !important;
}

.digi-account-auth__panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	padding: clamp(1.5rem, 2vw, 2rem);
	border: 1px solid var(--digi-auth-border);
	border-radius: 26px;
	background: var(--digi-auth-panel);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.03),
		0 18px 50px rgba(5, 4, 12, 0.18);
}

.digi-account-auth__panel--register {
	background:
		linear-gradient(180deg, rgba(120, 27, 175, 0.08), rgba(255, 255, 255, 0)),
		var(--digi-auth-panel);
}

.digi-account-auth__panel-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.digi-account-auth__panel-kicker {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: var(--digi-auth-panel-strong);
	color: var(--digi-auth-accent-2);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0;
}

.digi-account-auth__panel-header h2 {
	margin: 0.85rem 0 0;
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1.15;
	color: #fff;
}

.digi-account-auth__panel-header p {
	margin: 0.65rem 0 0;
	color: var(--digi-auth-text-dim);
	font-size: 0.95rem;
	line-height: 1.75;
}

.digi-account-auth__form {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1.1rem;
	margin: 0;
}

.digi-account-auth__field {
	margin: 0;
	padding: 0;
}

.digi-account-auth__field label {
	display: inline-block;
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}

.digi-account-auth__input-wrap {
	position: relative;
	display: block;
}

.digi-account-auth__input-icon {
	position: absolute;
	inset-inline-start: 1rem;
	top: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.15rem;
	height: 1.15rem;
	color: rgba(192, 125, 255, 0.82);
	transform: translateY(-50%);
	pointer-events: none;
}

.digi-account-auth__input-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.digi-account-auth__field .required {
	color: var(--digi-auth-accent);
}

.digi-account-auth__field .input-text,
.digi-account-auth__field input[type="email"],
.digi-account-auth__field input[type="password"],
.digi-account-auth__field input[type="text"],
.woocommerce-account .digi-account-auth .digi-account-auth__input-wrap .input-text,
.woocommerce-account .digi-account-auth .digi-account-auth__input-wrap input[type="email"],
.woocommerce-account .digi-account-auth .digi-account-auth__input-wrap input[type="password"],
.woocommerce-account .digi-account-auth .digi-account-auth__input-wrap input[type="text"] {
	width: 100%;
	min-height: 56px;
	display: block;
	padding-block: 0.95rem !important;
	padding-inline-start: 2.95rem !important;
	padding-inline-end: 1rem !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04)),
		var(--digi-auth-input) !important;
	box-shadow: none;
	color: #fff !important;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.digi-account-auth__field .input-text::placeholder,
.digi-account-auth__field input::placeholder {
	color: var(--digi-auth-text-mute);
}

.digi-account-auth__field .input-text:hover,
.digi-account-auth__field input:hover {
	border-color: rgba(255, 255, 255, 0.2);
}

.digi-account-auth__field .input-text:focus,
.digi-account-auth__field input:focus,
.woocommerce-account .digi-account-auth .digi-account-auth__input-wrap .input-text:focus,
.woocommerce-account .digi-account-auth .digi-account-auth__input-wrap input:focus {
	border-color: rgba(152, 41, 214, 0.66);
	background: var(--digi-auth-input-focus) !important;
	box-shadow: 0 0 0 4px var(--digi-auth-ring);
	color: #fff;
	outline: none;
	transform: translateY(-1px);
}

.digi-account-auth__note {
	position: relative;
	margin: 0;
	padding: 1rem 1rem 1rem 3rem;
	border: 1px solid rgba(120, 27, 175, 0.2);
	border-radius: 18px;
	background: rgba(120, 27, 175, 0.14);
	color: var(--digi-auth-text);
	font-size: 0.95rem;
	line-height: 1.75;
}

.digi-account-auth__note::before {
	content: "";
	position: absolute;
	inset-block-start: 1.05rem;
	inset-inline-start: 1rem;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--digi-auth-accent), #e8d5ff);
	box-shadow: 0 0 0 5px rgba(120, 27, 175, 0.16);
}

.digi-account-auth__submit-wrap {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin-top: 0.15rem;
	padding-top: 0.45rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.digi-account-auth__submit-wrap .digi-account-auth__button,
.digi-account-auth__submit-wrap button[type="submit"] {
	width: 100%;
	min-width: 0;
}

.digi-account-auth__remember {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
	color: var(--digi-auth-text-dim);
	font-size: 0.95rem;
	cursor: pointer;
}

.digi-account-auth__remember input[type="checkbox"] {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	accent-color: #9829d6;
}

.digi-account-auth__button,
.woocommerce-account .digi-account-auth .button,
.woocommerce-account .digi-account-auth button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.95rem 1.4rem;
	border: 0;
	border-radius: 18px;
	background: var(--digi-auth-cta);
	box-shadow: 0 16px 34px rgba(152, 41, 214, 0.3);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.digi-account-auth__button:hover,
.woocommerce-account .digi-account-auth .button:hover,
.woocommerce-account .digi-account-auth button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 38px rgba(152, 41, 214, 0.36);
	filter: saturate(1.04);
}

.digi-account-auth__button:focus-visible,
.woocommerce-account .digi-account-auth .button:focus-visible,
.woocommerce-account .digi-account-auth button[type="submit"]:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 0 0 8px rgba(152, 41, 214, 0.42);
}

.digi-account-auth__button:disabled,
.woocommerce-account .digi-account-auth button[type="submit"]:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.digi-account-auth__support-link {
	margin: auto 0 0;
	padding-top: 0.4rem;
}

.digi-account-auth__support-link a {
	color: var(--digi-auth-accent-2);
	font-weight: 700;
	text-decoration: none;
}

.digi-account-auth__support-link a:hover,
.digi-account-auth__support-link a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.woocommerce-account .digi-account-auth .woocommerce-form-login .show-password-input,
.woocommerce-account .digi-account-auth .woocommerce-form-register .show-password-input {
	inset-inline-end: 0.95rem;
	top: 50%;
	z-index: 3;
	width: 1.4rem;
	height: 1.4rem;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.72);
}

.woocommerce-account .digi-account-auth .password-input {
	display: block;
	position: relative;
	width: 100%;
}

.woocommerce-account .digi-account-auth .password-input input[type="password"],
.woocommerce-account .digi-account-auth .password-input input[type="text"] {
	padding-inline-start: 2.95rem !important;
	padding-inline-end: 3rem !important;
}

.woocommerce-account .digi-account-auth .form-row-last,
.woocommerce-account .digi-account-auth .form-row-first {
	width: 100%;
}

.woocommerce-account .digi-account-auth .woocommerce-password-strength,
.woocommerce-account .digi-account-auth .woocommerce-password-hint,
.woocommerce-account .digi-account-auth .woocommerce-password-strength + .woocommerce-password-hint {
	margin-top: 0.6rem;
	font-size: 0.875rem;
	color: var(--digi-auth-text-dim);
}

.woocommerce-account .digi-account-auth .woocommerce-password-strength {
	padding: 0.8rem 0.95rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
}

.woocommerce-account .digi-account-auth .woocommerce-password-strength.strong {
	background: rgba(120, 27, 175, 0.16);
	color: #dbb8ff;
}

.woocommerce-account .digi-account-auth .woocommerce-password-strength.short,
.woocommerce-account .digi-account-auth .woocommerce-password-strength.bad {
	background: rgba(255, 96, 96, 0.12);
	color: #ffc0c0;
}

.woocommerce-account .digi-account-auth .woocommerce-privacy-policy-text,
.woocommerce-account .digi-account-auth .woocommerce-privacy-policy-text p {
	margin: 0;
	color: var(--digi-auth-text-mute);
	font-size: 0.88rem;
	line-height: 1.7;
}

.woocommerce-account .digi-account-auth .woocommerce-privacy-policy-text a {
	color: var(--digi-auth-accent-2);
}

.woocommerce-account .digi-account-auth .form-row {
	width: 100%;
}

/* ─── Laptop optimization (1280px – 861px) ─── */
@media (max-width: 1280px) and (min-width: 861px) {
	.digi-myaccount-shell {
		grid-template-columns: 230px minmax(0, 1fr);
		padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 3.5rem) !important;
		gap: clamp(1.25rem, 2.5vw, 2rem) !important;
	}
}

@media (max-width: 1080px) {
	.digi-myaccount-shell {
		grid-template-columns: 220px minmax(0, 1fr);
		padding-inline: clamp(1.5rem, 5vw, 3rem) !important;
		gap: clamp(1.25rem, 2.5vw, 2rem);
	}

	/* grid-template-columns handles column widths — no override needed */
}

@media (max-width: 860px) {
	.digi-myaccount-shell {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding-inline: clamp(1.5rem, 5vw, 3rem) !important;
		padding-block: 1rem;
	}
	.digi-myaccount-shell .woocommerce-MyAccount-content {
		margin-inline-start: 0;
	}

	/* Single-column: width resets are handled by grid-template-columns: 1fr */

	.digi-myaccount-shell .woocommerce-MyAccount-navigation {
		position: static;
		padding: 0.9rem 0.75rem 0.9rem 0;
		border-radius: 14px;
	}

	.digi-myaccount-shell .woocommerce-MyAccount-navigation::before {
		display: none;
	}

	/* Horizontal scrollable pill nav on mobile */
	.digi-myaccount-shell .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0.375rem;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 0.1rem;
	}

	.digi-myaccount-shell .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	.digi-myaccount-shell .woocommerce-MyAccount-navigation li {
		flex-shrink: 0;
	}

	.digi-myaccount-shell .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
		margin-inline-start: auto;
	}

	.digi-myaccount-shell .woocommerce-MyAccount-navigation a {
		min-height: 40px;
		padding: 0.5rem 0.8rem;
		font-size: 0.875rem;
		white-space: nowrap;
	}

	.digi-myaccount-shell .woocommerce-MyAccount-content {
		padding: clamp(1.25rem, 3vw, 1.75rem);
		border-radius: 18px;
		min-height: auto;
	}
}

@media (max-width: 480px) {
	.digi-myaccount-shell {
		padding-inline: clamp(0.75rem, 4vw, 1.25rem);
	}
}

@media (max-width: 980px) {
	.digi-account-auth {
		padding: 0;
		border-radius: 0;
		width: 100%;
	}

	.digi-account-auth__benefits,
	.woocommerce-account .digi-account-auth__grid,
	#customer_login.digi-account-auth__grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		justify-content: initial !important;
	}

	.woocommerce-account .digi-account-auth__grid .u-column1,
	.woocommerce-account .digi-account-auth__grid .u-column2,
	.woocommerce-account .digi-account-auth__grid .col-1,
	.woocommerce-account .digi-account-auth__grid .col-2,
	#customer_login.digi-account-auth__grid > .u-column1,
	#customer_login.digi-account-auth__grid > .u-column2 {
		width: 100% !important;
		max-width: none !important;
	}

	.digi-account-auth__title {
		max-width: none;
	}

	.digi-account-auth__stack {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.digi-account-auth__tabs {
		display: grid;
		width: 100%;
	}

	.digi-account-auth__tab {
		min-width: 0;
		width: 100%;
	}

	.digi-account-auth__hero,
	.digi-account-auth__panel {
		padding: 1rem;
		border-radius: 22px;
	}

	.digi-account-auth__lead,
	.digi-account-auth__benefits li,
	.digi-account-auth__panel-header p {
		font-size: 0.92rem;
	}

	.digi-account-auth__submit-wrap {
		flex-direction: column;
		align-items: stretch;
	}

	.digi-account-auth__button,
	.woocommerce-account .digi-account-auth .button,
	.woocommerce-account .digi-account-auth button[type="submit"] {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.digi-account-auth *,
	.digi-account-auth *::before,
	.digi-account-auth *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

/* ═══════════════════════════════════════════════════════
   AUTH GATE — login / lost password (no page scroll)
   ═══════════════════════════════════════════════════════ */

html:has(body.digi-auth-gate),
body.digi-auth-gate {
	overflow: hidden !important;
	height: 100dvh;
	max-height: 100dvh;
	width: 100%;
}

body.digi-auth-gate .wp-site-blocks {
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	height: 100dvh;
	max-height: 100dvh;
	overflow: hidden;
	overscroll-behavior: none;
}

body.digi-auth-gate .wp-site-blocks > header,
body.digi-auth-gate .wp-site-blocks > .wp-block-template-part:has(#digi-announce),
body.digi-auth-gate .wp-site-blocks > div:has(#digi-announce) {
	flex: 0 0 auto;
}

body.digi-auth-gate main.wp-block-group,
body.digi-auth-gate .wp-site-blocks > main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.75rem 1rem !important;
	overflow: visible;
}

body.digi-auth-gate main .wp-block-group,
body.digi-auth-gate main .wp-block-post-content,
body.digi-auth-gate main .entry-content {
	min-height: 0;
	width: 100% !important;
	max-width: none !important;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

body.digi-auth-gate .woocommerce {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: none !important;
	min-height: 0;
}

body.digi-auth-gate .woocommerce-MyAccount-content {
	width: 100% !important;
	max-width: none !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

body.digi-auth-gate .woocommerce-notices-wrapper {
	order: -1;
	flex: 0 0 auto;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	padding: 0 0 0.35rem;
}

body.digi-auth-gate .wp-site-blocks > footer,
body.digi-auth-gate footer.wp-block-template-part,
body.digi-auth-gate footer,
body.digi-auth-gate .digi-footer {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════
   AUTH CARD — single centered container (login / register / lost pw)
   ═══════════════════════════════════════════════════════ */

body.digi-auth-gate .digi-auth-card {
	position: relative;
	z-index: 1;
	flex: 0 1 auto;
	align-self: center;
	width: 100%;
	max-width: 400px;
	max-height: none;
	margin-inline: auto !important;
	padding: 1.15rem 1.2rem 1.05rem;
	overflow: visible;
	border: 1px solid var(--digi-line, rgba(255, 255, 255, 0.08));
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	box-sizing: border-box;
}

body.digi-auth-gate section.digi-account-auth.digi-auth-card {
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
	padding: 1.15rem 1.2rem 1.05rem;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.04) !important;
	overflow: visible;
}

body.digi-auth-gate .digi-account-auth.digi-auth-card {
	overflow: visible;
}

body.digi-auth-gate .digi-account-auth.digi-auth-card::before,
body.digi-auth-gate .digi-account-auth.digi-auth-card::after {
	display: none !important;
}

.digi-auth-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.72rem;
	width: 100%;
	overflow: visible;
}

.digi-auth-card__body[hidden] {
	display: none !important;
}

/* Legacy split layout — hero removed, wrapper flattened */
.digi-auth-split::before,
.digi-auth-split::after {
	display: none !important;
}

.digi-auth-split {
	display: contents;
}

/* ── Hero panel removed from layout ── */
.digi-auth-split__hero {
	display: none !important;
}

.digi-auth-split__glows {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.digi-auth-split__glows::before {
	content: '';
	position: absolute;
	top: -80px;
	inset-inline-end: -60px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(120, 27, 175, 0.55) 0%, transparent 68%);
}

.digi-auth-split__glows::after {
	content: '';
	position: absolute;
	bottom: 80px;
	inset-inline-start: -60px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(152, 41, 214, 0.28) 0%, transparent 68%);
}

.digi-auth-split__hero-body {
	position: relative;
	z-index: 1;
}

.digi-auth-split__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(152, 41, 214, 0.38);
	border-radius: 999px;
	background: rgba(120, 27, 175, 0.14);
	color: #c07dff;
	font-size: 0.83rem;
	font-weight: 700;
	margin-bottom: 1.75rem;
}

.digi-auth-split__heading {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 3.5vw, 2.9rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #fff;
}

.digi-auth-split__heading span {
	color: #c07dff;
}

.digi-auth-split__sub {
	margin: 0 0 2rem;
	font-size: 0.97rem;
	line-height: 1.9;
	color: rgba(246, 242, 251, 0.7);
}

/* Stats */
.digi-auth-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.digi-auth-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 1rem 0.6rem;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	text-align: center;
}

.digi-auth-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	flex-shrink: 0;
}

.digi-auth-stat__icon--purple {
	background: rgba(120, 27, 175, 0.25);
	color: #c07dff;
}

.digi-auth-stat__icon--green {
	background: rgba(52, 211, 90, 0.2);
	color: #5dea78;
}

.digi-auth-stat__icon--lime {
	background: rgba(120, 27, 175, 0.22);
	color: #9829d6;
}

.digi-auth-stat strong {
	display: block;
	font-size: 1.1rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.digi-auth-stat span {
	font-size: 0.78rem;
	color: rgba(246, 242, 251, 0.6);
	line-height: 1.3;
}

/* Planet orb */
.digi-auth-split__planet {
	position: relative;
	z-index: 1;
	align-self: center;
	width: clamp(140px, 22vw, 220px);
	height: clamp(140px, 22vw, 220px);
	margin: 1.5rem auto;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 38%, #1e1060 0%, #0d0822 55%, #050310 100%);
	box-shadow:
		0 0 0 1px rgba(120, 27, 175, 0.3),
		0 0 60px rgba(120, 27, 175, 0.35),
		0 0 120px rgba(120, 27, 175, 0.15),
		inset 0 -40px 80px rgba(120, 27, 175, 0.14),
		inset 20px 0 60px rgba(120, 27, 175, 0.2);
	overflow: hidden;
}

.digi-auth-split__planet::before {
	content: '';
	position: absolute;
	bottom: -20px;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	width: 160%;
	height: 60%;
	border-radius: 50%;
	background: radial-gradient(ellipse at center bottom, rgba(152, 41, 214, 0.28) 0%, transparent 70%);
}

/* Security badge */
.digi-auth-split__security {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.digi-auth-split__security-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 14px;
	background: rgba(120, 27, 175, 0.22);
	color: #c07dff;
}

.digi-auth-split__security p,
.digi-auth-split__security div {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.65;
	color: rgba(246, 242, 251, 0.7);
}

.digi-auth-split__security strong {
	color: #fff;
	font-weight: 700;
}

/* ── Centered form card (legacy aliases — use .digi-auth-card) ── */
.digi-auth-split__form,
.digi-auth-register-panel {
	display: contents;
}

.digi-auth-split__form-inner,
.digi-auth-register-panel__inner {
	display: contents;
}

.digi-auth-split__form-header {
	text-align: center;
	margin-bottom: 0;
}

.digi-auth-split__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.32rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(152, 41, 214, 0.32);
	background: rgba(120, 27, 175, 0.14);
	color: #d59cff;
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 0.45rem;
	letter-spacing: 0.01em;
}

.digi-auth-split__form-header h2 {
	margin: 0 0 0.25rem;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 900;
	line-height: 1.15;
	background: linear-gradient(135deg, #ffffff 0%, #ead5ff 60%, #c07dff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.digi-auth-split__form-header p {
	margin: 0;
	font-size: 0.84rem;
	color: var(--digi-ink-dim, rgba(213, 156, 255, 0.72));
	line-height: 1.45;
}

/* ── Method tab switcher ── */
.digi-auth-methods {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.3rem;
	padding: 0.3rem;
	border: 1px solid var(--digi-line, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
}

.digi-auth-method {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.55rem 0.65rem;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--digi-ink-mute, rgba(246, 242, 251, 0.55));
	font-size: 0.82rem;
	font-weight: 700;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.digi-auth-method:hover {
	color: rgba(246, 242, 251, 0.85);
}

.digi-auth-method.is-active {
	background: rgba(120, 27, 175, 0.2);
	color: #c07dff;
	box-shadow: inset 0 0 0 1px rgba(152, 41, 214, 0.38);
}

/* ── Method panels ── */
.digi-auth-method-panel[hidden] {
	display: none !important;
}

.digi-auth-method-panel {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	overflow: visible;
}

/* ── Phone field ── */
.digi-auth-phone-field {
	position: relative;
	overflow: visible;
}
.digi-auth-phone-field label {
	display: block;
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 0.93rem;
	font-weight: 700;
	text-align: start;
}

.digi-auth-phone-row {
	position: relative;
	display: flex;
	align-items: stretch;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06);
	overflow: visible;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	min-height: 44px;
}

.digi-auth-phone-row:focus-within {
	border-color: rgba(152, 41, 214, 0.62);
	box-shadow: 0 0 0 4px rgba(120, 27, 175, 0.2);
}

.digi-auth-country-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0 0.6rem;
	min-height: 44px;
	border: 0;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px 0 0 18px;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s ease;
	white-space: nowrap;
}

.digi-auth-country-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.digi-auth-country-flag {
	font-size: 1.15rem;
	line-height: 1;
}

.digi-auth-country-dial {
	font-size: 0.88rem;
	opacity: 0.9;
}

/* Country dropdown wrapper */
.digi-auth-country-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	inset-inline-end: auto;
	inset-inline-start: 0;
	z-index: 9999;
	min-width: 240px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: #1a1228;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	overflow: hidden;
}

.digi-auth-country-dropdown[hidden] {
	display: none !important;
}

.digi-auth-country-search-wrap {
	padding: 0.45rem;
	background: #1a1228;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.digi-auth-country-search {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.42rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	font-size: 0.84rem;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	outline: none;
	box-shadow: none;
	transition: border-color 0.15s ease;
}

.digi-auth-country-search:focus {
	border-color: rgba(152, 41, 214, 0.55);
}

.digi-auth-country-search::placeholder {
	color: rgba(246, 242, 251, 0.38);
}

/* Country dropdown list */
.digi-auth-country-list {
	max-height: 240px;
	overflow-y: auto;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.digi-auth-country-list li[hidden] {
	display: none !important;
}

.digi-auth-country-list li {
	padding: 0.45rem 0.75rem;
	border-radius: 10px;
	font-size: 0.85rem;
	color: rgba(246, 242, 251, 0.8);
	cursor: pointer;
	transition: background 0.13s ease;
	white-space: nowrap;
}

.digi-auth-country-list li:hover,
.digi-auth-country-list li[aria-selected="true"] {
	background: rgba(120, 27, 175, 0.18);
	color: #c07dff;
}

.digi-auth-phone-input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0.5rem 0.85rem !important;
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 0.95rem;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	outline: none;
	box-shadow: none !important;
	border-radius: 0 18px 18px 0;
	direction: ltr;
	text-align: start;
}

.digi-auth-phone-input::placeholder {
	color: rgba(246, 242, 251, 0.4);
}

.digi-auth-phone-icon {
	position: absolute;
	inset-inline-end: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(246, 242, 251, 0.45);
	pointer-events: none;
	display: inline-flex;
}

/* ── WhatsApp send button ── */
.digi-auth-whatsapp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 1rem;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #781BAF 0%, #9B2DD4 100%);
	box-shadow: 0 8px 24px rgba(120, 27, 175, 0.32);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.digi-auth-whatsapp-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 36px rgba(152, 41, 214, 0.46);
	filter: saturate(1.05);
}

.digi-auth-otp-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.digi-auth-otp-field[hidden],
#digi-verify-otp[hidden] {
	display: none !important;
}

.digi-auth-otp-field label {
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	text-align: center;
	width: 100%;
}

.digi-auth-otp-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.65rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 1rem;
	font-family: inherit;
	letter-spacing: 0.12em;
	text-align: center;
}

.digi-auth-otp-input:focus {
	outline: none;
	border-color: rgba(152, 41, 214, 0.62);
	box-shadow: 0 0 0 4px rgba(120, 27, 175, 0.2);
}

.digi-auth-whatsapp-btn--verify {
	background: linear-gradient(135deg, #25bf67, #16964f);
	box-shadow: 0 8px 24px rgba(30, 154, 87, 0.28);
}

.digi-auth-otp-msg {
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	font-size: 0.85rem;
	text-align: center;
	background: rgba(120, 27, 175, 0.14);
	color: #d59cff;
	border: 1px solid rgba(152, 41, 214, 0.28);
}

.digi-auth-otp-msg.is-success {
	background: rgba(30, 154, 87, 0.12);
	border-color: rgba(30, 154, 87, 0.28);
	color: #7ddea8;
}

.digi-auth-otp-msg.is-error {
	background: rgba(220, 50, 50, 0.12);
	border-color: rgba(220, 50, 50, 0.28);
	color: #ffbdbd;
}

/* ── OR divider ── */
.digi-auth-or {
	display: flex;
	align-items: center;
	gap: 0;
	color: rgba(246, 242, 251, 0.45);
	font-size: 0.88rem;
	font-weight: 700;
}

.digi-auth-or::before,
.digi-auth-or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
}

.digi-auth-or span {
	padding: 0 0.9rem;
}

/* ── Google button ── */
.digi-auth-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 42px;
	padding: 0.6rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #fff;
	color: #3c3c3c;
	font-size: 0.88rem;
	font-weight: 700;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
	transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.digi-auth-google-btn:hover {
	background: #f8f8f8;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
}

.digi-auth-google-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

/* Google configured wrapper */
.digi-auth-google-wrap {
	position: relative;
	width: 100%;
}

.digi-auth-google-wrap .digi-google-auth__separator {
	display: none;
}

.digi-auth-google-wrap .digi-google-auth__message {
	margin-top: 0.45rem;
	text-align: center;
	font-size: 0.87rem;
	color: rgba(246, 242, 251, 0.72);
}

.digi-auth-google-wrap .digi-google-auth__message.is-error {
	color: #ffbdbd;
}

/* ── Footer row: forgot password + remember me ── */
.digi-auth-split__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.45rem;
	border-top: 1px solid var(--digi-line, rgba(255, 255, 255, 0.07));
}

.digi-auth-forgot {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: #d59cff;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}

.digi-auth-forgot:hover {
	color: #fff;
}

.digi-auth-remember-visual {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: rgba(246, 242, 251, 0.65);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.digi-auth-remember-visual input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.digi-auth-remember-visual input[type="checkbox"]:checked {
	background: #9829d6;
	border-color: #9829d6;
}

.digi-auth-remember-visual input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	inset-block-start: 1px;
	inset-inline-start: 3px;
	width: 4px;
	height: 7px;
	border: 2px solid #fff;
	border-top: none;
	border-inline-start: none;
	transform: rotate(45deg);
}

/* ── Registration view (same card shell as login) ── */
#digi-method-panel-register .woocommerce-form-register,
.digi-auth-card #digi-register-panel .woocommerce-form-register {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* ── Register row ── */
.digi-auth-register-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding-top: 0;
	font-size: 0.82rem;
	color: var(--digi-ink-mute, rgba(246, 242, 251, 0.55));
}

.digi-auth-register-link {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	font-size: inherit;
	color: #9829d6;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}

.digi-auth-register-link:hover {
	color: #fff;
}

/* ── Reset WooCommerce form box styles inside password panel ── */
#digi-method-panel-password .woocommerce-form,
#digi-method-panel-password .woocommerce-form-login {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* ── Remove phone icon span (replaced by cleaner layout) ── */
.digi-auth-phone-icon {
	display: none;
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE — auth gate background + login card
   ═══════════════════════════════════════════════════════ */

[data-theme="light"] html:has(body.digi-auth-gate) {
	background-color: var(--digi-bg);
}

[data-theme="light"] body.digi-auth-gate {
	position: relative;
	isolation: isolate;
	background: var(--digi-bg) !important;
	color: var(--digi-ink);
}

[data-theme="light"] body.digi-auth-gate::before {
	content: "";
	display: block !important;
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 540px at 80% -10%, rgba(120, 27, 175, 0.24), transparent 62%),
		radial-gradient(700px 480px at -10% 30%, rgba(155, 45, 212, 0.16), transparent 62%),
		radial-gradient(1100px 700px at 50% 110%, rgba(90, 18, 128, 0.14), transparent 65%),
		var(--digi-bg);
}

[data-theme="light"] body.digi-auth-gate::after {
	content: "";
	display: block;
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(120, 27, 175, 0.07) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: radial-gradient(1200px 800px at 50% 30%, #000 40%, transparent 80%);
	-webkit-mask-image: radial-gradient(1200px 800px at 50% 30%, #000 40%, transparent 80%);
	opacity: 0.4;
}

[data-theme="light"] body.digi-auth-gate .wp-site-blocks,
[data-theme="light"] body.digi-auth-gate main.wp-block-group,
[data-theme="light"] body.digi-auth-gate .wp-block-post-content {
	background: transparent !important;
}

[data-theme="light"] body.digi-auth-gate .wp-site-blocks {
	position: fixed;
	z-index: 1;
}

[data-theme="light"] .digi-account-auth.digi-auth-card {
	--digi-auth-text: var(--digi-ink);
	--digi-auth-text-dim: var(--digi-ink-dim);
	--digi-auth-text-mute: var(--digi-ink-mute);
	--digi-auth-border: rgba(120, 27, 175, 0.12);
	--digi-auth-border-strong: rgba(120, 27, 175, 0.22);
	--digi-auth-input: #fff;
	--digi-auth-input-focus: #fff;
	--digi-auth-ring: rgba(120, 27, 175, 0.18);
	background: rgba(255, 255, 255, 0.94);
	color: var(--digi-ink);
}

[data-theme="light"] body.digi-auth-gate .digi-auth-card,
[data-theme="light"] .digi-account-auth.digi-auth-card {
	background: rgba(255, 255, 255, 0.94);
	border-color: rgba(120, 27, 175, 0.12);
	box-shadow:
		0 20px 60px rgba(78, 0, 120, 0.1),
		0 0 0 1px rgba(120, 27, 175, 0.06);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .digi-auth-split__kicker,
[data-theme="light"] .digi-lostpw__kicker {
	color: #781baf;
	background: rgba(120, 27, 175, 0.08);
	border-color: rgba(120, 27, 175, 0.18);
}

[data-theme="light"] .digi-auth-split__form-header h2,
[data-theme="light"] .digi-lostpw__title {
	background: linear-gradient(135deg, #1a0a2e 0%, #5a1280 55%, #781baf 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

[data-theme="light"] .digi-auth-split__form-header p,
[data-theme="light"] .digi-lostpw__sub {
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-methods {
	background: rgba(120, 27, 175, 0.05);
	border-color: rgba(120, 27, 175, 0.12);
}

[data-theme="light"] .digi-auth-method {
	color: var(--digi-ink-mute);
}

[data-theme="light"] .digi-auth-method:hover {
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-method.is-active {
	background: rgba(120, 27, 175, 0.12);
	color: #781baf;
	box-shadow: inset 0 0 0 1px rgba(120, 27, 175, 0.28);
}

[data-theme="light"] .digi-auth-phone-field label,
[data-theme="light"] .digi-auth-otp-field label,
[data-theme="light"] .digi-lostpw__field label,
[data-theme="light"] .digi-auth-card .digi-account-auth__field label {
	color: var(--digi-ink);
}

[data-theme="light"] .digi-auth-phone-row,
[data-theme="light"] .digi-auth-otp-input,
[data-theme="light"] .digi-lostpw__input {
	border-color: rgba(120, 27, 175, 0.14) !important;
	background: #fff !important;
}

[data-theme="light"] .digi-auth-phone-row:focus-within,
[data-theme="light"] .digi-auth-otp-input:focus,
[data-theme="light"] .digi-lostpw__input:focus {
	border-color: rgba(120, 27, 175, 0.45) !important;
	box-shadow: 0 0 0 4px rgba(120, 27, 175, 0.12) !important;
}

[data-theme="light"] .digi-auth-country-btn {
	border-inline-end-color: rgba(0, 0, 0, 0.08);
	background: transparent;
	color: var(--digi-ink);
}

[data-theme="light"] .digi-auth-country-btn:hover {
	background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .digi-auth-phone-input {
	color: var(--digi-ink) !important;
}

[data-theme="light"] .digi-auth-phone-input::placeholder,
[data-theme="light"] .digi-lostpw__input::placeholder {
	color: var(--digi-ink-mute);
}

[data-theme="light"] .digi-auth-country-dropdown {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .digi-auth-country-search-wrap {
	display: none;
}

[data-theme="light"] .digi-auth-country-list {
	padding: 0.25rem 0;
	scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

[data-theme="light"] .digi-auth-country-list li {
	padding: 0.5rem 0.9rem;
	border-radius: 0;
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-country-list li:hover,
[data-theme="light"] .digi-auth-country-list li[aria-selected="true"] {
	background: rgba(120, 27, 175, 0.05);
	color: var(--digi-ink);
}

[data-theme="light"] .digi-auth-otp-input {
	color: var(--digi-ink);
}

[data-theme="light"] .digi-auth-otp-msg {
	background: rgba(120, 27, 175, 0.08);
	border-color: rgba(120, 27, 175, 0.18);
	color: #5a1280;
}

[data-theme="light"] .digi-auth-otp-msg.is-success {
	background: rgba(30, 154, 87, 0.1);
	border-color: rgba(30, 154, 87, 0.22);
	color: #1a7a45;
}

[data-theme="light"] .digi-auth-otp-msg.is-error {
	background: rgba(196, 75, 58, 0.1);
	border-color: rgba(196, 75, 58, 0.22);
	color: #9b2d22;
}

[data-theme="light"] .digi-auth-or {
	color: var(--digi-ink-mute);
}

[data-theme="light"] .digi-auth-or::before,
[data-theme="light"] .digi-auth-or::after {
	background: rgba(120, 27, 175, 0.12);
}

[data-theme="light"] .digi-auth-google-wrap .digi-google-auth__message {
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-google-wrap .digi-google-auth__message.is-error {
	color: #9b2d22;
}

[data-theme="light"] .digi-auth-split__footer,
[data-theme="light"] .digi-lostpw__footer {
	border-top-color: rgba(120, 27, 175, 0.1);
}

[data-theme="light"] .digi-auth-forgot,
[data-theme="light"] .digi-lostpw__back {
	color: #781baf;
}

[data-theme="light"] .digi-auth-forgot:hover,
[data-theme="light"] .digi-lostpw__back:hover {
	color: #5a1280;
}

[data-theme="light"] .digi-auth-remember-visual {
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-remember-visual input[type="checkbox"] {
	border-color: rgba(120, 27, 175, 0.28);
	background: #fff;
}

[data-theme="light"] .digi-auth-register-row {
	color: var(--digi-ink-mute);
}

[data-theme="light"] .digi-auth-register-link {
	color: #781baf;
}

[data-theme="light"] .digi-auth-register-link:hover {
	color: #5a1280;
}

[data-theme="light"] .digi-auth-card .digi-account-auth__field .input-text,
[data-theme="light"] .digi-auth-card .digi-account-auth__field input[type="email"],
[data-theme="light"] .digi-auth-card .digi-account-auth__field input[type="password"],
[data-theme="light"] .digi-auth-card .digi-account-auth__field input[type="text"],
[data-theme="light"] .digi-auth-card .digi-account-auth__input-wrap .input-text,
[data-theme="light"] .digi-auth-card .digi-account-auth__input-wrap input {
	border-color: rgba(120, 27, 175, 0.14) !important;
	background: #fff !important;
	color: var(--digi-ink) !important;
	box-shadow: none;
}

[data-theme="light"] .digi-auth-card .digi-account-auth__field .input-text::placeholder,
[data-theme="light"] .digi-auth-card .digi-account-auth__field input::placeholder {
	color: var(--digi-ink-mute);
}

[data-theme="light"] .digi-auth-card .digi-account-auth__field .input-text:focus,
[data-theme="light"] .digi-auth-card .digi-account-auth__field input:focus {
	border-color: rgba(120, 27, 175, 0.45) !important;
	box-shadow: 0 0 0 4px rgba(120, 27, 175, 0.12) !important;
	color: var(--digi-ink);
}

[data-theme="light"] .digi-auth-card .digi-account-auth__input-icon {
	color: rgba(120, 27, 175, 0.55);
}

[data-theme="light"] .digi-auth-card .digi-account-auth__submit-wrap {
	border-top-color: rgba(120, 27, 175, 0.1);
}

[data-theme="light"] .digi-auth-card .digi-account-auth__remember {
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-card .digi-account-auth__note {
	background: rgba(120, 27, 175, 0.08);
	border-color: rgba(120, 27, 175, 0.16);
	color: var(--digi-ink-dim);
}

[data-theme="light"] .digi-auth-card .woocommerce-account .digi-account-auth .show-password-input {
	color: var(--digi-ink-mute);
}

[data-theme="light"] .digi-lostpw__icon {
	color: #781baf;
	background: linear-gradient(135deg, rgba(120, 27, 175, 0.14) 0%, rgba(152, 41, 214, 0.08) 100%);
	border-color: rgba(120, 27, 175, 0.2);
	box-shadow: 0 8px 24px rgba(120, 27, 175, 0.12);
}

[data-theme="light"] .digi-lostpw__input-icon {
	color: rgba(120, 27, 175, 0.55);
}

[data-theme="light"] .digi-lostpw__field .required {
	color: #781baf;
}

[data-theme="light"] body.digi-auth-gate .woocommerce-notices-wrapper .woocommerce-error,
[data-theme="light"] body.digi-auth-gate .woocommerce-notices-wrapper .woocommerce-info,
[data-theme="light"] body.digi-auth-gate .woocommerce-notices-wrapper .woocommerce-message,
[data-theme="light"] .digi-lostpw .woocommerce-error,
[data-theme="light"] .digi-lostpw .woocommerce-info,
[data-theme="light"] .digi-lostpw .woocommerce-message {
	border-color: rgba(120, 27, 175, 0.16);
	background: rgba(255, 255, 255, 0.92);
	color: var(--digi-ink);
	box-shadow: 0 8px 24px rgba(78, 0, 120, 0.08);
}

/* ── Responsive ── */
@media (max-width: 860px) {
	body.digi-auth-gate .digi-auth-card {
		max-width: 100%;
	}

	[data-theme="light"] body.digi-auth-gate main.wp-block-group {
		padding: 0.65rem 0.85rem !important;
	}
}

@media (max-width: 540px) {
	body.digi-auth-gate .digi-auth-card {
		padding: 1.15rem 1rem 1rem;
		border-radius: 18px;
	}

	.digi-auth-methods {
		grid-template-columns: 1fr;
	}

	.digi-auth-split__footer {
		flex-direction: column-reverse;
		align-items: flex-start;
	}

	[data-theme="light"] body.digi-auth-gate main.wp-block-group {
		padding: 0.5rem 0.75rem !important;
	}

	[data-theme="light"] body.digi-auth-gate .digi-auth-card {
		border-radius: 18px;
	}

	[data-theme="light"] .digi-auth-country-dropdown {
		min-width: min(240px, calc(100vw - 2rem));
	}
}

/* ═══════════════════════════════════════════════════════
   LOST PASSWORD PAGE — centered card, full-width dark bg
   ═══════════════════════════════════════════════════════ */

.digi-lostpw {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 0;
	flex: 0 1 auto;
	align-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
	padding: 1.25rem 1.2rem;
	box-sizing: border-box;
	background: transparent;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
}

body.digi-auth-gate .digi-lostpw.digi-auth-card {
	padding: 1.25rem 1.2rem;
}

.digi-lostpw__glows,
.digi-lostpw__card {
	display: none;
}

/* Lock icon */
.digi-lostpw__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(120, 27, 175, 0.3) 0%, rgba(152, 41, 214, 0.18) 100%);
	border: 1px solid rgba(152, 41, 214, 0.3);
	box-shadow: 0 8px 24px rgba(120, 27, 175, 0.3);
	color: #c07dff;
}

/* Kicker badge */
.digi-lostpw__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.38rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(152, 41, 214, 0.32);
	background: rgba(120, 27, 175, 0.14);
	color: #c07dff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin-bottom: 0.25rem;
}

/* Header */
.digi-lostpw__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.digi-lostpw__title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.3rem);
	font-weight: 900;
	line-height: 1.12;
	background: linear-gradient(135deg, #ffffff 0%, #ead5ff 60%, #c07dff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.digi-lostpw__sub {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.75;
	color: rgba(213, 156, 255, 0.72);
	max-width: 38ch;
}

/* Form */
.digi-lostpw__form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	margin: 0;
}

.digi-lostpw__field {
	text-align: start;
}

.digi-lostpw__field label {
	display: inline-block;
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 0.93rem;
	font-weight: 700;
}

.digi-lostpw__field .required {
	color: #c07dff;
	margin-inline-start: 0.2rem;
}

.digi-lostpw__input-wrap {
	position: relative;
}

.digi-lostpw__input-icon {
	position: absolute;
	inset-inline-start: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.1rem;
	height: 1.1rem;
	color: rgba(192, 125, 255, 0.8);
	pointer-events: none;
	display: inline-flex;
}

.digi-lostpw__input-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.digi-lostpw__input {
	width: 100%;
	box-sizing: border-box;
	min-height: 56px;
	padding-block: 0.95rem !important;
	padding-inline-start: 2.95rem !important;
	padding-inline-end: 1rem !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 18px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
	font-size: 1rem;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.digi-lostpw__input::placeholder {
	color: rgba(246, 242, 251, 0.4);
}

.digi-lostpw__input:hover {
	border-color: rgba(255, 255, 255, 0.18) !important;
}

.digi-lostpw__input:focus {
	border-color: rgba(152, 41, 214, 0.6) !important;
	box-shadow: 0 0 0 4px rgba(120, 27, 175, 0.2) !important;
	outline: none;
}

/* Submit button */
.digi-lostpw__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	min-height: 54px;
	padding: 0.9rem 1.5rem;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, #6d15a5 0%, #9829d6 50%, #b060ff 100%);
	box-shadow: 0 12px 32px rgba(120, 27, 175, 0.4);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 800;
	font-family: var(--digi-font, 'Cairo', 'Almarai', system-ui, sans-serif);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
	text-decoration: none;
}

.digi-lostpw__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 40px rgba(120, 27, 175, 0.5);
	filter: saturate(1.05);
	color: #fff !important;
}

.digi-lostpw__btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 0 0 8px rgba(152, 41, 214, 0.4);
}

/* Footer / back link */
.digi-lostpw__footer {
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	width: 100%;
	text-align: center;
}

.digi-lostpw__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #d59cff;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}

.digi-lostpw__back:hover {
	color: #fff;
}

/* WooCommerce notices inside lost password */
.woocommerce-account .digi-lostpw .woocommerce-error,
.woocommerce-account .digi-lostpw .woocommerce-info,
.woocommerce-account .digi-lostpw .woocommerce-message {
	border-radius: 14px;
	border: 1px solid rgba(152, 41, 214, 0.2);
	background: rgba(120, 27, 175, 0.1);
	color: #f3ecff;
	margin-bottom: 0;
}

@media (max-width: 600px) {
	body.digi-auth-gate .digi-lostpw.digi-auth-card {
		padding: 1.15rem 1rem;
		border-radius: 18px;
	}
}
