/* ══════════════════════════════════════════
   DroxAuto — My Account Page
   ══════════════════════════════════════════ */

:root {
	--ma-page-bg: #f5f5f5;
	--ma-card-bg: #ffffff;
	--ma-sidebar-bg: #1a1a2e;
	--ma-sidebar-active: #f5700a;
	--ma-sidebar-text: #ffffff;
	--ma-accent: #f5700a;
	--ma-text: #1a1a1a;
	--ma-muted: #6b7280;
	--ma-border: #e5e7eb;
	--ma-input-bg: #f9fafb;
	--ma-input-border: #d1d5db;
	--ma-input-focus: #f5700a;
	--ma-card-r: 12px;
	--ma-input-r: 8px;
	--ma-btn-r: 8px;
	--ma-sidebar-w: 260px;
	--ma-content-max: 900px;
	--ma-pad: 40px;
	--ma-avatar: 64px;
	--ma-grid: var(--ma-sidebar-w) 1fr;
}

/* ── Page-level overrides (strip Astra containers) ── */
.woocommerce-account .entry-header,
.woocommerce-account .entry-title { display: none !important; }
.woocommerce-account #secondary,
.woocommerce-account .widget-area { display: none !important; }
.woocommerce-account .site-main,
.woocommerce-account .ast-archive-description,
.woocommerce-account .content-area,
.woocommerce-account #primary { width: 100% !important; max-width: 100% !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-account .site-content,
.woocommerce-account .ast-container,
.woocommerce-account #content > .ast-container,
.woocommerce-account .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-account .ast-page-builder-template .entry-content { padding: 0 !important; }
.woocommerce-account article { margin: 0 !important; padding: 0 !important; }
.woocommerce-account.woocommerce-lost-password .entry-header,
.woocommerce-account.woocommerce-lost-password .entry-title { display: none !important; }

/* Hide default WC navigation — we render our own */
.woocommerce-MyAccount-navigation { display: none !important; }

/* ══════════════════════════════════════════
   2-COLUMN LAYOUT
   ══════════════════════════════════════════ */

.drox-ma {
	display: grid;
	grid-template-columns: var(--ma-grid);
	gap: 0;
	min-height: calc(100vh - 200px);
	background: var(--ma-page-bg);
	font-family: 'Barlow', sans-serif;
}

/* Login-only page (no sidebar) */
.drox-ma--login {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 180px);
	padding: var(--ma-pad) 24px;
}

/* Checkout login: wider card, no min-height */
.drox-ma--checkout.drox-ma--login {
	min-height: auto;
	padding: 60px 20px;
}
.drox-ma--checkout .drox-ma-login {
	max-width: 640px;
	padding: 56px 52px;
	width: 100%;
}
.drox-ma--checkout .drox-ma-login .drox-ma-form__group {
	max-width: none;
}
.drox-ma--checkout .drox-ma-login .drox-ma-form {
	width: 100%;
}
.drox-ma--checkout .drox-ma-login .drox-ma-form__input,
.drox-ma--checkout .drox-ma-login .drox-ma-form__btn {
	width: 100%;
}

/* ══════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════ */

.drox-ma-sidebar {
	background: var(--ma-sidebar-bg);
	padding: var(--ma-pad) 24px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

/* User block */
.drox-ma-sidebar__user {
	text-align: center;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.drox-ma-sidebar__avatar {
	width: var(--ma-avatar);
	height: var(--ma-avatar);
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--ma-sidebar-active);
	margin-bottom: 10px;
}
.drox-ma-sidebar__name {
	color: var(--ma-sidebar-text);
	font-size: 17px;
	font-weight: 700;
}
.drox-ma-sidebar__email {
	color: rgba(255,255,255,.5);
	font-size: 13px;
	margin-top: 2px;
	word-break: break-all;
}

/* Nav list */
.drox-ma-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.drox-ma-nav__item {
	margin: 0;
}
.drox-ma-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 16px;
	border-radius: 8px;
	color: rgba(255,255,255,.7);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all .2s;
	position: relative;
}
.drox-ma-nav__link:hover {
	color: var(--ma-sidebar-text);
	background: rgba(255,255,255,.06);
}
.drox-ma-nav__item--active .drox-ma-nav__link {
	color: var(--ma-sidebar-text);
	background: rgba(255,255,255,.1);
	font-weight: 600;
}
.drox-ma-nav__item--active .drox-ma-nav__link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--ma-sidebar-active);
}
.drox-ma-nav__icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.drox-ma-nav__label {
	white-space: nowrap;
}

