/* Computer Melli — My Account dashboard
   Dark purple surfaces matching the account hero identity. Everything is
   scoped to the account dashboard so no other WooCommerce page is affected. */

.computer-melli-theme .cm-account-dashboard {
	--cm-acc-bg: #17101f;
	--cm-acc-surface: #211730;
	--cm-acc-surface-2: #291c3b;
	--cm-acc-line: rgba(255, 255, 255, .09);
	--cm-acc-text: #f4effa;
	--cm-acc-muted: #ab9dbd;
	--cm-acc-accent: #8b5cf6;
	--cm-acc-accent-strong: #6d28d9;
	--cm-acc-accent-soft: rgba(139, 92, 246, .16);
	--cm-acc-success: #4ade80;
	--cm-acc-warning: #fbbf24;
	--cm-acc-danger: #fb7185;

	display: grid;
	grid-template-columns: 254px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin-block-end: 34px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 24px;
	background:
		radial-gradient(1100px 420px at 88% -12%, rgba(109, 40, 217, .26), transparent 62%),
		linear-gradient(165deg, #1d1427 0%, #161020 58%, #140e1c 100%);
	box-shadow: 0 28px 70px rgba(16, 9, 26, .38);
	color: var(--cm-acc-text);
	font-size: 14px;
}

.computer-melli-theme .cm-account-dashboard h1,
.computer-melli-theme .cm-account-dashboard h2,
.computer-melli-theme .cm-account-dashboard h3,
.computer-melli-theme .cm-account-dashboard h4 {
	color: var(--cm-acc-text);
}

.computer-melli-theme .cm-account-dashboard__panel { min-width: 0; }

.computer-melli-theme .woocommerce-account .woocommerce { margin-block-end: 0; }

/* Neutralize parent-theme default account navigation rules that fight the
   custom layout (grid list, background, spacing, floats at small widths). */
.computer-melli-theme .cm-account-dashboard .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	border: 0;
}
.computer-melli-theme .cm-account-dashboard .woocommerce-MyAccount-navigation a {
	display: flex;
	padding: 11px 13px;
	border-radius: 12px;
	background: transparent;
}

/* Sidebar navigation ------------------------------------------------ */
.computer-melli-theme .cm-account-dashboard .cm-account-nav { min-width: 0; }

