/* HELIXEN ACCOUNT ENHANCER v1.1 — premium portal layout */
body.woocommerce-account {
	--hx-ink:#20283d; --hx-muted:#7c8497; --hx-line:#e8ebf2; --hx-bg:#f5f6fa;
	--hx-accent:#8497d0; --hx-accent-dark:#536ba9; --hx-radius:18px;
	background:var(--hx-bg);
}
body.woocommerce-account .site-content { padding:54px 0 90px; }
body.woocommerce-account .site-content .ast-container {
	width:calc(100% - 64px) !important; max-width:1480px !important;
}
body.woocommerce-account .content-area,
body.woocommerce-account .site-main { width:100% !important; max-width:none !important; }
body.woocommerce-account .woocommerce {
	width:100%; max-width:1360px; margin:0 auto; padding:0;
	color:var(--hx-ink); font-size:15px; line-height:1.65;
}
body.woocommerce-account .entry-title,
body.woocommerce-account .woocommerce > h1 {
	margin:0 0 30px; color:var(--hx-ink); font-size:clamp(30px,3vw,42px);
	font-weight:750; letter-spacing:-1.5px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation {
	float:left; width:258px; margin:0; padding:14px;
	background:#fff; border:1px solid var(--hx-line); border-radius:18px;
	box-shadow:0 12px 36px rgba(35,46,77,.055);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin:0; padding:0; list-style:none; border:0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin:3px 0; padding:0; border:0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display:flex; align-items:center; gap:13px; padding:14px 15px;
	border-radius:11px; color:#586176; font-size:14px; font-weight:600;
	text-decoration:none; transition:all .2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:before {
	display:inline-flex; width:21px; justify-content:center; color:#8a98c4; font-size:17px; line-height:1;
}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a:before {content:"⌂";}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a:before {content:"▤";}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a:before {content:"↓";}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a:before {content:"⌖";}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a:before {content:"▣";}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a:before {content:"◉";}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:before {content:"↗";}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {background:#f4f6fc;color:var(--hx-accent-dark);transform:translateX(2px);}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {background:#edf1fc;color:#405991;font-weight:750;}
body.woocommerce-account .woocommerce-MyAccount-content {
	float:right; width:calc(100% - 292px); min-height:520px; padding:34px;
	background:#fff; border:1px solid var(--hx-line); border-radius:20px;
	box-shadow:0 12px 36px rgba(35,46,77,.055);
}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child { display:none; }
body.woocommerce-account .woocommerce-MyAccount-content p { color:#687187; }
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) { color:var(--hx-accent-dark); font-weight:650; }
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover { color:var(--hx-ink); }

/* Dashboard hero */
body.woocommerce-account .hx-dashboard-hero {
	position:relative; overflow:hidden; min-height:220px; margin:0 0 22px; padding:28px 34px;
	border-radius:17px; color:#fff;
	background:linear-gradient(112deg,#20283f 0%,#303c5d 60%,#465783 100%);
}
body.woocommerce-account .hx-hero-topline { position:relative; z-index:2; display:flex; align-items:center; gap:11px; margin-bottom:22px; }
body.woocommerce-account .hx-avatar {
	display:flex; align-items:center; justify-content:center; width:38px; height:38px;
	border:1px solid rgba(255,255,255,.3); border-radius:50%; background:rgba(255,255,255,.13);
	color:#fff; font-size:15px; font-weight:800;
}
body.woocommerce-account .hx-member-label { color:#d6def5; font-size:10px; font-weight:800; letter-spacing:1.5px; }
body.woocommerce-account .hx-hero-main { position:relative; z-index:2; display:flex; align-items:flex-end; justify-content:space-between; gap:25px; }
body.woocommerce-account .hx-kicker { margin:0 0 6px; color:#bdc9eb !important; font-size:10px; font-weight:800; letter-spacing:1.5px; }
body.woocommerce-account .hx-dashboard-hero h2 {
	margin:0 0 8px; color:#fff; font-size:clamp(27px,3vw,37px); line-height:1.15;
	font-weight:800; letter-spacing:-1.2px;
}
body.woocommerce-account .hx-hero-description { max-width:540px; margin:0; color:#d8deed !important; font-size:14px; }
body.woocommerce-account .hx-hero-button {
	display:inline-flex; flex:0 0 auto; align-items:center; gap:16px; padding:13px 19px;
	border-radius:10px; background:#b9c6ed; color:#263451 !important; font-size:12px; font-weight:800;
	text-decoration:none; transition:all .2s ease;
}
body.woocommerce-account .hx-hero-button:hover { background:#fff; transform:translateY(-2px); }
body.woocommerce-account .hx-hero-decoration {
	position:absolute; right:-70px; top:-145px; width:370px; height:370px;
	border:1px solid rgba(255,255,255,.09); border-radius:50%;
	box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.02);
}

/* Stats */
body.woocommerce-account .hx-stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin:0 0 32px; }
body.woocommerce-account .hx-stat-card {
	display:flex; align-items:center; gap:15px; min-height:112px; padding:19px;
	border:1px solid var(--hx-line); border-radius:14px; background:#fff;
}
body.woocommerce-account .hx-stat-icon {
	display:flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; height:42px;
	border-radius:12px; background:#f0f3fc; color:#637bb9; font-size:20px;
}
body.woocommerce-account .hx-stat-card div { display:flex; flex-direction:column; }
body.woocommerce-account .hx-stat-caption { color:#8790a4; font-size:9px; font-weight:850; letter-spacing:1.1px; }
body.woocommerce-account .hx-stat-card strong { margin:1px 0; color:var(--hx-ink); font-size:26px; line-height:1.2; font-weight:800; }
body.woocommerce-account .hx-stat-card small { color:#9299a9; font-size:11px; }

/* Section headings and shortcut cards */
body.woocommerce-account .hx-dashboard-section { margin:0 0 32px; }
body.woocommerce-account .hx-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; margin:0 0 15px; }
body.woocommerce-account .hx-section-overline { color:#8791a8; font-size:9px; font-weight:850; letter-spacing:1.3px; }
body.woocommerce-account .hx-section-heading h3 { margin:3px 0 0; color:var(--hx-ink); font-size:21px; font-weight:800; letter-spacing:-.5px; }
body.woocommerce-account .hx-section-heading > a { font-size:12px; text-decoration:none; }
body.woocommerce-account .hx-shortcut-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
body.woocommerce-account .hx-shortcut-card {
	display:flex; align-items:center; gap:12px; min-width:0; padding:17px 15px;
	border:1px solid var(--hx-line); border-radius:13px; background:#fff;
	color:var(--hx-ink) !important; text-decoration:none; transition:all .2s ease;
}
body.woocommerce-account .hx-shortcut-card:hover { border-color:#cbd4ef; background:#fbfcff; transform:translateY(-2px); box-shadow:0 8px 20px rgba(40,55,90,.06); }
body.woocommerce-account .hx-shortcut-icon { display:flex; align-items:center; justify-content:center; flex:0 0 37px; width:37px; height:37px; border-radius:10px; background:#f1f3fb; color:#647bb8; font-size:17px; }
body.woocommerce-account .hx-shortcut-card > span:nth-child(2) { display:flex; flex:1; flex-direction:column; min-width:0; }
body.woocommerce-account .hx-shortcut-card strong { color:#303a52; font-size:12px; font-weight:800; }
body.woocommerce-account .hx-shortcut-card small { color:#9299a9; font-size:10px; line-height:1.4; }
body.woocommerce-account .hx-shortcut-card > b { color:#8a98c4; font-size:17px; }

/* Recent orders */
body.woocommerce-account .hx-recent-section { margin-bottom:0; }
body.woocommerce-account .hx-recent-orders { overflow:hidden; border:1px solid var(--hx-line); border-radius:13px; }
body.woocommerce-account .hx-order-row { display:flex; align-items:center; gap:14px; min-height:72px; padding:13px 16px; border-bottom:1px solid var(--hx-line); }
body.woocommerce-account .hx-order-row:last-child { border-bottom:0; }
body.woocommerce-account .hx-order-symbol { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; background:#f1f3fb; color:#7184bd; font-weight:800; }
body.woocommerce-account .hx-order-info { display:flex; flex:1; flex-direction:column; min-width:90px; }
body.woocommerce-account .hx-order-info strong { color:#303a52; font-size:12px; }
body.woocommerce-account .hx-order-info small { color:#9299a9; font-size:10px; }
body.woocommerce-account .hx-order-status { padding:5px 9px; border-radius:20px; background:#f2f3f7; color:#626b7e; font-size:10px; font-weight:750; white-space:nowrap; }
body.woocommerce-account .hx-status-completed { background:#eaf6ef; color:#34825a; }
body.woocommerce-account .hx-status-processing { background:#edf2ff; color:#536ba9; }
body.woocommerce-account .hx-status-on-hold { background:#fff5e6; color:#a57527; }
body.woocommerce-account .hx-order-total { min-width:85px; color:#303a52; font-size:12px; text-align:right; }
body.woocommerce-account .hx-order-view { font-size:11px; white-space:nowrap; text-decoration:none; }
body.woocommerce-account .hx-empty-orders { display:flex; align-items:center; flex-direction:column; padding:32px 20px; border:1px dashed #dce1ec; border-radius:13px; background:#fbfcfe; text-align:center; }
body.woocommerce-account .hx-empty-icon { display:flex; align-items:center; justify-content:center; width:45px; height:45px; margin-bottom:10px; border-radius:13px; background:#eff2fb; color:#7184bd; font-size:20px; }
body.woocommerce-account .hx-empty-orders strong { color:#303a52; font-size:14px; }
body.woocommerce-account .hx-empty-orders p { margin:4px 0 12px; font-size:12px; }
body.woocommerce-account .hx-empty-orders a { font-size:12px; text-decoration:none; }

/* Shared WooCommerce account elements */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table { width:100%; border:1px solid var(--hx-line); border-radius:12px; border-collapse:separate; border-spacing:0; overflow:hidden; font-size:13px; }
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th { background:#f7f8fb; color:#596276; font-size:10px; font-weight:800; letter-spacing:.45px; text-transform:uppercase; }
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td { padding:14px 13px; border-color:var(--hx-line); }
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button,
body.woocommerce-account .woocommerce-MyAccount-content input[type=submit] {
	min-height:43px; padding:11px 18px; border:0; border-radius:9px; background:var(--hx-accent);
	color:#fff; font-size:12px; font-weight:800; text-transform:none; box-shadow:none;
}
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input[type=submit]:hover { background:var(--hx-accent-dark); color:#fff; }
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type=text],
body.woocommerce-account .woocommerce-MyAccount-content input[type=email],
body.woocommerce-account .woocommerce-MyAccount-content input[type=password],
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
	min-height:46px; padding:11px 13px; border:1px solid #dfe3ec; border-radius:9px; background:#fff; color:var(--hx-ink); box-shadow:none;
}
body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus { border-color:var(--hx-accent); outline:2px solid rgba(117,136,197,.14); }
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error { margin:0 0 20px; padding:16px 18px 16px 48px; border:1px solid var(--hx-line); border-top:3px solid var(--hx-accent); border-radius:10px; background:#f8f9fd; color:#4f586c; font-size:13px; }
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .u-column2 { padding:19px; border:1px solid var(--hx-line); border-radius:12px; background:#fff; }
body.woocommerce-account .woocommerce-Address-title h3 { color:var(--hx-ink); font-size:16px; font-weight:750; }
body.woocommerce-account .woocommerce-MyAccount-content fieldset { margin-top:24px; padding:18px; border:1px solid var(--hx-line); border-radius:10px; }
body.woocommerce-account .woocommerce-MyAccount-content legend { padding:0 8px; color:var(--hx-ink); font-weight:750; }

@media(max-width:1050px) {
	body.woocommerce-account .hx-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	body.woocommerce-account .woocommerce-MyAccount-navigation { width:230px; }
	body.woocommerce-account .woocommerce-MyAccount-content { width:calc(100% - 255px); padding:25px; }
	body.woocommerce-account .hx-shortcut-grid { grid-template-columns:1fr; }
}
@media(max-width:760px) {
	body.woocommerce-account .site-content { padding:25px 0 50px; }
	body.woocommerce-account .site-content .ast-container { width:calc(100% - 30px) !important; }
	body.woocommerce-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account .woocommerce-MyAccount-content { float:none; width:100%; }
	body.woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom:15px; padding:8px; }
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { display:flex; gap:5px; overflow-x:auto; padding-bottom:2px; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li { flex:0 0 auto; margin:0; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li a { padding:10px 12px; font-size:12px; white-space:nowrap; }
	body.woocommerce-account .woocommerce-MyAccount-content { min-height:0; padding:18px; }
	body.woocommerce-account .hx-dashboard-hero { padding:23px; }
	body.woocommerce-account .hx-hero-main { align-items:flex-start; flex-direction:column; }
	body.woocommerce-account .hx-stats-grid { grid-template-columns:1fr; gap:9px; }
	body.woocommerce-account .hx-stat-card { min-height:88px; }
	body.woocommerce-account .hx-shortcut-grid { grid-template-columns:1fr; }
	body.woocommerce-account .hx-order-row { gap:9px; flex-wrap:wrap; }
	body.woocommerce-account .hx-order-total { min-width:auto; margin-left:auto; }
}
@media(max-width:480px) {
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table { display:block; overflow-x:auto; white-space:nowrap; }
	body.woocommerce-account .hx-section-heading h3 { font-size:18px; }
	body.woocommerce-account .hx-order-status { order:3; }
	body.woocommerce-account .hx-order-view { order:4; }
}


/* Helixen duplicate-order visibility and customer tracking details (v1.2.0) */
body.woocommerce-account .hx-duplicate-stat .hx-stat-icon { background:#fff4e7; color:#a66b25; }
body.woocommerce-account .hx-status-hom-duplicate { background:#fff2e2; color:#9a641f; }
body.woocommerce-account .hx-duplicate-section { padding:22px; border:1px solid #f0dfc8; border-radius:14px; background:#fffdfa; }
body.woocommerce-account .hx-duplicate-explainer { margin:0 0 13px; padding:12px 14px; border-radius:9px; background:#fff5e9; color:#77582f; font-size:12px; line-height:1.6; }
body.woocommerce-account .hx-customer-order-notice { margin:0 0 20px; padding:18px 20px; border:1px solid var(--hx-line); border-radius:12px; background:#fff; color:var(--hx-ink); }
body.woocommerce-account .hx-customer-order-notice > strong { display:block; margin:0 0 7px; font-size:15px; font-weight:800; }
body.woocommerce-account .hx-customer-order-notice p { margin:5px 0; color:#626b7e; font-size:13px; line-height:1.6; }
body.woocommerce-account .hx-duplicate-notice { border-color:#f0dfc8; background:#fffaf3; }
body.woocommerce-account .hx-duplicate-notice > strong { color:#98621e; }
body.woocommerce-account .hx-tracking-notice { border-color:#dce6f7; background:#f8faff; }
body.woocommerce-account .hx-tracking-link { display:inline-flex; margin-top:8px; padding:10px 14px; border-radius:8px; background:var(--hx-accent); color:#fff !important; font-size:12px; font-weight:800; text-decoration:none; }
body.woocommerce-account .hx-tracking-link:hover { background:var(--hx-accent-dark); color:#fff !important; }