/* ══════════════════════════════════════════
   CONTENT AREA
   ══════════════════════════════════════════ */

.drox-ma-content {
	padding: var(--ma-pad) 36px;
	max-width: var(--ma-content-max);
	width: 100%;
	min-width: 0;
}

/* ══════════════════════════════════════════
   DASHBOARD — Welcome
   ══════════════════════════════════════════ */

.drox-ma-welcome {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	padding: 28px 32px;
	margin-bottom: 28px;
	border: 1px solid var(--ma-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.drox-ma-welcome__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--ma-text);
	margin: 0;
}
.drox-ma-welcome__sub {
	color: var(--ma-muted);
	font-size: 15px;
	margin: 4px 0 0;
}

/* ══════════════════════════════════════════
   DASHBOARD — Stats
   ══════════════════════════════════════════ */

.drox-ma-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}
.drox-ma-stats__card {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	padding: 24px;
	border: 1px solid var(--ma-border);
	text-align: center;
	transition: box-shadow .2s;
}
.drox-ma-stats__card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.drox-ma-stats__icon {
	color: var(--ma-accent);
	margin-bottom: 8px;
}
.drox-ma-stats__value {
	font-size: 26px;
	font-weight: 800;
	color: var(--ma-text);
	line-height: 1.2;
}
.drox-ma-stats__value .woocommerce-Price-amount {
	font-size: 22px;
}
.drox-ma-stats__label {
	font-size: 13px;
	color: var(--ma-muted);
	margin-top: 4px;
	font-weight: 500;
}

/* B2B promo card */
.drox-ma-stats__card--link {
	padding: 0;
	overflow: hidden;
}
.drox-ma-stats__card--link:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.drox-ma-stats__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: transparent;
	border: 2px dashed var(--ma-accent);
	border-radius: var(--ma-card-r);
	transition: background .2s, border-style .2s;
}
.drox-ma-stats__link:hover {
	background: rgba(245,112,10,.04);
	border-style: solid;
}
.drox-ma-stats__link .drox-ma-stats__icon {
	margin-bottom: 12px;
}
.drox-ma-stats__link .drox-ma-stats__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--ma-accent);
	margin-top: 0;
	margin-bottom: 4px;
}
.drox-ma-stats__sub {
	font-size: 12px;
	color: var(--ma-muted);
}

/* ══════════════════════════════════════════
   DASHBOARD — Recent Orders
   ══════════════════════════════════════════ */

.drox-ma-recent {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	padding: 28px;
	border: 1px solid var(--ma-border);
}
.drox-ma-recent__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ma-text);
	margin: 0 0 20px;
}
.drox-ma-table-wrap {
	overflow-x: auto;
}
.drox-ma-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.drox-ma-table th {
	text-align: left;
	padding: 10px 12px;
	font-weight: 600;
	color: var(--ma-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-bottom: 1px solid var(--ma-border);
}
.drox-ma-table td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--ma-border);
	color: var(--ma-text);
	vertical-align: middle;
}
.drox-ma-table tr:last-child td {
	border-bottom: none;
}
.drox-ma-table__link {
	color: var(--ma-accent);
	font-weight: 600;
	text-decoration: none;
	font-size: 13px;
	transition: opacity .15s;
}
.drox-ma-table__link:hover {
	opacity: .7;
}