.computer-melli-theme .cm-account-dashboard .cm-account-nav__item a {
	position: relative;
	align-items: center;
	gap: 11px;
	color: var(--cm-acc-muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item a:hover {
	background: var(--cm-acc-surface-2);
	color: var(--cm-acc-text);
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item.is-active a {
	background: var(--cm-acc-accent-soft);
	color: #fff;
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item.is-active a::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	width: 3px;
	height: 18px;
	border-radius: 999px;
	background: var(--cm-acc-accent);
	transform: translateY(-50%);
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item .cm-icon {
	flex: none;
	opacity: .85;
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item.is-active .cm-icon {
	color: var(--cm-acc-accent);
	opacity: 1;
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item--customer-logout a {
	color: var(--cm-acc-danger);
}
.computer-melli-theme .cm-account-dashboard .cm-account-nav__item--customer-logout a:hover {
	background: rgba(251, 113, 133, .12);
	color: #fda4af;
}

/* Buttons ----------------------------------------------------------- */
.computer-melli-theme .cm-account-dashboard .cm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: var(--cm-acc-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.computer-melli-theme .cm-account-dashboard .cm-btn--primary {
	background: var(--cm-acc-accent-strong);
	color: #fff;
	box-shadow: 0 8px 20px rgba(109, 40, 217, .3);
}
.computer-melli-theme .cm-account-dashboard .cm-btn--primary:hover {
	background: #5b21b6;
	color: #fff;
}
.computer-melli-theme .cm-account-dashboard .cm-btn--ghost {
	border-color: rgba(255, 255, 255, .16);
}
.computer-melli-theme .cm-account-dashboard .cm-btn--ghost:hover {
	border-color: var(--cm-acc-accent);
	color: var(--cm-acc-accent);
}
.computer-melli-theme .cm-account-dashboard .cm-btn--sm {
	min-height: 38px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 12.5px;
}
.computer-melli-theme .cm-account-dashboard .cm-btn--block { width: 100%; }

/* Forms ------------------------------------------------------------- */
.computer-melli-theme .cm-account-dashboard .woocommerce-form-row { margin: 0; }
.computer-melli-theme .cm-account-dashboard .woocommerce-form-row .clear { display: none; }

.computer-melli-theme .cm-account-dashboard label {
	display: block;
	margin-bottom: 6px;
	color: var(--cm-acc-text);
	font-size: 13px;
	font-weight: 750;
}
.computer-melli-theme .cm-account-dashboard label .required { color: var(--cm-acc-danger); }

.computer-melli-theme .cm-account-dashboard input.input-text,
.computer-melli-theme .cm-account-dashboard input[type="email"],
.computer-melli-theme .cm-account-dashboard input[type="tel"],
.computer-melli-theme .cm-account-dashboard input[type="password"],
.computer-melli-theme .cm-account-dashboard select,
.computer-melli-theme .cm-account-dashboard textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, .05);
	color: var(--cm-acc-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
}
.computer-melli-theme .cm-account-dashboard input.input-text::placeholder,
.computer-melli-theme .cm-account-dashboard textarea::placeholder { color: rgba(255, 255, 255, .35); }
.computer-melli-theme .cm-account-dashboard input.input-text:focus,
.computer-melli-theme .cm-account-dashboard input[type="email"]:focus,
.computer-melli-theme .cm-account-dashboard input[type="tel"]:focus,
.computer-melli-theme .cm-account-dashboard input[type="password"]:focus,
.computer-melli-theme .cm-account-dashboard select:focus,
.computer-melli-theme .cm-account-dashboard textarea:focus {
	border-color: var(--cm-acc-accent);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(139, 92, 246, .22);
}

/* Focus visibility everywhere in the dashboard */
.computer-melli-theme .cm-account-dashboard a:focus-visible,
.computer-melli-theme .cm-account-dashboard button:focus-visible {
	outline: 2px solid var(--cm-acc-accent);
	outline-offset: 2px;
	border-radius: 8px;
}

/* Notices ----------------------------------------------------------- */
.computer-melli-theme .cm-account-dashboard .woocommerce-message,
.computer-melli-theme .cm-account-dashboard .woocommerce-info,
.computer-melli-theme .cm-account-dashboard .woocommerce-error {
	margin: 0 0 14px;
	padding: 13px 16px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 12px;
	background: var(--cm-acc-surface);
	color: var(--cm-acc-text);
	font-size: 13px;
	line-height: 1.8;
}
.computer-melli-theme .cm-account-dashboard .woocommerce-message { border-inline-start: 3px solid var(--cm-acc-success); }
.computer-melli-theme .cm-account-dashboard .woocommerce-info { border-inline-start: 3px solid var(--cm-acc-accent); }
.computer-melli-theme .cm-account-dashboard .woocommerce-error { border-inline-start: 3px solid var(--cm-acc-danger); }
.computer-melli-theme .cm-account-dashboard .woocommerce-message::before,
.computer-melli-theme .cm-account-dashboard .woocommerce-info::before,
.computer-melli-theme .cm-account-dashboard .woocommerce-error::before { display: none; }

/* Status badges ----------------------------------------------------- */
.computer-melli-theme .cm-account-dashboard .cm-order-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 850;
	white-space: nowrap;
}
.computer-melli-theme .cm-account-dashboard .cm-order-status--completed { background: rgba(74, 222, 128, .14); color: var(--cm-acc-success); }
.computer-melli-theme .cm-account-dashboard .cm-order-status--processing { background: rgba(139, 92, 246, .16); color: #a78bfa; }
.computer-melli-theme .cm-account-dashboard .cm-order-status--on-hold,
.computer-melli-theme .cm-account-dashboard .cm-order-status--pending { background: rgba(251, 191, 36, .14); color: var(--cm-acc-warning); }
.computer-melli-theme .cm-account-dashboard .cm-order-status--cancelled,
.computer-melli-theme .cm-account-dashboard .cm-order-status--failed,
.computer-melli-theme .cm-account-dashboard .cm-order-status--refunded { background: rgba(251, 113, 133, .14); color: var(--cm-acc-danger); }
.computer-melli-theme .cm-account-dashboard .cm-order-status--default { background: rgba(255, 255, 255, .08); color: var(--cm-acc-muted); }

/* Dashboard overview ------------------------------------------------ */
.computer-melli-theme .cm-account-dashboard .cm-dashboard { display: grid; gap: 16px; }

.computer-melli-theme .cm-account-dashboard .cm-dashboard__welcome {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 4px 2px 2px;
}
.computer-melli-theme .cm-account-dashboard .cm-dashboard__avatar {
	width: 52px;
	height: 52px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
	color: #fff;
	font-size: 20px;
	font-weight: 850;
	box-shadow: 0 8px 20px rgba(109, 40, 217, .35);
}
.computer-melli-theme .cm-account-dashboard .cm-dashboard__eyebrow {
	color: var(--cm-acc-accent);
	font-size: 11px;
	font-weight: 900;
}
.computer-melli-theme .cm-account-dashboard .cm-dashboard__hello {
	margin: 2px 0 0;
	font-size: 21px;
	letter-spacing: -.01em;
}
.computer-melli-theme .cm-account-dashboard .cm-dashboard__intro {
	margin: 3px 0 0;
	color: var(--cm-acc-muted);
	font-size: 13px;
	line-height: 1.8;
}

.computer-melli-theme .cm-account-dashboard .cm-dashboard__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.computer-melli-theme .cm-account-dashboard .cm-stat-card {
	display: grid;
	justify-items: start;
	gap: 3px;
	padding: 15px 16px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 16px;
	background: var(--cm-acc-surface);
	color: var(--cm-acc-text);
	text-decoration: none;
	transition: border-color .15s ease;
}
.computer-melli-theme .cm-account-dashboard .cm-stat-card:hover { border-color: rgba(139, 92, 246, .45); }
.computer-melli-theme .cm-account-dashboard .cm-stat-card__icon {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	margin-bottom: 7px;
}
.computer-melli-theme .cm-account-dashboard .cm-stat-card__icon--orders { background: var(--cm-acc-accent-soft); color: #a78bfa; }
.computer-melli-theme .cm-account-dashboard .cm-stat-card__icon--processing { background: rgba(251, 191, 36, .14); color: var(--cm-acc-warning); }
.computer-melli-theme .cm-account-dashboard .cm-stat-card__icon--completed { background: rgba(74, 222, 128, .14); color: var(--cm-acc-success); }
.computer-melli-theme .cm-account-dashboard .cm-stat-card__value {
	font-size: 22px;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
}
.computer-melli-theme .cm-account-dashboard .cm-stat-card__label {
	color: var(--cm-acc-muted);
	font-size: 12.5px;
	font-weight: 600;
}

.computer-melli-theme .cm-account-dashboard .cm-dashboard__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.computer-melli-theme .cm-account-dashboard .cm-panel {
	padding: 17px 18px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 18px;
	background: var(--cm-acc-surface);
}
.computer-melli-theme .cm-account-dashboard .cm-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
.computer-melli-theme .cm-account-dashboard .cm-panel__title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .cm-panel__link {
	color: var(--cm-acc-accent);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}
.computer-melli-theme .cm-account-dashboard .cm-panel__link:hover {
	color: #a78bfa;
	text-decoration: underline;
}

.computer-melli-theme .cm-account-dashboard .cm-order-mini {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}
.computer-melli-theme .cm-account-dashboard .cm-order-mini__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px 12px;
	padding: 11px 13px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 13px;
	background: var(--cm-acc-surface-2);
}
.computer-melli-theme .cm-account-dashboard .cm-order-mini__number {
	color: var(--cm-acc-text);
	font-size: 13.5px;
	font-weight: 850;
	text-decoration: none;
}
.computer-melli-theme .cm-account-dashboard .cm-order-mini__number:hover { color: var(--cm-acc-accent); }
.computer-melli-theme .cm-account-dashboard .cm-order-mini__date {
	color: var(--cm-acc-muted);
	font-size: 12px;
}
.computer-melli-theme .cm-account-dashboard .cm-order-mini__total {
	font-size: 13px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.computer-melli-theme .cm-account-dashboard .cm-order-mini__row .cm-order-status {
	justify-self: start;
	grid-column: 1 / -1;
}

.computer-melli-theme .cm-account-dashboard .cm-panel-empty {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 18px 10px;
	text-align: center;
}
.computer-melli-theme .cm-account-dashboard .cm-panel-empty__icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	margin-bottom: 4px;
	background: var(--cm-acc-accent-soft);
	color: var(--cm-acc-accent);
}
.computer-melli-theme .cm-account-dashboard .cm-panel-empty__title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .cm-panel-empty__text {
	margin: 0;
	color: var(--cm-acc-muted);
	font-size: 12.5px;
	line-height: 1.8;
}
.computer-melli-theme .cm-account-dashboard .cm-panel-empty .cm-btn { margin-top: 8px; }
.computer-melli-theme .cm-account-dashboard .cm-panel-empty--compact { padding: 10px 6px; }

.computer-melli-theme .cm-account-dashboard .cm-panel__address {
	display: grid;
	gap: 4px;
	margin: 0;
	color: var(--cm-acc-muted);
	font-size: 13px;
	line-height: 1.9;
	font-style: normal;
}
.computer-melli-theme .cm-account-dashboard .cm-panel__address span:first-child { color: var(--cm-acc-text); }

.computer-melli-theme .cm-account-dashboard .cm-profile {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}
.computer-melli-theme .cm-account-dashboard .cm-profile__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--cm-acc-line);
	font-size: 13px;
}
.computer-melli-theme .cm-account-dashboard .cm-profile__row:last-child { border-bottom: 0; }
.computer-melli-theme .cm-account-dashboard .cm-profile__key { color: var(--cm-acc-muted); }
.computer-melli-theme .cm-account-dashboard .cm-profile__value {
	font-weight: 750;
	text-align: end;
	overflow-wrap: anywhere;
}
.computer-melli-theme .cm-account-dashboard .cm-panel--actions { display: grid; gap: 9px; }

/* Orders / downloads pages ------------------------------------------ */
.computer-melli-theme .cm-account-dashboard .cm-orders,
.computer-melli-theme .cm-account-dashboard .cm-downloads,
.computer-melli-theme .cm-account-dashboard .cm-addresses { display: grid; gap: 15px; }

.computer-melli-theme .cm-account-dashboard .cm-orders__head,
.computer-melli-theme .cm-account-dashboard .cm-downloads__head,
.computer-melli-theme .cm-account-dashboard .cm-addresses__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.computer-melli-theme .cm-account-dashboard .cm-orders__eyebrow,
.computer-melli-theme .cm-account-dashboard .cm-downloads__eyebrow,
.computer-melli-theme .cm-account-dashboard .cm-addresses__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--cm-acc-accent);
	font-size: 11px;
	font-weight: 900;
}
.computer-melli-theme .cm-account-dashboard .cm-orders__title,
.computer-melli-theme .cm-account-dashboard .cm-downloads__title,
.computer-melli-theme .cm-account-dashboard .cm-addresses__title {
	margin: 0;
	font-size: 19px;
	letter-spacing: -.01em;
}
.computer-melli-theme .cm-account-dashboard .cm-orders__count,
.computer-melli-theme .cm-account-dashboard .cm-downloads__count {
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--cm-acc-accent-soft);
	color: #c4b5fd;
	font-size: 11px;
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .cm-addresses__desc {
	margin: 0;
	color: var(--cm-acc-muted);
	font-size: 12.5px;
	line-height: 1.8;
}

.computer-melli-theme .cm-account-dashboard .cm-orders__table-wrap,
.computer-melli-theme .cm-account-dashboard .cm-downloads__table-wrap {
	overflow-x: auto;
	border: 1px solid var(--cm-acc-line);
	border-radius: 16px;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table,
.computer-melli-theme .cm-account-dashboard .cm-downloads-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table th,
.computer-melli-theme .cm-account-dashboard .cm-downloads-table th {
	padding: 12px 16px;
	background: var(--cm-acc-surface-2);
	color: var(--cm-acc-muted);
	font-size: 12px;
	font-weight: 800;
	text-align: start;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table td,
.computer-melli-theme .cm-account-dashboard .cm-downloads-table td {
	padding: 14px 16px;
	border-top: 1px solid var(--cm-acc-line);
	color: var(--cm-acc-text);
	font-size: 13.5px;
	vertical-align: middle;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table tr:hover td,
.computer-melli-theme .cm-account-dashboard .cm-downloads-table tr:hover td { background: rgba(255, 255, 255, .02); }
.computer-melli-theme .cm-account-dashboard .cm-orders-table__number,
.computer-melli-theme .cm-account-dashboard .cm-downloads-table__product {
	color: var(--cm-acc-text);
	font-weight: 850;
	text-decoration: none;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table__number:hover,
.computer-melli-theme .cm-account-dashboard .cm-downloads-table__product:hover { color: var(--cm-acc-accent); }
.computer-melli-theme .cm-account-dashboard .cm-orders-table__date { color: var(--cm-acc-muted); }
.computer-melli-theme .cm-account-dashboard .cm-orders-table__total {
	display: grid;
	gap: 2px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table__items {
	color: var(--cm-acc-muted);
	font-size: 11.5px;
	font-weight: 600;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-table__actions {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-pagination {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.computer-melli-theme .cm-account-dashboard .cm-orders-empty,
.computer-melli-theme .cm-account-dashboard .cm-downloads-empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 52px 24px;
	text-align: center;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-empty__icon,
.computer-melli-theme .cm-account-dashboard .cm-downloads-empty__icon {
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	border-radius: 19px;
	margin-bottom: 4px;
	background: var(--cm-acc-accent-soft);
	color: var(--cm-acc-accent);
}
.computer-melli-theme .cm-account-dashboard .cm-orders-empty__title,
.computer-melli-theme .cm-account-dashboard .cm-downloads-empty__title {
	margin: 0;
	font-size: 17px;
	font-weight: 850;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-empty__text,
.computer-melli-theme .cm-account-dashboard .cm-downloads-empty__text {
	margin: 0;
	color: var(--cm-acc-muted);
	font-size: 13px;
	line-height: 1.9;
}
.computer-melli-theme .cm-account-dashboard .cm-orders-empty .cm-btn,
.computer-melli-theme .cm-account-dashboard .cm-downloads-empty .cm-btn { margin-top: 10px; }

/* Addresses page ---------------------------------------------------- */
.computer-melli-theme .cm-account-dashboard .cm-addresses__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
}
.computer-melli-theme .cm-account-dashboard .cm-address-card {
	padding: 17px 18px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 16px;
	background: var(--cm-acc-surface);
}
.computer-melli-theme .cm-account-dashboard .cm-address-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
.computer-melli-theme .cm-account-dashboard .cm-address-card__title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: 14.5px;
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .cm-address-card__icon { color: var(--cm-acc-accent); }
.computer-melli-theme .cm-account-dashboard .cm-address-card__body {
	margin: 0;
	color: var(--cm-acc-muted);
	font-size: 13px;
	line-height: 2;
	font-style: normal;
}
.computer-melli-theme .cm-account-dashboard .cm-address-card__empty {
	display: grid;
	justify-items: start;
	gap: 10px;
	color: var(--cm-acc-muted);
	font-size: 13px;
}
.computer-melli-theme .cm-account-dashboard .cm-address-card__empty p { margin: 0; }

/* Edit address / edit account forms --------------------------------- */
.computer-melli-theme .cm-account-dashboard .cm-edit-address,
.computer-melli-theme .cm-account-dashboard .cm-edit-account { display: grid; gap: 15px; }

.computer-melli-theme .cm-account-dashboard .cm-edit-address__head,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__head { padding: 0 2px; }
.computer-melli-theme .cm-account-dashboard .cm-edit-address__eyebrow,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--cm-acc-accent);
	font-size: 11px;
	font-weight: 900;
}
.computer-melli-theme .cm-account-dashboard .cm-edit-address__title,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__title {
	margin: 0;
	font-size: 19px;
	letter-spacing: -.01em;
}

.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 13px 12px;
}
.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields .form-row-wide,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields .cm-edit-account__password,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields .cm-edit-account__submit {
	grid-column: 1 / -1;
}
.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields .form-row-first,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields .form-row-last {
	width: auto;
	float: none;
}

.computer-melli-theme .cm-account-dashboard .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 13px 12px;
}
.computer-melli-theme .cm-account-dashboard .woocommerce-address-fields__field-wrapper .form-row {
	width: auto;
	float: none;
	margin: 0;
}
.computer-melli-theme .cm-account-dashboard .woocommerce-address-fields__field-wrapper .form-row-wide {
	grid-column: 1 / -1;
}

.computer-melli-theme .cm-account-dashboard .cm-edit-account__hint {
	display: block;
	margin-top: 5px;
	color: var(--cm-acc-muted);
	font-size: 11.5px;
}
.computer-melli-theme .cm-account-dashboard .cm-edit-account__password {
	margin: 2px 0 0;
	padding: 15px 16px;
	border: 1px dashed var(--cm-acc-line);
	border-radius: 14px;
	display: grid;
	gap: 13px;
}
.computer-melli-theme .cm-account-dashboard .cm-edit-account__legend {
	padding: 0;
	color: var(--cm-acc-muted);
	font-size: 13px;
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .cm-edit-address__submit,
.computer-melli-theme .cm-account-dashboard .cm-edit-account__submit {
	margin: 2px 0 0;
}

/* View order & generic WooCommerce tables inside the dashboard -------- */
.computer-melli-theme .cm-account-dashboard .woocommerce table.shop_table {
	margin: 0 0 20px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 14px;
	background: transparent;
}
.computer-melli-theme .cm-account-dashboard .woocommerce table.shop_table th,
.computer-melli-theme .cm-account-dashboard .woocommerce table.shop_table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--cm-acc-line);
	background: transparent;
	color: var(--cm-acc-text);
	font-size: 13px;
}
.computer-melli-theme .cm-account-dashboard .woocommerce table.shop_table thead th {
	background: var(--cm-acc-surface-2);
	color: var(--cm-acc-muted);
	font-weight: 800;
}
.computer-melli-theme .cm-account-dashboard .woocommerce table.shop_table tfoot th,
.computer-melli-theme .cm-account-dashboard .woocommerce table.shop_table tfoot td { border-top: 1px solid var(--cm-acc-line); }
.computer-melli-theme .cm-account-dashboard .woocommerce h2,
.computer-melli-theme .cm-account-dashboard .woocommerce h3 {
	font-size: 16px;
	font-weight: 850;
}
.computer-melli-theme .cm-account-dashboard .woocommerce .woocommerce-customer-details address {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid var(--cm-acc-line);
	border-radius: 14px;
	background: var(--cm-acc-surface);
	color: var(--cm-acc-muted);
	font-size: 13px;
	line-height: 2;
	font-style: normal;
}
.computer-melli-theme .cm-account-dashboard .woocommerce-order-details { margin-block-end: 20px; }

/* Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
	.computer-melli-theme .cm-account-dashboard {
		grid-template-columns: 1fr;
		padding: 14px;
	}
	.computer-melli-theme .cm-account-dashboard .cm-account-nav__list {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.computer-melli-theme .cm-account-dashboard .cm-account-nav__list::-webkit-scrollbar { display: none; }
	.computer-melli-theme .cm-account-dashboard .cm-account-nav__item { flex: none; }
	.computer-melli-theme .cm-account-dashboard .cm-account-nav__item a {
		padding: 10px 14px;
		white-space: nowrap;
	}
	.computer-melli-theme .cm-account-dashboard .cm-account-nav__item.is-active a::before { display: none; }
}

@media (max-width: 900px) {
	.computer-melli-theme .cm-account-dashboard .cm-orders__table-wrap,
	.computer-melli-theme .cm-account-dashboard .cm-downloads__table-wrap {
		overflow: visible;
		border: 0;
		border-radius: 0;
	}
	.computer-melli-theme .cm-account-dashboard .cm-orders-table,
	.computer-melli-theme .cm-account-dashboard .cm-orders-table tbody,
	.computer-melli-theme .cm-account-dashboard .cm-orders-table tr,
	.computer-melli-theme .cm-account-dashboard .cm-orders-table td,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table tbody,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table tr,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table td {
		display: block;
		width: 100%;
		min-width: 0;
	}
	.computer-melli-theme .cm-account-dashboard .cm-orders-table thead,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table thead { display: none; }
	.computer-melli-theme .cm-account-dashboard .cm-orders-table tr,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table tr {
		margin-bottom: 10px;
		padding: 6px 14px;
		border: 1px solid var(--cm-acc-line);
		border-radius: 14px;
		background: var(--cm-acc-surface);
	}
	.computer-melli-theme .cm-account-dashboard .cm-orders-table tr:hover td,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table tr:hover td { background: transparent; }
	.computer-melli-theme .cm-account-dashboard .cm-orders-table td,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 8px 0;
		border-top: 0;
		text-align: start;
	}
	.computer-melli-theme .cm-account-dashboard .cm-orders-table td::before,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table td::before {
		content: attr(data-title);
		flex: none;
		color: var(--cm-acc-muted);
		font-size: 11.5px;
		font-weight: 750;
	}
	.computer-melli-theme .cm-account-dashboard .cm-orders-table__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	.computer-melli-theme .cm-account-dashboard .cm-dashboard__grid { grid-template-columns: 1fr; }
	.computer-melli-theme .cm-account-dashboard .cm-dashboard__stats { grid-template-columns: 1fr 1fr; }
	.computer-melli-theme .cm-account-dashboard .cm-stat-card:nth-child(3) { grid-column: 1 / -1; }
	.computer-melli-theme .cm-account-dashboard .cm-edit-account__fields,
	.computer-melli-theme .cm-account-dashboard .woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
	.computer-melli-theme .cm-account-dashboard .cm-orders-pagination { justify-content: flex-start; }
}

@media (max-width: 480px) {
	.computer-melli-theme .cm-account-dashboard {
		padding: 12px;
		border-radius: 18px;
		gap: 14px;
	}
	.computer-melli-theme .cm-account-dashboard .cm-dashboard__hello { font-size: 18px; }
	.computer-melli-theme .cm-account-dashboard .cm-dashboard__avatar {
		width: 46px;
		height: 46px;
		font-size: 17px;
	}
	.computer-melli-theme .cm-account-dashboard .cm-stat-card { padding: 13px 14px; }
	.computer-melli-theme .cm-account-dashboard .cm-stat-card__value { font-size: 19px; }
	.computer-melli-theme .cm-account-dashboard .cm-panel,
	.computer-melli-theme .cm-account-dashboard .cm-address-card { padding: 14px 15px; }
	.computer-melli-theme .cm-account-dashboard .cm-orders-empty,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-empty { padding: 38px 16px; }
	.computer-melli-theme .cm-account-dashboard .cm-orders-table tr,
	.computer-melli-theme .cm-account-dashboard .cm-downloads-table tr { padding: 4px 13px; }
}

@media (max-width: 360px) {
	.computer-melli-theme .cm-account-dashboard { padding: 10px; border-radius: 16px; }
	.computer-melli-theme .cm-account-dashboard .cm-dashboard__stats { grid-template-columns: 1fr; }
	.computer-melli-theme .cm-account-dashboard .cm-stat-card:nth-child(3) { grid-column: auto; }
	.computer-melli-theme .cm-account-dashboard .cm-dashboard__welcome { align-items: flex-start; }
	.computer-melli-theme .cm-account-dashboard .cm-btn { padding-inline: 16px; }
}