/* Status badges */
.drox-ma-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}
.drox-ma-badge--pending    { background: #fef3c7; color: #92400e; }
.drox-ma-badge--processing { background: #dbeafe; color: #1e40af; }
.drox-ma-badge--prepared   { background: #dbeafe; color: #1e40af; }
.drox-ma-badge--shipped    { background: #e0e7ff; color: #3730a3; }
.drox-ma-badge--delivered  { background: #d1fae5; color: #065f46; }
.drox-ma-badge--on-hold    { background: #f3f4f6; color: #4b5563; }
.drox-ma-badge--completed  { background: #ccfbf1; color: #0f766e; }
.drox-ma-badge--cancelled  { background: #fee2e2; color: #991b1b; }
.drox-ma-badge--refunded   { background: #ede9fe; color: #5b21b6; }
.drox-ma-badge--failed     { background: #fee2e2; color: #991b1b; }

.drox-ma-recent__all {
	display: inline-block;
	margin-top: 20px;
	color: var(--ma-accent);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: opacity .15s;
}
.drox-ma-recent__all:hover {
	opacity: .7;
}

.drox-ma-empty {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	padding: 40px;
	border: 1px solid var(--ma-border);
	text-align: center;
	color: var(--ma-muted);
}

/* ══════════════════════════════════════════
   WC DEFAULT CONTENT STYLING
   ══════════════════════════════════════════ */

.drox-ma-content h2,
.drox-ma-content h3 {
	color: var(--ma-text);
	font-weight: 700;
}
.drox-ma-content h2 { font-size: 22px; margin-bottom: 20px; }
.drox-ma-content h3 { font-size: 18px; margin-bottom: 16px; }

/* Orders list */
.drox-ma-content .woocommerce-orders {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	border: 1px solid var(--ma-border);
	padding: 24px;
	margin-bottom: 24px;
}
.drox-ma-content .woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.drox-ma-content .woocommerce-orders-table th {
	text-align: left;
	padding: 12px 14px;
	font-weight: 600;
	color: var(--ma-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-bottom: 2px solid var(--ma-border);
	background: #f9fafb;
}
.drox-ma-content .woocommerce-orders-table td {
	padding: 14px 14px;
	border-bottom: 1px solid var(--ma-border);
	color: var(--ma-text);
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table tr:last-child td {
	border-bottom: none;
}
.drox-ma-content .woocommerce-orders-table tr:hover td {
	background: rgba(245, 112, 10, 0.02);
}
.drox-ma-content .woocommerce-orders-table__cell-order-number a {
	color: var(--ma-accent);
	font-weight: 600;
	text-decoration: none;
}
.drox-ma-content .woocommerce-orders-table__cell-order-number a:hover {
	text-decoration: underline;
}
.drox-ma-content .woocommerce-orders-table__cell-order-actions a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	padding: 6px 16px;
	background: var(--ma-accent);
	border-radius: var(--ma-btn-r);
	font-size: 13px;
	transition: opacity .15s;
}
.drox-ma-content .woocommerce-orders-table__cell-order-actions a:hover {
	opacity: .85;
	color: #fff;
}

/* Order status badges on orders list */
.drox-ma-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
	font-size: 12px;
	font-weight: 600;
	color: var(--ma-muted);
}
/* WC outputs plain text; style via row class */
.drox-ma-content .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status,
.drox-ma-content .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status {
	color: #92400e;
}
.drox-ma-content .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status::before,
.drox-ma-content .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f59e0b;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-prepared .woocommerce-orders-table__cell-order-status {
	color: #1e40af;
}
.drox-ma-content .woocommerce-orders-table__row--status-prepared .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3b82f6;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-shipped .woocommerce-orders-table__cell-order-status {
	color: #3730a3;
}
.drox-ma-content .woocommerce-orders-table__row--status-shipped .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6366f1;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-delivered .woocommerce-orders-table__cell-order-status {
	color: #065f46;
}
.drox-ma-content .woocommerce-orders-table__row--status-delivered .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
	color: #0f766e;
}
.drox-ma-content .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #14b8a6;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status {
	color: #991b1b;
}
.drox-ma-content .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef4444;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status {
	color: #991b1b;
}
.drox-ma-content .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef4444;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
	color: #92400e;
}
.drox-ma-content .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f59e0b;
	margin-right: 6px;
	vertical-align: middle;
}
.drox-ma-content .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status {
	color: #991b1b;
}
.drox-ma-content .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef4444;
	margin-right: 6px;
	vertical-align: middle;
}

/* Orders pagination */
.drox-ma-content .woocommerce-pagination {
	margin-top: 16px;
	text-align: center;
}
.drox-ma-content .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 4px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.drox-ma-content .woocommerce-pagination ul.page-numbers li {
	list-style: none;
}
.drox-ma-content .woocommerce-pagination ul.page-numbers li a,
.drox-ma-content .woocommerce-pagination ul.page-numbers li span {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--ma-border);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ma-text);
	text-decoration: none;
	transition: background .15s, border-color .15s;
}
.drox-ma-content .woocommerce-pagination ul.page-numbers li a:hover {
	background: rgba(245, 112, 10, 0.06);
	border-color: var(--ma-accent);
	color: var(--ma-accent);
}
.drox-ma-content .woocommerce-pagination ul.page-numbers li span.current {
	background: var(--ma-accent);
	border-color: var(--ma-accent);
	color: #fff;
}

/* No orders message */
.drox-ma-content .woocommerce-message.woocommerce-Message--info {
	background: var(--ma-card-bg);
	border: 1px solid var(--ma-border);
	border-radius: var(--ma-card-r);
	padding: 32px;
	text-align: center;
	color: var(--ma-muted);
	font-size: 14px;
}
.drox-ma-content .woocommerce-message.woocommerce-Message--info a {
	color: var(--ma-accent);
	font-weight: 600;
}

/* Downloads */
.drox-ma-content .woocommerce-MyAccount-downloads {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.drox-ma-content .woocommerce-MyAccount-downloads th {
	text-align: left;
	padding: 10px 12px;
	font-weight: 600;
	color: var(--ma-muted);
	border-bottom: 1px solid var(--ma-border);
}
.drox-ma-content .woocommerce-MyAccount-downloads td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--ma-border);
}

/* Addresses */
.drox-ma-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.drox-ma-content .woocommerce-Address {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	padding: 24px;
	border: 1px solid var(--ma-border);
}
.drox-ma-content .woocommerce-Address h3 {
	margin-bottom: 12px;
}
.drox-ma-content .woocommerce-Address address {
	font-style: normal;
	color: var(--ma-text);
	line-height: 1.7;
	font-size: 14px;
}
.drox-ma-content .woocommerce-Address .edit {
	color: var(--ma-accent);
	font-weight: 600;
	text-decoration: none;
}

/* Account Details form */
.drox-ma-content .woocommerce-EditAccountForm,
.drox-ma-content .woocommerce-form {
	max-width: 600px;
}
.drox-ma-content .woocommerce-form-row {
	margin-bottom: 16px;
}
.drox-ma-content .woocommerce-form-row label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: var(--ma-text);
	margin-bottom: 6px;
}
.drox-ma-content .woocommerce-Input,
.drox-ma-content .woocommerce-form .input-text {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--ma-input-border);
	border-radius: var(--ma-input-r);
	background: var(--ma-input-bg);
	color: var(--ma-text);
	font-size: 15px;
	font-family: 'Barlow', sans-serif;
	transition: border-color .2s, box-shadow .2s;
}
.drox-ma-content .woocommerce-Input:focus,
.drox-ma-content .woocommerce-form .input-text:focus {
	outline: none;
	border-color: var(--ma-input-focus);
	box-shadow: 0 0 0 3px rgba(245,112,10,.15);
}

/* WC buttons */
.drox-ma-content .woocommerce-button,
.drox-ma-content .button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: var(--ma-accent);
	color: #fff;
	border: none;
	border-radius: var(--ma-btn-r);
	font-size: 15px;
	font-weight: 600;
	font-family: 'Barlow', sans-serif;
	cursor: pointer;
	transition: opacity .2s, transform .1s;
	text-decoration: none;
}
.drox-ma-content .woocommerce-button:hover,
.drox-ma-content .button:hover {
	opacity: .9;
	color: #fff;
}
.drox-ma-content .woocommerce-button:active,
.drox-ma-content .button:active {
	transform: scale(.98);
}

/* WC messages */
.drox-ma-content .woocommerce-message {
	background: #d1fae5;
	color: #065f46;
	padding: 12px 16px;
	border-radius: var(--ma-input-r);
	border: none;
	margin-bottom: 20px;
	font-size: 14px;
}
.drox-ma-content .woocommerce-error {
	background: #fee2e2;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: var(--ma-input-r);
	border: none;
	margin-bottom: 20px;
	font-size: 14px;
}
.drox-ma-content .woocommerce-info {
	background: #dbeafe;
	color: #1e40af;
	padding: 12px 16px;
	border-radius: var(--ma-input-r);
	border: none;
	margin-bottom: 20px;
	font-size: 14px;
}

/* ══════════════════════════════════════════
   CONTENT CARDS (addresses, account details)
   ══════════════════════════════════════════ */

.drox-ma-card {
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	border: 1px solid var(--ma-border);
	padding: 32px;
}
.drox-ma-card__header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ma-border);
}
.drox-ma-card__title {
	font-size: 22px;
	font-weight: 700;
	color: var(--ma-text);
	margin: 0;
}

/* Style WC form fields inside our card */
.drox-ma-card .woocommerce-address-fields__field-wrapper .form-row {
	margin-bottom: 20px;
}
.drox-ma-card .woocommerce-address-fields__field-wrapper label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ma-text);
	margin-bottom: 6px;
}
.drox-ma-card .woocommerce-address-fields__field-wrapper input,
.drox-ma-card .woocommerce-address-fields__field-wrapper select {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	border: 1px solid var(--ma-input-border);
	border-radius: var(--ma-input-r);
	background: var(--ma-input-bg);
	color: var(--ma-text);
	transition: border-color .2s, box-shadow .2s;
}
.drox-ma-card .woocommerce-address-fields__field-wrapper input:focus,
.drox-ma-card .woocommerce-address-fields__field-wrapper select:focus {
	outline: none;
	border-color: var(--ma-input-focus);
	box-shadow: 0 0 0 3px rgba(245,112,10,.12);
}
.drox-ma-card .woocommerce-address-fields__field-wrapper .select2-selection {
	height: 42px;
	padding: 6px 10px;
	border: 1px solid var(--ma-input-border);
	border-radius: var(--ma-input-r);
	background: var(--ma-input-bg);
}

/* Address list grid */
.drox-ma-address-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
@media (max-width: 768px) {
	.drox-ma-address-grid { grid-template-columns: 1fr; }
}

/* Address card */
.drox-ma-card--address { margin-bottom: 0; }
.drox-ma-card__header--flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.drox-ma-card__edit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ma-accent);
	text-decoration: none;
	transition: opacity .2s;
}
.drox-ma-card__edit:hover { opacity: .75; }
.drox-ma-card__address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.7;
	color: var(--ma-muted);
}
.drox-ma-card__desc {
	font-size: 14px;
	color: var(--ma-muted);
	margin-bottom: 20px;
}

/* ══════════════════════════════════════════
   LOGIN / REGISTER FORM
   ══════════════════════════════════════════ */

/* WC notices on login page */
.drox-ma--login .woocommerce-notices-wrapper {
	margin-bottom: 20px;
}

.drox-ma-login {
	max-width: 480px;
	width: 100%;
	background: var(--ma-card-bg);
	border-radius: var(--ma-card-r);
	padding: 36px 32px;
	border: 1px solid var(--ma-border);
}
.drox-ma-login__header {
	text-align: center;
	margin-bottom: 32px;
}
.drox-ma-login__logo {
	margin-bottom: 16px;
	display: flex;
	justify-content: center;
}
.drox-ma-login__heading {
	font-size: 32px;
	font-weight: 800;
	color: var(--ma-text);
	margin: 0 0 4px;
}
.drox-ma-login__heading::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: var(--ma-accent);
	border-radius: 2px;
	margin: 10px auto 0;
}
.drox-ma-login__sub {
	color: var(--ma-muted);
	font-size: 16px;
	margin: 6px 0 0;
}

/* Tabs */
.drox-ma-login__tabs {
	display: flex;
	gap: 0;
	margin-bottom: 28px;
	background: var(--ma-input-bg);
	border-radius: var(--ma-input-r);
	padding: 4px;
	border: 1px solid var(--ma-border);
}
.drox-ma-login__tab {
	flex: 1;
	padding: 10px 16px;
	border: none;
	border-radius: calc(var(--ma-input-r) - 2px);
	background: transparent;
	color: var(--ma-muted);
	font-size: 15px;
	font-weight: 600;
	font-family: 'Barlow', sans-serif;
	cursor: pointer;
	transition: all .2s;
}
.drox-ma-login__tab--active {
	background: var(--ma-card-bg);
	color: var(--ma-accent);
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* Form groups */
.drox-ma-form__group {
	margin-bottom: 18px;
}
.drox-ma-form__label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: var(--ma-text);
	margin-bottom: 6px;
}
.drox-ma-form__input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.drox-ma-form__input-icon {
	position: absolute;
	left: 14px;
	color: var(--ma-muted);
	pointer-events: none;
	display: flex;
}
.drox-ma-form__input {
	width: 100%;
	padding: 13px 16px 13px 44px;
	border: 1px solid var(--ma-input-border);
	border-radius: var(--ma-input-r);
	background: var(--ma-input-bg);
	color: var(--ma-text);
	font-size: 15px;
	font-family: 'Barlow', sans-serif;
	transition: border-color .2s, box-shadow .2s;
}
.drox-ma-form__input:focus {
	outline: none;
	border-color: var(--ma-input-focus);
	box-shadow: 0 0 0 3px rgba(245,112,10,.15);
}
.drox-ma-form__input--has-toggle {
	padding-right: 44px;
}
.drox-ma-form__info {
	color: var(--ma-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 18px;
	padding: 12px 16px;
	background: var(--ma-input-bg);
	border-radius: var(--ma-input-r);
	border: 1px solid var(--ma-border);
}
.drox-ma-form__toggle-pw {
	position: absolute;
	right: 12px;
	background: none;
	border: none;
	color: var(--ma-muted);
	cursor: pointer;
	padding: 4px;
	display: flex;
	transition: color .15s;
}
.drox-ma-form__toggle-pw:hover {
	color: var(--ma-text);
}

/* Row (remember + forgot) */
.drox-ma-form__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	font-size: 14px;
}
.drox-ma-form__row--right {
	justify-content: flex-end;
}

/* Checkbox */
.drox-ma-form__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	color: var(--ma-muted);
	user-select: none;
}
.drox-ma-form__check {
	width: 18px;
	height: 18px;
	accent-color: var(--ma-accent);
	cursor: pointer;
}
.drox-ma-form__forgot {
	color: var(--ma-accent);
	text-decoration: none;
	font-weight: 500;
	transition: opacity .15s;
}
.drox-ma-form__forgot:hover {
	opacity: .7;
}

/* Submit button */
.drox-ma-form__btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	background: var(--ma-accent);
	color: #fff;
	border: none;
	border-radius: var(--ma-btn-r);
	font-size: 16px;
	font-weight: 700;
	font-family: 'Barlow', sans-serif;
	cursor: pointer;
	transition: opacity .2s, transform .1s;
}
.drox-ma-form__btn:hover {
	opacity: .9;
}
.drox-ma-form__btn:active {
	transform: scale(.98);
}

/* ══════════════════════════════════════════
   MOBILE HORIZONTAL TABS
   ══════════════════════════════════════════ */

.drox-ma-mobile-nav {
	display: none;
	background: var(--ma-card-bg);
	border-bottom: 1px solid var(--ma-border);
	padding: 0 16px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.drox-ma-mobile-nav::-webkit-scrollbar { display: none; }
.drox-ma-mobile-nav__list {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: max-content;
}
.drox-ma-mobile-nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 16px;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 500;
	color: var(--ma-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color .2s, border-color .2s;
}
.drox-ma-mobile-nav__link--active {
	color: var(--ma-accent);
	border-bottom-color: var(--ma-accent);
	font-weight: 600;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1023px) {
	.drox-ma {
		grid-template-columns: 1fr;
	}
	.drox-ma-sidebar {
		display: none;
	}
	.drox-ma-mobile-nav {
		display: block;
	}
	.drox-ma-content {
		padding: 24px 20px;
	}
	.drox-ma-stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}
	.drox-ma-stats__card {
		padding: 16px;
	}
	.drox-ma-stats__value {
		font-size: 20px;
	}
	.drox-ma-content .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 639px) {
	.drox-ma-stats {
		grid-template-columns: 1fr;
	}
	.drox-ma-welcome {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}
	.drox-ma-welcome__title {
		font-size: 20px;
	}
	.drox-ma-login {
		padding: 28px 20px;
	}
	.drox-ma-login__heading {
		font-size: 26px;
	}
	.drox-ma-content {
		padding: 20px 16px;
	}
	.drox-ma-table th,
	.drox-ma-table td {
		padding: 10px 8px;
		font-size: 13px;
	}
	.drox-ma--login {
		padding: 20px 16px;
		align-items: flex-start;
	}
	.drox-ma--checkout .drox-ma-login {
		padding: 40px 28px;
	}
}

/* ── VIN Row (order detail page) ── */
.drox-vin-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid var(--ma-border, #eee);
}
.drox-vin-row__label {
	font-size: 13px;
	color: var(--ma-muted, #888);
}
.drox-vin-row__value {
	font-size: 14px;
	font-weight: 600;
	font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
	letter-spacing: .5px;
	color: var(--ma-text, #222);
}
